denchclaw 2.3.6 → 2.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/apps/web/.next/standalone/apps/web/.next/BUILD_ID +1 -1
  2. package/apps/web/.next/standalone/apps/web/.next/app-build-manifest.json +146 -111
  3. package/apps/web/.next/standalone/apps/web/.next/app-path-routes-manifest.json +40 -35
  4. package/apps/web/.next/standalone/apps/web/.next/build-manifest.json +2 -2
  5. package/apps/web/.next/standalone/apps/web/.next/required-server-files.json +1 -1
  6. package/apps/web/.next/standalone/apps/web/.next/routes-manifest.json +8 -0
  7. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found/page.js +1 -1
  8. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  9. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/cron/route.js +1 -0
  10. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/cron/route.js.nft.json +1 -0
  11. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/cron/route_client-reference-manifest.js +1 -0
  12. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/proxy/route.js +1 -0
  13. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/proxy/route.js.nft.json +1 -0
  14. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/proxy/route_client-reference-manifest.js +1 -0
  15. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/route.js +197 -9
  16. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/route_client-reference-manifest.js +1 -1
  17. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/serve/[...path]/route.js +197 -9
  18. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/serve/[...path]/route_client-reference-manifest.js +1 -1
  19. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/store/route.js +1 -0
  20. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/store/route.js.nft.json +1 -0
  21. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/store/route_client-reference-manifest.js +1 -0
  22. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/webhooks/[...path]/route.js +1 -0
  23. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/webhooks/[...path]/route.js.nft.json +1 -0
  24. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/webhooks/[...path]/route_client-reference-manifest.js +1 -0
  25. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route.js +1 -1
  26. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route.js.nft.json +1 -1
  27. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route_client-reference-manifest.js +1 -1
  28. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route.js +1 -1
  29. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route.js.nft.json +1 -1
  30. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route_client-reference-manifest.js +1 -1
  31. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/runs/route.js +1 -1
  32. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/runs/route.js.nft.json +1 -1
  33. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/runs/route_client-reference-manifest.js +1 -1
  34. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route.js +1 -1
  35. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route.js.nft.json +1 -1
  36. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route_client-reference-manifest.js +1 -1
  37. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route.js +1 -1
  38. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route.js.nft.json +1 -1
  39. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route_client-reference-manifest.js +1 -1
  40. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route.js +1 -1
  41. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route.js.nft.json +1 -1
  42. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route_client-reference-manifest.js +1 -1
  43. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/[jobId]/runs/route_client-reference-manifest.js +1 -1
  44. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/route_client-reference-manifest.js +1 -1
  45. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/[sessionId]/route_client-reference-manifest.js +1 -1
  46. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/search-transcript/route_client-reference-manifest.js +1 -1
  47. package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route.js +1 -1
  48. package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route_client-reference-manifest.js +1 -1
  49. package/apps/web/.next/standalone/apps/web/.next/server/app/api/memories/route_client-reference-manifest.js +1 -1
  50. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/route_client-reference-manifest.js +1 -1
  51. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/switch/route_client-reference-manifest.js +1 -1
  52. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/[sessionId]/route_client-reference-manifest.js +1 -1
  53. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
  54. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  55. package/apps/web/.next/standalone/apps/web/.next/server/app/api/terminal/port/route_client-reference-manifest.js +1 -1
  56. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/messages/route_client-reference-manifest.js +1 -1
  57. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route.js +1 -1
  58. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route.js.nft.json +1 -1
  59. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route_client-reference-manifest.js +1 -1
  60. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route.js +1 -1
  61. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route_client-reference-manifest.js +1 -1
  62. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/assets/[...path]/route_client-reference-manifest.js +1 -1
  63. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse/route_client-reference-manifest.js +1 -1
  64. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse-file/route_client-reference-manifest.js +1 -1
  65. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/context/route_client-reference-manifest.js +1 -1
  66. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/copy/route_client-reference-manifest.js +1 -1
  67. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/introspect/route_client-reference-manifest.js +1 -1
  68. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/query/route_client-reference-manifest.js +1 -1
  69. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route.js +1 -1
  70. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route_client-reference-manifest.js +1 -1
  71. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/execute/route.js +1 -0
  72. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/execute/route.js.nft.json +1 -0
  73. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/execute/route_client-reference-manifest.js +1 -0
  74. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/file/route_client-reference-manifest.js +1 -1
  75. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route.js +2 -106
  76. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route_client-reference-manifest.js +1 -1
  77. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/list/route_client-reference-manifest.js +1 -1
  78. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/mkdir/route_client-reference-manifest.js +1 -1
  79. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/move/route_client-reference-manifest.js +1 -1
  80. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/display-field/route_client-reference-manifest.js +1 -1
  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_client-reference-manifest.js +1 -1
  83. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/options/route_client-reference-manifest.js +1 -1
  84. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route.js +1 -1
  85. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route_client-reference-manifest.js +1 -1
  86. 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
  87. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/route_client-reference-manifest.js +1 -1
  88. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/reorder/route_client-reference-manifest.js +1 -1
  89. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/route_client-reference-manifest.js +1 -1
  90. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/views/route_client-reference-manifest.js +1 -1
  91. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/open-file/route_client-reference-manifest.js +1 -1
  92. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/path-info/route_client-reference-manifest.js +1 -1
  93. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/query/route_client-reference-manifest.js +1 -1
  94. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/raw-file/route_client-reference-manifest.js +1 -1
  95. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/rename/route_client-reference-manifest.js +1 -1
  96. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route.js +1 -1
  97. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route_client-reference-manifest.js +1 -1
  98. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/search-index/route_client-reference-manifest.js +1 -1
  99. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/suggest-files/route_client-reference-manifest.js +1 -1
  100. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route.js +1 -1
  101. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route_client-reference-manifest.js +1 -1
  102. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/thumbnail/route_client-reference-manifest.js +1 -1
  103. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/tree/route.js +1 -1
  104. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/tree/route_client-reference-manifest.js +1 -1
  105. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route.js +1 -1
  106. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route_client-reference-manifest.js +1 -1
  107. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/virtual-file/route_client-reference-manifest.js +1 -1
  108. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/watch/route_client-reference-manifest.js +1 -1
  109. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/write-binary/route_client-reference-manifest.js +1 -1
  110. package/apps/web/.next/standalone/apps/web/.next/server/app/page.js +5 -5
  111. package/apps/web/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  112. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page_client-reference-manifest.js +1 -1
  113. package/apps/web/.next/standalone/apps/web/.next/server/app-paths-manifest.json +40 -35
  114. package/apps/web/.next/standalone/apps/web/.next/server/chunks/6426.js +1 -7
  115. package/apps/web/.next/standalone/apps/web/.next/server/chunks/687.js +7 -0
  116. package/apps/web/.next/standalone/apps/web/.next/server/chunks/7173.js +1 -1
  117. package/apps/web/.next/standalone/apps/web/.next/server/functions-config-manifest.json +22 -17
  118. package/apps/web/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
  119. package/apps/web/.next/standalone/apps/web/.next/static/2k8OdxswgxWXlhb9jgh-R/_buildManifest.js +1 -0
  120. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/cron/route-5f5d429b1700dd0e.js +1 -0
  121. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/proxy/route-5f5d429b1700dd0e.js +1 -0
  122. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/route-5f5d429b1700dd0e.js +1 -0
  123. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-5f5d429b1700dd0e.js +1 -0
  124. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/store/route-5f5d429b1700dd0e.js +1 -0
  125. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-5f5d429b1700dd0e.js +1 -0
  126. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/active/route-5f5d429b1700dd0e.js +1 -0
  127. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/route-5f5d429b1700dd0e.js +1 -0
  128. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/runs/route-5f5d429b1700dd0e.js +1 -0
  129. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stop/route-5f5d429b1700dd0e.js +1 -0
  130. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stream/route-5f5d429b1700dd0e.js +1 -0
  131. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/subagents/route-5f5d429b1700dd0e.js +1 -0
  132. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-5f5d429b1700dd0e.js +1 -0
  133. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/route-5f5d429b1700dd0e.js +1 -0
  134. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-5f5d429b1700dd0e.js +1 -0
  135. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-5f5d429b1700dd0e.js +1 -0
  136. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/feedback/route-5f5d429b1700dd0e.js +1 -0
  137. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/memories/route-5f5d429b1700dd0e.js +1 -0
  138. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/route-5f5d429b1700dd0e.js +1 -0
  139. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/switch/route-5f5d429b1700dd0e.js +1 -0
  140. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-5f5d429b1700dd0e.js +1 -0
  141. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/route-5f5d429b1700dd0e.js +1 -0
  142. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/route-5f5d429b1700dd0e.js +1 -0
  143. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/terminal/port/route-5f5d429b1700dd0e.js +1 -0
  144. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-5f5d429b1700dd0e.js +1 -0
  145. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-5f5d429b1700dd0e.js +1 -0
  146. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/route-5f5d429b1700dd0e.js +1 -0
  147. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-5f5d429b1700dd0e.js +1 -0
  148. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse/route-5f5d429b1700dd0e.js +1 -0
  149. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-5f5d429b1700dd0e.js +1 -0
  150. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/context/route-5f5d429b1700dd0e.js +1 -0
  151. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/copy/route-5f5d429b1700dd0e.js +1 -0
  152. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-5f5d429b1700dd0e.js +1 -0
  153. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/query/route-5f5d429b1700dd0e.js +1 -0
  154. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/delete/route-5f5d429b1700dd0e.js +1 -0
  155. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/execute/route-5f5d429b1700dd0e.js +1 -0
  156. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/file/route-5f5d429b1700dd0e.js +1 -0
  157. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/init/route-5f5d429b1700dd0e.js +1 -0
  158. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/list/route-5f5d429b1700dd0e.js +1 -0
  159. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-5f5d429b1700dd0e.js +1 -0
  160. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/move/route-5f5d429b1700dd0e.js +1 -0
  161. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-5f5d429b1700dd0e.js +1 -0
  162. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-5f5d429b1700dd0e.js +1 -0
  163. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-5f5d429b1700dd0e.js +1 -0
  164. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-5f5d429b1700dd0e.js +1 -0
  165. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-5f5d429b1700dd0e.js +1 -0
  166. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-5f5d429b1700dd0e.js +1 -0
  167. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-5f5d429b1700dd0e.js +1 -0
  168. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-5f5d429b1700dd0e.js +1 -0
  169. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-5f5d429b1700dd0e.js +1 -0
  170. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-5f5d429b1700dd0e.js +1 -0
  171. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/open-file/route-5f5d429b1700dd0e.js +1 -0
  172. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/path-info/route-5f5d429b1700dd0e.js +1 -0
  173. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/query/route-5f5d429b1700dd0e.js +1 -0
  174. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-5f5d429b1700dd0e.js +1 -0
  175. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/rename/route-5f5d429b1700dd0e.js +1 -0
  176. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-5f5d429b1700dd0e.js +1 -0
  177. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/search-index/route-5f5d429b1700dd0e.js +1 -0
  178. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-5f5d429b1700dd0e.js +1 -0
  179. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/switch/route-5f5d429b1700dd0e.js +1 -0
  180. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-5f5d429b1700dd0e.js +1 -0
  181. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/tree/route-5f5d429b1700dd0e.js +1 -0
  182. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/upload/route-5f5d429b1700dd0e.js +1 -0
  183. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-5f5d429b1700dd0e.js +1 -0
  184. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/watch/route-5f5d429b1700dd0e.js +1 -0
  185. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-5f5d429b1700dd0e.js +1 -0
  186. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/{layout-27bf5ccd9324b2af.js → layout-d39511d5017c8701.js} +1 -1
  187. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-441fc26d2fd5ddf4.js +1 -0
  188. package/apps/web/.next/standalone/apps/web/.next/static/css/eb7b54c9778eb5c7.css +1 -0
  189. package/apps/web/.next/standalone/apps/web/server.js +1 -1
  190. package/apps/web/.next/standalone/package.json +1 -1
  191. package/apps/web/.next/static/2k8OdxswgxWXlhb9jgh-R/_buildManifest.js +1 -0
  192. package/apps/web/.next/static/chunks/app/api/apps/cron/route-5f5d429b1700dd0e.js +1 -0
  193. package/apps/web/.next/static/chunks/app/api/apps/proxy/route-5f5d429b1700dd0e.js +1 -0
  194. package/apps/web/.next/static/chunks/app/api/apps/route-5f5d429b1700dd0e.js +1 -0
  195. package/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-5f5d429b1700dd0e.js +1 -0
  196. package/apps/web/.next/static/chunks/app/api/apps/store/route-5f5d429b1700dd0e.js +1 -0
  197. package/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-5f5d429b1700dd0e.js +1 -0
  198. package/apps/web/.next/static/chunks/app/api/chat/active/route-5f5d429b1700dd0e.js +1 -0
  199. package/apps/web/.next/static/chunks/app/api/chat/route-5f5d429b1700dd0e.js +1 -0
  200. package/apps/web/.next/static/chunks/app/api/chat/runs/route-5f5d429b1700dd0e.js +1 -0
  201. package/apps/web/.next/static/chunks/app/api/chat/stop/route-5f5d429b1700dd0e.js +1 -0
  202. package/apps/web/.next/static/chunks/app/api/chat/stream/route-5f5d429b1700dd0e.js +1 -0
  203. package/apps/web/.next/static/chunks/app/api/chat/subagents/route-5f5d429b1700dd0e.js +1 -0
  204. package/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-5f5d429b1700dd0e.js +1 -0
  205. package/apps/web/.next/static/chunks/app/api/cron/jobs/route-5f5d429b1700dd0e.js +1 -0
  206. package/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-5f5d429b1700dd0e.js +1 -0
  207. package/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-5f5d429b1700dd0e.js +1 -0
  208. package/apps/web/.next/static/chunks/app/api/feedback/route-5f5d429b1700dd0e.js +1 -0
  209. package/apps/web/.next/static/chunks/app/api/memories/route-5f5d429b1700dd0e.js +1 -0
  210. package/apps/web/.next/static/chunks/app/api/profiles/route-5f5d429b1700dd0e.js +1 -0
  211. package/apps/web/.next/static/chunks/app/api/profiles/switch/route-5f5d429b1700dd0e.js +1 -0
  212. package/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-5f5d429b1700dd0e.js +1 -0
  213. package/apps/web/.next/static/chunks/app/api/sessions/route-5f5d429b1700dd0e.js +1 -0
  214. package/apps/web/.next/static/chunks/app/api/skills/route-5f5d429b1700dd0e.js +1 -0
  215. package/apps/web/.next/static/chunks/app/api/terminal/port/route-5f5d429b1700dd0e.js +1 -0
  216. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-5f5d429b1700dd0e.js +1 -0
  217. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-5f5d429b1700dd0e.js +1 -0
  218. package/apps/web/.next/static/chunks/app/api/web-sessions/route-5f5d429b1700dd0e.js +1 -0
  219. package/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-5f5d429b1700dd0e.js +1 -0
  220. package/apps/web/.next/static/chunks/app/api/workspace/browse/route-5f5d429b1700dd0e.js +1 -0
  221. package/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-5f5d429b1700dd0e.js +1 -0
  222. package/apps/web/.next/static/chunks/app/api/workspace/context/route-5f5d429b1700dd0e.js +1 -0
  223. package/apps/web/.next/static/chunks/app/api/workspace/copy/route-5f5d429b1700dd0e.js +1 -0
  224. package/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-5f5d429b1700dd0e.js +1 -0
  225. package/apps/web/.next/static/chunks/app/api/workspace/db/query/route-5f5d429b1700dd0e.js +1 -0
  226. package/apps/web/.next/static/chunks/app/api/workspace/delete/route-5f5d429b1700dd0e.js +1 -0
  227. package/apps/web/.next/static/chunks/app/api/workspace/execute/route-5f5d429b1700dd0e.js +1 -0
  228. package/apps/web/.next/static/chunks/app/api/workspace/file/route-5f5d429b1700dd0e.js +1 -0
  229. package/apps/web/.next/static/chunks/app/api/workspace/init/route-5f5d429b1700dd0e.js +1 -0
  230. package/apps/web/.next/static/chunks/app/api/workspace/list/route-5f5d429b1700dd0e.js +1 -0
  231. package/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-5f5d429b1700dd0e.js +1 -0
  232. package/apps/web/.next/static/chunks/app/api/workspace/move/route-5f5d429b1700dd0e.js +1 -0
  233. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-5f5d429b1700dd0e.js +1 -0
  234. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-5f5d429b1700dd0e.js +1 -0
  235. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-5f5d429b1700dd0e.js +1 -0
  236. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-5f5d429b1700dd0e.js +1 -0
  237. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-5f5d429b1700dd0e.js +1 -0
  238. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-5f5d429b1700dd0e.js +1 -0
  239. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-5f5d429b1700dd0e.js +1 -0
  240. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-5f5d429b1700dd0e.js +1 -0
  241. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-5f5d429b1700dd0e.js +1 -0
  242. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-5f5d429b1700dd0e.js +1 -0
  243. package/apps/web/.next/static/chunks/app/api/workspace/open-file/route-5f5d429b1700dd0e.js +1 -0
  244. package/apps/web/.next/static/chunks/app/api/workspace/path-info/route-5f5d429b1700dd0e.js +1 -0
  245. package/apps/web/.next/static/chunks/app/api/workspace/query/route-5f5d429b1700dd0e.js +1 -0
  246. package/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-5f5d429b1700dd0e.js +1 -0
  247. package/apps/web/.next/static/chunks/app/api/workspace/rename/route-5f5d429b1700dd0e.js +1 -0
  248. package/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-5f5d429b1700dd0e.js +1 -0
  249. package/apps/web/.next/static/chunks/app/api/workspace/search-index/route-5f5d429b1700dd0e.js +1 -0
  250. package/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-5f5d429b1700dd0e.js +1 -0
  251. package/apps/web/.next/static/chunks/app/api/workspace/switch/route-5f5d429b1700dd0e.js +1 -0
  252. package/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-5f5d429b1700dd0e.js +1 -0
  253. package/apps/web/.next/static/chunks/app/api/workspace/tree/route-5f5d429b1700dd0e.js +1 -0
  254. package/apps/web/.next/static/chunks/app/api/workspace/upload/route-5f5d429b1700dd0e.js +1 -0
  255. package/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-5f5d429b1700dd0e.js +1 -0
  256. package/apps/web/.next/static/chunks/app/api/workspace/watch/route-5f5d429b1700dd0e.js +1 -0
  257. package/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-5f5d429b1700dd0e.js +1 -0
  258. package/apps/web/.next/static/chunks/app/{layout-27bf5ccd9324b2af.js → layout-d39511d5017c8701.js} +1 -1
  259. package/apps/web/.next/static/chunks/app/page-441fc26d2fd5ddf4.js +1 -0
  260. package/apps/web/.next/static/css/eb7b54c9778eb5c7.css +1 -0
  261. package/dist/entry.js +1 -1
  262. package/dist/{program-C_fKvUXP.js → program-hOTAZNl8.js} +117 -144
  263. package/dist/{run-main-B9xMLY9j.js → run-main-Hwi_5T10.js} +1 -1
  264. package/extensions/dench-identity/index.ts +137 -0
  265. package/extensions/dench-identity/openclaw.plugin.json +17 -0
  266. package/extensions/dench-identity/package.json +8 -0
  267. package/extensions/posthog-analytics/lib/build-env.js +1 -1
  268. package/package.json +1 -1
  269. package/skills/app-builder/SKILL.md +122 -1789
  270. package/skills/app-builder/agent-builder/SKILL.md +277 -0
  271. package/skills/app-builder/data-builder/SKILL.md +993 -0
  272. package/skills/app-builder/game-builder/SKILL.md +1379 -0
  273. package/skills/app-builder/platform-api/SKILL.md +338 -0
  274. package/apps/web/.next/standalone/apps/web/.next/static/8JJPnGXX0UABv387IrLpB/_buildManifest.js +0 -1
  275. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/route-0a8ccfe24ebd650b.js +0 -1
  276. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-0a8ccfe24ebd650b.js +0 -1
  277. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/active/route-0a8ccfe24ebd650b.js +0 -1
  278. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/route-0a8ccfe24ebd650b.js +0 -1
  279. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/runs/route-0a8ccfe24ebd650b.js +0 -1
  280. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stop/route-0a8ccfe24ebd650b.js +0 -1
  281. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stream/route-0a8ccfe24ebd650b.js +0 -1
  282. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/subagents/route-0a8ccfe24ebd650b.js +0 -1
  283. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-0a8ccfe24ebd650b.js +0 -1
  284. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/route-0a8ccfe24ebd650b.js +0 -1
  285. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-0a8ccfe24ebd650b.js +0 -1
  286. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-0a8ccfe24ebd650b.js +0 -1
  287. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/feedback/route-0a8ccfe24ebd650b.js +0 -1
  288. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/memories/route-0a8ccfe24ebd650b.js +0 -1
  289. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/route-0a8ccfe24ebd650b.js +0 -1
  290. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/switch/route-0a8ccfe24ebd650b.js +0 -1
  291. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-0a8ccfe24ebd650b.js +0 -1
  292. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/route-0a8ccfe24ebd650b.js +0 -1
  293. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/route-0a8ccfe24ebd650b.js +0 -1
  294. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/terminal/port/route-0a8ccfe24ebd650b.js +0 -1
  295. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-0a8ccfe24ebd650b.js +0 -1
  296. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-0a8ccfe24ebd650b.js +0 -1
  297. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/route-0a8ccfe24ebd650b.js +0 -1
  298. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-0a8ccfe24ebd650b.js +0 -1
  299. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse/route-0a8ccfe24ebd650b.js +0 -1
  300. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-0a8ccfe24ebd650b.js +0 -1
  301. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/context/route-0a8ccfe24ebd650b.js +0 -1
  302. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/copy/route-0a8ccfe24ebd650b.js +0 -1
  303. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-0a8ccfe24ebd650b.js +0 -1
  304. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/query/route-0a8ccfe24ebd650b.js +0 -1
  305. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/delete/route-0a8ccfe24ebd650b.js +0 -1
  306. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/file/route-0a8ccfe24ebd650b.js +0 -1
  307. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/init/route-0a8ccfe24ebd650b.js +0 -1
  308. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/list/route-0a8ccfe24ebd650b.js +0 -1
  309. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-0a8ccfe24ebd650b.js +0 -1
  310. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/move/route-0a8ccfe24ebd650b.js +0 -1
  311. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-0a8ccfe24ebd650b.js +0 -1
  312. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-0a8ccfe24ebd650b.js +0 -1
  313. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-0a8ccfe24ebd650b.js +0 -1
  314. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-0a8ccfe24ebd650b.js +0 -1
  315. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-0a8ccfe24ebd650b.js +0 -1
  316. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-0a8ccfe24ebd650b.js +0 -1
  317. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-0a8ccfe24ebd650b.js +0 -1
  318. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-0a8ccfe24ebd650b.js +0 -1
  319. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-0a8ccfe24ebd650b.js +0 -1
  320. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-0a8ccfe24ebd650b.js +0 -1
  321. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/open-file/route-0a8ccfe24ebd650b.js +0 -1
  322. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/path-info/route-0a8ccfe24ebd650b.js +0 -1
  323. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/query/route-0a8ccfe24ebd650b.js +0 -1
  324. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-0a8ccfe24ebd650b.js +0 -1
  325. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/rename/route-0a8ccfe24ebd650b.js +0 -1
  326. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-0a8ccfe24ebd650b.js +0 -1
  327. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/search-index/route-0a8ccfe24ebd650b.js +0 -1
  328. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-0a8ccfe24ebd650b.js +0 -1
  329. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/switch/route-0a8ccfe24ebd650b.js +0 -1
  330. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-0a8ccfe24ebd650b.js +0 -1
  331. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/tree/route-0a8ccfe24ebd650b.js +0 -1
  332. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/upload/route-0a8ccfe24ebd650b.js +0 -1
  333. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-0a8ccfe24ebd650b.js +0 -1
  334. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/watch/route-0a8ccfe24ebd650b.js +0 -1
  335. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-0a8ccfe24ebd650b.js +0 -1
  336. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-a42d210666478706.js +0 -1
  337. package/apps/web/.next/standalone/apps/web/.next/static/css/877366416eab5665.css +0 -1
  338. package/apps/web/.next/static/8JJPnGXX0UABv387IrLpB/_buildManifest.js +0 -1
  339. package/apps/web/.next/static/chunks/app/api/apps/route-0a8ccfe24ebd650b.js +0 -1
  340. package/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-0a8ccfe24ebd650b.js +0 -1
  341. package/apps/web/.next/static/chunks/app/api/chat/active/route-0a8ccfe24ebd650b.js +0 -1
  342. package/apps/web/.next/static/chunks/app/api/chat/route-0a8ccfe24ebd650b.js +0 -1
  343. package/apps/web/.next/static/chunks/app/api/chat/runs/route-0a8ccfe24ebd650b.js +0 -1
  344. package/apps/web/.next/static/chunks/app/api/chat/stop/route-0a8ccfe24ebd650b.js +0 -1
  345. package/apps/web/.next/static/chunks/app/api/chat/stream/route-0a8ccfe24ebd650b.js +0 -1
  346. package/apps/web/.next/static/chunks/app/api/chat/subagents/route-0a8ccfe24ebd650b.js +0 -1
  347. package/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-0a8ccfe24ebd650b.js +0 -1
  348. package/apps/web/.next/static/chunks/app/api/cron/jobs/route-0a8ccfe24ebd650b.js +0 -1
  349. package/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-0a8ccfe24ebd650b.js +0 -1
  350. package/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-0a8ccfe24ebd650b.js +0 -1
  351. package/apps/web/.next/static/chunks/app/api/feedback/route-0a8ccfe24ebd650b.js +0 -1
  352. package/apps/web/.next/static/chunks/app/api/memories/route-0a8ccfe24ebd650b.js +0 -1
  353. package/apps/web/.next/static/chunks/app/api/profiles/route-0a8ccfe24ebd650b.js +0 -1
  354. package/apps/web/.next/static/chunks/app/api/profiles/switch/route-0a8ccfe24ebd650b.js +0 -1
  355. package/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-0a8ccfe24ebd650b.js +0 -1
  356. package/apps/web/.next/static/chunks/app/api/sessions/route-0a8ccfe24ebd650b.js +0 -1
  357. package/apps/web/.next/static/chunks/app/api/skills/route-0a8ccfe24ebd650b.js +0 -1
  358. package/apps/web/.next/static/chunks/app/api/terminal/port/route-0a8ccfe24ebd650b.js +0 -1
  359. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-0a8ccfe24ebd650b.js +0 -1
  360. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-0a8ccfe24ebd650b.js +0 -1
  361. package/apps/web/.next/static/chunks/app/api/web-sessions/route-0a8ccfe24ebd650b.js +0 -1
  362. package/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-0a8ccfe24ebd650b.js +0 -1
  363. package/apps/web/.next/static/chunks/app/api/workspace/browse/route-0a8ccfe24ebd650b.js +0 -1
  364. package/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-0a8ccfe24ebd650b.js +0 -1
  365. package/apps/web/.next/static/chunks/app/api/workspace/context/route-0a8ccfe24ebd650b.js +0 -1
  366. package/apps/web/.next/static/chunks/app/api/workspace/copy/route-0a8ccfe24ebd650b.js +0 -1
  367. package/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-0a8ccfe24ebd650b.js +0 -1
  368. package/apps/web/.next/static/chunks/app/api/workspace/db/query/route-0a8ccfe24ebd650b.js +0 -1
  369. package/apps/web/.next/static/chunks/app/api/workspace/delete/route-0a8ccfe24ebd650b.js +0 -1
  370. package/apps/web/.next/static/chunks/app/api/workspace/file/route-0a8ccfe24ebd650b.js +0 -1
  371. package/apps/web/.next/static/chunks/app/api/workspace/init/route-0a8ccfe24ebd650b.js +0 -1
  372. package/apps/web/.next/static/chunks/app/api/workspace/list/route-0a8ccfe24ebd650b.js +0 -1
  373. package/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-0a8ccfe24ebd650b.js +0 -1
  374. package/apps/web/.next/static/chunks/app/api/workspace/move/route-0a8ccfe24ebd650b.js +0 -1
  375. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-0a8ccfe24ebd650b.js +0 -1
  376. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-0a8ccfe24ebd650b.js +0 -1
  377. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-0a8ccfe24ebd650b.js +0 -1
  378. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-0a8ccfe24ebd650b.js +0 -1
  379. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-0a8ccfe24ebd650b.js +0 -1
  380. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-0a8ccfe24ebd650b.js +0 -1
  381. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-0a8ccfe24ebd650b.js +0 -1
  382. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-0a8ccfe24ebd650b.js +0 -1
  383. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-0a8ccfe24ebd650b.js +0 -1
  384. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-0a8ccfe24ebd650b.js +0 -1
  385. package/apps/web/.next/static/chunks/app/api/workspace/open-file/route-0a8ccfe24ebd650b.js +0 -1
  386. package/apps/web/.next/static/chunks/app/api/workspace/path-info/route-0a8ccfe24ebd650b.js +0 -1
  387. package/apps/web/.next/static/chunks/app/api/workspace/query/route-0a8ccfe24ebd650b.js +0 -1
  388. package/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-0a8ccfe24ebd650b.js +0 -1
  389. package/apps/web/.next/static/chunks/app/api/workspace/rename/route-0a8ccfe24ebd650b.js +0 -1
  390. package/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-0a8ccfe24ebd650b.js +0 -1
  391. package/apps/web/.next/static/chunks/app/api/workspace/search-index/route-0a8ccfe24ebd650b.js +0 -1
  392. package/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-0a8ccfe24ebd650b.js +0 -1
  393. package/apps/web/.next/static/chunks/app/api/workspace/switch/route-0a8ccfe24ebd650b.js +0 -1
  394. package/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-0a8ccfe24ebd650b.js +0 -1
  395. package/apps/web/.next/static/chunks/app/api/workspace/tree/route-0a8ccfe24ebd650b.js +0 -1
  396. package/apps/web/.next/static/chunks/app/api/workspace/upload/route-0a8ccfe24ebd650b.js +0 -1
  397. package/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-0a8ccfe24ebd650b.js +0 -1
  398. package/apps/web/.next/static/chunks/app/api/workspace/watch/route-0a8ccfe24ebd650b.js +0 -1
  399. package/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-0a8ccfe24ebd650b.js +0 -1
  400. package/apps/web/.next/static/chunks/app/page-a42d210666478706.js +0 -1
  401. package/apps/web/.next/static/css/877366416eab5665.css +0 -1
  402. /package/apps/web/.next/standalone/apps/web/.next/static/{8JJPnGXX0UABv387IrLpB → 2k8OdxswgxWXlhb9jgh-R}/_ssgManifest.js +0 -0
  403. /package/apps/web/.next/static/{8JJPnGXX0UABv387IrLpB → 2k8OdxswgxWXlhb9jgh-R}/_ssgManifest.js +0 -0
@@ -4,6 +4,12 @@
4
4
 
5
5
  var _pendingRequests = {};
6
6
  var _requestId = 0;
7
+ var _streamCallbacks = {};
8
+ var _streamId = 0;
9
+ var _eventListeners = {};
10
+ var _toolHandlers = {};
11
+ var _appMessageHandler = null;
12
+ var _webhookHandlers = {};
7
13
 
8
14
  function sendRequest(method, params) {
9
15
  return new Promise(function(resolve, reject) {
@@ -25,15 +31,99 @@
25
31
  });
26
32
  }
27
33
 
34
+ function sendStreamRequest(method, params, onEvent) {
35
+ return new Promise(function(resolve, reject) {
36
+ var id = ++_requestId;
37
+ var sid = ++_streamId;
38
+ _streamCallbacks[sid] = onEvent;
39
+ _pendingRequests[id] = {
40
+ resolve: function(result) {
41
+ delete _streamCallbacks[sid];
42
+ resolve(result);
43
+ },
44
+ reject: function(err) {
45
+ delete _streamCallbacks[sid];
46
+ reject(err);
47
+ }
48
+ };
49
+ window.parent.postMessage({
50
+ type: "dench:request",
51
+ id: id,
52
+ method: method,
53
+ params: Object.assign({}, params, { _streamId: sid })
54
+ }, "*");
55
+
56
+ setTimeout(function() {
57
+ if (_pendingRequests[id]) {
58
+ delete _streamCallbacks[sid];
59
+ _pendingRequests[id].reject(new Error("Request timeout: " + method));
60
+ delete _pendingRequests[id];
61
+ }
62
+ }, 300000);
63
+ });
64
+ }
65
+
28
66
  window.addEventListener("message", function(event) {
29
- if (!event.data || event.data.type !== "dench:response") return;
30
- var pending = _pendingRequests[event.data.id];
31
- if (!pending) return;
32
- delete _pendingRequests[event.data.id];
33
- if (event.data.error) {
34
- pending.reject(new Error(event.data.error));
35
- } else {
36
- pending.resolve(event.data.result);
67
+ if (!event.data) return;
68
+ var d = event.data;
69
+
70
+ if (d.type === "dench:response") {
71
+ var pending = _pendingRequests[d.id];
72
+ if (!pending) return;
73
+ delete _pendingRequests[d.id];
74
+ if (d.error) {
75
+ pending.reject(new Error(d.error));
76
+ } else {
77
+ pending.resolve(d.result);
78
+ }
79
+ }
80
+
81
+ else if (d.type === "dench:stream") {
82
+ var cb = _streamCallbacks[d.streamId];
83
+ if (cb) cb({ type: d.event, data: d.data, name: d.name, args: d.args, result: d.result });
84
+ }
85
+
86
+ else if (d.type === "dench:stream-end") {
87
+ // Stream end is handled via the normal response path
88
+ }
89
+
90
+ else if (d.type === "dench:event") {
91
+ var channel = d.channel;
92
+ if (channel === "apps.message" && _appMessageHandler) {
93
+ _appMessageHandler(d.data);
94
+ }
95
+ if (channel && channel.indexOf("webhooks.") === 0) {
96
+ var hookName = channel.substring(9);
97
+ var whCb = _webhookHandlers[hookName];
98
+ if (whCb) whCb(d.data);
99
+ }
100
+ var listeners = _eventListeners[channel];
101
+ if (listeners) {
102
+ for (var i = 0; i < listeners.length; i++) {
103
+ try { listeners[i](d.data); } catch(e) { console.error("Event handler error:", e); }
104
+ }
105
+ }
106
+ }
107
+
108
+ else if (d.type === "dench:tool-invoke") {
109
+ var handler = _toolHandlers[d.toolName];
110
+ if (handler) {
111
+ Promise.resolve().then(function() {
112
+ return handler(d.args);
113
+ }).then(function(result) {
114
+ window.parent.postMessage({
115
+ type: "dench:tool-response",
116
+ invokeId: d.invokeId,
117
+ result: result
118
+ }, "*");
119
+ }).catch(function(err) {
120
+ window.parent.postMessage({
121
+ type: "dench:tool-response",
122
+ invokeId: d.invokeId,
123
+ error: err.message || "Tool handler failed"
124
+ }, "*");
125
+ });
126
+ }
37
127
  }
38
128
  });
39
129
 
@@ -42,16 +132,114 @@
42
132
  query: function(sql) { return sendRequest("db.query", { sql: sql }); },
43
133
  execute: function(sql) { return sendRequest("db.execute", { sql: sql }); }
44
134
  },
135
+ objects: {
136
+ list: function(name, opts) { return sendRequest("objects.list", Object.assign({ name: name }, opts || {})); },
137
+ get: function(name, entryId) { return sendRequest("objects.get", { name: name, entryId: entryId }); },
138
+ create: function(name, fields) { return sendRequest("objects.create", { name: name, fields: fields }); },
139
+ update: function(name, entryId, fields) { return sendRequest("objects.update", { name: name, entryId: entryId, fields: fields }); },
140
+ delete: function(name, entryId) { return sendRequest("objects.delete", { name: name, entryId: entryId }); },
141
+ bulkDelete: function(name, entryIds) { return sendRequest("objects.bulkDelete", { name: name, entryIds: entryIds }); },
142
+ getSchema: function(name) { return sendRequest("objects.getSchema", { name: name }); },
143
+ getOptions: function(name, query) { return sendRequest("objects.getOptions", { name: name, query: query }); }
144
+ },
45
145
  files: {
46
146
  read: function(path) { return sendRequest("files.read", { path: path }); },
47
- list: function(dir) { return sendRequest("files.list", { dir: dir }); }
147
+ list: function(dir) { return sendRequest("files.list", { dir: dir }); },
148
+ write: function(path, content) { return sendRequest("files.write", { path: path, content: content }); },
149
+ delete: function(path) { return sendRequest("files.delete", { path: path }); },
150
+ mkdir: function(path) { return sendRequest("files.mkdir", { path: path }); }
48
151
  },
49
152
  app: {
50
153
  getManifest: function() { return sendRequest("app.getManifest"); },
51
154
  getTheme: function() { return sendRequest("app.getTheme"); }
52
155
  },
156
+ chat: {
157
+ createSession: function(title) { return sendRequest("chat.createSession", { title: title }); },
158
+ send: function(sessionId, message, opts) {
159
+ if (opts && opts.onEvent) {
160
+ return sendStreamRequest("chat.send", { sessionId: sessionId, message: message }, opts.onEvent);
161
+ }
162
+ return sendRequest("chat.send", { sessionId: sessionId, message: message });
163
+ },
164
+ getHistory: function(sessionId) { return sendRequest("chat.getHistory", { sessionId: sessionId }); },
165
+ getSessions: function(opts) { return sendRequest("chat.getSessions", opts || {}); },
166
+ abort: function(sessionId) { return sendRequest("chat.abort", { sessionId: sessionId }); },
167
+ isActive: function(sessionId) { return sendRequest("chat.isActive", { sessionId: sessionId }); }
168
+ },
53
169
  agent: {
54
170
  send: function(message) { return sendRequest("agent.send", { message: message }); }
171
+ },
172
+ tool: {
173
+ register: function(name, handler) {
174
+ _toolHandlers[name] = handler;
175
+ return sendRequest("tool.register", { name: name });
176
+ }
177
+ },
178
+ memory: {
179
+ get: function() { return sendRequest("memory.get"); }
180
+ },
181
+ ui: {
182
+ toast: function(message, opts) { return sendRequest("ui.toast", Object.assign({ message: message }, opts || {})); },
183
+ navigate: function(path) { return sendRequest("ui.navigate", { path: path }); },
184
+ openEntry: function(objectName, entryId) { return sendRequest("ui.openEntry", { objectName: objectName, entryId: entryId }); },
185
+ setTitle: function(title) { return sendRequest("ui.setTitle", { title: title }); },
186
+ confirm: function(message) { return sendRequest("ui.confirm", { message: message }); },
187
+ prompt: function(message, defaultValue) { return sendRequest("ui.prompt", { message: message, defaultValue: defaultValue }); }
188
+ },
189
+ store: {
190
+ get: function(key) { return sendRequest("store.get", { key: key }); },
191
+ set: function(key, value) { return sendRequest("store.set", { key: key, value: value }); },
192
+ delete: function(key) { return sendRequest("store.delete", { key: key }); },
193
+ list: function() { return sendRequest("store.list"); },
194
+ clear: function() { return sendRequest("store.clear"); }
195
+ },
196
+ http: {
197
+ fetch: function(url, opts) { return sendRequest("http.fetch", Object.assign({ url: url }, opts || {})); }
198
+ },
199
+ events: {
200
+ on: function(channel, callback) {
201
+ if (!_eventListeners[channel]) _eventListeners[channel] = [];
202
+ _eventListeners[channel].push(callback);
203
+ sendRequest("events.subscribe", { channel: channel }).catch(function() {});
204
+ },
205
+ off: function(channel, callback) {
206
+ if (!callback) {
207
+ delete _eventListeners[channel];
208
+ } else if (_eventListeners[channel]) {
209
+ _eventListeners[channel] = _eventListeners[channel].filter(function(cb) { return cb !== callback; });
210
+ if (_eventListeners[channel].length === 0) delete _eventListeners[channel];
211
+ }
212
+ sendRequest("events.unsubscribe", { channel: channel }).catch(function() {});
213
+ }
214
+ },
215
+ context: {
216
+ getWorkspace: function() { return sendRequest("context.getWorkspace"); },
217
+ getAppInfo: function() { return sendRequest("context.getAppInfo"); }
218
+ },
219
+ apps: {
220
+ send: function(targetApp, message) { return sendRequest("apps.send", { targetApp: targetApp, message: message }); },
221
+ on: function(eventType, callback) {
222
+ if (eventType === "message") _appMessageHandler = callback;
223
+ },
224
+ list: function() { return sendRequest("apps.list"); }
225
+ },
226
+ cron: {
227
+ schedule: function(opts) { return sendRequest("cron.schedule", opts); },
228
+ list: function() { return sendRequest("cron.list"); },
229
+ run: function(jobId) { return sendRequest("cron.run", { jobId: jobId }); },
230
+ cancel: function(jobId) { return sendRequest("cron.cancel", { jobId: jobId }); }
231
+ },
232
+ webhooks: {
233
+ register: function(hookName) { return sendRequest("webhooks.register", { hookName: hookName }); },
234
+ on: function(hookName, callback) {
235
+ _webhookHandlers[hookName] = callback;
236
+ sendRequest("webhooks.subscribe", { hookName: hookName }).catch(function() {});
237
+ },
238
+ poll: function(hookName, opts) { return sendRequest("webhooks.poll", Object.assign({ hookName: hookName }, opts || {})); }
239
+ },
240
+ clipboard: {
241
+ read: function() { return sendRequest("clipboard.read"); },
242
+ write: function(text) { return sendRequest("clipboard.write", { text: text }); }
55
243
  }
56
244
  };
57
245
  })();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/apps/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"4875":{"*":{"id":"89540","name":"*","chunks":[],"async":true}},"5742":{"*":{"id":"26948","name":"*","chunks":[],"async":false}},"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"9296":{"*":{"id":"81138","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}}},"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-27bf5ccd9324b2af.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-27bf5ccd9324b2af.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next-themes@0.4.6_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next-themes/dist/index.mjs":{"id":5742,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-27bf5ccd9324b2af.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page.tsx":{"id":4875,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","6237","static/chunks/db534642-50243f054f94495f.js","2763","static/chunks/13959dde-c903075a69fab592.js","7073","static/chunks/1fceb049-f902400d9bbacdab.js","1377","static/chunks/c2d15609-28842465e7275227.js","6861","static/chunks/6861-58d368bcf4e23b55.js","8974","static/chunks/app/page-a42d210666478706.js"],"async":true},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/workspace/page.tsx":{"id":9296,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/denchclaw/apps/web/":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/877366416eab5665.css"}],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/apps/route":[]},"rscModuleMapping":{"4875":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"5742":{"*":{"id":"31906","name":"*","chunks":[],"async":false}},"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"9296":{"*":{"id":"51604","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}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"5742":{"*":{"id":"26948","name":"*","chunks":[],"async":false}},"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/apps/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"5742":{"*":{"id":"26948","name":"*","chunks":[],"async":false}},"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"9296":{"*":{"id":"81138","name":"*","chunks":[],"async":false}},"17902":{"*":{"id":"89540","name":"*","chunks":[],"async":true}},"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}}},"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-d39511d5017c8701.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-d39511d5017c8701.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next-themes@0.4.6_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next-themes/dist/index.mjs":{"id":5742,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-d39511d5017c8701.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page.tsx":{"id":17902,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","6237","static/chunks/db534642-50243f054f94495f.js","2763","static/chunks/13959dde-c903075a69fab592.js","7073","static/chunks/1fceb049-f902400d9bbacdab.js","1377","static/chunks/c2d15609-28842465e7275227.js","6861","static/chunks/6861-58d368bcf4e23b55.js","8974","static/chunks/app/page-441fc26d2fd5ddf4.js"],"async":true},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/workspace/page.tsx":{"id":9296,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/denchclaw/apps/web/":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/eb7b54c9778eb5c7.css"}],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/apps/route":[]},"rscModuleMapping":{"5742":{"*":{"id":"31906","name":"*","chunks":[],"async":false}},"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"9296":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"17902":{"*":{"id":"6546","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}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"5742":{"*":{"id":"26948","name":"*","chunks":[],"async":false}},"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}}}}
@@ -4,6 +4,12 @@
4
4
 
5
5
  var _pendingRequests = {};
6
6
  var _requestId = 0;
7
+ var _streamCallbacks = {};
8
+ var _streamId = 0;
9
+ var _eventListeners = {};
10
+ var _toolHandlers = {};
11
+ var _appMessageHandler = null;
12
+ var _webhookHandlers = {};
7
13
 
8
14
  function sendRequest(method, params) {
9
15
  return new Promise(function(resolve, reject) {
@@ -25,15 +31,99 @@
25
31
  });
26
32
  }
27
33
 
34
+ function sendStreamRequest(method, params, onEvent) {
35
+ return new Promise(function(resolve, reject) {
36
+ var id = ++_requestId;
37
+ var sid = ++_streamId;
38
+ _streamCallbacks[sid] = onEvent;
39
+ _pendingRequests[id] = {
40
+ resolve: function(result) {
41
+ delete _streamCallbacks[sid];
42
+ resolve(result);
43
+ },
44
+ reject: function(err) {
45
+ delete _streamCallbacks[sid];
46
+ reject(err);
47
+ }
48
+ };
49
+ window.parent.postMessage({
50
+ type: "dench:request",
51
+ id: id,
52
+ method: method,
53
+ params: Object.assign({}, params, { _streamId: sid })
54
+ }, "*");
55
+
56
+ setTimeout(function() {
57
+ if (_pendingRequests[id]) {
58
+ delete _streamCallbacks[sid];
59
+ _pendingRequests[id].reject(new Error("Request timeout: " + method));
60
+ delete _pendingRequests[id];
61
+ }
62
+ }, 300000);
63
+ });
64
+ }
65
+
28
66
  window.addEventListener("message", function(event) {
29
- if (!event.data || event.data.type !== "dench:response") return;
30
- var pending = _pendingRequests[event.data.id];
31
- if (!pending) return;
32
- delete _pendingRequests[event.data.id];
33
- if (event.data.error) {
34
- pending.reject(new Error(event.data.error));
35
- } else {
36
- pending.resolve(event.data.result);
67
+ if (!event.data) return;
68
+ var d = event.data;
69
+
70
+ if (d.type === "dench:response") {
71
+ var pending = _pendingRequests[d.id];
72
+ if (!pending) return;
73
+ delete _pendingRequests[d.id];
74
+ if (d.error) {
75
+ pending.reject(new Error(d.error));
76
+ } else {
77
+ pending.resolve(d.result);
78
+ }
79
+ }
80
+
81
+ else if (d.type === "dench:stream") {
82
+ var cb = _streamCallbacks[d.streamId];
83
+ if (cb) cb({ type: d.event, data: d.data, name: d.name, args: d.args, result: d.result });
84
+ }
85
+
86
+ else if (d.type === "dench:stream-end") {
87
+ // Stream end is handled via the normal response path
88
+ }
89
+
90
+ else if (d.type === "dench:event") {
91
+ var channel = d.channel;
92
+ if (channel === "apps.message" && _appMessageHandler) {
93
+ _appMessageHandler(d.data);
94
+ }
95
+ if (channel && channel.indexOf("webhooks.") === 0) {
96
+ var hookName = channel.substring(9);
97
+ var whCb = _webhookHandlers[hookName];
98
+ if (whCb) whCb(d.data);
99
+ }
100
+ var listeners = _eventListeners[channel];
101
+ if (listeners) {
102
+ for (var i = 0; i < listeners.length; i++) {
103
+ try { listeners[i](d.data); } catch(e) { console.error("Event handler error:", e); }
104
+ }
105
+ }
106
+ }
107
+
108
+ else if (d.type === "dench:tool-invoke") {
109
+ var handler = _toolHandlers[d.toolName];
110
+ if (handler) {
111
+ Promise.resolve().then(function() {
112
+ return handler(d.args);
113
+ }).then(function(result) {
114
+ window.parent.postMessage({
115
+ type: "dench:tool-response",
116
+ invokeId: d.invokeId,
117
+ result: result
118
+ }, "*");
119
+ }).catch(function(err) {
120
+ window.parent.postMessage({
121
+ type: "dench:tool-response",
122
+ invokeId: d.invokeId,
123
+ error: err.message || "Tool handler failed"
124
+ }, "*");
125
+ });
126
+ }
37
127
  }
38
128
  });
39
129
 
@@ -42,16 +132,114 @@
42
132
  query: function(sql) { return sendRequest("db.query", { sql: sql }); },
43
133
  execute: function(sql) { return sendRequest("db.execute", { sql: sql }); }
44
134
  },
135
+ objects: {
136
+ list: function(name, opts) { return sendRequest("objects.list", Object.assign({ name: name }, opts || {})); },
137
+ get: function(name, entryId) { return sendRequest("objects.get", { name: name, entryId: entryId }); },
138
+ create: function(name, fields) { return sendRequest("objects.create", { name: name, fields: fields }); },
139
+ update: function(name, entryId, fields) { return sendRequest("objects.update", { name: name, entryId: entryId, fields: fields }); },
140
+ delete: function(name, entryId) { return sendRequest("objects.delete", { name: name, entryId: entryId }); },
141
+ bulkDelete: function(name, entryIds) { return sendRequest("objects.bulkDelete", { name: name, entryIds: entryIds }); },
142
+ getSchema: function(name) { return sendRequest("objects.getSchema", { name: name }); },
143
+ getOptions: function(name, query) { return sendRequest("objects.getOptions", { name: name, query: query }); }
144
+ },
45
145
  files: {
46
146
  read: function(path) { return sendRequest("files.read", { path: path }); },
47
- list: function(dir) { return sendRequest("files.list", { dir: dir }); }
147
+ list: function(dir) { return sendRequest("files.list", { dir: dir }); },
148
+ write: function(path, content) { return sendRequest("files.write", { path: path, content: content }); },
149
+ delete: function(path) { return sendRequest("files.delete", { path: path }); },
150
+ mkdir: function(path) { return sendRequest("files.mkdir", { path: path }); }
48
151
  },
49
152
  app: {
50
153
  getManifest: function() { return sendRequest("app.getManifest"); },
51
154
  getTheme: function() { return sendRequest("app.getTheme"); }
52
155
  },
156
+ chat: {
157
+ createSession: function(title) { return sendRequest("chat.createSession", { title: title }); },
158
+ send: function(sessionId, message, opts) {
159
+ if (opts && opts.onEvent) {
160
+ return sendStreamRequest("chat.send", { sessionId: sessionId, message: message }, opts.onEvent);
161
+ }
162
+ return sendRequest("chat.send", { sessionId: sessionId, message: message });
163
+ },
164
+ getHistory: function(sessionId) { return sendRequest("chat.getHistory", { sessionId: sessionId }); },
165
+ getSessions: function(opts) { return sendRequest("chat.getSessions", opts || {}); },
166
+ abort: function(sessionId) { return sendRequest("chat.abort", { sessionId: sessionId }); },
167
+ isActive: function(sessionId) { return sendRequest("chat.isActive", { sessionId: sessionId }); }
168
+ },
53
169
  agent: {
54
170
  send: function(message) { return sendRequest("agent.send", { message: message }); }
171
+ },
172
+ tool: {
173
+ register: function(name, handler) {
174
+ _toolHandlers[name] = handler;
175
+ return sendRequest("tool.register", { name: name });
176
+ }
177
+ },
178
+ memory: {
179
+ get: function() { return sendRequest("memory.get"); }
180
+ },
181
+ ui: {
182
+ toast: function(message, opts) { return sendRequest("ui.toast", Object.assign({ message: message }, opts || {})); },
183
+ navigate: function(path) { return sendRequest("ui.navigate", { path: path }); },
184
+ openEntry: function(objectName, entryId) { return sendRequest("ui.openEntry", { objectName: objectName, entryId: entryId }); },
185
+ setTitle: function(title) { return sendRequest("ui.setTitle", { title: title }); },
186
+ confirm: function(message) { return sendRequest("ui.confirm", { message: message }); },
187
+ prompt: function(message, defaultValue) { return sendRequest("ui.prompt", { message: message, defaultValue: defaultValue }); }
188
+ },
189
+ store: {
190
+ get: function(key) { return sendRequest("store.get", { key: key }); },
191
+ set: function(key, value) { return sendRequest("store.set", { key: key, value: value }); },
192
+ delete: function(key) { return sendRequest("store.delete", { key: key }); },
193
+ list: function() { return sendRequest("store.list"); },
194
+ clear: function() { return sendRequest("store.clear"); }
195
+ },
196
+ http: {
197
+ fetch: function(url, opts) { return sendRequest("http.fetch", Object.assign({ url: url }, opts || {})); }
198
+ },
199
+ events: {
200
+ on: function(channel, callback) {
201
+ if (!_eventListeners[channel]) _eventListeners[channel] = [];
202
+ _eventListeners[channel].push(callback);
203
+ sendRequest("events.subscribe", { channel: channel }).catch(function() {});
204
+ },
205
+ off: function(channel, callback) {
206
+ if (!callback) {
207
+ delete _eventListeners[channel];
208
+ } else if (_eventListeners[channel]) {
209
+ _eventListeners[channel] = _eventListeners[channel].filter(function(cb) { return cb !== callback; });
210
+ if (_eventListeners[channel].length === 0) delete _eventListeners[channel];
211
+ }
212
+ sendRequest("events.unsubscribe", { channel: channel }).catch(function() {});
213
+ }
214
+ },
215
+ context: {
216
+ getWorkspace: function() { return sendRequest("context.getWorkspace"); },
217
+ getAppInfo: function() { return sendRequest("context.getAppInfo"); }
218
+ },
219
+ apps: {
220
+ send: function(targetApp, message) { return sendRequest("apps.send", { targetApp: targetApp, message: message }); },
221
+ on: function(eventType, callback) {
222
+ if (eventType === "message") _appMessageHandler = callback;
223
+ },
224
+ list: function() { return sendRequest("apps.list"); }
225
+ },
226
+ cron: {
227
+ schedule: function(opts) { return sendRequest("cron.schedule", opts); },
228
+ list: function() { return sendRequest("cron.list"); },
229
+ run: function(jobId) { return sendRequest("cron.run", { jobId: jobId }); },
230
+ cancel: function(jobId) { return sendRequest("cron.cancel", { jobId: jobId }); }
231
+ },
232
+ webhooks: {
233
+ register: function(hookName) { return sendRequest("webhooks.register", { hookName: hookName }); },
234
+ on: function(hookName, callback) {
235
+ _webhookHandlers[hookName] = callback;
236
+ sendRequest("webhooks.subscribe", { hookName: hookName }).catch(function() {});
237
+ },
238
+ poll: function(hookName, opts) { return sendRequest("webhooks.poll", Object.assign({ hookName: hookName }, opts || {})); }
239
+ },
240
+ clipboard: {
241
+ read: function() { return sendRequest("clipboard.read"); },
242
+ write: function(text) { return sendRequest("clipboard.write", { text: text }); }
55
243
  }
56
244
  };
57
245
  })();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/apps/serve/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"4875":{"*":{"id":"89540","name":"*","chunks":[],"async":true}},"5742":{"*":{"id":"26948","name":"*","chunks":[],"async":false}},"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"9296":{"*":{"id":"81138","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}}},"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-27bf5ccd9324b2af.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-27bf5ccd9324b2af.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next-themes@0.4.6_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next-themes/dist/index.mjs":{"id":5742,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-27bf5ccd9324b2af.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page.tsx":{"id":4875,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","6237","static/chunks/db534642-50243f054f94495f.js","2763","static/chunks/13959dde-c903075a69fab592.js","7073","static/chunks/1fceb049-f902400d9bbacdab.js","1377","static/chunks/c2d15609-28842465e7275227.js","6861","static/chunks/6861-58d368bcf4e23b55.js","8974","static/chunks/app/page-a42d210666478706.js"],"async":true},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/workspace/page.tsx":{"id":9296,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/denchclaw/apps/web/":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/877366416eab5665.css"}],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/apps/route":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/apps/serve/[...path]/route":[]},"rscModuleMapping":{"4875":{"*":{"id":"6546","name":"*","chunks":[],"async":false}},"5742":{"*":{"id":"31906","name":"*","chunks":[],"async":false}},"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"9296":{"*":{"id":"51604","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}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"5742":{"*":{"id":"26948","name":"*","chunks":[],"async":false}},"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/apps/serve/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"5742":{"*":{"id":"26948","name":"*","chunks":[],"async":false}},"6820":{"*":{"id":"18372","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"48752","name":"*","chunks":[],"async":false}},"9296":{"*":{"id":"81138","name":"*","chunks":[],"async":false}},"17902":{"*":{"id":"89540","name":"*","chunks":[],"async":true}},"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}}},"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-d39511d5017c8701.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-d39511d5017c8701.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/node_modules/.pnpm/next-themes@0.4.6_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next-themes/dist/index.mjs":{"id":5742,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","7177","static/chunks/app/layout-d39511d5017c8701.js"],"async":false},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page.tsx":{"id":17902,"name":"*","chunks":["5700","static/chunks/df90ee31-b8ee23eaa0135739.js","6237","static/chunks/db534642-50243f054f94495f.js","2763","static/chunks/13959dde-c903075a69fab592.js","7073","static/chunks/1fceb049-f902400d9bbacdab.js","1377","static/chunks/c2d15609-28842465e7275227.js","6861","static/chunks/6861-58d368bcf4e23b55.js","8974","static/chunks/app/page-441fc26d2fd5ddf4.js"],"async":true},"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/workspace/page.tsx":{"id":9296,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/kumareth/Documents/projects/denchclaw/apps/web/":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/layout":[{"inlined":false,"path":"static/css/eb7b54c9778eb5c7.css"}],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/page":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/apps/route":[],"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/apps/serve/[...path]/route":[]},"rscModuleMapping":{"5742":{"*":{"id":"31906","name":"*","chunks":[],"async":false}},"6820":{"*":{"id":"65194","name":"*","chunks":[],"async":false}},"7975":{"*":{"id":"79554","name":"*","chunks":[],"async":false}},"9296":{"*":{"id":"51604","name":"*","chunks":[],"async":false}},"17902":{"*":{"id":"6546","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}},"85681":{"*":{"id":"62049","name":"*","chunks":[],"async":false}},"89480":{"*":{"id":"79341","name":"*","chunks":[],"async":false}},"91464":{"*":{"id":"6604","name":"*","chunks":[],"async":false}},"95797":{"*":{"id":"48389","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"5742":{"*":{"id":"26948","name":"*","chunks":[],"async":false}},"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}}}}
@@ -0,0 +1 @@
1
+ "use strict";(()=>{var a={};a.id=6228,a.ids=[6228],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")},51455:a=>{a.exports=require("node:fs/promises")},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")},80516:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>K,patchFetch:()=>J,routeModule:()=>F,serverHooks:()=>I,workAsyncStorage:()=>G,workUnitAsyncStorage:()=>H});var d={};c.r(d),c.d(d,{DELETE:()=>E,GET:()=>C,POST:()=>D,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(93349);let x="force-dynamic",y="nodejs";function z(a){let b=(0,w.FF)("");return b?(0,v.join)(b.absolutePath,".dench-app-data",a,"store.json"):null}function A(a){let b=z(a);if(!b||!(0,u.existsSync)(b))return{};try{return JSON.parse((0,u.readFileSync)(b,"utf-8"))}catch{return{}}}function B(a,b){let c=z(a);return!!c&&((0,u.mkdirSync)((0,v.dirname)(c),{recursive:!0}),(0,u.writeFileSync)(c,JSON.stringify(b,null,2),"utf-8"),!0)}async function C(a){let b=new URL(a.url),c=b.searchParams.get("app"),d=b.searchParams.get("key");if(!c)return Response.json({error:"Missing 'app' param"},{status:400});let e=A(c);return d?Response.json({value:e[d]??null}):Response.json({keys:Object.keys(e)})}async function D(a){let b;try{b=await a.json()}catch{return Response.json({error:"Invalid JSON body"},{status:400})}let{app:c,key:d,value:e}=b;if(!c||!d)return Response.json({error:"Missing 'app' or 'key'"},{status:400});let f=A(c);return f[d]=e,B(c,f),Response.json({ok:!0})}async function E(a){let b=new URL(a.url),c=b.searchParams.get("app"),d=b.searchParams.get("key");if(!c)return Response.json({error:"Missing 'app' param"},{status:400});let e=A(c);if(d)delete e[d];else for(let a of Object.keys(e))delete e[a];return B(c,e),Response.json({ok:!0})}let F=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/apps/store/route",pathname:"/api/apps/store",filename:"route",bundlePath:"app/api/apps/store/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/kumareth/Documents/projects/denchclaw/apps/web/app/api/apps/store/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:G,workUnitAsyncStorage:H,serverHooks:I}=F;function J(){return(0,g.patchFetch)({workAsyncStorage:G,workUnitAsyncStorage:H})}async function K(a,b,c){var d;let e="/api/apps/store/route";"/index"===e&&(e="/");let g=await F.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 G=null;!E||F.isDev||x||(G="/index"===(G=C)?"/":G);let H=!0===F.isDev||!E,I=E&&!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)=>F.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=>F.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")&&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 F.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await F.handleResponse({req:a,nextConfig:w,cacheKey:G,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 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 F.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),E)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,8137],()=>b(b.s=80516));module.exports=c})();