denchclaw 2.0.6 → 2.0.8

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 (463) hide show
  1. package/README.md +9 -3
  2. package/apps/web/.next/standalone/apps/web/.next/BUILD_ID +1 -1
  3. package/apps/web/.next/standalone/apps/web/.next/app-build-manifest.json +233 -225
  4. package/apps/web/.next/standalone/apps/web/.next/app-path-routes-manifest.json +29 -28
  5. package/apps/web/.next/standalone/apps/web/.next/build-manifest.json +6 -6
  6. package/apps/web/.next/standalone/apps/web/.next/react-loadable-manifest.json +1 -1
  7. package/apps/web/.next/standalone/apps/web/.next/required-server-files.json +3 -3
  8. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found/page.js +2 -2
  9. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  10. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  11. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found.html +1 -1
  12. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found.rsc +2 -2
  13. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route.js +1 -1
  14. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route_client-reference-manifest.js +1 -1
  15. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route.js +2 -2
  16. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route_client-reference-manifest.js +1 -1
  17. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route.js +1 -1
  18. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route_client-reference-manifest.js +1 -1
  19. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route.js +2 -2
  20. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route_client-reference-manifest.js +1 -1
  21. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route.js +1 -1
  22. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route_client-reference-manifest.js +1 -1
  23. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/[jobId]/runs/route.js +1 -1
  24. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/[jobId]/runs/route_client-reference-manifest.js +1 -1
  25. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/route.js +1 -1
  26. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/route_client-reference-manifest.js +1 -1
  27. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/[sessionId]/route.js +1 -1
  28. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/[sessionId]/route_client-reference-manifest.js +1 -1
  29. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/search-transcript/route.js +1 -1
  30. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/search-transcript/route_client-reference-manifest.js +1 -1
  31. package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route.js +1 -0
  32. package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route.js.nft.json +1 -0
  33. package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route_client-reference-manifest.js +1 -0
  34. package/apps/web/.next/standalone/apps/web/.next/server/app/api/memories/route.js +1 -1
  35. package/apps/web/.next/standalone/apps/web/.next/server/app/api/memories/route_client-reference-manifest.js +1 -1
  36. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/route.js +1 -1
  37. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/route_client-reference-manifest.js +1 -1
  38. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/switch/route.js +1 -1
  39. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/switch/route_client-reference-manifest.js +1 -1
  40. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/[sessionId]/route.js +1 -1
  41. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/[sessionId]/route_client-reference-manifest.js +1 -1
  42. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/route.js +1 -1
  43. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
  44. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/route.js +1 -1
  45. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  46. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/messages/route.js +1 -1
  47. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/messages/route_client-reference-manifest.js +1 -1
  48. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route.js +1 -1
  49. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route_client-reference-manifest.js +1 -1
  50. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route.js +1 -1
  51. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route_client-reference-manifest.js +1 -1
  52. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/assets/[...path]/route.js +1 -1
  53. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/assets/[...path]/route_client-reference-manifest.js +1 -1
  54. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse/route.js +1 -1
  55. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse/route_client-reference-manifest.js +1 -1
  56. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse-file/route.js +1 -1
  57. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse-file/route_client-reference-manifest.js +1 -1
  58. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/context/route.js +1 -1
  59. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/context/route_client-reference-manifest.js +1 -1
  60. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/copy/route.js +1 -1
  61. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/copy/route_client-reference-manifest.js +1 -1
  62. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/introspect/route.js +1 -1
  63. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/introspect/route_client-reference-manifest.js +1 -1
  64. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/query/route.js +1 -1
  65. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/query/route_client-reference-manifest.js +1 -1
  66. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route.js +1 -1
  67. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route_client-reference-manifest.js +1 -1
  68. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/file/route.js +1 -1
  69. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/file/route_client-reference-manifest.js +1 -1
  70. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route.js +2 -2
  71. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route_client-reference-manifest.js +1 -1
  72. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/list/route.js +1 -1
  73. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/list/route_client-reference-manifest.js +1 -1
  74. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/mkdir/route.js +1 -1
  75. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/mkdir/route_client-reference-manifest.js +1 -1
  76. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/move/route.js +1 -1
  77. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/move/route_client-reference-manifest.js +1 -1
  78. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/display-field/route.js +1 -1
  79. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/display-field/route_client-reference-manifest.js +1 -1
  80. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/[id]/route.js +2 -2
  81. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/[id]/route_client-reference-manifest.js +1 -1
  82. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/bulk-delete/route.js +1 -1
  83. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/bulk-delete/route_client-reference-manifest.js +1 -1
  84. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/options/route.js +2 -2
  85. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/options/route_client-reference-manifest.js +1 -1
  86. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route.js +1 -1
  87. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route_client-reference-manifest.js +1 -1
  88. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route.js +1 -1
  89. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route_client-reference-manifest.js +1 -1
  90. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/route.js +1 -1
  91. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/route_client-reference-manifest.js +1 -1
  92. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/reorder/route.js +1 -1
  93. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/reorder/route_client-reference-manifest.js +1 -1
  94. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/route.js +2 -2
  95. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/route_client-reference-manifest.js +1 -1
  96. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/views/route.js +1 -1
  97. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/views/route_client-reference-manifest.js +1 -1
  98. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/open-file/route.js +1 -1
  99. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/open-file/route_client-reference-manifest.js +1 -1
  100. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/path-info/route.js +1 -1
  101. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/path-info/route_client-reference-manifest.js +1 -1
  102. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/query/route.js +1 -1
  103. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/query/route_client-reference-manifest.js +1 -1
  104. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/raw-file/route.js +1 -1
  105. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/raw-file/route_client-reference-manifest.js +1 -1
  106. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/rename/route.js +1 -1
  107. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/rename/route_client-reference-manifest.js +1 -1
  108. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route.js +1 -1
  109. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route_client-reference-manifest.js +1 -1
  110. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/search-index/route.js +2 -2
  111. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/search-index/route_client-reference-manifest.js +1 -1
  112. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/suggest-files/route.js +2 -2
  113. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/suggest-files/route_client-reference-manifest.js +1 -1
  114. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route.js +1 -1
  115. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route_client-reference-manifest.js +1 -1
  116. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/thumbnail/route.js +1 -1
  117. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/thumbnail/route_client-reference-manifest.js +1 -1
  118. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/tree/route.js +1 -1
  119. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/tree/route_client-reference-manifest.js +1 -1
  120. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route.js +1 -1
  121. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route_client-reference-manifest.js +1 -1
  122. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/virtual-file/route.js +1 -1
  123. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/virtual-file/route_client-reference-manifest.js +1 -1
  124. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/watch/route.js +2 -2
  125. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/watch/route_client-reference-manifest.js +1 -1
  126. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/write-binary/route.js +1 -1
  127. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/write-binary/route_client-reference-manifest.js +1 -1
  128. package/apps/web/.next/standalone/apps/web/.next/server/app/index.html +1 -72
  129. package/apps/web/.next/standalone/apps/web/.next/server/app/index.rsc +3 -3
  130. package/apps/web/.next/standalone/apps/web/.next/server/app/page.js +3 -3
  131. package/apps/web/.next/standalone/apps/web/.next/server/app/page.js.nft.json +1 -1
  132. package/apps/web/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  133. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page.js +14 -14
  134. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page.js.nft.json +1 -1
  135. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page_client-reference-manifest.js +1 -1
  136. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace.html +1 -1
  137. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace.rsc +3 -3
  138. package/apps/web/.next/standalone/apps/web/.next/server/app-paths-manifest.json +29 -28
  139. package/apps/web/.next/standalone/apps/web/.next/server/chunks/5334.js +9 -0
  140. package/apps/web/.next/standalone/apps/web/.next/server/functions-config-manifest.json +19 -18
  141. package/apps/web/.next/standalone/apps/web/.next/server/middleware-build-manifest.js +1 -1
  142. package/apps/web/.next/standalone/apps/web/.next/server/middleware-react-loadable-manifest.js +1 -1
  143. package/apps/web/.next/standalone/apps/web/.next/server/pages/404.html +1 -1
  144. package/apps/web/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
  145. package/apps/web/.next/standalone/apps/web/.next/static/_8L73FbiTvTDeQfyyo9Kx/_buildManifest.js +1 -0
  146. package/apps/web/.next/standalone/apps/web/.next/static/chunks/{9978-a2bf90231d08284f.js → 4988-a31fb680255d2e53.js} +3 -3
  147. package/apps/web/.next/{static/chunks/7597.6cb599051f1a46f7.js → standalone/apps/web/.next/static/chunks/9978.7ad588863427f502.js} +1 -1
  148. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/_not-found/page-23e70510b8d52088.js +1 -0
  149. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/active/route-ff99b057da8a00ed.js +1 -0
  150. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/route-ff99b057da8a00ed.js +1 -0
  151. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stop/route-ff99b057da8a00ed.js +1 -0
  152. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stream/route-ff99b057da8a00ed.js +1 -0
  153. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/subagents/route-ff99b057da8a00ed.js +1 -0
  154. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-ff99b057da8a00ed.js +1 -0
  155. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/route-ff99b057da8a00ed.js +1 -0
  156. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-ff99b057da8a00ed.js +1 -0
  157. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-ff99b057da8a00ed.js +1 -0
  158. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/feedback/route-ff99b057da8a00ed.js +1 -0
  159. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/memories/route-ff99b057da8a00ed.js +1 -0
  160. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/route-ff99b057da8a00ed.js +1 -0
  161. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/switch/route-ff99b057da8a00ed.js +1 -0
  162. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-ff99b057da8a00ed.js +1 -0
  163. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/route-ff99b057da8a00ed.js +1 -0
  164. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/route-ff99b057da8a00ed.js +1 -0
  165. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-ff99b057da8a00ed.js +1 -0
  166. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-ff99b057da8a00ed.js +1 -0
  167. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/route-ff99b057da8a00ed.js +1 -0
  168. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-ff99b057da8a00ed.js +1 -0
  169. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse/route-ff99b057da8a00ed.js +1 -0
  170. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-ff99b057da8a00ed.js +1 -0
  171. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/context/route-ff99b057da8a00ed.js +1 -0
  172. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/copy/route-ff99b057da8a00ed.js +1 -0
  173. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-ff99b057da8a00ed.js +1 -0
  174. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/query/route-ff99b057da8a00ed.js +1 -0
  175. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/delete/route-ff99b057da8a00ed.js +1 -0
  176. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/file/route-ff99b057da8a00ed.js +1 -0
  177. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/init/route-ff99b057da8a00ed.js +1 -0
  178. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/list/route-ff99b057da8a00ed.js +1 -0
  179. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-ff99b057da8a00ed.js +1 -0
  180. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/move/route-ff99b057da8a00ed.js +1 -0
  181. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-ff99b057da8a00ed.js +1 -0
  182. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-ff99b057da8a00ed.js +1 -0
  183. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-ff99b057da8a00ed.js +1 -0
  184. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-ff99b057da8a00ed.js +1 -0
  185. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-ff99b057da8a00ed.js +1 -0
  186. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-ff99b057da8a00ed.js +1 -0
  187. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-ff99b057da8a00ed.js +1 -0
  188. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-ff99b057da8a00ed.js +1 -0
  189. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-ff99b057da8a00ed.js +1 -0
  190. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-ff99b057da8a00ed.js +1 -0
  191. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/open-file/route-ff99b057da8a00ed.js +1 -0
  192. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/path-info/route-ff99b057da8a00ed.js +1 -0
  193. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/query/route-ff99b057da8a00ed.js +1 -0
  194. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-ff99b057da8a00ed.js +1 -0
  195. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/rename/route-ff99b057da8a00ed.js +1 -0
  196. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-ff99b057da8a00ed.js +1 -0
  197. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/search-index/route-ff99b057da8a00ed.js +1 -0
  198. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-ff99b057da8a00ed.js +1 -0
  199. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/switch/route-ff99b057da8a00ed.js +1 -0
  200. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-ff99b057da8a00ed.js +1 -0
  201. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/tree/route-ff99b057da8a00ed.js +1 -0
  202. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/upload/route-ff99b057da8a00ed.js +1 -0
  203. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-ff99b057da8a00ed.js +1 -0
  204. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/watch/route-ff99b057da8a00ed.js +1 -0
  205. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-ff99b057da8a00ed.js +1 -0
  206. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/layout-4d0405acdb5ee8e5.js +1 -0
  207. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-b213929ad6255c65.js +1 -0
  208. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/workspace/{page-a9c68aaa3f71a7fe.js → page-ad24ce15d77e044d.js} +1 -1
  209. package/apps/web/.next/standalone/apps/web/.next/static/chunks/df90ee31-b8ee23eaa0135739.js +1 -0
  210. package/apps/web/.next/standalone/apps/web/.next/static/chunks/main-app-c71b105c32544ad9.js +1 -0
  211. package/apps/web/.next/standalone/apps/web/.next/static/chunks/{webpack-1032d39338965700.js → webpack-38d8ef58f812737b.js} +1 -1
  212. package/apps/web/.next/standalone/apps/web/public/fonts/Bookerly-Bold.ttf +0 -0
  213. package/apps/web/.next/standalone/apps/web/public/fonts/Bookerly-BoldItalic.ttf +0 -0
  214. package/apps/web/.next/standalone/apps/web/public/fonts/Bookerly-Regular.ttf +0 -0
  215. package/apps/web/.next/standalone/apps/web/public/fonts/Bookerly-RegularItalic.ttf +0 -0
  216. package/apps/web/.next/standalone/apps/web/server.js +1 -1
  217. package/apps/web/.next/standalone/package.json +2 -1
  218. package/apps/web/.next/static/_8L73FbiTvTDeQfyyo9Kx/_buildManifest.js +1 -0
  219. package/apps/web/.next/static/chunks/{9978-a2bf90231d08284f.js → 4988-a31fb680255d2e53.js} +3 -3
  220. package/apps/web/.next/{standalone/apps/web/.next/static/chunks/7597.6cb599051f1a46f7.js → static/chunks/9978.7ad588863427f502.js} +1 -1
  221. package/apps/web/.next/static/chunks/app/_not-found/page-23e70510b8d52088.js +1 -0
  222. package/apps/web/.next/static/chunks/app/api/chat/active/route-ff99b057da8a00ed.js +1 -0
  223. package/apps/web/.next/static/chunks/app/api/chat/route-ff99b057da8a00ed.js +1 -0
  224. package/apps/web/.next/static/chunks/app/api/chat/stop/route-ff99b057da8a00ed.js +1 -0
  225. package/apps/web/.next/static/chunks/app/api/chat/stream/route-ff99b057da8a00ed.js +1 -0
  226. package/apps/web/.next/static/chunks/app/api/chat/subagents/route-ff99b057da8a00ed.js +1 -0
  227. package/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-ff99b057da8a00ed.js +1 -0
  228. package/apps/web/.next/static/chunks/app/api/cron/jobs/route-ff99b057da8a00ed.js +1 -0
  229. package/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-ff99b057da8a00ed.js +1 -0
  230. package/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-ff99b057da8a00ed.js +1 -0
  231. package/apps/web/.next/static/chunks/app/api/feedback/route-ff99b057da8a00ed.js +1 -0
  232. package/apps/web/.next/static/chunks/app/api/memories/route-ff99b057da8a00ed.js +1 -0
  233. package/apps/web/.next/static/chunks/app/api/profiles/route-ff99b057da8a00ed.js +1 -0
  234. package/apps/web/.next/static/chunks/app/api/profiles/switch/route-ff99b057da8a00ed.js +1 -0
  235. package/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-ff99b057da8a00ed.js +1 -0
  236. package/apps/web/.next/static/chunks/app/api/sessions/route-ff99b057da8a00ed.js +1 -0
  237. package/apps/web/.next/static/chunks/app/api/skills/route-ff99b057da8a00ed.js +1 -0
  238. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-ff99b057da8a00ed.js +1 -0
  239. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-ff99b057da8a00ed.js +1 -0
  240. package/apps/web/.next/static/chunks/app/api/web-sessions/route-ff99b057da8a00ed.js +1 -0
  241. package/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-ff99b057da8a00ed.js +1 -0
  242. package/apps/web/.next/static/chunks/app/api/workspace/browse/route-ff99b057da8a00ed.js +1 -0
  243. package/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-ff99b057da8a00ed.js +1 -0
  244. package/apps/web/.next/static/chunks/app/api/workspace/context/route-ff99b057da8a00ed.js +1 -0
  245. package/apps/web/.next/static/chunks/app/api/workspace/copy/route-ff99b057da8a00ed.js +1 -0
  246. package/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-ff99b057da8a00ed.js +1 -0
  247. package/apps/web/.next/static/chunks/app/api/workspace/db/query/route-ff99b057da8a00ed.js +1 -0
  248. package/apps/web/.next/static/chunks/app/api/workspace/delete/route-ff99b057da8a00ed.js +1 -0
  249. package/apps/web/.next/static/chunks/app/api/workspace/file/route-ff99b057da8a00ed.js +1 -0
  250. package/apps/web/.next/static/chunks/app/api/workspace/init/route-ff99b057da8a00ed.js +1 -0
  251. package/apps/web/.next/static/chunks/app/api/workspace/list/route-ff99b057da8a00ed.js +1 -0
  252. package/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-ff99b057da8a00ed.js +1 -0
  253. package/apps/web/.next/static/chunks/app/api/workspace/move/route-ff99b057da8a00ed.js +1 -0
  254. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-ff99b057da8a00ed.js +1 -0
  255. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-ff99b057da8a00ed.js +1 -0
  256. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-ff99b057da8a00ed.js +1 -0
  257. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-ff99b057da8a00ed.js +1 -0
  258. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-ff99b057da8a00ed.js +1 -0
  259. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-ff99b057da8a00ed.js +1 -0
  260. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-ff99b057da8a00ed.js +1 -0
  261. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-ff99b057da8a00ed.js +1 -0
  262. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-ff99b057da8a00ed.js +1 -0
  263. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-ff99b057da8a00ed.js +1 -0
  264. package/apps/web/.next/static/chunks/app/api/workspace/open-file/route-ff99b057da8a00ed.js +1 -0
  265. package/apps/web/.next/static/chunks/app/api/workspace/path-info/route-ff99b057da8a00ed.js +1 -0
  266. package/apps/web/.next/static/chunks/app/api/workspace/query/route-ff99b057da8a00ed.js +1 -0
  267. package/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-ff99b057da8a00ed.js +1 -0
  268. package/apps/web/.next/static/chunks/app/api/workspace/rename/route-ff99b057da8a00ed.js +1 -0
  269. package/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-ff99b057da8a00ed.js +1 -0
  270. package/apps/web/.next/static/chunks/app/api/workspace/search-index/route-ff99b057da8a00ed.js +1 -0
  271. package/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-ff99b057da8a00ed.js +1 -0
  272. package/apps/web/.next/static/chunks/app/api/workspace/switch/route-ff99b057da8a00ed.js +1 -0
  273. package/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-ff99b057da8a00ed.js +1 -0
  274. package/apps/web/.next/static/chunks/app/api/workspace/tree/route-ff99b057da8a00ed.js +1 -0
  275. package/apps/web/.next/static/chunks/app/api/workspace/upload/route-ff99b057da8a00ed.js +1 -0
  276. package/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-ff99b057da8a00ed.js +1 -0
  277. package/apps/web/.next/static/chunks/app/api/workspace/watch/route-ff99b057da8a00ed.js +1 -0
  278. package/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-ff99b057da8a00ed.js +1 -0
  279. package/apps/web/.next/static/chunks/app/layout-4d0405acdb5ee8e5.js +1 -0
  280. package/apps/web/.next/static/chunks/app/page-b213929ad6255c65.js +1 -0
  281. package/apps/web/.next/static/chunks/app/workspace/{page-a9c68aaa3f71a7fe.js → page-ad24ce15d77e044d.js} +1 -1
  282. package/apps/web/.next/static/chunks/df90ee31-b8ee23eaa0135739.js +1 -0
  283. package/apps/web/.next/static/chunks/main-app-c71b105c32544ad9.js +1 -0
  284. package/apps/web/.next/static/chunks/{webpack-1032d39338965700.js → webpack-38d8ef58f812737b.js} +1 -1
  285. package/apps/web/public/fonts/Bookerly-Bold.ttf +0 -0
  286. package/apps/web/public/fonts/Bookerly-BoldItalic.ttf +0 -0
  287. package/apps/web/public/fonts/Bookerly-Regular.ttf +0 -0
  288. package/apps/web/public/fonts/Bookerly-RegularItalic.ttf +0 -0
  289. package/dist/{cli-name-yhDyCrts.js → cli-name-YmLsNGR6.js} +1 -1
  290. package/dist/entry.js +3 -2
  291. package/dist/{program-CVEqiDmd.js → program-BYwTE_Ot.js} +602 -26
  292. package/dist/{run-main-CBWtZaUl.js → run-main-CWe8UBRN.js} +4 -4
  293. package/dist/{telemetry-UyOfXAoS.js → telemetry-CwRnbZ2F.js} +3 -2
  294. package/extensions/bluebubbles/node_modules/.bin/ironclaw +21 -0
  295. package/extensions/copilot-proxy/node_modules/.bin/ironclaw +21 -0
  296. package/extensions/diagnostics-otel/node_modules/.bin/ironclaw +21 -0
  297. package/extensions/discord/node_modules/.bin/ironclaw +21 -0
  298. package/extensions/feishu/node_modules/.bin/ironclaw +21 -0
  299. package/extensions/google-antigravity-auth/node_modules/.bin/ironclaw +21 -0
  300. package/extensions/google-gemini-cli-auth/node_modules/.bin/ironclaw +21 -0
  301. package/extensions/googlechat/node_modules/.bin/ironclaw +21 -0
  302. package/extensions/imessage/node_modules/.bin/ironclaw +21 -0
  303. package/extensions/irc/node_modules/.bin/ironclaw +21 -0
  304. package/extensions/line/node_modules/.bin/ironclaw +21 -0
  305. package/extensions/llm-task/node_modules/.bin/ironclaw +21 -0
  306. package/extensions/lobster/node_modules/.bin/ironclaw +21 -0
  307. package/extensions/matrix/node_modules/.bin/ironclaw +21 -0
  308. package/extensions/matrix/node_modules/.bin/markdown-it +21 -0
  309. package/extensions/mattermost/node_modules/.bin/ironclaw +21 -0
  310. package/extensions/memory-core/node_modules/.bin/ironclaw +21 -0
  311. package/extensions/memory-lancedb/node_modules/.bin/ironclaw +21 -0
  312. package/extensions/memory-lancedb/node_modules/.bin/openai +21 -0
  313. package/extensions/minimax-portal-auth/node_modules/.bin/ironclaw +21 -0
  314. package/extensions/msteams/node_modules/.bin/ironclaw +21 -0
  315. package/extensions/nextcloud-talk/node_modules/.bin/ironclaw +21 -0
  316. package/extensions/nostr/node_modules/.bin/ironclaw +21 -0
  317. package/extensions/open-prose/node_modules/.bin/ironclaw +21 -0
  318. package/extensions/posthog-analytics/index.ts +162 -0
  319. package/extensions/posthog-analytics/lib/event-mappers.ts +391 -0
  320. package/extensions/posthog-analytics/lib/posthog-client.ts +81 -0
  321. package/extensions/posthog-analytics/lib/privacy.ts +218 -0
  322. package/extensions/posthog-analytics/lib/trace-context.ts +103 -0
  323. package/extensions/posthog-analytics/lib/types.ts +28 -0
  324. package/extensions/posthog-analytics/openclaw.plugin.json +22 -0
  325. package/extensions/posthog-analytics/package.json +8 -0
  326. package/extensions/signal/node_modules/.bin/ironclaw +21 -0
  327. package/extensions/slack/node_modules/.bin/ironclaw +21 -0
  328. package/extensions/synology-chat/node_modules/.bin/ironclaw +21 -0
  329. package/extensions/telegram/node_modules/.bin/ironclaw +21 -0
  330. package/extensions/tlon/node_modules/.bin/ironclaw +21 -0
  331. package/extensions/twitch/node_modules/.bin/ironclaw +21 -0
  332. package/extensions/voice-call/node_modules/.bin/ironclaw +21 -0
  333. package/extensions/whatsapp/node_modules/.bin/ironclaw +21 -0
  334. package/extensions/zalo/node_modules/.bin/ironclaw +21 -0
  335. package/extensions/zalouser/node_modules/.bin/ironclaw +21 -0
  336. package/package.json +2 -1
  337. package/apps/web/.next/standalone/apps/web/.next/server/chunks/3180.js +0 -9
  338. package/apps/web/.next/standalone/apps/web/.next/static/bfBSw7Zh4Df36UcKsQE27/_buildManifest.js +0 -1
  339. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/_not-found/page-6934a35b4d14cdab.js +0 -1
  340. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/active/route-5dc3b3b56eb45a36.js +0 -1
  341. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/route-5dc3b3b56eb45a36.js +0 -1
  342. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stop/route-5dc3b3b56eb45a36.js +0 -1
  343. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stream/route-5dc3b3b56eb45a36.js +0 -1
  344. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/subagents/route-5dc3b3b56eb45a36.js +0 -1
  345. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-5dc3b3b56eb45a36.js +0 -1
  346. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/route-5dc3b3b56eb45a36.js +0 -1
  347. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-5dc3b3b56eb45a36.js +0 -1
  348. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-5dc3b3b56eb45a36.js +0 -1
  349. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/memories/route-5dc3b3b56eb45a36.js +0 -1
  350. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/route-5dc3b3b56eb45a36.js +0 -1
  351. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/switch/route-5dc3b3b56eb45a36.js +0 -1
  352. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-5dc3b3b56eb45a36.js +0 -1
  353. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/route-5dc3b3b56eb45a36.js +0 -1
  354. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/route-5dc3b3b56eb45a36.js +0 -1
  355. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-5dc3b3b56eb45a36.js +0 -1
  356. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-5dc3b3b56eb45a36.js +0 -1
  357. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/route-5dc3b3b56eb45a36.js +0 -1
  358. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-5dc3b3b56eb45a36.js +0 -1
  359. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse/route-5dc3b3b56eb45a36.js +0 -1
  360. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-5dc3b3b56eb45a36.js +0 -1
  361. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/context/route-5dc3b3b56eb45a36.js +0 -1
  362. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/copy/route-5dc3b3b56eb45a36.js +0 -1
  363. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-5dc3b3b56eb45a36.js +0 -1
  364. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/query/route-5dc3b3b56eb45a36.js +0 -1
  365. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/delete/route-5dc3b3b56eb45a36.js +0 -1
  366. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/file/route-5dc3b3b56eb45a36.js +0 -1
  367. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/init/route-5dc3b3b56eb45a36.js +0 -1
  368. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/list/route-5dc3b3b56eb45a36.js +0 -1
  369. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-5dc3b3b56eb45a36.js +0 -1
  370. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/move/route-5dc3b3b56eb45a36.js +0 -1
  371. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-5dc3b3b56eb45a36.js +0 -1
  372. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-5dc3b3b56eb45a36.js +0 -1
  373. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-5dc3b3b56eb45a36.js +0 -1
  374. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-5dc3b3b56eb45a36.js +0 -1
  375. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-5dc3b3b56eb45a36.js +0 -1
  376. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-5dc3b3b56eb45a36.js +0 -1
  377. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-5dc3b3b56eb45a36.js +0 -1
  378. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-5dc3b3b56eb45a36.js +0 -1
  379. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-5dc3b3b56eb45a36.js +0 -1
  380. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-5dc3b3b56eb45a36.js +0 -1
  381. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/open-file/route-5dc3b3b56eb45a36.js +0 -1
  382. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/path-info/route-5dc3b3b56eb45a36.js +0 -1
  383. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/query/route-5dc3b3b56eb45a36.js +0 -1
  384. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-5dc3b3b56eb45a36.js +0 -1
  385. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/rename/route-5dc3b3b56eb45a36.js +0 -1
  386. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-5dc3b3b56eb45a36.js +0 -1
  387. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/search-index/route-5dc3b3b56eb45a36.js +0 -1
  388. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-5dc3b3b56eb45a36.js +0 -1
  389. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/switch/route-5dc3b3b56eb45a36.js +0 -1
  390. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-5dc3b3b56eb45a36.js +0 -1
  391. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/tree/route-5dc3b3b56eb45a36.js +0 -1
  392. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/upload/route-5dc3b3b56eb45a36.js +0 -1
  393. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-5dc3b3b56eb45a36.js +0 -1
  394. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/watch/route-5dc3b3b56eb45a36.js +0 -1
  395. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-5dc3b3b56eb45a36.js +0 -1
  396. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/layout-01f7966beacdd67b.js +0 -1
  397. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-f365ecf6d5915738.js +0 -1
  398. package/apps/web/.next/standalone/apps/web/.next/static/chunks/df90ee31-33cbf7968acd3b6e.js +0 -1
  399. package/apps/web/.next/standalone/apps/web/.next/static/chunks/main-app-b49c23ad3d7c2890.js +0 -1
  400. package/apps/web/.next/static/bfBSw7Zh4Df36UcKsQE27/_buildManifest.js +0 -1
  401. package/apps/web/.next/static/chunks/app/_not-found/page-6934a35b4d14cdab.js +0 -1
  402. package/apps/web/.next/static/chunks/app/api/chat/active/route-5dc3b3b56eb45a36.js +0 -1
  403. package/apps/web/.next/static/chunks/app/api/chat/route-5dc3b3b56eb45a36.js +0 -1
  404. package/apps/web/.next/static/chunks/app/api/chat/stop/route-5dc3b3b56eb45a36.js +0 -1
  405. package/apps/web/.next/static/chunks/app/api/chat/stream/route-5dc3b3b56eb45a36.js +0 -1
  406. package/apps/web/.next/static/chunks/app/api/chat/subagents/route-5dc3b3b56eb45a36.js +0 -1
  407. package/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-5dc3b3b56eb45a36.js +0 -1
  408. package/apps/web/.next/static/chunks/app/api/cron/jobs/route-5dc3b3b56eb45a36.js +0 -1
  409. package/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-5dc3b3b56eb45a36.js +0 -1
  410. package/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-5dc3b3b56eb45a36.js +0 -1
  411. package/apps/web/.next/static/chunks/app/api/memories/route-5dc3b3b56eb45a36.js +0 -1
  412. package/apps/web/.next/static/chunks/app/api/profiles/route-5dc3b3b56eb45a36.js +0 -1
  413. package/apps/web/.next/static/chunks/app/api/profiles/switch/route-5dc3b3b56eb45a36.js +0 -1
  414. package/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-5dc3b3b56eb45a36.js +0 -1
  415. package/apps/web/.next/static/chunks/app/api/sessions/route-5dc3b3b56eb45a36.js +0 -1
  416. package/apps/web/.next/static/chunks/app/api/skills/route-5dc3b3b56eb45a36.js +0 -1
  417. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-5dc3b3b56eb45a36.js +0 -1
  418. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-5dc3b3b56eb45a36.js +0 -1
  419. package/apps/web/.next/static/chunks/app/api/web-sessions/route-5dc3b3b56eb45a36.js +0 -1
  420. package/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-5dc3b3b56eb45a36.js +0 -1
  421. package/apps/web/.next/static/chunks/app/api/workspace/browse/route-5dc3b3b56eb45a36.js +0 -1
  422. package/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-5dc3b3b56eb45a36.js +0 -1
  423. package/apps/web/.next/static/chunks/app/api/workspace/context/route-5dc3b3b56eb45a36.js +0 -1
  424. package/apps/web/.next/static/chunks/app/api/workspace/copy/route-5dc3b3b56eb45a36.js +0 -1
  425. package/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-5dc3b3b56eb45a36.js +0 -1
  426. package/apps/web/.next/static/chunks/app/api/workspace/db/query/route-5dc3b3b56eb45a36.js +0 -1
  427. package/apps/web/.next/static/chunks/app/api/workspace/delete/route-5dc3b3b56eb45a36.js +0 -1
  428. package/apps/web/.next/static/chunks/app/api/workspace/file/route-5dc3b3b56eb45a36.js +0 -1
  429. package/apps/web/.next/static/chunks/app/api/workspace/init/route-5dc3b3b56eb45a36.js +0 -1
  430. package/apps/web/.next/static/chunks/app/api/workspace/list/route-5dc3b3b56eb45a36.js +0 -1
  431. package/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-5dc3b3b56eb45a36.js +0 -1
  432. package/apps/web/.next/static/chunks/app/api/workspace/move/route-5dc3b3b56eb45a36.js +0 -1
  433. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-5dc3b3b56eb45a36.js +0 -1
  434. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-5dc3b3b56eb45a36.js +0 -1
  435. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-5dc3b3b56eb45a36.js +0 -1
  436. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-5dc3b3b56eb45a36.js +0 -1
  437. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-5dc3b3b56eb45a36.js +0 -1
  438. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-5dc3b3b56eb45a36.js +0 -1
  439. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-5dc3b3b56eb45a36.js +0 -1
  440. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-5dc3b3b56eb45a36.js +0 -1
  441. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-5dc3b3b56eb45a36.js +0 -1
  442. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-5dc3b3b56eb45a36.js +0 -1
  443. package/apps/web/.next/static/chunks/app/api/workspace/open-file/route-5dc3b3b56eb45a36.js +0 -1
  444. package/apps/web/.next/static/chunks/app/api/workspace/path-info/route-5dc3b3b56eb45a36.js +0 -1
  445. package/apps/web/.next/static/chunks/app/api/workspace/query/route-5dc3b3b56eb45a36.js +0 -1
  446. package/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-5dc3b3b56eb45a36.js +0 -1
  447. package/apps/web/.next/static/chunks/app/api/workspace/rename/route-5dc3b3b56eb45a36.js +0 -1
  448. package/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-5dc3b3b56eb45a36.js +0 -1
  449. package/apps/web/.next/static/chunks/app/api/workspace/search-index/route-5dc3b3b56eb45a36.js +0 -1
  450. package/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-5dc3b3b56eb45a36.js +0 -1
  451. package/apps/web/.next/static/chunks/app/api/workspace/switch/route-5dc3b3b56eb45a36.js +0 -1
  452. package/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-5dc3b3b56eb45a36.js +0 -1
  453. package/apps/web/.next/static/chunks/app/api/workspace/tree/route-5dc3b3b56eb45a36.js +0 -1
  454. package/apps/web/.next/static/chunks/app/api/workspace/upload/route-5dc3b3b56eb45a36.js +0 -1
  455. package/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-5dc3b3b56eb45a36.js +0 -1
  456. package/apps/web/.next/static/chunks/app/api/workspace/watch/route-5dc3b3b56eb45a36.js +0 -1
  457. package/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-5dc3b3b56eb45a36.js +0 -1
  458. package/apps/web/.next/static/chunks/app/layout-01f7966beacdd67b.js +0 -1
  459. package/apps/web/.next/static/chunks/app/page-f365ecf6d5915738.js +0 -1
  460. package/apps/web/.next/static/chunks/df90ee31-33cbf7968acd3b6e.js +0 -1
  461. package/apps/web/.next/static/chunks/main-app-b49c23ad3d7c2890.js +0 -1
  462. /package/apps/web/.next/standalone/apps/web/.next/static/{bfBSw7Zh4Df36UcKsQE27 → _8L73FbiTvTDeQfyyo9Kx}/_ssgManifest.js +0 -0
  463. /package/apps/web/.next/static/{bfBSw7Zh4Df36UcKsQE27 → _8L73FbiTvTDeQfyyo9Kx}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var a={};a.id=2866,a.ids=[2866],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16698:a=>{a.exports=require("node:async_hooks")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},43182:(a,b,c)=>{c.d(b,{H:()=>j});var d=c(77598),e=c(48161),f=c.n(e),g=c(53536);let h="phc_Nt8s1Ny8062TY9aKT8LWiB4nBuoHNYQXRU9MypWfQCW",i=null;function j(a,b){let c=h?(i||(i=new g.f2(h,{host:"https://us.i.posthog.com",flushAt:10,flushInterval:3e4})),i):null;c&&c.capture({distinctId:function(){try{let a=`${f().hostname()}:${f().userInfo().username}`;return(0,d.createHash)("sha256").update(a).digest("hex").slice(0,16)}catch{return"unknown"}}(),event:a,properties:{...b,$process_person_profile:!1}})}},43572:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>P,patchFetch:()=>O,routeModule:()=>K,serverHooks:()=>N,workAsyncStorage:()=>L,workUnitAsyncStorage:()=>M});var d={};c.r(d),c.d(d,{POST:()=>J,dynamic:()=>D,runtime:()=>E});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(73024),v=c(76760),w=c.n(v),x=c(13768);let y={"AGENTS.md":"# AGENTS.md - Your Workspace\n\nThis folder is home. Treat it that way.\n","SOUL.md":"# SOUL.md - Who You Are\n\nDescribe the personality and behavior of your agent here.\n","TOOLS.md":"# TOOLS.md - Local Notes\n\nSkills define how tools work. This file is for your specifics.\n","IDENTITY.md":"# IDENTITY.md - Who Am I?\n\nFill this in during your first conversation.\n","USER.md":"# USER.md - About Your Human\n\nDescribe yourself and how you'd like the agent to interact with you.\n","HEARTBEAT.md":"# HEARTBEAT.md\n\n# Keep this file empty (or with only comments) to skip heartbeat API calls.\n","BOOTSTRAP.md":"# BOOTSTRAP.md - Hello, World\n\nYou just woke up. Time to figure out who you are.\n"},z=[{id:"seed_obj_people_00000000000000",name:"people",description:"Contact management",icon:"users",defaultView:"table",entryCount:5,fields:[{name:"Full Name",type:"text",required:!0},{name:"Email Address",type:"email",required:!0},{name:"Phone Number",type:"phone"},{name:"Company",type:"text"},{name:"Status",type:"enum",enumValues:["Active","Inactive","Lead"]},{name:"Notes",type:"richtext"}]},{id:"seed_obj_company_0000000000000",name:"company",description:"Company tracking",icon:"building-2",defaultView:"table",entryCount:3,fields:[{name:"Company Name",type:"text",required:!0},{name:"Industry",type:"enum",enumValues:["Technology","Finance","Healthcare","Education","Retail","Other"]},{name:"Website",type:"text"},{name:"Type",type:"enum",enumValues:["Client","Partner","Vendor","Prospect"]},{name:"Notes",type:"richtext"}]},{id:"seed_obj_task_000000000000000",name:"task",description:"Task tracking board",icon:"check-square",defaultView:"kanban",entryCount:5,fields:[{name:"Title",type:"text",required:!0},{name:"Description",type:"text"},{name:"Status",type:"enum",enumValues:["In Queue","In Progress","Done"]},{name:"Priority",type:"enum",enumValues:["Low","Medium","High"]},{name:"Due Date",type:"date"},{name:"Notes",type:"richtext"}]}];function A(a){let b=w().join(a,"skills","crm","SKILL.md"),c=w().join(a,"skills","browser","SKILL.md");return`# IDENTITY.md - DenchClaw
1
+ "use strict";(()=>{var a={};a.id=2866,a.ids=[2866],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16698:a=>{a.exports=require("node:async_hooks")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},37253:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>P,patchFetch:()=>O,routeModule:()=>K,serverHooks:()=>N,workAsyncStorage:()=>L,workUnitAsyncStorage:()=>M});var d={};c.r(d),c.d(d,{POST:()=>J,dynamic:()=>D,runtime:()=>E});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(73024),v=c(76760),w=c.n(v),x=c(13768);let y={"AGENTS.md":"# AGENTS.md - Your Workspace\n\nThis folder is home. Treat it that way.\n","SOUL.md":"# SOUL.md - Who You Are\n\nDescribe the personality and behavior of your agent here.\n","TOOLS.md":"# TOOLS.md - Local Notes\n\nSkills define how tools work. This file is for your specifics.\n","IDENTITY.md":"# IDENTITY.md - Who Am I?\n\nFill this in during your first conversation.\n","USER.md":"# USER.md - About Your Human\n\nDescribe yourself and how you'd like the agent to interact with you.\n","HEARTBEAT.md":"# HEARTBEAT.md\n\n# Keep this file empty (or with only comments) to skip heartbeat API calls.\n","BOOTSTRAP.md":"# BOOTSTRAP.md - Hello, World\n\nYou just woke up. Time to figure out who you are.\n"},z=[{id:"seed_obj_people_00000000000000",name:"people",description:"Contact management",icon:"users",defaultView:"table",entryCount:5,fields:[{name:"Full Name",type:"text",required:!0},{name:"Email Address",type:"email",required:!0},{name:"Phone Number",type:"phone"},{name:"Company",type:"text"},{name:"Status",type:"enum",enumValues:["Active","Inactive","Lead"]},{name:"Notes",type:"richtext"}]},{id:"seed_obj_company_0000000000000",name:"company",description:"Company tracking",icon:"building-2",defaultView:"table",entryCount:3,fields:[{name:"Company Name",type:"text",required:!0},{name:"Industry",type:"enum",enumValues:["Technology","Finance","Healthcare","Education","Retail","Other"]},{name:"Website",type:"text"},{name:"Type",type:"enum",enumValues:["Client","Partner","Vendor","Prospect"]},{name:"Notes",type:"richtext"}]},{id:"seed_obj_task_000000000000000",name:"task",description:"Task tracking board",icon:"check-square",defaultView:"kanban",entryCount:5,fields:[{name:"Title",type:"text",required:!0},{name:"Description",type:"text"},{name:"Status",type:"enum",enumValues:["In Queue","In Progress","Done"]},{name:"Priority",type:"enum",enumValues:["Low","Medium","High"]},{name:"Due Date",type:"date"},{name:"Notes",type:"richtext"}]}];function A(a){let b=w().join(a,"skills","crm","SKILL.md"),c=w().join(a,"skills","browser","SKILL.md");return`# IDENTITY.md - DenchClaw
2
2
 
3
3
  You are **DenchClaw** - a personal AI agent and a CRM Database System built by Dench (dench.com), running on top of [OpenClaw](https://github.com/openclaw/openclaw).
4
4
 
@@ -37,4 +37,4 @@ Your browser automation behavior is defined by the Browser skill at:
37
37
 
38
38
  When referring to yourself, use **DenchClaw** (not OpenClaw).`}let B=[{name:"crm",templatePaths:!0},{name:"browser"}];var C=c(43182);let D="force-dynamic",E="nodejs",F=["AGENTS.md","SOUL.md","TOOLS.md","IDENTITY.md","USER.md","HEARTBEAT.md","BOOTSTRAP.md"],G=(0,v.join)("assets","seed","workspace.duckdb"),H=(0,v.join)("assets","seed","templates"),I=/^[a-z0-9][a-z0-9_-]{0,63}$/i;async function J(a){let b=await a.json().catch(()=>({})),c=(b.workspace??b.profile)?.trim()||"";if(!c)return Response.json({error:"Workspace name is required."},{status:400});if(b.path?.trim())return Response.json({error:"Custom workspace paths are currently disabled. Workspaces are created in ~/.openclaw-dench."},{status:400});if(!I.test(c)||!(0,x.vP)(c))return Response.json({error:"Invalid workspace name. Use letters, numbers, hyphens, or underscores."},{status:400});if((0,x.Ih)().some(a=>a.name.toLowerCase()===c.toLowerCase()))return Response.json({error:`Workspace '${c}' already exists.`},{status:409});let d=(0,x.We)(),e=(0,x.$9)(c),f=!1!==b.seedBootstrap,g=[],h=function(){let a=process.cwd();for(let b=0;b<10;b+=1){if((0,u.existsSync)((0,v.join)(a,"package.json"))&&(0,u.existsSync)((0,v.join)(a,G)))return a;let b=(0,v.dirname)(a);if(b===a)break;a=b}return null}();try{(0,u.mkdirSync)(d,{recursive:!0}),(0,u.mkdirSync)(e,{recursive:!1})}catch(a){return Response.json({error:`Failed to prepare workspace directory: ${a.message}`},{status:500})}if(f)for(let a of F){if("IDENTITY.md"===a)continue;let b=(0,v.join)(e,a);if(!(0,u.existsSync)(b)){let c=function(a,b){if(b){let d=(0,v.join)(b,H,a);try{var c=(0,u.readFileSync)(d,"utf-8");if(!c.startsWith("---"))return c;let a=c.indexOf("\n---",3);return -1===a?c:c.slice(a+4).replace(/^\s+/,"")}catch{}}return y[a]??""}(a,h);try{(0,u.writeFileSync)(b,c,{encoding:"utf-8",flag:"wx"}),g.push(a)}catch{}}}if(h){let a=function(a){let b=w().resolve(a.workspaceDir),c=w().join(b,"workspace.duckdb"),d=w().join(a.packageRoot,"assets","seed","workspace.duckdb"),e=["people/.object.yaml","company/.object.yaml","task/.object.yaml","WORKSPACE.md","IDENTITY.md",...B.map(a=>`skills/${a.name}/SKILL.md`)];for(let c of((0,u.mkdirSync)(b,{recursive:!0}),B))!function(a,b){let c=w().join(a.packageRoot,"skills",b.name),d=w().join(c,"SKILL.md");if(!(0,u.existsSync)(d))return;let e=w().join(a.workspaceDir,"skills",b.name);if((0,u.mkdirSync)(w().dirname(e),{recursive:!0}),(0,u.cpSync)(c,e,{recursive:!0,force:!0}),b.templatePaths){let b=w().join(e,"SKILL.md"),c=(0,u.readFileSync)(b,"utf-8");(0,u.writeFileSync)(b,c.replaceAll("{{WORKSPACE_PATH}}",a.workspaceDir),"utf-8")}}({workspaceDir:b,packageRoot:a.packageRoot},c);let f=w().join(b,"IDENTITY.md");if((0,u.writeFileSync)(f,`${A(b)}
39
39
  `,"utf-8"),(0,u.existsSync)(c))return{workspaceDir:b,dbPath:c,seedDbPath:d,seeded:!1,reason:"already-exists",projectionFiles:[]};if(!(0,u.existsSync)(d))return{workspaceDir:b,dbPath:c,seedDbPath:d,seeded:!1,reason:"seed-asset-missing",projectionFiles:[]};try{(0,u.copyFileSync)(d,c)}catch(a){return{workspaceDir:b,dbPath:c,seedDbPath:d,seeded:!1,reason:"copy-failed",projectionFiles:[],error:a instanceof Error?a.message:String(a)}}for(let a of z){let c=w().join(b,a.name);(0,u.mkdirSync)(c,{recursive:!0}),(0,u.writeFileSync)(w().join(c,".object.yaml"),function(a){let b=[`id: "${a.id}"`,`name: "${a.name}"`,`description: "${a.description}"`,`icon: "${a.icon}"`,`default_view: "${a.defaultView}"`,`entry_count: ${a.entryCount}`,"fields:"];for(let c of a.fields)b.push(` - name: "${c.name}"`),b.push(` type: ${c.type}`),c.required&&b.push(" required: true"),c.enumValues&&b.push(` values: ${JSON.stringify(c.enumValues)}`);return`${b.join("\n")}
40
- `}(a),"utf-8")}return!function(a,b){if(!(0,u.existsSync)(a))try{(0,u.writeFileSync)(a,b,{encoding:"utf-8",flag:"wx"})}catch{return!1}}(w().join(b,"WORKSPACE.md"),function(a){let b=["# Workspace Schema","","Auto-generated summary of the workspace database.",""];for(let c of a){for(let a of(b.push(`## ${c.name}`),b.push(""),b.push(`- **Description**: ${c.description}`),b.push(`- **View**: \`${c.defaultView}\``),b.push(`- **Entries**: ${c.entryCount}`),b.push("- **Fields**:"),c.fields)){let c=a.required?" (required)":"",d=a.enumValues?` — ${a.enumValues.join(", ")}`:"";b.push(` - ${a.name} (\`${a.type}\`)${c}${d}`)}b.push("")}return b.join("\n")}(z)),{workspaceDir:b,dbPath:c,seedDbPath:d,seeded:!0,reason:"seeded",projectionFiles:e}}({workspaceDir:e,packageRoot:h});g.push(...a.projectionFiles),a.seeded&&g.push("workspace.duckdb")}else{let a=(0,v.join)(e,"IDENTITY.md");(0,u.writeFileSync)(a,A(e)+"\n","utf-8"),g.push("IDENTITY.md")}if(f){let a=(0,v.join)(e,".openclaw"),b=(0,v.join)(a,"workspace-state.json");if(!(0,u.existsSync)(b))try{(0,u.mkdirSync)(a,{recursive:!0});let c={version:1,bootstrapSeededAt:new Date().toISOString(),duckdbSeededAt:(0,u.existsSync)((0,v.join)(e,"workspace.duckdb"))?new Date().toISOString():void 0};(0,u.writeFileSync)(b,JSON.stringify(c,null,2)+"\n","utf-8")}catch{}}(0,x.VM)(c,e),(0,x.GC)(c);let i=(0,x.vL)();return(0,C.H)("workspace_created",{has_seed:f}),Response.json({workspace:c,activeWorkspace:i,workspaceDir:e,stateDir:d,copiedFiles:[],seededFiles:g,crmSynced:!!h,workspaceRoot:(0,x.Yn)(),profile:c,activeProfile:i})}let K=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/init/route",pathname:"/api/workspace/init",filename:"route",bundlePath:"app/api/workspace/init/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/api/workspace/init/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:L,workUnitAsyncStorage:M,serverHooks:N}=K;function O(){return(0,g.patchFetch)({workAsyncStorage:L,workUnitAsyncStorage:M})}async function P(a,b,c){var d;let e="/api/workspace/init/route";"/index"===e&&(e="/");let g=await K.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||K.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===K.isDev||!E,H=E&&!G,I=a.method||"GET",J=(0,i.getTracer)(),L=J.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:H,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>K.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=J.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${I} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${I} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!E)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await K.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await K.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await J.withPropagatedContext(a.headers,()=>J.trace(m.BaseServerSpan.handleRequest,{spanName:`${I} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":I,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79428:a=>{a.exports=require("buffer")},80481:a=>{a.exports=require("node:readline")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,3536,6924],()=>b(b.s=43572));module.exports=c})();
40
+ `}(a),"utf-8")}return!function(a,b){if(!(0,u.existsSync)(a))try{(0,u.writeFileSync)(a,b,{encoding:"utf-8",flag:"wx"})}catch{return!1}}(w().join(b,"WORKSPACE.md"),function(a){let b=["# Workspace Schema","","Auto-generated summary of the workspace database.",""];for(let c of a){for(let a of(b.push(`## ${c.name}`),b.push(""),b.push(`- **Description**: ${c.description}`),b.push(`- **View**: \`${c.defaultView}\``),b.push(`- **Entries**: ${c.entryCount}`),b.push("- **Fields**:"),c.fields)){let c=a.required?" (required)":"",d=a.enumValues?` — ${a.enumValues.join(", ")}`:"";b.push(` - ${a.name} (\`${a.type}\`)${c}${d}`)}b.push("")}return b.join("\n")}(z)),{workspaceDir:b,dbPath:c,seedDbPath:d,seeded:!0,reason:"seeded",projectionFiles:e}}({workspaceDir:e,packageRoot:h});g.push(...a.projectionFiles),a.seeded&&g.push("workspace.duckdb")}else{let a=(0,v.join)(e,"IDENTITY.md");(0,u.writeFileSync)(a,A(e)+"\n","utf-8"),g.push("IDENTITY.md")}if(f){let a=(0,v.join)(e,".openclaw"),b=(0,v.join)(a,"workspace-state.json");if(!(0,u.existsSync)(b))try{(0,u.mkdirSync)(a,{recursive:!0});let c={version:1,bootstrapSeededAt:new Date().toISOString(),duckdbSeededAt:(0,u.existsSync)((0,v.join)(e,"workspace.duckdb"))?new Date().toISOString():void 0};(0,u.writeFileSync)(b,JSON.stringify(c,null,2)+"\n","utf-8")}catch{}}(0,x.VM)(c,e),(0,x.GC)(c);let i=(0,x.vL)();return(0,C.H)("workspace_created",{has_seed:f}),Response.json({workspace:c,activeWorkspace:i,workspaceDir:e,stateDir:d,copiedFiles:[],seededFiles:g,crmSynced:!!h,workspaceRoot:(0,x.Yn)(),profile:c,activeProfile:i})}let K=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/init/route",pathname:"/api/workspace/init",filename:"route",bundlePath:"app/api/workspace/init/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/workspace/init/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:L,workUnitAsyncStorage:M,serverHooks:N}=K;function O(){return(0,g.patchFetch)({workAsyncStorage:L,workUnitAsyncStorage:M})}async function P(a,b,c){var d;let e="/api/workspace/init/route";"/index"===e&&(e="/");let g=await K.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||K.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===K.isDev||!E,H=E&&!G,I=a.method||"GET",J=(0,i.getTracer)(),L=J.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:H,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>K.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=J.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${I} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${I} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!E)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await K.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await K.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await J.withPropagatedContext(a.headers,()=>J.trace(m.BaseServerSpan.handleRequest,{spanName:`${I} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":I,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},43182:(a,b,c)=>{c.d(b,{H:()=>k,l:()=>j});var d=c(77598),e=c(48161),f=c.n(e),g=c(53536);let h="phc_Nt8s1Ny8062TY9aKT8LWiB4nBuoHNYQXRU9MypWfQCW",i=null;function j(){try{let a=`${f().hostname()}:${f().userInfo().username}`;return(0,d.createHash)("sha256").update(a).digest("hex").slice(0,16)}catch{return"unknown"}}function k(a,b){let c=h?(i||(i=new g.f2(h,{host:"https://us.i.posthog.com",flushAt:10,flushInterval:3e4})),i):null;c&&c.capture({distinctId:j(),event:a,properties:{...b,$process_person_profile:!1}})}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79428:a=>{a.exports=require("buffer")},80481:a=>{a.exports=require("node:readline")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,3536,6924],()=>b(b.s=37253));module.exports=c})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/workspace/init/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"21460":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"89540","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"81138","name":"*","chunks":[],"async":true}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/components/posthog-provider.tsx":{"id":21460,"name":"*","chunks":["5700","static/chunks/df90ee31-33cbf7968acd3b6e.js","7177","static/chunks/app/layout-01f7966beacdd67b.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/globals.css":{"id":89480,"name":"*","chunks":["5700","static/chunks/df90ee31-33cbf7968acd3b6e.js","7177","static/chunks/app/layout-01f7966beacdd67b.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/page.tsx":{"id":81710,"name":"*","chunks":["8974","static/chunks/app/page-f365ecf6d5915738.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/workspace/page.tsx":{"id":94696,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/ironclaw/apps/web/":[],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/82d300cbeda03b69.css"}],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/api/workspace/init/route":[]},"rscModuleMapping":{"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"21460":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"63521","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"53948","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"32459","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"23045","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"12409","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/workspace/init/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"89540","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"81138","name":"*","chunks":[],"async":true}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/components/posthog-provider.tsx":{"id":7975,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-4d0405acdb5ee8e5.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/globals.css":{"id":89480,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-4d0405acdb5ee8e5.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/workspace/page.tsx":{"id":94696,"name":"*","chunks":[],"async":true},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page.tsx":{"id":81710,"name":"*","chunks":["8974","static/chunks/app/page-b213929ad6255c65.js"],"async":false}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/denchclaw/apps/web/":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/82d300cbeda03b69.css"}],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/workspace/init/route":[]},"rscModuleMapping":{"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"63521","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"53948","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"32459","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"23045","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"12409","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}}}
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=1624,a.ids=[1624],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},78434:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>z,dynamic:()=>x,runtime:()=>y});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(73024),v=c(76760),w=c(13768);let x="force-dynamic",y="nodejs";async function z(){let a=(0,w.Ih)().map(a=>({...a,gateway:function(a){for(let b of["openclaw.json","config.json"]){let c=(0,v.join)(a,b);if((0,u.existsSync)(c))try{let a=JSON.parse((0,u.readFileSync)(c,"utf-8")),b="number"==typeof a.gateway?.port?a.gateway.port:"string"==typeof a.gateway?.port?Number.parseInt(a.gateway.port,10):void 0,d="string"==typeof a.gateway?.mode?a.gateway.mode:void 0;return{...d?{mode:d}:{},...Number.isFinite(b)?{port:b}:{},...Number.isFinite(b)?{url:`ws://127.0.0.1:${b}`}:{}}}catch{}}return null}(a.stateDir)})),b=(0,w.vL)()??a.find(a=>a.isActive)?.name??null;return Response.json({workspaces:a,activeWorkspace:b})}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/list/route",pathname:"/api/workspace/list",filename:"route",bundlePath:"app/api/workspace/list/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/api/workspace/list/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/workspace/list/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},79428:a=>{a.exports=require("buffer")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,6924],()=>b(b.s=78434));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=1624,a.ids=[1624],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51928:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>z,dynamic:()=>x,runtime:()=>y});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(73024),v=c(76760),w=c(13768);let x="force-dynamic",y="nodejs";async function z(){let a=(0,w.Ih)().map(a=>({...a,gateway:function(a){for(let b of["openclaw.json","config.json"]){let c=(0,v.join)(a,b);if((0,u.existsSync)(c))try{let a=JSON.parse((0,u.readFileSync)(c,"utf-8")),b="number"==typeof a.gateway?.port?a.gateway.port:"string"==typeof a.gateway?.port?Number.parseInt(a.gateway.port,10):void 0,d="string"==typeof a.gateway?.mode?a.gateway.mode:void 0;return{...d?{mode:d}:{},...Number.isFinite(b)?{port:b}:{},...Number.isFinite(b)?{url:`ws://127.0.0.1:${b}`}:{}}}catch{}}return null}(a.stateDir)})),b=(0,w.vL)()??a.find(a=>a.isActive)?.name??null;return Response.json({workspaces:a,activeWorkspace:b})}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/list/route",pathname:"/api/workspace/list",filename:"route",bundlePath:"app/api/workspace/list/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/workspace/list/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/workspace/list/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},79428:a=>{a.exports=require("buffer")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,6924],()=>b(b.s=51928));module.exports=c})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/workspace/list/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"21460":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"89540","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"81138","name":"*","chunks":[],"async":true}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/components/posthog-provider.tsx":{"id":21460,"name":"*","chunks":["5700","static/chunks/df90ee31-33cbf7968acd3b6e.js","7177","static/chunks/app/layout-01f7966beacdd67b.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/globals.css":{"id":89480,"name":"*","chunks":["5700","static/chunks/df90ee31-33cbf7968acd3b6e.js","7177","static/chunks/app/layout-01f7966beacdd67b.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/page.tsx":{"id":81710,"name":"*","chunks":["8974","static/chunks/app/page-f365ecf6d5915738.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/workspace/page.tsx":{"id":94696,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/ironclaw/apps/web/":[],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/82d300cbeda03b69.css"}],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/api/workspace/list/route":[]},"rscModuleMapping":{"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"21460":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"63521","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"53948","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"32459","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"23045","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"12409","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/workspace/list/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"89540","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"81138","name":"*","chunks":[],"async":true}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/components/posthog-provider.tsx":{"id":7975,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-4d0405acdb5ee8e5.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/globals.css":{"id":89480,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-4d0405acdb5ee8e5.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/workspace/page.tsx":{"id":94696,"name":"*","chunks":[],"async":true},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page.tsx":{"id":81710,"name":"*","chunks":["8974","static/chunks/app/page-b213929ad6255c65.js"],"async":false}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/denchclaw/apps/web/":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/82d300cbeda03b69.css"}],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/workspace/list/route":[]},"rscModuleMapping":{"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"63521","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"53948","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"32459","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"23045","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"12409","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}}}
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=5681,a.ids=[5681],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71073:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{POST:()=>z,dynamic:()=>x,runtime:()=>y});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(73024),v=c(76760),w=c(13768);let x="force-dynamic",y="nodejs";async function z(a){let b,c;try{b=await a.json()}catch{return Response.json({error:"Invalid JSON body"},{status:400})}let{path:d,absolute:e}=b;if(!d||"string"!=typeof d)return Response.json({error:"Missing 'path' field"},{status:400});if(e){let a=(0,v.normalize)(d);if(a.includes("/../")||a.includes("/.."))return Response.json({error:"Path traversal rejected"},{status:400});c=(0,v.resolve)(a)}else c=(0,w.NI)(d);if(!c)return Response.json({error:"Invalid path or path traversal rejected"},{status:400});if((0,u.existsSync)(c))return Response.json({error:"Directory already exists"},{status:409});try{return(0,u.mkdirSync)(c,{recursive:!0}),Response.json({ok:!0,path:c})}catch(a){return Response.json({error:a instanceof Error?a.message:"mkdir failed"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/mkdir/route",pathname:"/api/workspace/mkdir",filename:"route",bundlePath:"app/api/workspace/mkdir/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/api/workspace/mkdir/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/workspace/mkdir/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},79428:a=>{a.exports=require("buffer")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,6924],()=>b(b.s=71073));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=5681,a.ids=[5681],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},79428:a=>{a.exports=require("buffer")},84409:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{POST:()=>z,dynamic:()=>x,runtime:()=>y});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(73024),v=c(76760),w=c(13768);let x="force-dynamic",y="nodejs";async function z(a){let b,c;try{b=await a.json()}catch{return Response.json({error:"Invalid JSON body"},{status:400})}let{path:d,absolute:e}=b;if(!d||"string"!=typeof d)return Response.json({error:"Missing 'path' field"},{status:400});if(e){let a=(0,v.normalize)(d);if(a.includes("/../")||a.includes("/.."))return Response.json({error:"Path traversal rejected"},{status:400});c=(0,v.resolve)(a)}else c=(0,w.NI)(d);if(!c)return Response.json({error:"Invalid path or path traversal rejected"},{status:400});if((0,u.existsSync)(c))return Response.json({error:"Directory already exists"},{status:409});try{return(0,u.mkdirSync)(c,{recursive:!0}),Response.json({ok:!0,path:c})}catch(a){return Response.json({error:a instanceof Error?a.message:"mkdir failed"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/mkdir/route",pathname:"/api/workspace/mkdir",filename:"route",bundlePath:"app/api/workspace/mkdir/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/workspace/mkdir/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/workspace/mkdir/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,6924],()=>b(b.s=84409));module.exports=c})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/workspace/mkdir/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"21460":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"89540","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"81138","name":"*","chunks":[],"async":true}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/components/posthog-provider.tsx":{"id":21460,"name":"*","chunks":["5700","static/chunks/df90ee31-33cbf7968acd3b6e.js","7177","static/chunks/app/layout-01f7966beacdd67b.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/globals.css":{"id":89480,"name":"*","chunks":["5700","static/chunks/df90ee31-33cbf7968acd3b6e.js","7177","static/chunks/app/layout-01f7966beacdd67b.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/page.tsx":{"id":81710,"name":"*","chunks":["8974","static/chunks/app/page-f365ecf6d5915738.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/workspace/page.tsx":{"id":94696,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/ironclaw/apps/web/":[],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/82d300cbeda03b69.css"}],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/api/workspace/mkdir/route":[]},"rscModuleMapping":{"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"21460":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"63521","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"53948","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"32459","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"23045","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"12409","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/workspace/mkdir/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"89540","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"81138","name":"*","chunks":[],"async":true}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/components/posthog-provider.tsx":{"id":7975,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-4d0405acdb5ee8e5.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/globals.css":{"id":89480,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-4d0405acdb5ee8e5.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/workspace/page.tsx":{"id":94696,"name":"*","chunks":[],"async":true},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page.tsx":{"id":81710,"name":"*","chunks":["8974","static/chunks/app/page-b213929ad6255c65.js"],"async":false}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/denchclaw/apps/web/":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/82d300cbeda03b69.css"}],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/workspace/mkdir/route":[]},"rscModuleMapping":{"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"63521","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"53948","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"32459","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"23045","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"12409","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}}}
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=1791,a.ids=[1791],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10772:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{POST:()=>z,dynamic:()=>x,runtime:()=>y});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(73024),v=c(76760),w=c(13768);let x="force-dynamic",y="nodejs";async function z(a){let b;try{b=await a.json()}catch{return Response.json({error:"Invalid JSON body"},{status:400})}let{sourcePath:c,destinationDir:d}=b;if(!c||"string"!=typeof c||!d||"string"!=typeof d)return Response.json({error:"Missing 'sourcePath' and 'destinationDir' fields"},{status:400});if((0,w.Ag)(c))return Response.json({error:"Cannot move system file"},{status:403});let e=(0,w.Zr)(c);if(!e)return Response.json({error:"Source not found or path traversal rejected"},{status:404});let f=(0,w.Zr)(d);if(!f)return Response.json({error:"Destination not found or path traversal rejected"},{status:404});if(!(0,u.statSync)(f).isDirectory())return Response.json({error:"Destination is not a directory"},{status:400});if(f.startsWith(e+"/")||f===e)return Response.json({error:"Cannot move a folder into itself"},{status:400});let g=(0,v.basename)(e),h=(0,v.join)(f,g);if((0,u.existsSync)(h))return Response.json({error:`'${g}' already exists in destination`},{status:409});let i="."===d?g:`${d}/${g}`;try{return(0,u.renameSync)(e,h),Response.json({ok:!0,oldPath:c,newPath:i})}catch(a){return Response.json({error:a instanceof Error?a.message:"Move failed"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/move/route",pathname:"/api/workspace/move",filename:"route",bundlePath:"app/api/workspace/move/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/api/workspace/move/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/workspace/move/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},79428:a=>{a.exports=require("buffer")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,6924],()=>b(b.s=10772));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=1791,a.ids=[1791],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},44387:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{POST:()=>z,dynamic:()=>x,runtime:()=>y});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(73024),v=c(76760),w=c(13768);let x="force-dynamic",y="nodejs";async function z(a){let b;try{b=await a.json()}catch{return Response.json({error:"Invalid JSON body"},{status:400})}let{sourcePath:c,destinationDir:d}=b;if(!c||"string"!=typeof c||!d||"string"!=typeof d)return Response.json({error:"Missing 'sourcePath' and 'destinationDir' fields"},{status:400});if((0,w.Ag)(c))return Response.json({error:"Cannot move system file"},{status:403});let e=(0,w.Zr)(c);if(!e)return Response.json({error:"Source not found or path traversal rejected"},{status:404});let f=(0,w.Zr)(d);if(!f)return Response.json({error:"Destination not found or path traversal rejected"},{status:404});if(!(0,u.statSync)(f).isDirectory())return Response.json({error:"Destination is not a directory"},{status:400});if(f.startsWith(e+"/")||f===e)return Response.json({error:"Cannot move a folder into itself"},{status:400});let g=(0,v.basename)(e),h=(0,v.join)(f,g);if((0,u.existsSync)(h))return Response.json({error:`'${g}' already exists in destination`},{status:409});let i="."===d?g:`${d}/${g}`;try{return(0,u.renameSync)(e,h),Response.json({ok:!0,oldPath:c,newPath:i})}catch(a){return Response.json({error:a instanceof Error?a.message:"Move failed"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/move/route",pathname:"/api/workspace/move",filename:"route",bundlePath:"app/api/workspace/move/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/workspace/move/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/workspace/move/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},79428:a=>{a.exports=require("buffer")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,6924],()=>b(b.s=44387));module.exports=c})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/workspace/move/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"21460":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"89540","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"81138","name":"*","chunks":[],"async":true}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/components/posthog-provider.tsx":{"id":21460,"name":"*","chunks":["5700","static/chunks/df90ee31-33cbf7968acd3b6e.js","7177","static/chunks/app/layout-01f7966beacdd67b.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/globals.css":{"id":89480,"name":"*","chunks":["5700","static/chunks/df90ee31-33cbf7968acd3b6e.js","7177","static/chunks/app/layout-01f7966beacdd67b.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/page.tsx":{"id":81710,"name":"*","chunks":["8974","static/chunks/app/page-f365ecf6d5915738.js"],"async":false},"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/workspace/page.tsx":{"id":94696,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/ironclaw/apps/web/":[],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/82d300cbeda03b69.css"}],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/api/workspace/move/route":[]},"rscModuleMapping":{"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"21460":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"63521","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"53948","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"32459","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"23045","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"12409","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/workspace/move/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"89540","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"81138","name":"*","chunks":[],"async":true}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":55095,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":24636,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6820,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":95797,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":22229,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":56673,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":41457,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":91464,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next@15.5.12_@opentelemetry+api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":85681,"name":"*","chunks":[],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/components/posthog-provider.tsx":{"id":7975,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-4d0405acdb5ee8e5.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/globals.css":{"id":89480,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-4d0405acdb5ee8e5.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/workspace/page.tsx":{"id":94696,"name":"*","chunks":[],"async":true},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page.tsx":{"id":81710,"name":"*","chunks":["8974","static/chunks/app/page-b213929ad6255c65.js"],"async":false}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/denchclaw/apps/web/":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/82d300cbeda03b69.css"}],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/workspace/move/route":[]},"rscModuleMapping":{"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"63521","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"53948","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"32459","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"23045","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"12409","name":"*","chunks":[],"async":false}},"81710":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"94696":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"22229":{"*":{"id":"61971","name":"*","chunks":[],"async":false}},"24636":{"*":{"id":"4762","name":"*","chunks":[],"async":false}},"41457":{"*":{"id":"83173","name":"*","chunks":[],"async":false}},"55095":{"*":{"id":"69307","name":"*","chunks":[],"async":false}},"56673":{"*":{"id":"76459","name":"*","chunks":[],"async":false}},"85681":{"*":{"id":"77667","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"11362","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"71091","name":"*","chunks":[],"async":false}}}}
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=1660,a.ids=[1660],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},79428:a=>{a.exports=require("buffer")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},95001:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{PATCH:()=>x,dynamic:()=>v,runtime:()=>w});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(13768);let v="force-dynamic",w="nodejs";async function x(a,{params:b}){let{name:c}=await b;if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(c))return Response.json({error:"Invalid object name"},{status:400});let d=(0,u.fO)(c);if(!d)return Response.json({error:"DuckDB database not found"},{status:404});let{displayField:e}=await a.json();if("string"!=typeof e||!e.trim())return Response.json({error:"displayField must be a non-empty string"},{status:400});(0,u.u4)(d,"ALTER TABLE objects ADD COLUMN IF NOT EXISTS display_field VARCHAR");let f=(0,u.hM)(d,`SELECT id FROM objects WHERE name = '${c}' LIMIT 1`);if(0===f.length)return Response.json({error:`Object '${c}' not found`},{status:404});let g=e.replace(/'/g,"''");return 0===(0,u.hM)(d,`SELECT id FROM fields WHERE object_id = '${f[0].id}' AND name = '${g}' LIMIT 1`).length?Response.json({error:`Field '${e}' not found on object '${c}'`},{status:400}):(0,u.u4)(d,`UPDATE objects SET display_field = '${g}', updated_at = now() WHERE name = '${c}'`)?Response.json({ok:!0,displayField:e}):Response.json({error:"Failed to update display field"},{status:500})}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/objects/[name]/display-field/route",pathname:"/api/workspace/objects/[name]/display-field",filename:"route",bundlePath:"app/api/workspace/objects/[name]/display-field/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/ironclaw/apps/web/app/api/workspace/objects/[name]/display-field/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/workspace/objects/[name]/display-field/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,6924],()=>b(b.s=95001));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=1660,a.ids=[1660],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19771:a=>{a.exports=require("process")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},45129:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{PATCH:()=>x,dynamic:()=>v,runtime:()=>w});var e=c(40527),f=c(41752),g=c(33335),h=c(73615),i=c(1769),j=c(261),k=c(5563),l=c(39285),m=c(43399),n=c(95860),o=c(61730),p=c(28392),q=c(76618),r=c(6527),s=c(86439),t=c(75973),u=c(13768);let v="force-dynamic",w="nodejs";async function x(a,{params:b}){let{name:c}=await b;if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(c))return Response.json({error:"Invalid object name"},{status:400});let d=(0,u.fO)(c);if(!d)return Response.json({error:"DuckDB database not found"},{status:404});let{displayField:e}=await a.json();if("string"!=typeof e||!e.trim())return Response.json({error:"displayField must be a non-empty string"},{status:400});(0,u.u4)(d,"ALTER TABLE objects ADD COLUMN IF NOT EXISTS display_field VARCHAR");let f=(0,u.hM)(d,`SELECT id FROM objects WHERE name = '${c}' LIMIT 1`);if(0===f.length)return Response.json({error:`Object '${c}' not found`},{status:404});let g=e.replace(/'/g,"''");return 0===(0,u.hM)(d,`SELECT id FROM fields WHERE object_id = '${f[0].id}' AND name = '${g}' LIMIT 1`).length?Response.json({error:`Field '${e}' not found on object '${c}'`},{status:400}):(0,u.u4)(d,`UPDATE objects SET display_field = '${g}', updated_at = now() WHERE name = '${c}'`)?Response.json({ok:!0,displayField:e}):Response.json({error:"Failed to update display field"},{status:500})}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/workspace/objects/[name]/display-field/route",pathname:"/api/workspace/objects/[name]/display-field",filename:"route",bundlePath:"app/api/workspace/objects/[name]/display-field/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/workspace/objects/[name]/display-field/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/workspace/objects/[name]/display-field/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},48161:a=>{a.exports=require("node:os")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},79428:a=>{a.exports=require("buffer")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[6973,2736,6924],()=>b(b.s=45129));module.exports=c})();