agentroam-runtime-win32-x64 0.2.0-preview.32 → 0.2.0-preview.34

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 (346) hide show
  1. package/manifest.json +3 -3
  2. package/package.json +1 -1
  3. package/runtime/.next/BUILD_ID +1 -1
  4. package/runtime/.next/app-build-manifest.json +19 -11
  5. package/runtime/.next/app-path-routes-manifest.json +1 -1
  6. package/runtime/.next/build-manifest.json +8 -8
  7. package/runtime/.next/prerender-manifest.json +1 -1
  8. package/runtime/.next/react-loadable-manifest.json +7 -1
  9. package/runtime/.next/required-server-files.json +1 -1
  10. package/runtime/.next/server/app/_not-found/page.js +1 -1
  11. package/runtime/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  12. package/runtime/.next/server/app/_not-found.html +1 -1
  13. package/runtime/.next/server/app/_not-found.rsc +2 -2
  14. package/runtime/.next/server/app/api/agent/abort/route.js +1 -1
  15. package/runtime/.next/server/app/api/agent/answer/route.js +1 -1
  16. package/runtime/.next/server/app/api/agent/harness/status/route.js +1 -1
  17. package/runtime/.next/server/app/api/agent/model/route.js +1 -1
  18. package/runtime/.next/server/app/api/agent/models/route.js +1 -1
  19. package/runtime/.next/server/app/api/agent/run/route.js +3 -3
  20. package/runtime/.next/server/app/api/agent/runtime-health/route.js +1 -1
  21. package/runtime/.next/server/app/api/agent/steer/route.js +1 -1
  22. package/runtime/.next/server/app/api/agent/stream/route.js +7 -7
  23. package/runtime/.next/server/app/api/agent-workspaces/[workspaceId]/sessions/route.js +1 -1
  24. package/runtime/.next/server/app/api/agent-workspaces/route.js +1 -1
  25. package/runtime/.next/server/app/api/auth/verify/route.js +1 -1
  26. package/runtime/.next/server/app/api/business/route.js +1 -1
  27. package/runtime/.next/server/app/api/client-logs/route.js +1 -1
  28. package/runtime/.next/server/app/api/flow/v1/catalog/route.js +1 -1
  29. package/runtime/.next/server/app/api/flow/v1/catalog/route.js.nft.json +1 -1
  30. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/cancel/route.js +1 -1
  31. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/cancel/route.js.nft.json +1 -1
  32. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/events/route.js +4 -4
  33. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/events/route.js.nft.json +1 -1
  34. package/runtime/.next/server/app/api/flow/v1/runs/route.js +1 -1
  35. package/runtime/.next/server/app/api/flow/v1/runs/route.js.nft.json +1 -1
  36. package/runtime/.next/server/app/api/flow-studio/config/route.js +1 -0
  37. package/runtime/.next/server/app/api/flow-studio/config/route.js.nft.json +1 -0
  38. package/runtime/.next/server/app/api/mcp/connect/route.js +1 -1
  39. package/runtime/.next/server/app/api/mcp/disconnect/route.js +1 -1
  40. package/runtime/.next/server/app/api/mcp/servers/route.js +1 -1
  41. package/runtime/.next/server/app/api/memory/[key]/route.js +1 -1
  42. package/runtime/.next/server/app/api/memory/route.js +1 -1
  43. package/runtime/.next/server/app/api/plugins/load/route.js +1 -1
  44. package/runtime/.next/server/app/api/projects/[id]/route.js +1 -1
  45. package/runtime/.next/server/app/api/projects/check/route.js +1 -1
  46. package/runtime/.next/server/app/api/projects/directories/route.js +1 -1
  47. package/runtime/.next/server/app/api/projects/roots/route.js +1 -1
  48. package/runtime/.next/server/app/api/projects/roots.body +1 -1
  49. package/runtime/.next/server/app/api/projects/route.js +1 -1
  50. package/runtime/.next/server/app/api/push/subscribe/route.js +3 -3
  51. package/runtime/.next/server/app/api/push/unsubscribe/route.js +3 -3
  52. package/runtime/.next/server/app/api/push/vapid/route.js +3 -3
  53. package/runtime/.next/server/app/api/push/vapid.body +1 -1
  54. package/runtime/.next/server/app/api/remote-tools/register/route.js +1 -1
  55. package/runtime/.next/server/app/api/sessions/[id]/changes/route.js +2 -2
  56. package/runtime/.next/server/app/api/sessions/[id]/fork/route.js +1 -1
  57. package/runtime/.next/server/app/api/sessions/[id]/goals/route.js +1 -1
  58. package/runtime/.next/server/app/api/sessions/[id]/handoff/route.js +1 -1
  59. package/runtime/.next/server/app/api/sessions/[id]/query-index/route.js +1 -1
  60. package/runtime/.next/server/app/api/sessions/[id]/release/route.js +1 -1
  61. package/runtime/.next/server/app/api/sessions/[id]/route.js +1 -1
  62. package/runtime/.next/server/app/api/sessions/[id]/thread-goal/route.js +1 -1
  63. package/runtime/.next/server/app/api/sessions/[id]/tool-result/route.js +1 -1
  64. package/runtime/.next/server/app/api/sessions/route.js +1 -1
  65. package/runtime/.next/server/app/api/settings/route.js +1 -1
  66. package/runtime/.next/server/app/api/skills/route.js +1 -1
  67. package/runtime/.next/server/app/api/tool-policies/[policyId]/route.js +1 -1
  68. package/runtime/.next/server/app/api/tool-policies/route.js +1 -1
  69. package/runtime/.next/server/app/api/tools/route.js +1 -1
  70. package/runtime/.next/server/app/api/update/check/route.js +1 -1
  71. package/runtime/.next/server/app/api/update/install/route.js +1 -1
  72. package/runtime/.next/server/app/api/update/status/route.js +1 -1
  73. package/runtime/.next/server/app/api/web-auth/login/route.js +1 -1
  74. package/runtime/.next/server/app/api/web-auth/logout/route.js +1 -1
  75. package/runtime/.next/server/app/api/web-auth/revoke-all/route.js +1 -1
  76. package/runtime/.next/server/app/api/web-auth/setup/route.js +1 -1
  77. package/runtime/.next/server/app/api/web-auth/status/route.js +1 -1
  78. package/runtime/.next/server/app/api/web-console/bootstrap/route.js +1 -1
  79. package/runtime/.next/server/app/api/web-console/device-state/route.js +1 -1
  80. package/runtime/.next/server/app/api/web-console/history/route.js +1 -1
  81. package/runtime/.next/server/app/api/web-console/preferences/route.js +1 -1
  82. package/runtime/.next/server/app/web/page.js +3 -13
  83. package/runtime/.next/server/app/web/page.js.nft.json +1 -1
  84. package/runtime/.next/server/app/web/page_client-reference-manifest.js +1 -1
  85. package/runtime/.next/server/app-paths-manifest.json +31 -30
  86. package/runtime/.next/server/chunks/1322.js +59 -59
  87. package/runtime/.next/server/chunks/1773.js +16 -16
  88. package/runtime/.next/server/chunks/2293.js +1 -1
  89. package/runtime/.next/server/chunks/4621.js +1 -1
  90. package/runtime/.next/server/chunks/5303.js +2 -2
  91. package/runtime/.next/server/chunks/6244.js +1 -1
  92. package/runtime/.next/server/chunks/6703.js +2 -2
  93. package/runtime/.next/server/chunks/732.js +1 -1
  94. package/runtime/.next/server/chunks/7519.js +4 -4
  95. package/runtime/.next/server/chunks/7788.js +1 -0
  96. package/runtime/.next/server/chunks/8532.js +1 -1
  97. package/runtime/.next/server/middleware-build-manifest.js +1 -1
  98. package/runtime/.next/server/middleware-react-loadable-manifest.js +1 -1
  99. package/runtime/.next/server/pages/404.html +1 -1
  100. package/runtime/.next/server/pages/500.html +1 -1
  101. package/runtime/.next/server/server-reference-manifest.json +1 -1
  102. package/runtime/.next/static/chunks/221.80fc551c3d6118e2.js +1 -0
  103. package/runtime/.next/static/chunks/326.c10c95f947d32ecb.js +1 -0
  104. package/runtime/.next/static/chunks/750-1766abd7e24fd1d6.js +1 -0
  105. package/runtime/.next/static/chunks/app/web/error-745aed8f32a3f09e.js +1 -0
  106. package/runtime/.next/static/chunks/app/web/layout-d09294275b0a809c.js +1 -0
  107. package/runtime/.next/static/chunks/app/web/page-9b7006bdf9c4ffd3.js +1 -0
  108. package/runtime/.next/static/chunks/{main-59bdb3253360f463.js → main-161a855daf7c5a06.js} +1 -1
  109. package/runtime/.next/static/chunks/main-app-03913d9edbfef6cc.js +1 -0
  110. package/runtime/.next/static/chunks/webpack-3ff471b94db6b1b2.js +1 -0
  111. package/runtime/.next/static/css/71e679260520d186.css +1 -0
  112. package/runtime/lib/browser-live/viewer-frame-flow.mjs +14 -7
  113. package/runtime/lib/remote-control/application/remote-video-session.mjs +76 -6
  114. package/runtime/lib/remote-control/infrastructure/werift-video-transport.mjs +18 -4
  115. package/runtime/lib/remote-control/macos-display-bridge.mjs +75 -0
  116. package/runtime/lib/remote-control/remote-authorization.mjs +81 -16
  117. package/runtime/lib/remote-control/webrtc-video.mjs +2 -1
  118. package/runtime/native/agentroam-remote-desktop.exe +0 -0
  119. package/runtime/native/agentroam-remote-unlock.exe +0 -0
  120. package/runtime/node_modules/.package-lock.json +172 -172
  121. package/runtime/node_modules/@agent/core/dist/index.js +133 -7
  122. package/runtime/node_modules/@agent/native-runtime/dist/index.js +288 -78
  123. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/bridge.mjs +59 -54
  124. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.js +24 -24
  125. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-5drmq1nt.mjs → core-3mr1yqt9.mjs} +7 -7
  126. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-rg0sgcv0.mjs +38 -0
  127. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core.mjs +10 -10
  128. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.json +20 -20
  129. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.zst.json +24 -24
  130. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/package.json +12 -12
  131. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +70 -70
  132. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/attributes/counter_signature.js +1 -1
  133. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/attributes/index.js +3 -3
  134. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/encrypted_content_info.js +1 -1
  135. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/enveloped_data.js +5 -5
  136. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/index.js +21 -21
  137. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/kek_recipient_info.js +2 -2
  138. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/key_agree_recipient_info.js +3 -3
  139. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/key_trans_recipient_info.js +2 -2
  140. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/originator_info.js +2 -2
  141. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/password_recipient_info.js +1 -1
  142. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/recipient_info.js +4 -4
  143. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/recipient_infos.js +1 -1
  144. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/signed_data.js +5 -5
  145. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/signer_identifier.js +1 -1
  146. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/signer_info.js +3 -3
  147. package/runtime/node_modules/@peculiar/asn1-cms/package.json +4 -14
  148. package/runtime/node_modules/@peculiar/asn1-csr/build/es2015/certification_request.js +1 -1
  149. package/runtime/node_modules/@peculiar/asn1-csr/build/es2015/certification_request_info.js +1 -1
  150. package/runtime/node_modules/@peculiar/asn1-csr/build/es2015/index.js +3 -3
  151. package/runtime/node_modules/@peculiar/asn1-csr/package.json +3 -13
  152. package/runtime/node_modules/@peculiar/asn1-ecc/build/es2015/algorithms.js +1 -1
  153. package/runtime/node_modules/@peculiar/asn1-ecc/build/es2015/ec_parameters.js +1 -1
  154. package/runtime/node_modules/@peculiar/asn1-ecc/build/es2015/ec_private_key.js +1 -1
  155. package/runtime/node_modules/@peculiar/asn1-ecc/build/es2015/index.js +6 -6
  156. package/runtime/node_modules/@peculiar/asn1-ecc/package.json +3 -13
  157. package/runtime/node_modules/@peculiar/asn1-pfx/build/es2015/bags/cert_bag.js +1 -1
  158. package/runtime/node_modules/@peculiar/asn1-pfx/build/es2015/bags/crl_bag.js +1 -1
  159. package/runtime/node_modules/@peculiar/asn1-pfx/build/es2015/bags/index.js +6 -6
  160. package/runtime/node_modules/@peculiar/asn1-pfx/build/es2015/bags/types.js +1 -1
  161. package/runtime/node_modules/@peculiar/asn1-pfx/build/es2015/index.js +7 -7
  162. package/runtime/node_modules/@peculiar/asn1-pfx/build/es2015/pfx.js +1 -1
  163. package/runtime/node_modules/@peculiar/asn1-pfx/build/es2015/safe_bag.js +1 -1
  164. package/runtime/node_modules/@peculiar/asn1-pfx/package.json +5 -15
  165. package/runtime/node_modules/@peculiar/asn1-pkcs8/build/es2015/index.js +2 -2
  166. package/runtime/node_modules/@peculiar/asn1-pkcs8/package.json +3 -13
  167. package/runtime/node_modules/@peculiar/asn1-pkcs9/package.json +7 -17
  168. package/runtime/node_modules/@peculiar/asn1-rsa/build/es2015/algorithms.js +1 -1
  169. package/runtime/node_modules/@peculiar/asn1-rsa/build/es2015/index.js +6 -6
  170. package/runtime/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/index.js +3 -3
  171. package/runtime/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsaes_oaep.js +2 -2
  172. package/runtime/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsassa_pss.js +2 -2
  173. package/runtime/node_modules/@peculiar/asn1-rsa/build/es2015/rsa_private_key.js +1 -1
  174. package/runtime/node_modules/@peculiar/asn1-rsa/package.json +3 -13
  175. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/convert.js +2 -2
  176. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/converters.js +2 -2
  177. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/decorators.js +3 -3
  178. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/errors/index.js +1 -1
  179. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/index.js +9 -9
  180. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/parser.js +5 -5
  181. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/schema.js +2 -2
  182. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/serializer.js +4 -4
  183. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/storage.js +1 -1
  184. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/types/index.js +2 -2
  185. package/runtime/node_modules/@peculiar/asn1-schema/package.json +1 -11
  186. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/certificate.js +2 -2
  187. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/certificate_list.js +2 -2
  188. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/authority_information_access.js +2 -2
  189. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/authority_key_identifier.js +2 -2
  190. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/basic_constraints.js +1 -1
  191. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/certificate_issuer.js +2 -2
  192. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/certificate_policies.js +1 -1
  193. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_delta_indicator.js +2 -2
  194. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_distribution_points.js +3 -3
  195. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_freshest.js +2 -2
  196. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_issuing_distribution_point.js +2 -2
  197. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_number.js +1 -1
  198. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_reason.js +1 -1
  199. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/extended_key_usage.js +1 -1
  200. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/index.js +25 -25
  201. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/inhibit_any_policy.js +1 -1
  202. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/invalidity_date.js +1 -1
  203. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/issuer_alternative_name.js +2 -2
  204. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/key_usage.js +1 -1
  205. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/name_constraints.js +2 -2
  206. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/policy_constraints.js +1 -1
  207. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/policy_mappings.js +1 -1
  208. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/private_key_usage_period.js +1 -1
  209. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_alternative_name.js +2 -2
  210. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_directory_attributes.js +2 -2
  211. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_info_access.js +2 -2
  212. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_key_identifier.js +2 -2
  213. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/general_name.js +2 -2
  214. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/general_names.js +1 -1
  215. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/index.js +16 -16
  216. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/subject_public_key_info.js +1 -1
  217. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/tbs_cert_list.js +4 -4
  218. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/tbs_certificate.js +6 -6
  219. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/validity.js +1 -1
  220. package/runtime/node_modules/@peculiar/asn1-x509/package.json +2 -12
  221. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/aa_controls.js +1 -1
  222. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/attr_cert_issuer.js +1 -1
  223. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/attribute_certificate.js +1 -1
  224. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/attribute_certificate_info.js +3 -3
  225. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/clearance.js +2 -2
  226. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/holder.js +2 -2
  227. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/index.js +20 -20
  228. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/proxy_info.js +1 -1
  229. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/target.js +2 -2
  230. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/v2_form.js +2 -2
  231. package/runtime/node_modules/@peculiar/asn1-x509-attr/package.json +3 -13
  232. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.cjs +56 -30
  233. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.cjs +17 -17
  234. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.mjs +17 -17
  235. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.mjs +56 -30
  236. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.node.cjs +56 -30
  237. package/runtime/node_modules/mediabunny/dist/modules/src/codec.js +1 -1
  238. package/runtime/node_modules/mediabunny/dist/modules/src/conversion.js +2 -0
  239. package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-muxer.js +33 -3
  240. package/runtime/node_modules/mediabunny/dist/modules/src/matroska/matroska-demuxer.js +4 -15
  241. package/runtime/node_modules/mediabunny/dist/modules/src/matroska/matroska-muxer.js +15 -17
  242. package/runtime/node_modules/mediabunny/dist/modules/src/output.js +6 -0
  243. package/runtime/node_modules/mediabunny/dist/modules/src/tsconfig.tsbuildinfo +1 -1
  244. package/runtime/node_modules/mediabunny/package.json +1 -1
  245. package/runtime/node_modules/mediabunny/src/codec.ts +1 -1
  246. package/runtime/node_modules/mediabunny/src/conversion.ts +2 -0
  247. package/runtime/node_modules/mediabunny/src/hls/hls-muxer.ts +42 -3
  248. package/runtime/node_modules/mediabunny/src/matroska/matroska-demuxer.ts +4 -17
  249. package/runtime/node_modules/mediabunny/src/matroska/matroska-muxer.ts +19 -18
  250. package/runtime/node_modules/mediabunny/src/output.ts +11 -0
  251. package/runtime/node_modules/ws/lib/websocket.js +17 -3
  252. package/runtime/node_modules/ws/package.json +1 -1
  253. package/runtime/package-lock.json +205 -229
  254. package/runtime/public/pwa/service-worker.js +4 -1
  255. package/runtime/server.js +1 -1
  256. package/runtime/webapp/dist/assets/App-CZIfM4ga.js +476 -0
  257. package/runtime/webapp/dist/assets/{abnfDiagram-VCTEODGH-kiXF0EOS.js → abnfDiagram-VCTEODGH-CrqxcWkH.js} +1 -1
  258. package/runtime/webapp/dist/assets/{arc-DLOYXSxU.js → arc-BP_Bzri0.js} +1 -1
  259. package/runtime/webapp/dist/assets/{architectureDiagram-5GKGNRK7-B_lcxKne.js → architectureDiagram-5GKGNRK7-C3aHO9D0.js} +1 -1
  260. package/runtime/webapp/dist/assets/{blockDiagram-I7D4REHJ-DjqqqvVj.js → blockDiagram-I7D4REHJ-Csfj1lZP.js} +1 -1
  261. package/runtime/webapp/dist/assets/{c4Diagram-7LVT6UL2-CODP1iDY.js → c4Diagram-7LVT6UL2-C1YfwYJL.js} +1 -1
  262. package/runtime/webapp/dist/assets/channel-dBfr1u63.js +1 -0
  263. package/runtime/webapp/dist/assets/{chunk-2Q5K7J3B-C6HBlJUd.js → chunk-2Q5K7J3B-D2ebqxoT.js} +1 -1
  264. package/runtime/webapp/dist/assets/{chunk-5VM5RSS4-DNXwyz9n.js → chunk-5VM5RSS4-C7nYBU14.js} +1 -1
  265. package/runtime/webapp/dist/assets/{chunk-F27PBJKO-B4ChByJ5.js → chunk-F27PBJKO-BB7Yw7px.js} +1 -1
  266. package/runtime/webapp/dist/assets/{chunk-IMKFNOWR-DBJpcH73.js → chunk-IMKFNOWR-ZMuIUwkx.js} +1 -1
  267. package/runtime/webapp/dist/assets/{chunk-JWPE2WC7-6fo4swqM.js → chunk-JWPE2WC7-DoRtV01_.js} +1 -1
  268. package/runtime/webapp/dist/assets/{chunk-POPQ4Y6H-tuBSaVU3.js → chunk-POPQ4Y6H-Bll_vKqy.js} +1 -1
  269. package/runtime/webapp/dist/assets/{chunk-SVP7TREG-Dw6ARyG-.js → chunk-SVP7TREG-C6APkibm.js} +1 -1
  270. package/runtime/webapp/dist/assets/{chunk-TICWLB2K-DbBF_5yf.js → chunk-TICWLB2K-BkkRQNhj.js} +1 -1
  271. package/runtime/webapp/dist/assets/{chunk-XXDRQBXY-DT9w3Lol.js → chunk-XXDRQBXY-C0PWBuhp.js} +1 -1
  272. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-vIVD_XRw.js +1 -0
  273. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-vIVD_XRw.js +1 -0
  274. package/runtime/webapp/dist/assets/{cose-bilkent-JH36ORCC-C9VAFI4s.js → cose-bilkent-JH36ORCC-CePA-uJR.js} +1 -1
  275. package/runtime/webapp/dist/assets/{cynefin-OW5HDTMX-m9pEhlym.js → cynefin-OW5HDTMX-CYSEN_Q2.js} +1 -1
  276. package/runtime/webapp/dist/assets/{cynefinDiagram-5FMLGOSQ-Bv0S96vV.js → cynefinDiagram-5FMLGOSQ-DYBqchWy.js} +1 -1
  277. package/runtime/webapp/dist/assets/{dagre-GXQ25YYZ-BTE_R2UK.js → dagre-GXQ25YYZ-UfHckfRC.js} +1 -1
  278. package/runtime/webapp/dist/assets/{diagram-S7CK7UJ4-BuopSoHC.js → diagram-S7CK7UJ4-JxSLfKX8.js} +1 -1
  279. package/runtime/webapp/dist/assets/{diagram-UQ7AKVKN-aovG-t5R.js → diagram-UQ7AKVKN-BmNuopVu.js} +1 -1
  280. package/runtime/webapp/dist/assets/{diagram-VSXAHHWV-qzvRHE22.js → diagram-VSXAHHWV-B30GdjwV.js} +1 -1
  281. package/runtime/webapp/dist/assets/{diagram-VX7I27RA-CQEG6P66.js → diagram-VX7I27RA-D7IDRmTU.js} +1 -1
  282. package/runtime/webapp/dist/assets/{diagram-Z3DM3KII-B22Wnz0M.js → diagram-Z3DM3KII-4_UdZ6g8.js} +1 -1
  283. package/runtime/webapp/dist/assets/{ebnfDiagram-PWID7BFC-DBBSliz-.js → ebnfDiagram-PWID7BFC-D3x_86st.js} +1 -1
  284. package/runtime/webapp/dist/assets/{erDiagram-RLTQ6QDP-CPUZJ4Ym.js → erDiagram-RLTQ6QDP-CQvSi1J2.js} +1 -1
  285. package/runtime/webapp/dist/assets/{flowDiagram-HODETNUW-BV9XM3rT.js → flowDiagram-HODETNUW-BPBRzVds.js} +1 -1
  286. package/runtime/webapp/dist/assets/{ganttDiagram-EL5Y4UJY-D2sbPOC6.js → ganttDiagram-EL5Y4UJY-Bf8dIsfn.js} +1 -1
  287. package/runtime/webapp/dist/assets/{gitGraphDiagram-WWUBYQGX-pRRRu-Yk.js → gitGraphDiagram-WWUBYQGX-BCyjeBRo.js} +1 -1
  288. package/runtime/webapp/dist/assets/index-CYpEZ3ou.css +1 -0
  289. package/runtime/webapp/dist/assets/{index-Cc0W70yE.js → index-Q3PSDwl8.js} +26 -26
  290. package/runtime/webapp/dist/assets/{infoDiagram-27XIBGKW-Ds2ihp_0.js → infoDiagram-27XIBGKW-D5VMBdHT.js} +1 -1
  291. package/runtime/webapp/dist/assets/{ishikawaDiagram-5VMMS53U-DK2ApntG.js → ishikawaDiagram-5VMMS53U-Dlx_ctl4.js} +1 -1
  292. package/runtime/webapp/dist/assets/{journeyDiagram-3NMN7TZE-Cd4mGqFJ.js → journeyDiagram-3NMN7TZE-omVDzXFI.js} +1 -1
  293. package/runtime/webapp/dist/assets/{kanban-definition-UXKFOSKX-BXk_BwB7.js → kanban-definition-UXKFOSKX-MMAXT9mx.js} +1 -1
  294. package/runtime/webapp/dist/assets/{layout-Cs8RA1qE.js → layout-CeasDbDO.js} +1 -1
  295. package/runtime/webapp/dist/assets/{linear-BIZcERa2.js → linear-BHxTJCWU.js} +1 -1
  296. package/runtime/webapp/dist/assets/{mermaid.core-CVdHC_lA.js → mermaid.core-BQvE8IBF.js} +5 -5
  297. package/runtime/webapp/dist/assets/{mindmap-definition-YA3MSWOX-BDNXbFgP.js → mindmap-definition-YA3MSWOX-CMdBE-J_.js} +1 -1
  298. package/runtime/webapp/dist/assets/{pegDiagram-XKGWAZYB-BBqoJGdC.js → pegDiagram-XKGWAZYB-D4QTBriw.js} +1 -1
  299. package/runtime/webapp/dist/assets/{pieDiagram-E7YTZNPT-Ct6klm4D.js → pieDiagram-E7YTZNPT-Bmxqx7qh.js} +1 -1
  300. package/runtime/webapp/dist/assets/{quadrantDiagram-AXDQQJYC-B1EHBQZa.js → quadrantDiagram-AXDQQJYC-Cmn2JRpV.js} +1 -1
  301. package/runtime/webapp/dist/assets/{railroadDiagram-O6MQD6OU-Km1srO_R.js → railroadDiagram-O6MQD6OU-DgfuLkXN.js} +1 -1
  302. package/runtime/webapp/dist/assets/{requirementDiagram-BXWQKSXE-CQBVuMhl.js → requirementDiagram-BXWQKSXE-WehOP6ke.js} +1 -1
  303. package/runtime/webapp/dist/assets/{sankeyDiagram-P5KCCOFB-BGC0Kf2M.js → sankeyDiagram-P5KCCOFB-DIDFtcG6.js} +1 -1
  304. package/runtime/webapp/dist/assets/{sequenceDiagram-WJ2MYXX4-B_OLbyy2.js → sequenceDiagram-WJ2MYXX4-C7JhOtgi.js} +1 -1
  305. package/runtime/webapp/dist/assets/{sizeCapture-INFHLROL-BYtazXqN.js → sizeCapture-INFHLROL-n4GkDTaS.js} +1 -1
  306. package/runtime/webapp/dist/assets/{stateDiagram-D77RDMKH-COVC80j1.js → stateDiagram-D77RDMKH-OfqZO_Om.js} +1 -1
  307. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-BcsZtA99.js +1 -0
  308. package/runtime/webapp/dist/assets/{swimlanes-42K2YHIH-i3JoZJqW.js → swimlanes-42K2YHIH-DkLZi8pI.js} +1 -1
  309. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-DKFBVkpu.js +8 -0
  310. package/runtime/webapp/dist/assets/{timeline-definition-24CTP7MA-Cdr3r9sY.js → timeline-definition-24CTP7MA-BFb9833W.js} +1 -1
  311. package/runtime/webapp/dist/assets/{vennDiagram-4TSXK5OY-DlDVPB2p.js → vennDiagram-4TSXK5OY-CRcUj5r_.js} +1 -1
  312. package/runtime/webapp/dist/assets/{wardleyDiagram-VM6X3IG4-CQeyjrzG.js → wardleyDiagram-VM6X3IG4-BV6n-_PY.js} +1 -1
  313. package/runtime/webapp/dist/assets/{web-CwyKhHsY.js → web-BNjNBBoq.js} +1 -1
  314. package/runtime/webapp/dist/assets/{web-BhIIPzjV.js → web-CJwomhak.js} +1 -1
  315. package/runtime/webapp/dist/assets/{xychartDiagram-S5SC5T6Z-bXRnQIK9.js → xychartDiagram-S5SC5T6Z-CYgjhfmo.js} +1 -1
  316. package/runtime/webapp/dist/index.html +2 -2
  317. package/runtime/ws-server.mjs +3 -2
  318. package/runtime/.next/server/app/web.html +0 -1
  319. package/runtime/.next/server/app/web.meta +0 -5
  320. package/runtime/.next/server/app/web.rsc +0 -8
  321. package/runtime/.next/static/chunks/184-af5bc14575fc8ebd.js +0 -1
  322. package/runtime/.next/static/chunks/834.801325c7f934eee6.js +0 -1
  323. package/runtime/.next/static/chunks/app/web/error-459a614d3ef07cb1.js +0 -1
  324. package/runtime/.next/static/chunks/app/web/page-e9d498eeb08939dc.js +0 -1
  325. package/runtime/.next/static/chunks/main-app-6226257cbf59e19d.js +0 -1
  326. package/runtime/.next/static/chunks/webpack-005b9ea17f53f126.js +0 -1
  327. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-276encc2.mjs +0 -38
  328. package/runtime/node_modules/@peculiar/asn1-cms/build/es2015/package.json +0 -3
  329. package/runtime/node_modules/@peculiar/asn1-csr/build/es2015/package.json +0 -3
  330. package/runtime/node_modules/@peculiar/asn1-ecc/build/es2015/package.json +0 -3
  331. package/runtime/node_modules/@peculiar/asn1-pfx/build/es2015/package.json +0 -3
  332. package/runtime/node_modules/@peculiar/asn1-pkcs8/build/es2015/package.json +0 -3
  333. package/runtime/node_modules/@peculiar/asn1-pkcs9/build/es2015/package.json +0 -3
  334. package/runtime/node_modules/@peculiar/asn1-rsa/build/es2015/package.json +0 -3
  335. package/runtime/node_modules/@peculiar/asn1-schema/build/es2015/package.json +0 -3
  336. package/runtime/node_modules/@peculiar/asn1-x509/build/es2015/package.json +0 -3
  337. package/runtime/node_modules/@peculiar/asn1-x509-attr/build/es2015/package.json +0 -3
  338. package/runtime/webapp/dist/assets/App-HDWwQok9.js +0 -466
  339. package/runtime/webapp/dist/assets/channel-ECutZLwo.js +0 -1
  340. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-BRsnP6Uo.js +0 -1
  341. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-BRsnP6Uo.js +0 -1
  342. package/runtime/webapp/dist/assets/index-Cd9aSuLC.css +0 -1
  343. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-Bc74Oyzz.js +0 -1
  344. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-QfszQ--p.js +0 -8
  345. /package/runtime/.next/static/{VvfEjQhZtTBIuUl6k7xKg → VjF1ivYYR4g1y_PDu06re}/_buildManifest.js +0 -0
  346. /package/runtime/.next/static/{VvfEjQhZtTBIuUl6k7xKg → VjF1ivYYR4g1y_PDu06re}/_ssgManifest.js +0 -0
package/manifest.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
- "packageVersion": "0.2.0-preview.32",
2
+ "packageVersion": "0.2.0-preview.34",
3
3
  "target": "windows-amd64",
4
4
  "schemaVersion": 2,
5
5
  "minimumNodeVersion": "22.22.0",
6
6
  "nativeFiles": {
7
- "native/agentroam-remote-desktop.exe": "542c72ab76090cd27bbaf7ef6d140b91b4a52f8c7d99787216e7b4e937b0585e",
8
- "native/agentroam-remote-unlock.exe": "9f6f548b0b3e012f3b41c09b51a6cedb1387cfa4535ab38ca57002bef4b97840",
7
+ "native/agentroam-remote-desktop.exe": "f6e0aeadf9d95519fb7744a98e683786acd1b98883652a24a035bb100ca53ad2",
8
+ "native/agentroam-remote-unlock.exe": "c96d847d14c041762d41e47bb8d6c9556fbc2396ffe7cde7cc1db0d038015123",
9
9
  "node_modules/better-sqlite3/prebuilds/win32-x64.node": "e21e5efd71fba66578e95b62554d9028064a80dafd7221bf8a8ef155de8d240a",
10
10
  "node_modules/node-pty/prebuilds/win32-x64/conpty.node": "ee8f4e6f4dad71939eecfda11de249400e34bfefe4c8b48af13f3b5476f4035b",
11
11
  "node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node": "879dd94cfc79f1e263a00077597ae9448a5394b7d193381aaa50d992a1f91090",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentroam-runtime-win32-x64",
3
- "version": "0.2.0-preview.32",
3
+ "version": "0.2.0-preview.34",
4
4
  "description": "AgentRoam server runtime for Windows x64",
5
5
  "license": "MIT",
6
6
  "os": [
@@ -1 +1 @@
1
- VvfEjQhZtTBIuUl6k7xKg
1
+ VjF1ivYYR4g1y_PDu06re
@@ -1,33 +1,41 @@
1
1
  {
2
2
  "pages": {
3
3
  "/_not-found/page": [
4
- "static/chunks/webpack-005b9ea17f53f126.js",
4
+ "static/chunks/webpack-3ff471b94db6b1b2.js",
5
5
  "static/chunks/3cc391f0-d7ec74603652803d.js",
6
6
  "static/chunks/183-d2f78a21998813ba.js",
7
- "static/chunks/main-app-6226257cbf59e19d.js",
7
+ "static/chunks/main-app-03913d9edbfef6cc.js",
8
8
  "static/chunks/app/_not-found/page-4a73d1777b316883.js"
9
9
  ],
10
10
  "/layout": [
11
- "static/chunks/webpack-005b9ea17f53f126.js",
11
+ "static/chunks/webpack-3ff471b94db6b1b2.js",
12
12
  "static/chunks/3cc391f0-d7ec74603652803d.js",
13
13
  "static/chunks/183-d2f78a21998813ba.js",
14
- "static/chunks/main-app-6226257cbf59e19d.js",
14
+ "static/chunks/main-app-03913d9edbfef6cc.js",
15
15
  "static/chunks/app/layout-9176f750902030b5.js"
16
16
  ],
17
17
  "/web/page": [
18
- "static/chunks/webpack-005b9ea17f53f126.js",
18
+ "static/chunks/webpack-3ff471b94db6b1b2.js",
19
19
  "static/chunks/3cc391f0-d7ec74603652803d.js",
20
20
  "static/chunks/183-d2f78a21998813ba.js",
21
- "static/chunks/main-app-6226257cbf59e19d.js",
22
- "static/chunks/184-af5bc14575fc8ebd.js",
23
- "static/chunks/app/web/page-e9d498eeb08939dc.js"
21
+ "static/chunks/main-app-03913d9edbfef6cc.js",
22
+ "static/chunks/750-1766abd7e24fd1d6.js",
23
+ "static/chunks/app/web/page-9b7006bdf9c4ffd3.js"
24
+ ],
25
+ "/web/layout": [
26
+ "static/chunks/webpack-3ff471b94db6b1b2.js",
27
+ "static/chunks/3cc391f0-d7ec74603652803d.js",
28
+ "static/chunks/183-d2f78a21998813ba.js",
29
+ "static/chunks/main-app-03913d9edbfef6cc.js",
30
+ "static/css/71e679260520d186.css",
31
+ "static/chunks/app/web/layout-d09294275b0a809c.js"
24
32
  ],
25
33
  "/web/error": [
26
- "static/chunks/webpack-005b9ea17f53f126.js",
34
+ "static/chunks/webpack-3ff471b94db6b1b2.js",
27
35
  "static/chunks/3cc391f0-d7ec74603652803d.js",
28
36
  "static/chunks/183-d2f78a21998813ba.js",
29
- "static/chunks/main-app-6226257cbf59e19d.js",
30
- "static/chunks/app/web/error-459a614d3ef07cb1.js"
37
+ "static/chunks/main-app-03913d9edbfef6cc.js",
38
+ "static/chunks/app/web/error-745aed8f32a3f09e.js"
31
39
  ]
32
40
  }
33
41
  }
@@ -1 +1 @@
1
- {"/_not-found/page":"/_not-found","/api/flow/v1/runs/[runId]/events/route":"/api/flow/v1/runs/[runId]/events","/api/mcp/connect/route":"/api/mcp/connect","/api/mcp/servers/route":"/api/mcp/servers","/api/mcp/disconnect/route":"/api/mcp/disconnect","/api/flow/v1/runs/[runId]/cancel/route":"/api/flow/v1/runs/[runId]/cancel","/api/memory/route":"/api/memory","/api/flow/v1/runs/route":"/api/flow/v1/runs","/api/memory/[key]/route":"/api/memory/[key]","/api/plugins/load/route":"/api/plugins/load","/api/projects/directories/route":"/api/projects/directories","/api/projects/route":"/api/projects","/api/projects/roots/route":"/api/projects/roots","/api/push/subscribe/route":"/api/push/subscribe","/api/projects/check/route":"/api/projects/check","/api/projects/[id]/route":"/api/projects/[id]","/api/push/vapid/route":"/api/push/vapid","/api/push/unsubscribe/route":"/api/push/unsubscribe","/api/remote-tools/register/route":"/api/remote-tools/register","/api/skills/route":"/api/skills","/api/tool-policies/[policyId]/route":"/api/tool-policies/[policyId]","/api/auth/verify/route":"/api/auth/verify","/api/tools/route":"/api/tools","/api/web-auth/login/route":"/api/web-auth/login","/api/web-auth/logout/route":"/api/web-auth/logout","/api/web-auth/revoke-all/route":"/api/web-auth/revoke-all","/api/web-auth/setup/route":"/api/web-auth/setup","/api/web-console/preferences/route":"/api/web-console/preferences","/api/agent/harness/status/route":"/api/agent/harness/status","/api/agent-workspaces/[workspaceId]/sessions/route":"/api/agent-workspaces/[workspaceId]/sessions","/api/agent-workspaces/route":"/api/agent-workspaces","/api/agent/answer/route":"/api/agent/answer","/api/agent/model/route":"/api/agent/model","/api/agent/runtime-health/route":"/api/agent/runtime-health","/api/agent/models/route":"/api/agent/models","/api/agent/steer/route":"/api/agent/steer","/api/business/route":"/api/business","/api/flow/v1/catalog/route":"/api/flow/v1/catalog","/api/agent/abort/route":"/api/agent/abort","/api/agent/stream/route":"/api/agent/stream","/api/agent/run/route":"/api/agent/run","/api/client-logs/route":"/api/client-logs","/api/sessions/[id]/changes/route":"/api/sessions/[id]/changes","/api/sessions/[id]/query-index/route":"/api/sessions/[id]/query-index","/api/sessions/[id]/fork/route":"/api/sessions/[id]/fork","/api/sessions/[id]/release/route":"/api/sessions/[id]/release","/api/sessions/[id]/tool-result/route":"/api/sessions/[id]/tool-result","/api/sessions/route":"/api/sessions","/api/sessions/[id]/goals/route":"/api/sessions/[id]/goals","/api/sessions/[id]/thread-goal/route":"/api/sessions/[id]/thread-goal","/api/sessions/[id]/handoff/route":"/api/sessions/[id]/handoff","/api/update/check/route":"/api/update/check","/api/web-console/bootstrap/route":"/api/web-console/bootstrap","/api/tool-policies/route":"/api/tool-policies","/api/settings/route":"/api/settings","/api/update/install/route":"/api/update/install","/api/update/status/route":"/api/update/status","/api/web-console/device-state/route":"/api/web-console/device-state","/api/web-auth/status/route":"/api/web-auth/status","/web/page":"/web","/api/web-console/history/route":"/api/web-console/history","/api/sessions/[id]/route":"/api/sessions/[id]"}
1
+ {"/_not-found/page":"/_not-found","/api/auth/verify/route":"/api/auth/verify","/api/flow/v1/runs/[runId]/cancel/route":"/api/flow/v1/runs/[runId]/cancel","/api/flow/v1/runs/[runId]/events/route":"/api/flow/v1/runs/[runId]/events","/api/flow/v1/runs/route":"/api/flow/v1/runs","/api/mcp/disconnect/route":"/api/mcp/disconnect","/api/mcp/servers/route":"/api/mcp/servers","/api/memory/[key]/route":"/api/memory/[key]","/api/memory/route":"/api/memory","/api/plugins/load/route":"/api/plugins/load","/api/projects/[id]/route":"/api/projects/[id]","/api/projects/check/route":"/api/projects/check","/api/mcp/connect/route":"/api/mcp/connect","/api/projects/directories/route":"/api/projects/directories","/api/projects/roots/route":"/api/projects/roots","/api/projects/route":"/api/projects","/api/push/unsubscribe/route":"/api/push/unsubscribe","/api/push/vapid/route":"/api/push/vapid","/api/remote-tools/register/route":"/api/remote-tools/register","/api/push/subscribe/route":"/api/push/subscribe","/api/skills/route":"/api/skills","/api/tool-policies/[policyId]/route":"/api/tool-policies/[policyId]","/api/tools/route":"/api/tools","/api/web-auth/login/route":"/api/web-auth/login","/api/web-auth/setup/route":"/api/web-auth/setup","/api/web-auth/logout/route":"/api/web-auth/logout","/api/web-auth/revoke-all/route":"/api/web-auth/revoke-all","/api/web-console/history/route":"/api/web-console/history","/api/web-console/preferences/route":"/api/web-console/preferences","/api/agent/abort/route":"/api/agent/abort","/api/agent/harness/status/route":"/api/agent/harness/status","/api/agent/answer/route":"/api/agent/answer","/api/agent/model/route":"/api/agent/model","/api/agent/models/route":"/api/agent/models","/api/agent-workspaces/[workspaceId]/sessions/route":"/api/agent-workspaces/[workspaceId]/sessions","/api/agent/runtime-health/route":"/api/agent/runtime-health","/api/agent-workspaces/route":"/api/agent-workspaces","/api/agent/steer/route":"/api/agent/steer","/api/business/route":"/api/business","/api/flow-studio/config/route":"/api/flow-studio/config","/api/flow/v1/catalog/route":"/api/flow/v1/catalog","/api/client-logs/route":"/api/client-logs","/api/agent/stream/route":"/api/agent/stream","/api/agent/run/route":"/api/agent/run","/api/sessions/[id]/fork/route":"/api/sessions/[id]/fork","/api/sessions/[id]/handoff/route":"/api/sessions/[id]/handoff","/api/sessions/[id]/release/route":"/api/sessions/[id]/release","/api/sessions/[id]/changes/route":"/api/sessions/[id]/changes","/api/sessions/[id]/query-index/route":"/api/sessions/[id]/query-index","/api/sessions/[id]/tool-result/route":"/api/sessions/[id]/tool-result","/api/sessions/[id]/thread-goal/route":"/api/sessions/[id]/thread-goal","/api/sessions/[id]/goals/route":"/api/sessions/[id]/goals","/api/sessions/route":"/api/sessions","/api/settings/route":"/api/settings","/api/tool-policies/route":"/api/tool-policies","/api/update/check/route":"/api/update/check","/api/update/status/route":"/api/update/status","/api/sessions/[id]/route":"/api/sessions/[id]","/api/update/install/route":"/api/update/install","/api/web-console/bootstrap/route":"/api/web-console/bootstrap","/api/web-auth/status/route":"/api/web-auth/status","/api/web-console/device-state/route":"/api/web-console/device-state","/web/page":"/web"}
@@ -5,26 +5,26 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/VvfEjQhZtTBIuUl6k7xKg/_buildManifest.js",
9
- "static/VvfEjQhZtTBIuUl6k7xKg/_ssgManifest.js"
8
+ "static/VjF1ivYYR4g1y_PDu06re/_buildManifest.js",
9
+ "static/VjF1ivYYR4g1y_PDu06re/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
- "static/chunks/webpack-005b9ea17f53f126.js",
12
+ "static/chunks/webpack-3ff471b94db6b1b2.js",
13
13
  "static/chunks/3cc391f0-d7ec74603652803d.js",
14
14
  "static/chunks/183-d2f78a21998813ba.js",
15
- "static/chunks/main-app-6226257cbf59e19d.js"
15
+ "static/chunks/main-app-03913d9edbfef6cc.js"
16
16
  ],
17
17
  "pages": {
18
18
  "/_app": [
19
- "static/chunks/webpack-005b9ea17f53f126.js",
19
+ "static/chunks/webpack-3ff471b94db6b1b2.js",
20
20
  "static/chunks/framework-7bac12ed8564755e.js",
21
- "static/chunks/main-59bdb3253360f463.js",
21
+ "static/chunks/main-161a855daf7c5a06.js",
22
22
  "static/chunks/pages/_app-389e6eb8abb0af2d.js"
23
23
  ],
24
24
  "/_error": [
25
- "static/chunks/webpack-005b9ea17f53f126.js",
25
+ "static/chunks/webpack-3ff471b94db6b1b2.js",
26
26
  "static/chunks/framework-7bac12ed8564755e.js",
27
- "static/chunks/main-59bdb3253360f463.js",
27
+ "static/chunks/main-161a855daf7c5a06.js",
28
28
  "static/chunks/pages/_error-7cee5565b5ef9bcb.js"
29
29
  ]
30
30
  },
@@ -1 +1 @@
1
- {"version":4,"routes":{"/api/mcp/servers":{"initialHeaders":{"content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/mcp/layout,_N_T_/api/mcp/servers/layout,_N_T_/api/mcp/servers/route,_N_T_/api/mcp/servers"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/mcp/servers","dataRoute":null},"/api/projects/roots":{"initialHeaders":{"cache-control":"no-store","content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/projects/layout,_N_T_/api/projects/roots/layout,_N_T_/api/projects/roots/route,_N_T_/api/projects/roots"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/projects/roots","dataRoute":null},"/api/push/vapid":{"initialHeaders":{"content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/push/layout,_N_T_/api/push/vapid/layout,_N_T_/api/push/vapid/route,_N_T_/api/push/vapid"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/push/vapid","dataRoute":null},"/api/tools":{"initialHeaders":{"content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/tools/layout,_N_T_/api/tools/route,_N_T_/api/tools"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/tools","dataRoute":null},"/web":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/web","dataRoute":"/web.rsc"}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"9fbddf5a33cb121a19db5e10bcdf62ad","previewModeSigningKey":"7614f5d40c41c1f9939756a8b132120f98e58a10f7e4aec013ef7ad3df371caf","previewModeEncryptionKey":"3c48ba14dd962ebb60bdff4c4b908c5da9fa4b3a0b74c11c9bfc5806c691b88d"}}
1
+ {"version":4,"routes":{"/api/projects/roots":{"initialHeaders":{"cache-control":"no-store","content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/projects/layout,_N_T_/api/projects/roots/layout,_N_T_/api/projects/roots/route,_N_T_/api/projects/roots"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/projects/roots","dataRoute":null},"/api/mcp/servers":{"initialHeaders":{"content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/mcp/layout,_N_T_/api/mcp/servers/layout,_N_T_/api/mcp/servers/route,_N_T_/api/mcp/servers"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/mcp/servers","dataRoute":null},"/api/push/vapid":{"initialHeaders":{"content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/push/layout,_N_T_/api/push/vapid/layout,_N_T_/api/push/vapid/route,_N_T_/api/push/vapid"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/push/vapid","dataRoute":null},"/api/tools":{"initialHeaders":{"content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/tools/layout,_N_T_/api/tools/route,_N_T_/api/tools"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/tools","dataRoute":null}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"fa4d0a06a7ba7d4cce9c27ada94082cc","previewModeSigningKey":"0a57817e18bd38e13dc971232460bfcff3a207ebc61ace5a82dc96a9de1b7bc5","previewModeEncryptionKey":"c7b14697982d85cd9144ba3c3e7dde4e8dca673669b03efc6a070376172555fc"}}
@@ -17,12 +17,18 @@
17
17
  "static/chunks/33.4372b0479992e5e4.js"
18
18
  ]
19
19
  },
20
+ "app/web/page.tsx -> ./FlowStudioPane": {
21
+ "id": 2326,
22
+ "files": [
23
+ "static/chunks/326.c10c95f947d32ecb.js"
24
+ ]
25
+ },
20
26
  "app/web/page.tsx -> ./TerminalPane": {
21
27
  "id": 9834,
22
28
  "files": [
23
29
  "static/css/ac3c182a4b5bc5f1.css",
24
30
  "static/chunks/f3dd23f1.b423f4328b6ce988.js",
25
- "static/chunks/834.801325c7f934eee6.js"
31
+ "static/chunks/221.80fc551c3d6118e2.js"
26
32
  ]
27
33
  }
28
34
  }
@@ -1 +1 @@
1
- {"version":1,"config":{"env":{},"eslint":{"ignoreDuringBuilds":false},"typescript":{"ignoreBuildErrors":false,"tsconfigPath":"tsconfig.json"},"distDir":".next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.js","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"poweredByHeader":true,"compress":true,"analyticsId":"","images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"formats":["image/webp"],"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"inline","remotePatterns":[],"unoptimized":false},"devIndicators":{"buildActivity":true,"buildActivityPosition":"bottom-right"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"amp":{"canonicalBase":""},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"optimizeFonts":true,"excludeDefaultMomentLocales":true,"serverRuntimeConfig":{},"publicRuntimeConfig":{},"reactProductionProfiling":false,"reactStrictMode":null,"httpAgentOptions":{"keepAlive":true},"outputFileTracing":true,"staticPageGenerationTimeout":60,"swcMinify":true,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"experimental":{"multiZoneDraftMode":false,"prerenderEarlyExit":false,"serverMinification":true,"serverSourceMaps":false,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","middlewarePrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":9,"memoryBasedWorkersCount":false,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":true,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"outputFileTracingRoot":"/Volumes/ext/project/team-agent","swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"adjustFontFallbacks":false,"adjustFontFallbacksWithSizeAdjust":false,"typedRoutes":false,"instrumentationHook":false,"bundlePagesExternals":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"missingSuspenseWithCSRBailout":true,"optimizeServerReact":true,"useEarlyImport":false,"staleTimes":{"dynamic":30,"static":300},"serverComponentsExternalPackages":["@anthropic-ai/claude-agent-sdk"],"optimizePackageImports":["lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"trustHostHeader":false,"isExperimentalCompile":false},"configFileName":"next.config.js"},"appDir":"/Volumes/ext/project/team-agent/packages/server","relativeAppDir":"packages/server","files":[".next/routes-manifest.json",".next/server/pages-manifest.json",".next/build-manifest.json",".next/prerender-manifest.json",".next/server/middleware-manifest.json",".next/server/middleware-build-manifest.js",".next/server/middleware-react-loadable-manifest.js",".next/server/app-paths-manifest.json",".next/app-path-routes-manifest.json",".next/app-build-manifest.json",".next/server/server-reference-manifest.js",".next/server/server-reference-manifest.json",".next/react-loadable-manifest.json",".next/server/font-manifest.json",".next/BUILD_ID",".next/server/next-font-manifest.js",".next/server/next-font-manifest.json"],"ignore":["../../node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*"]}
1
+ {"version":1,"config":{"env":{},"eslint":{"ignoreDuringBuilds":false},"typescript":{"ignoreBuildErrors":false,"tsconfigPath":"tsconfig.json"},"distDir":".next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.js","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"poweredByHeader":true,"compress":true,"analyticsId":"","images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"formats":["image/webp"],"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"inline","remotePatterns":[],"unoptimized":false},"devIndicators":{"buildActivity":true,"buildActivityPosition":"bottom-right"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"amp":{"canonicalBase":""},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"optimizeFonts":true,"excludeDefaultMomentLocales":true,"serverRuntimeConfig":{},"publicRuntimeConfig":{},"reactProductionProfiling":false,"reactStrictMode":null,"httpAgentOptions":{"keepAlive":true},"outputFileTracing":true,"staticPageGenerationTimeout":60,"swcMinify":true,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"experimental":{"multiZoneDraftMode":false,"prerenderEarlyExit":false,"serverMinification":true,"serverSourceMaps":false,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","middlewarePrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":1,"memoryBasedWorkersCount":false,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":true,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"outputFileTracingRoot":"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent","swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"adjustFontFallbacks":false,"adjustFontFallbacksWithSizeAdjust":false,"typedRoutes":false,"instrumentationHook":false,"bundlePagesExternals":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"missingSuspenseWithCSRBailout":true,"optimizeServerReact":true,"useEarlyImport":false,"staleTimes":{"dynamic":30,"static":300},"serverComponentsExternalPackages":["@anthropic-ai/claude-agent-sdk"],"optimizePackageImports":["lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"trustHostHeader":false,"isExperimentalCompile":false},"configFileName":"next.config.js"},"appDir":"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server","relativeAppDir":"packages/server","files":[".next/routes-manifest.json",".next/server/pages-manifest.json",".next/build-manifest.json",".next/prerender-manifest.json",".next/server/middleware-manifest.json",".next/server/middleware-build-manifest.js",".next/server/middleware-react-loadable-manifest.js",".next/server/app-paths-manifest.json",".next/app-path-routes-manifest.json",".next/app-build-manifest.json",".next/server/server-reference-manifest.js",".next/server/server-reference-manifest.json",".next/react-loadable-manifest.json",".next/server/font-manifest.json",".next/BUILD_ID",".next/server/next-font-manifest.js",".next/server/next-font-manifest.json"],"ignore":["../../node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*"]}
@@ -1 +1 @@
1
- (()=>{var e={};e.id=7409,e.ids=[7409],e.modules={2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},4743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalError:()=>i.a,__next_app__:()=>c,originalPathname:()=>p,pages:()=>d,routeModule:()=>f,tree:()=>u}),n(1360),n(3028),n(4972);var r=n(1772),o=n(5042),s=n(5663),i=n.n(s),a=n(4812),l={};for(let e in a)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>a[e]);n.d(t,l);let u=["",{children:["/_not-found",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(n.t.bind(n,3028,23)),"next/dist/client/components/not-found-error"]}]},{}]},{layout:[()=>Promise.resolve().then(n.bind(n,4972)),"/Volumes/ext/project/team-agent/packages/server/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(n.t.bind(n,3028,23)),"next/dist/client/components/not-found-error"]}],d=[],p="/_not-found/page",c={require:n,loadChunk:()=>Promise.resolve()},f=new r.AppPageRouteModule({definition:{kind:o.x.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},992:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,1782,23)),Promise.resolve().then(n.t.bind(n,8949,23)),Promise.resolve().then(n.t.bind(n,6569,23)),Promise.resolve().then(n.t.bind(n,8718,23)),Promise.resolve().then(n.t.bind(n,7415,23)),Promise.resolve().then(n.t.bind(n,8781,23))},2027:()=>{},5289:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1360:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PARALLEL_ROUTE_DEFAULT_PATH:function(){return o},default:function(){return s}});let r=n(5289),o="next/dist/client/components/parallel-route-default.js";function s(){(0,r.notFound)()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4972:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i,metadata:()=>o,viewport:()=>s});var r=n(3477);let o={title:"AgentRoam",manifest:"/manifest.webmanifest",appleWebApp:{capable:!0,title:"AgentRoam",statusBarStyle:"default"},icons:{icon:"/pwa/icon-192.png",apple:"/pwa/icon-192.png"},description:"General-purpose AI agent API server"},s={themeColor:"#f5f6fa"};function i({children:e}){return r.jsx("html",{lang:"en",children:(0,r.jsxs)("body",{children:[e,r.jsx("script",{src:"/pwa/install.js",defer:!0})]})})}}};var t=require("../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[8375,5303],()=>n(4743));module.exports=r})();
1
+ (()=>{var e={};e.id=7409,e.ids=[7409],e.modules={2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},6460:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalError:()=>i.a,__next_app__:()=>p,originalPathname:()=>c,pages:()=>d,routeModule:()=>f,tree:()=>u}),n(1360),n(3028),n(4972);var r=n(1772),o=n(5042),s=n(5663),i=n.n(s),a=n(4812),l={};for(let e in a)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>a[e]);n.d(t,l);let u=["",{children:["/_not-found",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(n.t.bind(n,3028,23)),"next/dist/client/components/not-found-error"]}]},{}]},{layout:[()=>Promise.resolve().then(n.bind(n,4972)),"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(n.t.bind(n,3028,23)),"next/dist/client/components/not-found-error"]}],d=[],c="/_not-found/page",p={require:n,loadChunk:()=>Promise.resolve()},f=new r.AppPageRouteModule({definition:{kind:o.x.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},7764:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,1782,23)),Promise.resolve().then(n.t.bind(n,8949,23)),Promise.resolve().then(n.t.bind(n,6569,23)),Promise.resolve().then(n.t.bind(n,8718,23)),Promise.resolve().then(n.t.bind(n,7415,23)),Promise.resolve().then(n.t.bind(n,8781,23))},2027:()=>{},5289:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1360:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PARALLEL_ROUTE_DEFAULT_PATH:function(){return o},default:function(){return s}});let r=n(5289),o="next/dist/client/components/parallel-route-default.js";function s(){(0,r.notFound)()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4972:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a,metadata:()=>o,viewport:()=>i});var r=n(3477);let o={title:"AgentRoam",manifest:"/manifest.webmanifest",appleWebApp:{capable:!0,title:"AgentRoam",statusBarStyle:"black-translucent"},icons:{icon:"/pwa/icon-192.png",apple:"/pwa/icon-192.png"},description:"General-purpose AI agent API server"},s="#070a0b",i={themeColor:s,colorScheme:"dark"};function a({children:e}){return r.jsx("html",{lang:"zh-CN",style:{background:s,colorScheme:"dark"},children:(0,r.jsxs)("body",{style:{margin:0,minHeight:"100dvh",background:s},children:[e,r.jsx("script",{src:"/pwa/install.js",defer:!0})]})})}}};var t=require("../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[8375,5303],()=>n(6460));module.exports=r})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"1338":{"*":{"id":"8718","name":"*","chunks":[],"async":false}},"1573":{"*":{"id":"8781","name":"*","chunks":[],"async":false}},"3194":{"*":{"id":"8383","name":"*","chunks":[],"async":false}},"5613":{"*":{"id":"8949","name":"*","chunks":[],"async":false}},"6061":{"*":{"id":"7919","name":"*","chunks":[],"async":false}},"6554":{"*":{"id":"6569","name":"*","chunks":[],"async":false}},"7709":{"*":{"id":"1782","name":"*","chunks":[],"async":false}},"9011":{"*":{"id":"7415","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/app-router.js":{"id":7709,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/app-router.js":{"id":7709,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/client-page.js":{"id":5613,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/client-page.js":{"id":5613,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/error-boundary.js":{"id":6554,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6554,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/layout-router.js":{"id":1338,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/layout-router.js":{"id":1338,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/not-found-boundary.js":{"id":9011,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":9011,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1573,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1573,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/packages/server/app/web/page.tsx":{"id":6061,"name":"*","chunks":[],"async":false},"/Volumes/ext/project/team-agent/packages/server/app/web/error.tsx":{"id":3194,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Volumes/ext/project/team-agent/packages/server/":[],"/Volumes/ext/project/team-agent/packages/server/app/layout":[],"/Volumes/ext/project/team-agent/packages/server/app/_not-found/page":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"1338":{"*":{"id":"8718","name":"*","chunks":[],"async":false}},"1573":{"*":{"id":"8781","name":"*","chunks":[],"async":false}},"3194":{"*":{"id":"8383","name":"*","chunks":[],"async":false}},"5613":{"*":{"id":"8949","name":"*","chunks":[],"async":false}},"6061":{"*":{"id":"3233","name":"*","chunks":[],"async":false}},"6554":{"*":{"id":"6569","name":"*","chunks":[],"async":false}},"7709":{"*":{"id":"1782","name":"*","chunks":[],"async":false}},"9011":{"*":{"id":"7415","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/app-router.js":{"id":7709,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/app-router.js":{"id":7709,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/client-page.js":{"id":5613,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/client-page.js":{"id":5613,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/error-boundary.js":{"id":6554,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6554,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/layout-router.js":{"id":1338,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/layout-router.js":{"id":1338,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/not-found-boundary.js":{"id":9011,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":9011,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1573,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/node_modules/.bun/next@14.2.35+6dbf9a050bc9aadb/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1573,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/app/web/page.tsx":{"id":6061,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/app/web/neural-boot.css":{"id":7125,"name":"*","chunks":[],"async":false},"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/app/web/error.tsx":{"id":3194,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/":[],"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/app/layout":[],"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/app/_not-found/page":[]}}
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-005b9ea17f53f126.js"/><script src="/_next/static/chunks/3cc391f0-d7ec74603652803d.js" async=""></script><script src="/_next/static/chunks/183-d2f78a21998813ba.js" async=""></script><script src="/_next/static/chunks/main-app-6226257cbf59e19d.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><meta name="theme-color" content="#f5f6fa"/><title>AgentRoam</title><meta name="description" content="General-purpose AI agent API server"/><link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="AgentRoam"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><link rel="icon" href="/pwa/icon-192.png"/><link rel="apple-touch-icon" href="/pwa/icon-192.png"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/pwa/install.js" defer=""></script><script src="/_next/static/chunks/webpack-005b9ea17f53f126.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:I[7709,[],\"\"]\n3:I[1338,[],\"\"]\n4:I[1573,[],\"\"]\na:I[6554,[],\"\"]\n5:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n6:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n7:{\"display\":\"inline-block\"}\n8:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nb:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L1\",null,{\"buildId\":\"VvfEjQhZtTBIuUl6k7xKg\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L2\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$5\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$6\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$8\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],[\"$\",\"script\",null,{\"src\":\"/pwa/install.js\",\"defer\":true}]]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$L9\"],\"globalErrorComponent\":\"$a\",\"missingSlots\":\"$Wb\"}]\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"name\":\"theme-color\",\"content\":\"#f5f6fa\"}],[\"$\",\"meta\",\"2\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"3\",{\"children\":\"AgentRoam\"}],[\"$\",\"meta\",\"4\",{\"name\":\"description\",\"content\":\"General-purpose AI agent API server\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"7\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"AgentRoam\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"link\",\"9\",{\"rel\":\"icon\",\"href\":\"/pwa/icon-192.png\"}],[\"$\",\"link\",\"10\",{\"rel\":\"apple-touch-icon\",\"href\":\"/pwa/icon-192.png\"}]]\n2:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="zh-CN" style="background:#070a0b;color-scheme:dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-3ff471b94db6b1b2.js"/><script src="/_next/static/chunks/3cc391f0-d7ec74603652803d.js" async=""></script><script src="/_next/static/chunks/183-d2f78a21998813ba.js" async=""></script><script src="/_next/static/chunks/main-app-03913d9edbfef6cc.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><meta name="theme-color" content="#070a0b"/><meta name="color-scheme" content="dark"/><title>AgentRoam</title><meta name="description" content="General-purpose AI agent API server"/><link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="AgentRoam"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><link rel="icon" href="/pwa/icon-192.png"/><link rel="apple-touch-icon" href="/pwa/icon-192.png"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body style="margin:0;min-height:100dvh;background:#070a0b"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/pwa/install.js" defer=""></script><script src="/_next/static/chunks/webpack-3ff471b94db6b1b2.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:I[7709,[],\"\"]\n3:I[1338,[],\"\"]\n4:I[1573,[],\"\"]\na:I[6554,[],\"\"]\n5:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n6:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n7:{\"display\":\"inline-block\"}\n8:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nb:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L1\",null,{\"buildId\":\"VjF1ivYYR4g1y_PDu06re\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L2\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"style\":{\"background\":\"#070a0b\",\"colorScheme\":\"dark\"},\"children\":[\"$\",\"body\",null,{\"style\":{\"margin\":0,\"minHeight\":\"100dvh\",\"background\":\"#070a0b\"},\"children\":[[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$5\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$6\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$8\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],[\"$\",\"script\",null,{\"src\":\"/pwa/install.js\",\"defer\":true}]]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$L9\"],\"globalErrorComponent\":\"$a\",\"missingSlots\":\"$Wb\"}]\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"name\":\"theme-color\",\"content\":\"#070a0b\"}],[\"$\",\"meta\",\"2\",{\"name\":\"color-scheme\",\"content\":\"dark\"}],[\"$\",\"meta\",\"3\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"4\",{\"children\":\"AgentRoam\"}],[\"$\",\"meta\",\"5\",{\"name\":\"description\",\"content\":\"General-purpose AI agent API server\"}],[\"$\",\"link\",\"6\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"7\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"AgentRoam\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"link\",\"10\",{\"rel\":\"icon\",\"href\":\"/pwa/icon-192.png\"}],[\"$\",\"link\",\"11\",{\"rel\":\"apple-touch-icon\",\"href\":\"/pwa/icon-192.png\"}]]\n2:null\n"])</script></body></html>
@@ -4,6 +4,6 @@
4
4
  5:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
5
5
  6:{"display":"inline-block"}
6
6
  7:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
7
- 0:["VvfEjQhZtTBIuUl6k7xKg",[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["/_not-found",{"children":["__PAGE__",{},[["$L1",[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null],null],null]},[null,["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","/_not-found","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","html",null,{"lang":"en","children":["$","body",null,{"children":[["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$4","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$5","children":"404"}],["$","div",null,{"style":"$6","children":["$","h2",null,{"style":"$7","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],["$","script",null,{"src":"/pwa/install.js","defer":true}]]}]}]],null],null],["$L8",["$","meta",null,{"name":"robots","content":"noindex"}]]]]]
8
- 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"name":"theme-color","content":"#f5f6fa"}],["$","meta","2",{"charSet":"utf-8"}],["$","title","3",{"children":"AgentRoam"}],["$","meta","4",{"name":"description","content":"General-purpose AI agent API server"}],["$","link","5",{"rel":"manifest","href":"/manifest.webmanifest","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","7",{"name":"apple-mobile-web-app-title","content":"AgentRoam"}],["$","meta","8",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","link","9",{"rel":"icon","href":"/pwa/icon-192.png"}],["$","link","10",{"rel":"apple-touch-icon","href":"/pwa/icon-192.png"}]]
7
+ 0:["VjF1ivYYR4g1y_PDu06re",[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["/_not-found",{"children":["__PAGE__",{},[["$L1",[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null],null],null]},[null,["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","/_not-found","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","html",null,{"lang":"zh-CN","style":{"background":"#070a0b","colorScheme":"dark"},"children":["$","body",null,{"style":{"margin":0,"minHeight":"100dvh","background":"#070a0b"},"children":[["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$4","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$5","children":"404"}],["$","div",null,{"style":"$6","children":["$","h2",null,{"style":"$7","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],["$","script",null,{"src":"/pwa/install.js","defer":true}]]}]}]],null],null],["$L8",["$","meta",null,{"name":"robots","content":"noindex"}]]]]]
8
+ 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"name":"theme-color","content":"#070a0b"}],["$","meta","2",{"name":"color-scheme","content":"dark"}],["$","meta","3",{"charSet":"utf-8"}],["$","title","4",{"children":"AgentRoam"}],["$","meta","5",{"name":"description","content":"General-purpose AI agent API server"}],["$","link","6",{"rel":"manifest","href":"/manifest.webmanifest","crossOrigin":"use-credentials"}],["$","meta","7",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","8",{"name":"apple-mobile-web-app-title","content":"AgentRoam"}],["$","meta","9",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","link","10",{"rel":"icon","href":"/pwa/icon-192.png"}],["$","link","11",{"rel":"apple-touch-icon","href":"/pwa/icon-192.png"}]]
9
9
  1:null
@@ -1 +1 @@
1
- "use strict";(()=>{var e={};e.id=816,e.ids=[816],e.modules={7728:e=>{e.exports=require("@anthropic-ai/claude-agent-sdk")},5890:e=>{e.exports=require("better-sqlite3")},399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},1282:e=>{e.exports=require("child_process")},2048:e=>{e.exports=require("fs")},9801:e=>{e.exports=require("os")},5315:e=>{e.exports=require("path")},7718:e=>{e.exports=require("node:child_process")},6005:e=>{e.exports=require("node:crypto")},5673:e=>{e.exports=require("node:events")},7561:e=>{e.exports=require("node:fs")},3977:e=>{e.exports=require("node:fs/promises")},8849:e=>{e.exports=require("node:http")},2286:e=>{e.exports=require("node:https")},2033:e=>{e.exports=require("node:module")},7503:e=>{e.exports=require("node:net")},612:e=>{e.exports=require("node:os")},9411:e=>{e.exports=require("node:path")},1747:e=>{e.exports=require("node:readline")},4492:e=>{e.exports=require("node:stream")},6915:e=>{e.exports=require("node:string_decoder")},1041:e=>{e.exports=require("node:url")},7261:e=>{e.exports=require("node:util")},4533:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>f,patchFetch:()=>w,requestAsyncStorage:()=>p,routeModule:()=>h,serverHooks:()=>g,staticGenerationAsyncStorage:()=>m});var s={};r.r(s),r.d(s,{POST:()=>d});var n=r(7786),i=r(5042),a=r(2184),o=r(1890),u=r(7519),l=r(1614),c=r(1366);async function d(e){let t;try{t=(await e.json()).sessionId}catch{}if(t&&(0,l.V_)(t)){try{await (0,l.NL)().abort(t)}catch(e){return o.NextResponse.json({error:e instanceof Error?e.message:"Abort failed"},{status:500})}return o.NextResponse.json({status:"aborted"})}return t&&(0,c.C)().requestStop(t),u.agentHost.abort(t),o.NextResponse.json({status:"aborted"})}let h=new n.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/api/agent/abort/route",pathname:"/api/agent/abort",filename:"route",bundlePath:"app/api/agent/abort/route"},resolvedPagePath:"/Volumes/ext/project/team-agent/packages/server/app/api/agent/abort/route.ts",nextConfigOutput:"standalone",userland:s}),{requestAsyncStorage:p,staticGenerationAsyncStorage:m,serverHooks:g}=h,f="/api/agent/abort/route";function w(){return(0,a.patchFetch)({serverHooks:g,staticGenerationAsyncStorage:m})}},1614:(e,t,r)=>{r.d(t,{NL:()=>_,V_:()=>N,WW:()=>E});var s=r(7561),n=r(612),i=r(9411),a=r(7718),o=r(1322);function u(e){if(!e.trim())return!1;try{return(0,s.accessSync)(e,s.constants.X_OK),!0}catch{return!1}}function l(e){try{return(0,o.wyD)((0,a.execFileSync)(e,["--version"],{encoding:"utf8",timeout:5e3,stdio:["ignore","pipe","pipe"]}))}catch{return}}function c(e){let t=[],r=process.env[e.environmentVariable]?.trim();if(r){let s=u(r);t.push({source:"pin",path:r,executable:s,version:s?l(r):void 0,error:s?void 0:`${e.environmentVariable} "${r}" is not executable`})}let s=function(e){for(let t of(process.env.PATH??"").split(i.delimiter).filter(Boolean)){let r=(0,i.resolve)(t,e);if(u(r))return r}}(e.name);return s&&s!==r&&t.push({source:"path",path:s,executable:!0,version:l(s)}),(0,o.neJ)(t,{name:e.name,minimumVersion:e.minimumVersion})}var d=r(535),h=r(6279),p=r(785);let m=globalThis;class g{constructor(e,t=async()=>[],r=process.platform){this.runtime=e,this.listProjects=t,this.platform=r,this.pendingCreations=new Map}health(){return this.runtime.health()}listModels(e){return this.runtime.listModels(e)}listWorkspaces(e,t){return this.runtime.listWorkspaces(e,t)}importWorkspace(e,t,r){if(!this.runtime.importWorkspace)throw new h.no("Native workspace import is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.importWorkspace(e,t,r)}async listWorkspaceSessions(e,t,r){let s=await this.runtime.listWorkspaceSessions(e,t,r);if(r?.cursor)return s;let n=new Set(s.data.map(e=>e.id)),i=s.data.map(e=>{let t=this.pendingCreations.get(e.id);return t?(this.pendingCreations.delete(e.id),f(e,t)):e});for(let r of this.pendingCreations.values())r.agentType!==e||r.projectId!==t||n.has(r.id)||i.unshift(r);return{...s,data:i}}async list(e){let[t,r]=await Promise.all([this.runtime.list(),this.listProjects()]);return O(this.withPendingCreations(t).map(e=>v(e,r,this.platform)),e)}async refresh(e){let[t,r]=await Promise.all([this.runtime.refresh(),this.listProjects()]);return O(this.withPendingCreations(t).map(e=>v(e,r,this.platform)),e)}async create(e){let t=v(await this.runtime.create(e),await this.listProjects(),this.platform),r=e.projectId?{...t,projectId:e.projectId}:t;return this.pendingCreations.set(r.id,r),r}async fork(e){if(!N(e))throw new h.no("Customer Agent sessions do not support native forks","OPERATION_NOT_SUPPORTED");let t=v(await this.runtime.fork(e),await this.listProjects(),this.platform);return this.pendingCreations.set(t.id,t),t}async delete(e){await this.runtime.delete(e),this.pendingCreations.delete(e)}async get(e,t){let r;try{r=await this.runtime.get(e,t)}catch(s){let r=this.pendingCreations.get(e);if(!r)throw s;return t?{...r,messages:[],events:[],history:{nextCursor:null,hasMore:!1,pageSize:0,totalItems:0}}:{...r,messages:[],events:[]}}return v(r,await this.listProjects(),this.platform)}async getQueryIndex(e){if(this.runtime.getQueryIndex)return this.runtime.getQueryIndex(e);let t=await this.runtime.get(e),{buildSessionQueryIndex:s}=await Promise.resolve().then(r.bind(r,1322));return s(e,t.messages)}getSessionToolResult(e,t){return this.runtime.getSessionToolResult(e,t)}getSessionWatchPath(e){return this.runtime.getSessionWatchPath(e)}run(e,t,r,s,n){return this.runtime.run(e,t,r,s,n)}steer(e,t){return this.runtime.steer(e,t)}abort(e){return this.runtime.abort(e)}async release(e){if(!this.runtime.release)throw new h.no("Native runtime release is unavailable","RUNTIME_UNAVAILABLE");await this.runtime.release(e)}answerQuestion(e,t){return this.runtime.answerQuestion(e,t)}async startRun(e,t,r,s="web",n){if(!this.runtime.startRun)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.startRun(e,t,r,s,n)}async subscribe(e,t,r){if(!this.runtime.subscribe)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.subscribe(e,t,r)}async snapshot(e,t=0){if(!this.runtime.snapshot)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.snapshot(e,t)}async setPermissionMode(e,t){if(!this.runtime.setPermissionMode)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.setPermissionMode(e,t)}async handoff(e,t){if(!this.runtime.handoff)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.handoff(e,t)}async getGoals(e,t="web"){if(!this.runtime.getGoals)throw new h.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.getGoals(e,t)}async enqueueGoal(e,t,r,s="web"){if(!this.runtime.enqueueGoal)throw new h.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.enqueueGoal(e,t,r,s)}async reorderGoals(e,t){if(!this.runtime.reorderGoals)throw new h.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.reorderGoals(e,t)}async cancelGoal(e,t){if(!this.runtime.cancelGoal)throw new h.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.cancelGoal(e,t,"web")}async enqueueMessage(e,t,r="web"){if(!this.runtime.enqueueMessage)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.enqueueMessage(e,t,r)}async reorderMessages(e,t){if(!this.runtime.reorderMessages)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.reorderMessages(e,t)}async updateMessage(e,t,r,s){if(!this.runtime.updateMessage)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.updateMessage(e,t,r,s)}async cancelMessage(e,t){if(!this.runtime.cancelMessage)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.cancelMessage(e,t)}async steerMessage(e,t){if(!this.runtime.steerMessage)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.steerMessage(e,t)}withPendingCreations(e){let t=new Set,r=e.map(e=>{t.add(e.id);let r=this.pendingCreations.get(e.id);return this.pendingCreations.delete(e.id),r?f(e,r):e});return[...[...this.pendingCreations.values()].filter(e=>!t.has(e.id)).sort((e,t)=>t.updated.localeCompare(e.updated)),...r]}}function f(e,t){return{...e,cwd:e.cwd||t.cwd,projectId:e.projectId??t.projectId}}function w(e,t){t.executable?delete process.env[e]:process.env[e]=t.detail}function _(){if(!m.__nativeRuntimeService){!function(){let e=[(0,i.join)((0,n.homedir)(),".local","bin"),"/opt/homebrew/bin","/usr/local/bin"],t=(process.env.PATH??"").split(i.delimiter),r=e.filter(e=>(0,s.existsSync)(e)&&!t.includes(e));r.length>0&&(process.env.PATH=[...t,...r].join(i.delimiter))}();let e=new o.XWE((0,p.kO)());m.__nativeRuntimeService=new g((0,h.v6)({runtimeFactory:e=>{let t=c({name:"codex",environmentVariable:"AGENT_CODEX_BIN",minimumVersion:o.hix}),r=c({name:"opencode",environmentVariable:"AGENT_OPENCODE_BIN"});return process.pid,w("AGENT_CODEX_RUNTIME_ERROR",t),w("AGENT_OPENCODE_RUNTIME_ERROR",r),(0,d.L)().info("native runtime host elected",{pid:process.pid,codex:t.executable??null,codexSource:t.source??null,codexDetail:t.detail,opencode:r.executable??null,opencodeDetail:r.detail}),(0,h.WH)(t.executable??"codex",e,r.executable??"opencode")}}),()=>e.list())}return m.__nativeRuntimeService}function v(e,t,r=process.platform){let{projectId:s,...n}=e;if(!e.cwd)return n;let a=b(e.cwd,r),o="win32"===r?i.win32.sep:i.sep,u=t.filter(e=>e.description).map(e=>({project:e,path:b(e.description,r)})).filter(({path:e})=>a===e||a.startsWith(`${e}${o}`)).sort((e,t)=>t.path.length-e.path.length)[0];return u?{...n,projectId:u.project.id}:n}function b(e,t=process.platform){if("win32"!==t)return(0,i.resolve)(e);let r=i.win32.resolve(e),s=i.win32.parse(r).root;return(r.length>s.length?r.replace(/[\\/]+$/,""):r).toLowerCase()}function O(e,t){return void 0===t?e:e.filter(e=>e.projectId===t)}function N(e){try{return"customer-agent"!==(0,h.Vu)(e).agentType}catch{return!1}}function E(e){if(e instanceof h.no)switch(e.code){case"SESSION_NOT_FOUND":return 404;case"SESSION_OCCUPIED":case"SESSION_ALREADY_RUNNING":case"APPROVAL_EXPIRED":case"CODEX_SESSION_VERSION_INCOMPATIBLE":case"STALE_SESSION_ANCHOR":return 409;case"RUNTIME_UNAVAILABLE":return 503;case"OPERATION_NOT_SUPPORTED":return 405;default:return 400}return 500}},1489:(e,t,r)=>{r.d(t,{N:()=>u});var s=r(1322),n=r(6279),i=r(785);class a{constructor(){this.tasks=new s.vo4((0,i.kO)()),this.scheduler=new n.ST(this.tasks,e=>{this.fire(e).catch(e=>console.error("Scheduled Customer Agent run failed",e))},()=>{}),this.scheduler.start()}async fire(e){let{agentHost:t}=await r.e(7519).then(r.bind(r,7519)),{getCustomerGoalCoordinator:s}=await Promise.all([r.e(7519),r.e(732)]).then(r.bind(r,5038)),n=e.sessionId;n&&await t.getSessionStore().get(n)||(n=(await t.createSession(e.label||"定时任务")).id,this.tasks.update(e.id,{sessionId:n})),await s().enqueue(n,e.prompt)}call(e,t){let r=String(t[0]||"");switch(e){case"cronList":return this.tasks.list();case"cronCreate":{if("string"!=typeof t[0]||"string"!=typeof t[1]||!t[1].trim())throw Error("cron and prompt required");let e=t[2]&&"object"==typeof t[2]?t[2]:{};return this.tasks.create({cron:t[0],prompt:t[1],recurring:!1!==e.recurring,enabled:!0,durable:!0,..."string"==typeof e.sessionId?{sessionId:e.sessionId}:{},..."string"==typeof e.label?{label:e.label}:{}})}case"cronPause":return this.tasks.pause(r);case"cronResume":return this.tasks.resume(r);case"cronDelete":return this.tasks.delete(r);case"cronDeleteAll":return this.tasks.deleteAll(),{ok:!0};default:throw Error("Unsupported schedule operation")}}}let o=globalThis;function u(){return o.__sharedCronService??=new a}},1366:(e,t,r)=>{r.d(t,{C:()=>o,a:()=>u});var s=r(1322),n=r(7519),i=r(785);let a=globalThis;function o(){if(a.__threadGoalService)return a.__threadGoalService;let e=new s.rA9(new s.ZIW((0,i.kO)()),{isSessionRunning:e=>n.agentHost.isSessionRunning(e),startTurn:async(e,t)=>{if(n.agentHost.isSessionRunning(e))return!1;try{return n.agentHost.startRun(t,e,void 0,{source:"goal"}).completion.catch(()=>{}),!0}catch(e){if(e instanceof n.A)return!1;throw e}},steerHidden:(e,t)=>n.agentHost.steer(t,e,"__goal__"),sessionExists:async e=>!!await n.agentHost.getSessionStore().get(e)},{onUpdated:(e,t)=>n.agentHost.publishExternal(e,{type:"goal_updated",goal:t}),onCleared:e=>n.agentHost.publishExternal(e,{type:"goal_cleared",sessionId:e})});return n.agentHost.onRunSettled=t=>{e.onRunSettled({sessionId:t.sessionId,failed:t.failed,usageLimited:t.usageLimited,tokens:t.newTokens,seconds:t.durationMs/1e3}).catch(()=>{})},n.agentHost.threadGoalToolsProvider=t=>(0,s.DAt)(e,t),a.__threadGoalService=e,e}function u(){o().resumeInterrupted().catch(()=>{})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[8375,6703,6244,1322,1773,4621,7519],()=>r(4533));module.exports=s})();
1
+ "use strict";(()=>{var e={};e.id=816,e.ids=[816],e.modules={7728:e=>{e.exports=require("@anthropic-ai/claude-agent-sdk")},5890:e=>{e.exports=require("better-sqlite3")},399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},1282:e=>{e.exports=require("child_process")},2048:e=>{e.exports=require("fs")},9801:e=>{e.exports=require("os")},5315:e=>{e.exports=require("path")},7718:e=>{e.exports=require("node:child_process")},6005:e=>{e.exports=require("node:crypto")},5673:e=>{e.exports=require("node:events")},7561:e=>{e.exports=require("node:fs")},3977:e=>{e.exports=require("node:fs/promises")},8849:e=>{e.exports=require("node:http")},2286:e=>{e.exports=require("node:https")},2033:e=>{e.exports=require("node:module")},7503:e=>{e.exports=require("node:net")},612:e=>{e.exports=require("node:os")},9411:e=>{e.exports=require("node:path")},1747:e=>{e.exports=require("node:readline")},4492:e=>{e.exports=require("node:stream")},6915:e=>{e.exports=require("node:string_decoder")},1041:e=>{e.exports=require("node:url")},5881:e=>{e.exports=require("node:util")},5628:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>f,patchFetch:()=>w,requestAsyncStorage:()=>p,routeModule:()=>h,serverHooks:()=>g,staticGenerationAsyncStorage:()=>m});var s={};r.r(s),r.d(s,{POST:()=>d});var n=r(7786),i=r(5042),a=r(2184),o=r(1890),u=r(7519),l=r(1614),c=r(1366);async function d(e){let t;try{t=(await e.json()).sessionId}catch{}if(t&&(0,l.V_)(t)){try{await (0,l.NL)().abort(t)}catch(e){return o.NextResponse.json({error:e instanceof Error?e.message:"Abort failed"},{status:500})}return o.NextResponse.json({status:"aborted"})}return t&&(0,c.C)().requestStop(t),u.agentHost.abort(t),o.NextResponse.json({status:"aborted"})}let h=new n.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/api/agent/abort/route",pathname:"/api/agent/abort",filename:"route",bundlePath:"app/api/agent/abort/route"},resolvedPagePath:"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/app/api/agent/abort/route.ts",nextConfigOutput:"standalone",userland:s}),{requestAsyncStorage:p,staticGenerationAsyncStorage:m,serverHooks:g}=h,f="/api/agent/abort/route";function w(){return(0,a.patchFetch)({serverHooks:g,staticGenerationAsyncStorage:m})}},1614:(e,t,r)=>{r.d(t,{NL:()=>v,V_:()=>N,WW:()=>E});var s=r(7561),n=r(612),i=r(9411),a=r(7718),o=r(1322);function u(e){if(!e.trim())return!1;try{return(0,s.accessSync)(e,s.constants.X_OK),!0}catch{return!1}}function l(e){try{return(0,o.wyD)((0,a.execFileSync)(e,["--version"],{encoding:"utf8",timeout:5e3,stdio:["ignore","pipe","pipe"]}))}catch{return}}function c(e){let t=[],r=process.env[e.environmentVariable]?.trim();if(r){let s=u(r);t.push({source:"pin",path:r,executable:s,version:s?l(r):void 0,error:s?void 0:`${e.environmentVariable} "${r}" is not executable`})}let s=function(e){for(let t of(process.env.PATH??"").split(i.delimiter).filter(Boolean)){let r=(0,i.resolve)(t,e);if(u(r))return r}}(e.name);return s&&s!==r&&t.push({source:"path",path:s,executable:!0,version:l(s)}),(0,o.neJ)(t,{name:e.name,minimumVersion:e.minimumVersion})}var d=r(535),h=r(6279),p=r(785);let m=globalThis;class g{constructor(e,t=async()=>[],r=process.platform){this.runtime=e,this.listProjects=t,this.platform=r,this.pendingCreations=new Map}health(){return this.runtime.health()}listModels(e){return this.runtime.listModels(e)}listWorkspaces(e,t){return this.runtime.listWorkspaces(e,t)}importWorkspace(e,t,r){if(!this.runtime.importWorkspace)throw new h.no("Native workspace import is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.importWorkspace(e,t,r)}async listWorkspaceSessions(e,t,r){let s=await this.runtime.listWorkspaceSessions(e,t,r);if(r?.cursor)return s;let n=new Set(s.data.map(e=>e.id)),i=s.data.map(e=>{let t=this.pendingCreations.get(e.id);return t?(this.pendingCreations.delete(e.id),f(e,t)):e});for(let r of this.pendingCreations.values())r.agentType!==e||r.projectId!==t||n.has(r.id)||i.unshift(r);return{...s,data:i}}async list(e){let[t,r]=await Promise.all([this.runtime.list(),this.listProjects()]);return O(this.withPendingCreations(t).map(e=>_(e,r,this.platform)),e)}async refresh(e){let[t,r]=await Promise.all([this.runtime.refresh(),this.listProjects()]);return O(this.withPendingCreations(t).map(e=>_(e,r,this.platform)),e)}async create(e){let t=_(await this.runtime.create(e),await this.listProjects(),this.platform),r=e.projectId?{...t,projectId:e.projectId}:t;return this.pendingCreations.set(r.id,r),r}async fork(e){if(!N(e))throw new h.no("Customer Agent sessions do not support native forks","OPERATION_NOT_SUPPORTED");let t=_(await this.runtime.fork(e),await this.listProjects(),this.platform);return this.pendingCreations.set(t.id,t),t}async delete(e){await this.runtime.delete(e),this.pendingCreations.delete(e)}async get(e,t){let r;try{r=await this.runtime.get(e,t)}catch(s){let r=this.pendingCreations.get(e);if(!r)throw s;return t?{...r,messages:[],events:[],history:{nextCursor:null,hasMore:!1,pageSize:0,totalItems:0}}:{...r,messages:[],events:[]}}return _(r,await this.listProjects(),this.platform)}async getQueryIndex(e){if(this.runtime.getQueryIndex)return this.runtime.getQueryIndex(e);let t=await this.runtime.get(e),{buildSessionQueryIndex:s}=await Promise.resolve().then(r.bind(r,1322));return s(e,t.messages)}getSessionToolResult(e,t){return this.runtime.getSessionToolResult(e,t)}getSessionWatchPath(e){return this.runtime.getSessionWatchPath(e)}run(e,t,r,s,n){return this.runtime.run(e,t,r,s,n)}steer(e,t){return this.runtime.steer(e,t)}abort(e){return this.runtime.abort(e)}async release(e){if(!this.runtime.release)throw new h.no("Native runtime release is unavailable","RUNTIME_UNAVAILABLE");await this.runtime.release(e)}answerQuestion(e,t){return this.runtime.answerQuestion(e,t)}async startRun(e,t,r,s="web",n){if(!this.runtime.startRun)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.startRun(e,t,r,s,n)}async subscribe(e,t,r){if(!this.runtime.subscribe)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.subscribe(e,t,r)}async snapshot(e,t=0){if(!this.runtime.snapshot)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.snapshot(e,t)}async setPermissionMode(e,t){if(!this.runtime.setPermissionMode)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.setPermissionMode(e,t)}async handoff(e,t){if(!this.runtime.handoff)throw new h.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.handoff(e,t)}async getGoals(e,t="web"){if(!this.runtime.getGoals)throw new h.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.getGoals(e,t)}async enqueueGoal(e,t,r,s="web"){if(!this.runtime.enqueueGoal)throw new h.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.enqueueGoal(e,t,r,s)}async reorderGoals(e,t){if(!this.runtime.reorderGoals)throw new h.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.reorderGoals(e,t)}async cancelGoal(e,t){if(!this.runtime.cancelGoal)throw new h.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.cancelGoal(e,t,"web")}async enqueueMessage(e,t,r="web"){if(!this.runtime.enqueueMessage)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.enqueueMessage(e,t,r)}async reorderMessages(e,t){if(!this.runtime.reorderMessages)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.reorderMessages(e,t)}async updateMessage(e,t,r,s){if(!this.runtime.updateMessage)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.updateMessage(e,t,r,s)}async cancelMessage(e,t){if(!this.runtime.cancelMessage)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.cancelMessage(e,t)}async steerMessage(e,t){if(!this.runtime.steerMessage)throw new h.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.steerMessage(e,t)}withPendingCreations(e){let t=new Set,r=e.map(e=>{t.add(e.id);let r=this.pendingCreations.get(e.id);return this.pendingCreations.delete(e.id),r?f(e,r):e});return[...[...this.pendingCreations.values()].filter(e=>!t.has(e.id)).sort((e,t)=>t.updated.localeCompare(e.updated)),...r]}}function f(e,t){return{...e,cwd:e.cwd||t.cwd,projectId:e.projectId??t.projectId}}function w(e,t){t.executable?delete process.env[e]:process.env[e]=t.detail}function v(){if(!m.__nativeRuntimeService){!function(){let e=[(0,i.join)((0,n.homedir)(),".local","bin"),"/opt/homebrew/bin","/usr/local/bin"],t=(process.env.PATH??"").split(i.delimiter),r=e.filter(e=>(0,s.existsSync)(e)&&!t.includes(e));r.length>0&&(process.env.PATH=[...t,...r].join(i.delimiter))}();let e=new o.XWE((0,p.kO)());m.__nativeRuntimeService=new g((0,h.v6)({runtimeFactory:e=>{let t=c({name:"codex",environmentVariable:"AGENT_CODEX_BIN",minimumVersion:o.hix}),r=c({name:"opencode",environmentVariable:"AGENT_OPENCODE_BIN"});return process.pid,w("AGENT_CODEX_RUNTIME_ERROR",t),w("AGENT_OPENCODE_RUNTIME_ERROR",r),(0,d.L)().info("native runtime host elected",{pid:process.pid,codex:t.executable??null,codexSource:t.source??null,codexDetail:t.detail,opencode:r.executable??null,opencodeDetail:r.detail}),(0,h.WH)(t.executable??"codex",e,r.executable??"opencode")}}),()=>e.list())}return m.__nativeRuntimeService}function _(e,t,r=process.platform){let{projectId:s,...n}=e;if(!e.cwd)return n;let a=b(e.cwd,r),o="win32"===r?i.win32.sep:i.sep,u=t.filter(e=>e.description).map(e=>({project:e,path:b(e.description,r)})).filter(({path:e})=>a===e||a.startsWith(`${e}${o}`)).sort((e,t)=>t.path.length-e.path.length)[0];return u?{...n,projectId:u.project.id}:n}function b(e,t=process.platform){if("win32"!==t)return(0,i.resolve)(e);let r=i.win32.resolve(e),s=i.win32.parse(r).root;return(r.length>s.length?r.replace(/[\\/]+$/,""):r).toLowerCase()}function O(e,t){return void 0===t?e:e.filter(e=>e.projectId===t)}function N(e){try{return"customer-agent"!==(0,h.Vu)(e).agentType}catch{return!1}}function E(e){if(e instanceof h.no)switch(e.code){case"SESSION_NOT_FOUND":return 404;case"SESSION_OCCUPIED":case"SESSION_ALREADY_RUNNING":case"APPROVAL_EXPIRED":case"CODEX_SESSION_VERSION_INCOMPATIBLE":case"STALE_SESSION_ANCHOR":return 409;case"RUNTIME_UNAVAILABLE":return 503;case"OPERATION_NOT_SUPPORTED":return 405;default:return 400}return 500}},1489:(e,t,r)=>{r.d(t,{N:()=>u});var s=r(1322),n=r(6279),i=r(785);class a{constructor(){this.tasks=new s.vo4((0,i.kO)()),this.scheduler=new n.ST(this.tasks,e=>{this.fire(e).catch(e=>console.error("Scheduled Customer Agent run failed",e))},()=>{}),this.scheduler.start()}async fire(e){let{agentHost:t}=await r.e(7519).then(r.bind(r,7519)),{getCustomerGoalCoordinator:s}=await Promise.all([r.e(7519),r.e(732)]).then(r.bind(r,732)),n=e.sessionId;n&&await t.getSessionStore().get(n)||(n=(await t.createSession(e.label||"定时任务")).id,this.tasks.update(e.id,{sessionId:n})),await s().enqueue(n,e.prompt)}call(e,t){let r=String(t[0]||"");switch(e){case"cronList":return this.tasks.list();case"cronCreate":{if("string"!=typeof t[0]||"string"!=typeof t[1]||!t[1].trim())throw Error("cron and prompt required");let e=t[2]&&"object"==typeof t[2]?t[2]:{};return this.tasks.create({cron:t[0],prompt:t[1],recurring:!1!==e.recurring,enabled:!0,durable:!0,..."string"==typeof e.sessionId?{sessionId:e.sessionId}:{},..."string"==typeof e.label?{label:e.label}:{}})}case"cronPause":return this.tasks.pause(r);case"cronResume":return this.tasks.resume(r);case"cronDelete":return this.tasks.delete(r);case"cronDeleteAll":return this.tasks.deleteAll(),{ok:!0};default:throw Error("Unsupported schedule operation")}}}let o=globalThis;function u(){return o.__sharedCronService??=new a}},1366:(e,t,r)=>{r.d(t,{C:()=>o,a:()=>u});var s=r(1322),n=r(7519),i=r(785);let a=globalThis;function o(){if(a.__threadGoalService)return a.__threadGoalService;let e=new s.rA9(new s.ZIW((0,i.kO)()),{isSessionRunning:e=>n.agentHost.isSessionRunning(e),startTurn:async(e,t)=>{if(n.agentHost.isSessionRunning(e))return!1;try{return n.agentHost.startRun(t,e,void 0,{source:"goal"}).completion.catch(()=>{}),!0}catch(e){if(e instanceof n.A)return!1;throw e}},steerHidden:(e,t)=>n.agentHost.steer(t,e,"__goal__"),sessionExists:async e=>!!await n.agentHost.getSessionStore().get(e)},{onUpdated:(e,t)=>n.agentHost.publishExternal(e,{type:"goal_updated",goal:t}),onCleared:e=>n.agentHost.publishExternal(e,{type:"goal_cleared",sessionId:e})});return n.agentHost.onRunSettled=t=>{e.onRunSettled({sessionId:t.sessionId,failed:t.failed,usageLimited:t.usageLimited,tokens:t.newTokens,seconds:t.durationMs/1e3}).catch(()=>{})},n.agentHost.threadGoalToolsProvider=t=>(0,s.DAt)(e,t),a.__threadGoalService=e,e}function u(){o().resumeInterrupted().catch(()=>{})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[8375,6703,6244,1322,1773,4621,7519],()=>r(5628));module.exports=s})();
@@ -1 +1 @@
1
- "use strict";(()=>{var e={};e.id=8195,e.ids=[8195],e.modules={7728:e=>{e.exports=require("@anthropic-ai/claude-agent-sdk")},5890:e=>{e.exports=require("better-sqlite3")},399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},1282:e=>{e.exports=require("child_process")},2048:e=>{e.exports=require("fs")},9801:e=>{e.exports=require("os")},5315:e=>{e.exports=require("path")},7718:e=>{e.exports=require("node:child_process")},6005:e=>{e.exports=require("node:crypto")},5673:e=>{e.exports=require("node:events")},7561:e=>{e.exports=require("node:fs")},3977:e=>{e.exports=require("node:fs/promises")},8849:e=>{e.exports=require("node:http")},2286:e=>{e.exports=require("node:https")},2033:e=>{e.exports=require("node:module")},7503:e=>{e.exports=require("node:net")},612:e=>{e.exports=require("node:os")},9411:e=>{e.exports=require("node:path")},1747:e=>{e.exports=require("node:readline")},4492:e=>{e.exports=require("node:stream")},6915:e=>{e.exports=require("node:string_decoder")},1041:e=>{e.exports=require("node:url")},7261:e=>{e.exports=require("node:util")},1799:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>w,patchFetch:()=>f,requestAsyncStorage:()=>p,routeModule:()=>d,serverHooks:()=>m,staticGenerationAsyncStorage:()=>h});var s={};r.r(s),r.d(s,{POST:()=>c});var n=r(7786),i=r(5042),a=r(2184),o=r(1890),u=r(7519),l=r(1614);async function c(e){try{let t=await e.json();if(!t.questionId||!t.answer)return o.NextResponse.json({error:"questionId and answer are required"},{status:400});let r=u.agentHost.answerQuestion(t.questionId,t.answer,t.selectedIndices);if(r||(r=await (0,l.NL)().answerQuestion(t.questionId,{answer:t.answer,selectedIndices:t.selectedIndices})),!r)return o.NextResponse.json({error:"Question not found or already answered"},{status:404});return o.NextResponse.json({ok:!0})}catch(e){return o.NextResponse.json({error:e instanceof Error?e.message:"Internal error"},{status:(0,l.WW)(e)})}}let d=new n.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/api/agent/answer/route",pathname:"/api/agent/answer",filename:"route",bundlePath:"app/api/agent/answer/route"},resolvedPagePath:"/Volumes/ext/project/team-agent/packages/server/app/api/agent/answer/route.ts",nextConfigOutput:"standalone",userland:s}),{requestAsyncStorage:p,staticGenerationAsyncStorage:h,serverHooks:m}=d,w="/api/agent/answer/route";function f(){return(0,a.patchFetch)({serverHooks:m,staticGenerationAsyncStorage:h})}},1614:(e,t,r)=>{r.d(t,{NL:()=>N,V_:()=>E,WW:()=>I});var s=r(7561),n=r(612),i=r(9411),a=r(7718),o=r(1322);function u(e){if(!e.trim())return!1;try{return(0,s.accessSync)(e,s.constants.X_OK),!0}catch{return!1}}function l(e){try{return(0,o.wyD)((0,a.execFileSync)(e,["--version"],{encoding:"utf8",timeout:5e3,stdio:["ignore","pipe","pipe"]}))}catch{return}}function c(e){let t=[],r=process.env[e.environmentVariable]?.trim();if(r){let s=u(r);t.push({source:"pin",path:r,executable:s,version:s?l(r):void 0,error:s?void 0:`${e.environmentVariable} "${r}" is not executable`})}let s=function(e){for(let t of(process.env.PATH??"").split(i.delimiter).filter(Boolean)){let r=(0,i.resolve)(t,e);if(u(r))return r}}(e.name);return s&&s!==r&&t.push({source:"path",path:s,executable:!0,version:l(s)}),(0,o.neJ)(t,{name:e.name,minimumVersion:e.minimumVersion})}var d=r(535),p=r(6279),h=r(785);let m=globalThis;class w{constructor(e,t=async()=>[],r=process.platform){this.runtime=e,this.listProjects=t,this.platform=r,this.pendingCreations=new Map}health(){return this.runtime.health()}listModels(e){return this.runtime.listModels(e)}listWorkspaces(e,t){return this.runtime.listWorkspaces(e,t)}importWorkspace(e,t,r){if(!this.runtime.importWorkspace)throw new p.no("Native workspace import is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.importWorkspace(e,t,r)}async listWorkspaceSessions(e,t,r){let s=await this.runtime.listWorkspaceSessions(e,t,r);if(r?.cursor)return s;let n=new Set(s.data.map(e=>e.id)),i=s.data.map(e=>{let t=this.pendingCreations.get(e.id);return t?(this.pendingCreations.delete(e.id),f(e,t)):e});for(let r of this.pendingCreations.values())r.agentType!==e||r.projectId!==t||n.has(r.id)||i.unshift(r);return{...s,data:i}}async list(e){let[t,r]=await Promise.all([this.runtime.list(),this.listProjects()]);return P(this.withPendingCreations(t).map(e=>O(e,r,this.platform)),e)}async refresh(e){let[t,r]=await Promise.all([this.runtime.refresh(),this.listProjects()]);return P(this.withPendingCreations(t).map(e=>O(e,r,this.platform)),e)}async create(e){let t=O(await this.runtime.create(e),await this.listProjects(),this.platform),r=e.projectId?{...t,projectId:e.projectId}:t;return this.pendingCreations.set(r.id,r),r}async fork(e){if(!E(e))throw new p.no("Customer Agent sessions do not support native forks","OPERATION_NOT_SUPPORTED");let t=O(await this.runtime.fork(e),await this.listProjects(),this.platform);return this.pendingCreations.set(t.id,t),t}async delete(e){await this.runtime.delete(e),this.pendingCreations.delete(e)}async get(e,t){let r;try{r=await this.runtime.get(e,t)}catch(s){let r=this.pendingCreations.get(e);if(!r)throw s;return t?{...r,messages:[],events:[],history:{nextCursor:null,hasMore:!1,pageSize:0,totalItems:0}}:{...r,messages:[],events:[]}}return O(r,await this.listProjects(),this.platform)}async getQueryIndex(e){if(this.runtime.getQueryIndex)return this.runtime.getQueryIndex(e);let t=await this.runtime.get(e),{buildSessionQueryIndex:s}=await Promise.resolve().then(r.bind(r,1322));return s(e,t.messages)}getSessionToolResult(e,t){return this.runtime.getSessionToolResult(e,t)}getSessionWatchPath(e){return this.runtime.getSessionWatchPath(e)}run(e,t,r,s,n){return this.runtime.run(e,t,r,s,n)}steer(e,t){return this.runtime.steer(e,t)}abort(e){return this.runtime.abort(e)}async release(e){if(!this.runtime.release)throw new p.no("Native runtime release is unavailable","RUNTIME_UNAVAILABLE");await this.runtime.release(e)}answerQuestion(e,t){return this.runtime.answerQuestion(e,t)}async startRun(e,t,r,s="web",n){if(!this.runtime.startRun)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.startRun(e,t,r,s,n)}async subscribe(e,t,r){if(!this.runtime.subscribe)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.subscribe(e,t,r)}async snapshot(e,t=0){if(!this.runtime.snapshot)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.snapshot(e,t)}async setPermissionMode(e,t){if(!this.runtime.setPermissionMode)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.setPermissionMode(e,t)}async handoff(e,t){if(!this.runtime.handoff)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.handoff(e,t)}async getGoals(e,t="web"){if(!this.runtime.getGoals)throw new p.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.getGoals(e,t)}async enqueueGoal(e,t,r,s="web"){if(!this.runtime.enqueueGoal)throw new p.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.enqueueGoal(e,t,r,s)}async reorderGoals(e,t){if(!this.runtime.reorderGoals)throw new p.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.reorderGoals(e,t)}async cancelGoal(e,t){if(!this.runtime.cancelGoal)throw new p.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.cancelGoal(e,t,"web")}async enqueueMessage(e,t,r="web"){if(!this.runtime.enqueueMessage)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.enqueueMessage(e,t,r)}async reorderMessages(e,t){if(!this.runtime.reorderMessages)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.reorderMessages(e,t)}async updateMessage(e,t,r,s){if(!this.runtime.updateMessage)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.updateMessage(e,t,r,s)}async cancelMessage(e,t){if(!this.runtime.cancelMessage)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.cancelMessage(e,t)}async steerMessage(e,t){if(!this.runtime.steerMessage)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.steerMessage(e,t)}withPendingCreations(e){let t=new Set,r=e.map(e=>{t.add(e.id);let r=this.pendingCreations.get(e.id);return this.pendingCreations.delete(e.id),r?f(e,r):e});return[...[...this.pendingCreations.values()].filter(e=>!t.has(e.id)).sort((e,t)=>t.updated.localeCompare(e.updated)),...r]}}function f(e,t){return{...e,cwd:e.cwd||t.cwd,projectId:e.projectId??t.projectId}}function g(e,t){t.executable?delete process.env[e]:process.env[e]=t.detail}function N(){if(!m.__nativeRuntimeService){!function(){let e=[(0,i.join)((0,n.homedir)(),".local","bin"),"/opt/homebrew/bin","/usr/local/bin"],t=(process.env.PATH??"").split(i.delimiter),r=e.filter(e=>(0,s.existsSync)(e)&&!t.includes(e));r.length>0&&(process.env.PATH=[...t,...r].join(i.delimiter))}();let e=new o.XWE((0,h.kO)());m.__nativeRuntimeService=new w((0,p.v6)({runtimeFactory:e=>{let t=c({name:"codex",environmentVariable:"AGENT_CODEX_BIN",minimumVersion:o.hix}),r=c({name:"opencode",environmentVariable:"AGENT_OPENCODE_BIN"});return process.pid,g("AGENT_CODEX_RUNTIME_ERROR",t),g("AGENT_OPENCODE_RUNTIME_ERROR",r),(0,d.L)().info("native runtime host elected",{pid:process.pid,codex:t.executable??null,codexSource:t.source??null,codexDetail:t.detail,opencode:r.executable??null,opencodeDetail:r.detail}),(0,p.WH)(t.executable??"codex",e,r.executable??"opencode")}}),()=>e.list())}return m.__nativeRuntimeService}function O(e,t,r=process.platform){let{projectId:s,...n}=e;if(!e.cwd)return n;let a=v(e.cwd,r),o="win32"===r?i.win32.sep:i.sep,u=t.filter(e=>e.description).map(e=>({project:e,path:v(e.description,r)})).filter(({path:e})=>a===e||a.startsWith(`${e}${o}`)).sort((e,t)=>t.path.length-e.path.length)[0];return u?{...n,projectId:u.project.id}:n}function v(e,t=process.platform){if("win32"!==t)return(0,i.resolve)(e);let r=i.win32.resolve(e),s=i.win32.parse(r).root;return(r.length>s.length?r.replace(/[\\/]+$/,""):r).toLowerCase()}function P(e,t){return void 0===t?e:e.filter(e=>e.projectId===t)}function E(e){try{return"customer-agent"!==(0,p.Vu)(e).agentType}catch{return!1}}function I(e){if(e instanceof p.no)switch(e.code){case"SESSION_NOT_FOUND":return 404;case"SESSION_OCCUPIED":case"SESSION_ALREADY_RUNNING":case"APPROVAL_EXPIRED":case"CODEX_SESSION_VERSION_INCOMPATIBLE":case"STALE_SESSION_ANCHOR":return 409;case"RUNTIME_UNAVAILABLE":return 503;case"OPERATION_NOT_SUPPORTED":return 405;default:return 400}return 500}},1489:(e,t,r)=>{r.d(t,{N:()=>u});var s=r(1322),n=r(6279),i=r(785);class a{constructor(){this.tasks=new s.vo4((0,i.kO)()),this.scheduler=new n.ST(this.tasks,e=>{this.fire(e).catch(e=>console.error("Scheduled Customer Agent run failed",e))},()=>{}),this.scheduler.start()}async fire(e){let{agentHost:t}=await r.e(7519).then(r.bind(r,7519)),{getCustomerGoalCoordinator:s}=await Promise.all([r.e(7519),r.e(732)]).then(r.bind(r,5038)),n=e.sessionId;n&&await t.getSessionStore().get(n)||(n=(await t.createSession(e.label||"定时任务")).id,this.tasks.update(e.id,{sessionId:n})),await s().enqueue(n,e.prompt)}call(e,t){let r=String(t[0]||"");switch(e){case"cronList":return this.tasks.list();case"cronCreate":{if("string"!=typeof t[0]||"string"!=typeof t[1]||!t[1].trim())throw Error("cron and prompt required");let e=t[2]&&"object"==typeof t[2]?t[2]:{};return this.tasks.create({cron:t[0],prompt:t[1],recurring:!1!==e.recurring,enabled:!0,durable:!0,..."string"==typeof e.sessionId?{sessionId:e.sessionId}:{},..."string"==typeof e.label?{label:e.label}:{}})}case"cronPause":return this.tasks.pause(r);case"cronResume":return this.tasks.resume(r);case"cronDelete":return this.tasks.delete(r);case"cronDeleteAll":return this.tasks.deleteAll(),{ok:!0};default:throw Error("Unsupported schedule operation")}}}let o=globalThis;function u(){return o.__sharedCronService??=new a}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[8375,6703,6244,1322,1773,4621,7519],()=>r(1799));module.exports=s})();
1
+ "use strict";(()=>{var e={};e.id=8195,e.ids=[8195],e.modules={7728:e=>{e.exports=require("@anthropic-ai/claude-agent-sdk")},5890:e=>{e.exports=require("better-sqlite3")},399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},1282:e=>{e.exports=require("child_process")},2048:e=>{e.exports=require("fs")},9801:e=>{e.exports=require("os")},5315:e=>{e.exports=require("path")},7718:e=>{e.exports=require("node:child_process")},6005:e=>{e.exports=require("node:crypto")},5673:e=>{e.exports=require("node:events")},7561:e=>{e.exports=require("node:fs")},3977:e=>{e.exports=require("node:fs/promises")},8849:e=>{e.exports=require("node:http")},2286:e=>{e.exports=require("node:https")},2033:e=>{e.exports=require("node:module")},7503:e=>{e.exports=require("node:net")},612:e=>{e.exports=require("node:os")},9411:e=>{e.exports=require("node:path")},1747:e=>{e.exports=require("node:readline")},4492:e=>{e.exports=require("node:stream")},6915:e=>{e.exports=require("node:string_decoder")},1041:e=>{e.exports=require("node:url")},5881:e=>{e.exports=require("node:util")},1033:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>w,patchFetch:()=>f,requestAsyncStorage:()=>p,routeModule:()=>d,serverHooks:()=>m,staticGenerationAsyncStorage:()=>h});var s={};r.r(s),r.d(s,{POST:()=>c});var n=r(7786),i=r(5042),a=r(2184),o=r(1890),u=r(7519),l=r(1614);async function c(e){try{let t=await e.json();if(!t.questionId||!t.answer)return o.NextResponse.json({error:"questionId and answer are required"},{status:400});let r=u.agentHost.answerQuestion(t.questionId,t.answer,t.selectedIndices);if(r||(r=await (0,l.NL)().answerQuestion(t.questionId,{answer:t.answer,selectedIndices:t.selectedIndices})),!r)return o.NextResponse.json({error:"Question not found or already answered"},{status:404});return o.NextResponse.json({ok:!0})}catch(e){return o.NextResponse.json({error:e instanceof Error?e.message:"Internal error"},{status:(0,l.WW)(e)})}}let d=new n.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/api/agent/answer/route",pathname:"/api/agent/answer",filename:"route",bundlePath:"app/api/agent/answer/route"},resolvedPagePath:"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/app/api/agent/answer/route.ts",nextConfigOutput:"standalone",userland:s}),{requestAsyncStorage:p,staticGenerationAsyncStorage:h,serverHooks:m}=d,w="/api/agent/answer/route";function f(){return(0,a.patchFetch)({serverHooks:m,staticGenerationAsyncStorage:h})}},1614:(e,t,r)=>{r.d(t,{NL:()=>N,V_:()=>E,WW:()=>I});var s=r(7561),n=r(612),i=r(9411),a=r(7718),o=r(1322);function u(e){if(!e.trim())return!1;try{return(0,s.accessSync)(e,s.constants.X_OK),!0}catch{return!1}}function l(e){try{return(0,o.wyD)((0,a.execFileSync)(e,["--version"],{encoding:"utf8",timeout:5e3,stdio:["ignore","pipe","pipe"]}))}catch{return}}function c(e){let t=[],r=process.env[e.environmentVariable]?.trim();if(r){let s=u(r);t.push({source:"pin",path:r,executable:s,version:s?l(r):void 0,error:s?void 0:`${e.environmentVariable} "${r}" is not executable`})}let s=function(e){for(let t of(process.env.PATH??"").split(i.delimiter).filter(Boolean)){let r=(0,i.resolve)(t,e);if(u(r))return r}}(e.name);return s&&s!==r&&t.push({source:"path",path:s,executable:!0,version:l(s)}),(0,o.neJ)(t,{name:e.name,minimumVersion:e.minimumVersion})}var d=r(535),p=r(6279),h=r(785);let m=globalThis;class w{constructor(e,t=async()=>[],r=process.platform){this.runtime=e,this.listProjects=t,this.platform=r,this.pendingCreations=new Map}health(){return this.runtime.health()}listModels(e){return this.runtime.listModels(e)}listWorkspaces(e,t){return this.runtime.listWorkspaces(e,t)}importWorkspace(e,t,r){if(!this.runtime.importWorkspace)throw new p.no("Native workspace import is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.importWorkspace(e,t,r)}async listWorkspaceSessions(e,t,r){let s=await this.runtime.listWorkspaceSessions(e,t,r);if(r?.cursor)return s;let n=new Set(s.data.map(e=>e.id)),i=s.data.map(e=>{let t=this.pendingCreations.get(e.id);return t?(this.pendingCreations.delete(e.id),f(e,t)):e});for(let r of this.pendingCreations.values())r.agentType!==e||r.projectId!==t||n.has(r.id)||i.unshift(r);return{...s,data:i}}async list(e){let[t,r]=await Promise.all([this.runtime.list(),this.listProjects()]);return P(this.withPendingCreations(t).map(e=>O(e,r,this.platform)),e)}async refresh(e){let[t,r]=await Promise.all([this.runtime.refresh(),this.listProjects()]);return P(this.withPendingCreations(t).map(e=>O(e,r,this.platform)),e)}async create(e){let t=O(await this.runtime.create(e),await this.listProjects(),this.platform),r=e.projectId?{...t,projectId:e.projectId}:t;return this.pendingCreations.set(r.id,r),r}async fork(e){if(!E(e))throw new p.no("Customer Agent sessions do not support native forks","OPERATION_NOT_SUPPORTED");let t=O(await this.runtime.fork(e),await this.listProjects(),this.platform);return this.pendingCreations.set(t.id,t),t}async delete(e){await this.runtime.delete(e),this.pendingCreations.delete(e)}async get(e,t){let r;try{r=await this.runtime.get(e,t)}catch(s){let r=this.pendingCreations.get(e);if(!r)throw s;return t?{...r,messages:[],events:[],history:{nextCursor:null,hasMore:!1,pageSize:0,totalItems:0}}:{...r,messages:[],events:[]}}return O(r,await this.listProjects(),this.platform)}async getQueryIndex(e){if(this.runtime.getQueryIndex)return this.runtime.getQueryIndex(e);let t=await this.runtime.get(e),{buildSessionQueryIndex:s}=await Promise.resolve().then(r.bind(r,1322));return s(e,t.messages)}getSessionToolResult(e,t){return this.runtime.getSessionToolResult(e,t)}getSessionWatchPath(e){return this.runtime.getSessionWatchPath(e)}run(e,t,r,s,n){return this.runtime.run(e,t,r,s,n)}steer(e,t){return this.runtime.steer(e,t)}abort(e){return this.runtime.abort(e)}async release(e){if(!this.runtime.release)throw new p.no("Native runtime release is unavailable","RUNTIME_UNAVAILABLE");await this.runtime.release(e)}answerQuestion(e,t){return this.runtime.answerQuestion(e,t)}async startRun(e,t,r,s="web",n){if(!this.runtime.startRun)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.startRun(e,t,r,s,n)}async subscribe(e,t,r){if(!this.runtime.subscribe)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.subscribe(e,t,r)}async snapshot(e,t=0){if(!this.runtime.snapshot)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.snapshot(e,t)}async setPermissionMode(e,t){if(!this.runtime.setPermissionMode)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.setPermissionMode(e,t)}async handoff(e,t){if(!this.runtime.handoff)throw new p.no("Native runtime broker is unavailable","RUNTIME_UNAVAILABLE");return this.runtime.handoff(e,t)}async getGoals(e,t="web"){if(!this.runtime.getGoals)throw new p.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.getGoals(e,t)}async enqueueGoal(e,t,r,s="web"){if(!this.runtime.enqueueGoal)throw new p.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.enqueueGoal(e,t,r,s)}async reorderGoals(e,t){if(!this.runtime.reorderGoals)throw new p.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.reorderGoals(e,t)}async cancelGoal(e,t){if(!this.runtime.cancelGoal)throw new p.no("Goal mode is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.cancelGoal(e,t,"web")}async enqueueMessage(e,t,r="web"){if(!this.runtime.enqueueMessage)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.enqueueMessage(e,t,r)}async reorderMessages(e,t){if(!this.runtime.reorderMessages)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.reorderMessages(e,t)}async updateMessage(e,t,r,s){if(!this.runtime.updateMessage)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.updateMessage(e,t,r,s)}async cancelMessage(e,t){if(!this.runtime.cancelMessage)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.cancelMessage(e,t)}async steerMessage(e,t){if(!this.runtime.steerMessage)throw new p.no("Message queue is unavailable","OPERATION_NOT_SUPPORTED");return this.runtime.steerMessage(e,t)}withPendingCreations(e){let t=new Set,r=e.map(e=>{t.add(e.id);let r=this.pendingCreations.get(e.id);return this.pendingCreations.delete(e.id),r?f(e,r):e});return[...[...this.pendingCreations.values()].filter(e=>!t.has(e.id)).sort((e,t)=>t.updated.localeCompare(e.updated)),...r]}}function f(e,t){return{...e,cwd:e.cwd||t.cwd,projectId:e.projectId??t.projectId}}function g(e,t){t.executable?delete process.env[e]:process.env[e]=t.detail}function N(){if(!m.__nativeRuntimeService){!function(){let e=[(0,i.join)((0,n.homedir)(),".local","bin"),"/opt/homebrew/bin","/usr/local/bin"],t=(process.env.PATH??"").split(i.delimiter),r=e.filter(e=>(0,s.existsSync)(e)&&!t.includes(e));r.length>0&&(process.env.PATH=[...t,...r].join(i.delimiter))}();let e=new o.XWE((0,h.kO)());m.__nativeRuntimeService=new w((0,p.v6)({runtimeFactory:e=>{let t=c({name:"codex",environmentVariable:"AGENT_CODEX_BIN",minimumVersion:o.hix}),r=c({name:"opencode",environmentVariable:"AGENT_OPENCODE_BIN"});return process.pid,g("AGENT_CODEX_RUNTIME_ERROR",t),g("AGENT_OPENCODE_RUNTIME_ERROR",r),(0,d.L)().info("native runtime host elected",{pid:process.pid,codex:t.executable??null,codexSource:t.source??null,codexDetail:t.detail,opencode:r.executable??null,opencodeDetail:r.detail}),(0,p.WH)(t.executable??"codex",e,r.executable??"opencode")}}),()=>e.list())}return m.__nativeRuntimeService}function O(e,t,r=process.platform){let{projectId:s,...n}=e;if(!e.cwd)return n;let a=v(e.cwd,r),o="win32"===r?i.win32.sep:i.sep,u=t.filter(e=>e.description).map(e=>({project:e,path:v(e.description,r)})).filter(({path:e})=>a===e||a.startsWith(`${e}${o}`)).sort((e,t)=>t.path.length-e.path.length)[0];return u?{...n,projectId:u.project.id}:n}function v(e,t=process.platform){if("win32"!==t)return(0,i.resolve)(e);let r=i.win32.resolve(e),s=i.win32.parse(r).root;return(r.length>s.length?r.replace(/[\\/]+$/,""):r).toLowerCase()}function P(e,t){return void 0===t?e:e.filter(e=>e.projectId===t)}function E(e){try{return"customer-agent"!==(0,p.Vu)(e).agentType}catch{return!1}}function I(e){if(e instanceof p.no)switch(e.code){case"SESSION_NOT_FOUND":return 404;case"SESSION_OCCUPIED":case"SESSION_ALREADY_RUNNING":case"APPROVAL_EXPIRED":case"CODEX_SESSION_VERSION_INCOMPATIBLE":case"STALE_SESSION_ANCHOR":return 409;case"RUNTIME_UNAVAILABLE":return 503;case"OPERATION_NOT_SUPPORTED":return 405;default:return 400}return 500}},1489:(e,t,r)=>{r.d(t,{N:()=>u});var s=r(1322),n=r(6279),i=r(785);class a{constructor(){this.tasks=new s.vo4((0,i.kO)()),this.scheduler=new n.ST(this.tasks,e=>{this.fire(e).catch(e=>console.error("Scheduled Customer Agent run failed",e))},()=>{}),this.scheduler.start()}async fire(e){let{agentHost:t}=await r.e(7519).then(r.bind(r,7519)),{getCustomerGoalCoordinator:s}=await Promise.all([r.e(7519),r.e(732)]).then(r.bind(r,732)),n=e.sessionId;n&&await t.getSessionStore().get(n)||(n=(await t.createSession(e.label||"定时任务")).id,this.tasks.update(e.id,{sessionId:n})),await s().enqueue(n,e.prompt)}call(e,t){let r=String(t[0]||"");switch(e){case"cronList":return this.tasks.list();case"cronCreate":{if("string"!=typeof t[0]||"string"!=typeof t[1]||!t[1].trim())throw Error("cron and prompt required");let e=t[2]&&"object"==typeof t[2]?t[2]:{};return this.tasks.create({cron:t[0],prompt:t[1],recurring:!1!==e.recurring,enabled:!0,durable:!0,..."string"==typeof e.sessionId?{sessionId:e.sessionId}:{},..."string"==typeof e.label?{label:e.label}:{}})}case"cronPause":return this.tasks.pause(r);case"cronResume":return this.tasks.resume(r);case"cronDelete":return this.tasks.delete(r);case"cronDeleteAll":return this.tasks.deleteAll(),{ok:!0};default:throw Error("Unsupported schedule operation")}}}let o=globalThis;function u(){return o.__sharedCronService??=new a}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[8375,6703,6244,1322,1773,4621,7519],()=>r(1033));module.exports=s})();
@@ -1 +1 @@
1
- "use strict";(()=>{var e={};e.id=5044,e.ids=[5044],e.modules={7728:e=>{e.exports=require("@anthropic-ai/claude-agent-sdk")},5890:e=>{e.exports=require("better-sqlite3")},399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},1282:e=>{e.exports=require("child_process")},2048:e=>{e.exports=require("fs")},9801:e=>{e.exports=require("os")},5315:e=>{e.exports=require("path")},7718:e=>{e.exports=require("node:child_process")},6005:e=>{e.exports=require("node:crypto")},5673:e=>{e.exports=require("node:events")},7561:e=>{e.exports=require("node:fs")},3977:e=>{e.exports=require("node:fs/promises")},8849:e=>{e.exports=require("node:http")},2286:e=>{e.exports=require("node:https")},2033:e=>{e.exports=require("node:module")},7503:e=>{e.exports=require("node:net")},612:e=>{e.exports=require("node:os")},9411:e=>{e.exports=require("node:path")},1747:e=>{e.exports=require("node:readline")},4492:e=>{e.exports=require("node:stream")},6915:e=>{e.exports=require("node:string_decoder")},1041:e=>{e.exports=require("node:url")},7261:e=>{e.exports=require("node:util")},3622:(e,r,t)=>{t.r(r),t.d(r,{originalPathname:()=>g,patchFetch:()=>q,requestAsyncStorage:()=>l,routeModule:()=>c,serverHooks:()=>x,staticGenerationAsyncStorage:()=>h});var s={};t.r(s),t.d(s,{GET:()=>d,dynamic:()=>p});var o=t(7786),n=t(5042),a=t(2184),i=t(1890),u=t(7519);let p="force-dynamic";async function d(){return i.NextResponse.json(u.agentHost.getHarnessStatus(),{headers:{"cache-control":"no-store"}})}let c=new o.AppRouteRouteModule({definition:{kind:n.x.APP_ROUTE,page:"/api/agent/harness/status/route",pathname:"/api/agent/harness/status",filename:"route",bundlePath:"app/api/agent/harness/status/route"},resolvedPagePath:"/Volumes/ext/project/team-agent/packages/server/app/api/agent/harness/status/route.ts",nextConfigOutput:"standalone",userland:s}),{requestAsyncStorage:l,staticGenerationAsyncStorage:h,serverHooks:x}=c,g="/api/agent/harness/status/route";function q(){return(0,a.patchFetch)({serverHooks:x,staticGenerationAsyncStorage:h})}},1489:(e,r,t)=>{t.d(r,{N:()=>u});var s=t(1322),o=t(6279),n=t(785);class a{constructor(){this.tasks=new s.vo4((0,n.kO)()),this.scheduler=new o.ST(this.tasks,e=>{this.fire(e).catch(e=>console.error("Scheduled Customer Agent run failed",e))},()=>{}),this.scheduler.start()}async fire(e){let{agentHost:r}=await t.e(7519).then(t.bind(t,7519)),{getCustomerGoalCoordinator:s}=await Promise.all([t.e(7519),t.e(732)]).then(t.bind(t,5038)),o=e.sessionId;o&&await r.getSessionStore().get(o)||(o=(await r.createSession(e.label||"定时任务")).id,this.tasks.update(e.id,{sessionId:o})),await s().enqueue(o,e.prompt)}call(e,r){let t=String(r[0]||"");switch(e){case"cronList":return this.tasks.list();case"cronCreate":{if("string"!=typeof r[0]||"string"!=typeof r[1]||!r[1].trim())throw Error("cron and prompt required");let e=r[2]&&"object"==typeof r[2]?r[2]:{};return this.tasks.create({cron:r[0],prompt:r[1],recurring:!1!==e.recurring,enabled:!0,durable:!0,..."string"==typeof e.sessionId?{sessionId:e.sessionId}:{},..."string"==typeof e.label?{label:e.label}:{}})}case"cronPause":return this.tasks.pause(t);case"cronResume":return this.tasks.resume(t);case"cronDelete":return this.tasks.delete(t);case"cronDeleteAll":return this.tasks.deleteAll(),{ok:!0};default:throw Error("Unsupported schedule operation")}}}let i=globalThis;function u(){return i.__sharedCronService??=new a}}};var r=require("../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[8375,6703,6244,1322,1773,4621,7519],()=>t(3622));module.exports=s})();
1
+ "use strict";(()=>{var e={};e.id=5044,e.ids=[5044],e.modules={7728:e=>{e.exports=require("@anthropic-ai/claude-agent-sdk")},5890:e=>{e.exports=require("better-sqlite3")},399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},1282:e=>{e.exports=require("child_process")},2048:e=>{e.exports=require("fs")},9801:e=>{e.exports=require("os")},5315:e=>{e.exports=require("path")},7718:e=>{e.exports=require("node:child_process")},6005:e=>{e.exports=require("node:crypto")},5673:e=>{e.exports=require("node:events")},7561:e=>{e.exports=require("node:fs")},3977:e=>{e.exports=require("node:fs/promises")},8849:e=>{e.exports=require("node:http")},2286:e=>{e.exports=require("node:https")},2033:e=>{e.exports=require("node:module")},7503:e=>{e.exports=require("node:net")},612:e=>{e.exports=require("node:os")},9411:e=>{e.exports=require("node:path")},1747:e=>{e.exports=require("node:readline")},4492:e=>{e.exports=require("node:stream")},6915:e=>{e.exports=require("node:string_decoder")},1041:e=>{e.exports=require("node:url")},5881:e=>{e.exports=require("node:util")},2096:(e,r,t)=>{t.r(r),t.d(r,{originalPathname:()=>q,patchFetch:()=>g,requestAsyncStorage:()=>l,routeModule:()=>c,serverHooks:()=>x,staticGenerationAsyncStorage:()=>h});var s={};t.r(s),t.d(s,{GET:()=>d,dynamic:()=>p});var o=t(7786),n=t(5042),a=t(2184),i=t(1890),u=t(7519);let p="force-dynamic";async function d(){return i.NextResponse.json(u.agentHost.getHarnessStatus(),{headers:{"cache-control":"no-store"}})}let c=new o.AppRouteRouteModule({definition:{kind:n.x.APP_ROUTE,page:"/api/agent/harness/status/route",pathname:"/api/agent/harness/status",filename:"route",bundlePath:"app/api/agent/harness/status/route"},resolvedPagePath:"/Users/caoqu/.codex/worktrees/npm-preview-34/customer-agent/packages/server/app/api/agent/harness/status/route.ts",nextConfigOutput:"standalone",userland:s}),{requestAsyncStorage:l,staticGenerationAsyncStorage:h,serverHooks:x}=c,q="/api/agent/harness/status/route";function g(){return(0,a.patchFetch)({serverHooks:x,staticGenerationAsyncStorage:h})}},1489:(e,r,t)=>{t.d(r,{N:()=>u});var s=t(1322),o=t(6279),n=t(785);class a{constructor(){this.tasks=new s.vo4((0,n.kO)()),this.scheduler=new o.ST(this.tasks,e=>{this.fire(e).catch(e=>console.error("Scheduled Customer Agent run failed",e))},()=>{}),this.scheduler.start()}async fire(e){let{agentHost:r}=await t.e(7519).then(t.bind(t,7519)),{getCustomerGoalCoordinator:s}=await Promise.all([t.e(7519),t.e(732)]).then(t.bind(t,732)),o=e.sessionId;o&&await r.getSessionStore().get(o)||(o=(await r.createSession(e.label||"定时任务")).id,this.tasks.update(e.id,{sessionId:o})),await s().enqueue(o,e.prompt)}call(e,r){let t=String(r[0]||"");switch(e){case"cronList":return this.tasks.list();case"cronCreate":{if("string"!=typeof r[0]||"string"!=typeof r[1]||!r[1].trim())throw Error("cron and prompt required");let e=r[2]&&"object"==typeof r[2]?r[2]:{};return this.tasks.create({cron:r[0],prompt:r[1],recurring:!1!==e.recurring,enabled:!0,durable:!0,..."string"==typeof e.sessionId?{sessionId:e.sessionId}:{},..."string"==typeof e.label?{label:e.label}:{}})}case"cronPause":return this.tasks.pause(t);case"cronResume":return this.tasks.resume(t);case"cronDelete":return this.tasks.delete(t);case"cronDeleteAll":return this.tasks.deleteAll(),{ok:!0};default:throw Error("Unsupported schedule operation")}}}let i=globalThis;function u(){return i.__sharedCronService??=new a}}};var r=require("../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[8375,6703,6244,1322,1773,4621,7519],()=>t(2096));module.exports=s})();