agentroam-runtime-darwin-arm64 0.2.0-preview.78 → 0.2.0-preview.79

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 (304) hide show
  1. package/manifest.json +2 -2
  2. package/package.json +1 -1
  3. package/runtime/.next/BUILD_ID +1 -1
  4. package/runtime/.next/app-build-manifest.json +8 -8
  5. package/runtime/.next/app-path-routes-manifest.json +1 -1
  6. package/runtime/.next/build-manifest.json +3 -3
  7. package/runtime/.next/prerender-manifest.json +1 -1
  8. package/runtime/.next/required-server-files.json +1 -1
  9. package/runtime/.next/server/app/_not-found/page.js +1 -1
  10. package/runtime/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  11. package/runtime/.next/server/app/_not-found.html +1 -1
  12. package/runtime/.next/server/app/_not-found.rsc +1 -1
  13. package/runtime/.next/server/app/api/agent/abort/route.js +1 -1
  14. package/runtime/.next/server/app/api/agent/answer/route.js +1 -1
  15. package/runtime/.next/server/app/api/agent/codex-sharing/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 +1 -1
  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 +3 -3
  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/calendar/route.js +2 -2
  28. package/runtime/.next/server/app/api/client-logs/route.js +1 -1
  29. package/runtime/.next/server/app/api/collaboration/route.js +2 -2
  30. package/runtime/.next/server/app/api/engine-threads/route.js +1 -1
  31. package/runtime/.next/server/app/api/engine-threads.body +1 -1
  32. package/runtime/.next/server/app/api/flow/v1/catalog/route.js +1 -1
  33. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/cancel/route.js +1 -1
  34. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/events/route.js +2 -2
  35. package/runtime/.next/server/app/api/flow/v1/runs/route.js +1 -1
  36. package/runtime/.next/server/app/api/flow-studio/config/route.js +1 -1
  37. package/runtime/.next/server/app/api/internal/todo-bootstrap/route.js +1 -1
  38. package/runtime/.next/server/app/api/internal/todo-mcp/route.js +1 -1
  39. package/runtime/.next/server/app/api/mcp/connect/route.js +1 -1
  40. package/runtime/.next/server/app/api/mcp/disconnect/route.js +1 -1
  41. package/runtime/.next/server/app/api/mcp/servers/route.js +1 -1
  42. package/runtime/.next/server/app/api/memory/[key]/route.js +1 -1
  43. package/runtime/.next/server/app/api/memory/route.js +1 -1
  44. package/runtime/.next/server/app/api/messaging/route.js +1 -1
  45. package/runtime/.next/server/app/api/notifications/[id]/ack/route.js +1 -1
  46. package/runtime/.next/server/app/api/notifications/[id]/route.js +1 -1
  47. package/runtime/.next/server/app/api/notifications/route.js +1 -1
  48. package/runtime/.next/server/app/api/notifications/stream/route.js +2 -2
  49. package/runtime/.next/server/app/api/plugins/load/route.js +1 -1
  50. package/runtime/.next/server/app/api/projects/[id]/route.js +1 -1
  51. package/runtime/.next/server/app/api/projects/check/route.js +1 -1
  52. package/runtime/.next/server/app/api/projects/directories/route.js +1 -1
  53. package/runtime/.next/server/app/api/projects/roots/route.js +1 -1
  54. package/runtime/.next/server/app/api/projects/route.js +1 -1
  55. package/runtime/.next/server/app/api/push/subscribe/route.js +2 -2
  56. package/runtime/.next/server/app/api/push/unsubscribe/route.js +3 -3
  57. package/runtime/.next/server/app/api/push/vapid/route.js +2 -2
  58. package/runtime/.next/server/app/api/remote-tools/register/route.js +1 -1
  59. package/runtime/.next/server/app/api/session-images/[id]/route.js +1 -1
  60. package/runtime/.next/server/app/api/session-views/route.js +1 -1
  61. package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/route.js +1 -1
  62. package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/stop/route.js +1 -1
  63. package/runtime/.next/server/app/api/sessions/[id]/background-jobs/route.js +1 -1
  64. package/runtime/.next/server/app/api/sessions/[id]/changes/route.js +2 -2
  65. package/runtime/.next/server/app/api/sessions/[id]/engine-switches/route.js +1 -1
  66. package/runtime/.next/server/app/api/sessions/[id]/fork/route.js +1 -1
  67. package/runtime/.next/server/app/api/sessions/[id]/fork-at/route.js +1 -1
  68. package/runtime/.next/server/app/api/sessions/[id]/goals/route.js +1 -1
  69. package/runtime/.next/server/app/api/sessions/[id]/handoff/route.js +1 -1
  70. package/runtime/.next/server/app/api/sessions/[id]/native-goal/route.js +1 -1
  71. package/runtime/.next/server/app/api/sessions/[id]/query-index/route.js +1 -1
  72. package/runtime/.next/server/app/api/sessions/[id]/release/route.js +1 -1
  73. package/runtime/.next/server/app/api/sessions/[id]/route.js +1 -1
  74. package/runtime/.next/server/app/api/sessions/[id]/switch-engine/route.js +1 -1
  75. package/runtime/.next/server/app/api/sessions/[id]/thread-goal/route.js +1 -1
  76. package/runtime/.next/server/app/api/sessions/[id]/thread-history/route.js +1 -1
  77. package/runtime/.next/server/app/api/sessions/[id]/tool-result/route.js +1 -1
  78. package/runtime/.next/server/app/api/sessions/parallel/route.js +1 -1
  79. package/runtime/.next/server/app/api/sessions/route.js +1 -1
  80. package/runtime/.next/server/app/api/settings/route.js +1 -1
  81. package/runtime/.next/server/app/api/skills/route.js +1 -1
  82. package/runtime/.next/server/app/api/todos/[id]/commands/route.js +1 -1
  83. package/runtime/.next/server/app/api/todos/[id]/executions/route.js +1 -1
  84. package/runtime/.next/server/app/api/todos/[id]/route.js +1 -1
  85. package/runtime/.next/server/app/api/todos/route.js +1 -1
  86. package/runtime/.next/server/app/api/tool-policies/[policyId]/route.js +1 -1
  87. package/runtime/.next/server/app/api/tool-policies/route.js +1 -1
  88. package/runtime/.next/server/app/api/tools/route.js +1 -1
  89. package/runtime/.next/server/app/api/update/check/route.js +1 -1
  90. package/runtime/.next/server/app/api/update/install/route.js +1 -1
  91. package/runtime/.next/server/app/api/update/status/route.js +1 -1
  92. package/runtime/.next/server/app/api/web-auth/login/route.js +1 -1
  93. package/runtime/.next/server/app/api/web-auth/logout/route.js +1 -1
  94. package/runtime/.next/server/app/api/web-auth/revoke-all/route.js +1 -1
  95. package/runtime/.next/server/app/api/web-auth/setup/route.js +1 -1
  96. package/runtime/.next/server/app/api/web-auth/status/route.js +1 -1
  97. package/runtime/.next/server/app/api/web-console/bootstrap/route.js +1 -1
  98. package/runtime/.next/server/app/api/web-console/computer-settings/route.js +1 -1
  99. package/runtime/.next/server/app/api/web-console/computers/route.js +1 -1
  100. package/runtime/.next/server/app/api/web-console/device-state/route.js +1 -1
  101. package/runtime/.next/server/app/api/web-console/history/route.js +1 -1
  102. package/runtime/.next/server/app/api/web-console/preferences/route.js +1 -1
  103. package/runtime/.next/server/app/api/workspace-changes/route.js +1 -1
  104. package/runtime/.next/server/app/web/page.js +4 -4
  105. package/runtime/.next/server/app/web/page_client-reference-manifest.js +1 -1
  106. package/runtime/.next/server/app-paths-manifest.json +44 -44
  107. package/runtime/.next/server/chunks/1298.js +1 -1
  108. package/runtime/.next/server/chunks/5303.js +2 -2
  109. package/runtime/.next/server/chunks/6703.js +1 -1
  110. package/runtime/.next/server/chunks/9119.js +2 -2
  111. package/runtime/.next/server/chunks/9457.js +1 -1
  112. package/runtime/.next/server/middleware-build-manifest.js +1 -1
  113. package/runtime/.next/server/pages/404.html +1 -1
  114. package/runtime/.next/server/pages/500.html +1 -1
  115. package/runtime/.next/server/server-reference-manifest.json +1 -1
  116. package/runtime/.next/static/chunks/app/web/{error-828d278147a0619d.js → error-fac7681c6397fcd7.js} +1 -1
  117. package/runtime/.next/static/chunks/app/web/layout-79492e587e5930cf.js +1 -0
  118. package/runtime/.next/static/chunks/app/web/{page-bafdaa23fa1dc1c4.js → page-0f06deb6eb4d49e0.js} +1 -1
  119. package/runtime/.next/static/chunks/main-app-0c7cccb2825ad747.js +1 -0
  120. package/runtime/lib/mesh/headscale-client.mjs +81 -0
  121. package/runtime/lib/mesh/mesh-gateway.mjs +168 -0
  122. package/runtime/lib/mesh/mesh-service.mjs +158 -0
  123. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/MacOS/agentroam-remote-desktop +0 -0
  124. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/Resources/agentroam-component.json +1 -1
  125. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/_CodeSignature/CodeResources +2 -2
  126. package/runtime/node_modules/.package-lock.json +17 -17
  127. package/runtime/node_modules/@agent/native-runtime/dist/index.js +46 -16
  128. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/bridge.mjs +58 -58
  129. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.js +46 -46
  130. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-n0k9q0s3.mjs → core-2g5j09ba.mjs} +2 -2
  131. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-59ydwk0g.mjs +17 -0
  132. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-76wf4hmr.mjs → core-664d5mmy.mjs} +2 -2
  133. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-ypdsx2xc.mjs → core-70sfhqm6.mjs} +2 -2
  134. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-95gcz3n1.mjs +38 -0
  135. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-ew5sfvfe.mjs +39 -0
  136. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-gjhs7gf6.mjs +20 -0
  137. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-31xm3p73.mjs → core-kvdt1szx.mjs} +4 -4
  138. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-p654hjkr.mjs +22 -0
  139. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-q9bjbxkv.mjs +19 -0
  140. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-samdvsjh.mjs +33 -0
  141. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-09fdstw7.mjs → core-x6bt758j.mjs} +3 -3
  142. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core.mjs +12 -12
  143. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.json +21 -21
  144. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.zst.json +25 -25
  145. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/package.json +22 -22
  146. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +78 -78
  147. package/runtime/node_modules/caniuse-lite/package.json +1 -1
  148. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.cjs +17 -3
  149. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.cjs +3 -3
  150. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.mjs +3 -3
  151. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.mjs +17 -3
  152. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.node.cjs +17 -3
  153. package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-demuxer.js +4 -1
  154. package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-muxer.js +7 -2
  155. package/runtime/node_modules/mediabunny/dist/modules/src/matroska/matroska-demuxer.js +3 -0
  156. package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-muxer.js +2 -2
  157. package/runtime/node_modules/mediabunny/dist/modules/src/tsconfig.tsbuildinfo +1 -1
  158. package/runtime/node_modules/mediabunny/dist/modules/src/version.js +1 -1
  159. package/runtime/node_modules/mediabunny/package.json +1 -1
  160. package/runtime/node_modules/mediabunny/src/isobmff/isobmff-demuxer.ts +5 -1
  161. package/runtime/node_modules/mediabunny/src/isobmff/isobmff-muxer.ts +10 -2
  162. package/runtime/node_modules/mediabunny/src/matroska/matroska-demuxer.ts +4 -0
  163. package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-muxer.ts +2 -2
  164. package/runtime/node_modules/mediabunny/src/version.ts +1 -1
  165. package/runtime/package-lock.json +41 -41
  166. package/runtime/server.js +1 -1
  167. package/runtime/webapp/dist/assets/{AIHubView-C0eIFauh.js → AIHubView-4kqTaPjO.js} +1 -1
  168. package/runtime/webapp/dist/assets/{AgentManager-B7kG8iLS.js → AgentManager-CDgiLqF_.js} +1 -1
  169. package/runtime/webapp/dist/assets/{AiHubPane-DB6b6Via.js → AiHubPane-C070jRHe.js} +1 -1
  170. package/runtime/webapp/dist/assets/App-iZlxRHaL.js +68 -0
  171. package/runtime/webapp/dist/assets/{BrowserLivePanel-BgftwEHQ.js → BrowserLivePanel-DxjgVXXK.js} +1 -1
  172. package/runtime/webapp/dist/assets/{CalendarPage-sg7SzvUh.js → CalendarPage-CxPVBlzd.js} +1 -1
  173. package/runtime/webapp/dist/assets/{CalendarView-C5z_2esa.js → CalendarView-CS-OG-13.js} +1 -1
  174. package/runtime/webapp/dist/assets/{CollaborationCreateDialog-DuEnjSu9.js → CollaborationCreateDialog-tI6S1cha.js} +1 -1
  175. package/runtime/webapp/dist/assets/{CollaborationDashboard-O13tTlEe.js → CollaborationDashboard-DSZa3Cns.js} +1 -1
  176. package/runtime/webapp/dist/assets/{CollaborationPage-DIKDOl8G.js → CollaborationPage-COyvllTJ.js} +1 -1
  177. package/runtime/webapp/dist/assets/{FilePreview-BfkF9hjw.js → FilePreview-CcJXlLge.js} +3 -3
  178. package/runtime/webapp/dist/assets/{FileTree-pbVSSQnM.js → FileTree-BuhW-pqR.js} +1 -1
  179. package/runtime/webapp/dist/assets/{FileWorkspaceDrawer-YcKPTu23.js → FileWorkspaceDrawer-ByWXnJ0B.js} +1 -1
  180. package/runtime/webapp/dist/assets/{FlowStudioPane-D7gzm1M_.js → FlowStudioPane-CxQ-QIOf.js} +1 -1
  181. package/runtime/webapp/dist/assets/{HostProjectPicker-7zvVzftL.js → HostProjectPicker--J4_JpSW.js} +1 -1
  182. package/runtime/webapp/dist/assets/{LSPServerList-BfbJdHYJ.js → LSPServerList-fkagcDVv.js} +1 -1
  183. package/runtime/webapp/dist/assets/{MCPServerList-A1SAlHdR.js → MCPServerList-w7tetX3J.js} +1 -1
  184. package/runtime/webapp/dist/assets/{MemoryViewer-fFtBJzgz.js → MemoryViewer-Xac9EeaV.js} +1 -1
  185. package/runtime/webapp/dist/assets/{NewSessionWindow-Ce2M6IVa.js → NewSessionWindow-C460-gxX.js} +1 -1
  186. package/runtime/webapp/dist/assets/{RemoteDesktopPage-kP5Qzh6n.js → RemoteDesktopPage-BniHztmt.js} +1 -1
  187. package/runtime/webapp/dist/assets/{RemoteDesktopTabBridge-tJcxPHnZ.js → RemoteDesktopTabBridge-BF1dFltY.js} +1 -1
  188. package/runtime/webapp/dist/assets/{RunningSessionsIcon-DuoG6Hgs.js → RunningSessionsIcon-D6rY-IzV.js} +1 -1
  189. package/runtime/webapp/dist/assets/{SessionDashboard-DGfTYjbZ.js → SessionDashboard-D868NjZ_.js} +1 -1
  190. package/runtime/webapp/dist/assets/{SessionDashboardBridge-Cw8Y0s5_.js → SessionDashboardBridge-AhmhQ1Xn.js} +1 -1
  191. package/runtime/webapp/dist/assets/{SettingsPanel-DCME-IZC.js → SettingsPanel-DoDRBreZ.js} +1 -1
  192. package/runtime/webapp/dist/assets/{SkillManager-CFHcSwEr.js → SkillManager-Da7bpT-s.js} +1 -1
  193. package/runtime/webapp/dist/assets/{TaskPaneTerminal-BozZNjMj.js → TaskPaneTerminal-DTDU88Rr.js} +1 -1
  194. package/runtime/webapp/dist/assets/{TerminalPane-CPlks8Nc.js → TerminalPane-_dVVs00I.js} +1 -1
  195. package/runtime/webapp/dist/assets/TodoPage-Bqu8bqNk.js +1 -0
  196. package/runtime/webapp/dist/assets/{abnfDiagram-VCTEODGH-DoUDteiL.js → abnfDiagram-VCTEODGH-D3GW7M1R.js} +1 -1
  197. package/runtime/webapp/dist/assets/{arc-Cao4pQp2.js → arc-CkEemU1L.js} +1 -1
  198. package/runtime/webapp/dist/assets/{architectureDiagram-5GKGNRK7-BvZ3G5rB.js → architectureDiagram-5GKGNRK7-GYQtcFLY.js} +1 -1
  199. package/runtime/webapp/dist/assets/{blockDiagram-I7D4REHJ-DNv3qaVA.js → blockDiagram-I7D4REHJ-D5_bj13P.js} +1 -1
  200. package/runtime/webapp/dist/assets/{c4Diagram-7LVT6UL2-DtL8WSam.js → c4Diagram-7LVT6UL2-Cyg1YunN.js} +1 -1
  201. package/runtime/webapp/dist/assets/{calendar-days-DpxojDWK.js → calendar-days-B1Mn3x8A.js} +1 -1
  202. package/runtime/webapp/dist/assets/channel-CnNsi-lz.js +1 -0
  203. package/runtime/webapp/dist/assets/{check-CY3GCzxa.js → check-D-yTByNl.js} +1 -1
  204. package/runtime/webapp/dist/assets/{chevron-down-FeW7FcBS.js → chevron-down-hiPnZS_M.js} +1 -1
  205. package/runtime/webapp/dist/assets/{chevron-right-Bnd4FK8S.js → chevron-right-DKsui_wS.js} +1 -1
  206. package/runtime/webapp/dist/assets/{chunk-2Q5K7J3B-Jc2d8B_h.js → chunk-2Q5K7J3B-ZYdmLJUM.js} +1 -1
  207. package/runtime/webapp/dist/assets/{chunk-5VM5RSS4-BbY9artS.js → chunk-5VM5RSS4-C-zA5MxE.js} +1 -1
  208. package/runtime/webapp/dist/assets/{chunk-F27PBJKO-B9uG6DBE.js → chunk-F27PBJKO-cWERJSPb.js} +1 -1
  209. package/runtime/webapp/dist/assets/{chunk-IMKFNOWR-Dta3lxIg.js → chunk-IMKFNOWR-BDqkH2_j.js} +1 -1
  210. package/runtime/webapp/dist/assets/{chunk-JWPE2WC7-DhBjDzbj.js → chunk-JWPE2WC7-D0hOf4wm.js} +1 -1
  211. package/runtime/webapp/dist/assets/{chunk-POPQ4Y6H-D51fNP6n.js → chunk-POPQ4Y6H-bGKHqXLU.js} +1 -1
  212. package/runtime/webapp/dist/assets/{chunk-SVP7TREG-DQ8c4Knv.js → chunk-SVP7TREG-DbzwWcno.js} +1 -1
  213. package/runtime/webapp/dist/assets/{chunk-TICWLB2K-BIDOV_Vx.js → chunk-TICWLB2K-CmCx8YTb.js} +1 -1
  214. package/runtime/webapp/dist/assets/{chunk-XXDRQBXY-C-y59lCL.js → chunk-XXDRQBXY-COAufrJq.js} +1 -1
  215. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-DVRTvUTS.js +1 -0
  216. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-DVRTvUTS.js +1 -0
  217. package/runtime/webapp/dist/assets/{client-ZvcI0WiM.js → client-5Hu1eVTX.js} +1 -1
  218. package/runtime/webapp/dist/assets/{codeSyntax-DlCdufoQ.js → codeSyntax-Jy5nWtHv.js} +1 -1
  219. package/runtime/webapp/dist/assets/{collaboration-CeiB1Ihl.js → collaboration-DRFqpcAz.js} +1 -1
  220. package/runtime/webapp/dist/assets/{composer-file-routing-CFoCNmv7.js → composer-file-routing-BtvXnu_o.js} +1 -1
  221. package/runtime/webapp/dist/assets/{cose-bilkent-JH36ORCC-Do2xoVHK.js → cose-bilkent-JH36ORCC-BU8MmGqT.js} +1 -1
  222. package/runtime/webapp/dist/assets/{cynefin-OW5HDTMX-CRC3uGN6.js → cynefin-OW5HDTMX-BHXgPQGq.js} +1 -1
  223. package/runtime/webapp/dist/assets/{cynefinDiagram-5FMLGOSQ-BD90NfUx.js → cynefinDiagram-5FMLGOSQ-DSJJ_PpM.js} +1 -1
  224. package/runtime/webapp/dist/assets/{dagre-GXQ25YYZ-BeO7O01r.js → dagre-GXQ25YYZ-pJr8jDyF.js} +1 -1
  225. package/runtime/webapp/dist/assets/{diagram-S7CK7UJ4-DGvd2V5u.js → diagram-S7CK7UJ4-BZ_7PPQn.js} +1 -1
  226. package/runtime/webapp/dist/assets/{diagram-UQ7AKVKN-_Ns2BTM0.js → diagram-UQ7AKVKN-c8pu5Rp4.js} +1 -1
  227. package/runtime/webapp/dist/assets/{diagram-VSXAHHWV-D45wsjUv.js → diagram-VSXAHHWV-D1xao_j-.js} +1 -1
  228. package/runtime/webapp/dist/assets/{diagram-VX7I27RA-B_898k8e.js → diagram-VX7I27RA-CnBWGCHa.js} +1 -1
  229. package/runtime/webapp/dist/assets/{diagram-Z3DM3KII-CdbHDj9L.js → diagram-Z3DM3KII-D-TCo4OF.js} +1 -1
  230. package/runtime/webapp/dist/assets/{download-Cy_rpjte.js → download-B2jLl85N.js} +1 -1
  231. package/runtime/webapp/dist/assets/{ebnfDiagram-PWID7BFC-eqVvfCy6.js → ebnfDiagram-PWID7BFC-BGBuf1T3.js} +1 -1
  232. package/runtime/webapp/dist/assets/{erDiagram-RLTQ6QDP-eRQEDuTP.js → erDiagram-RLTQ6QDP-D8rCYH4y.js} +1 -1
  233. package/runtime/webapp/dist/assets/{file-types-BsWJSk07.js → file-types-BZ8YZAV-.js} +1 -1
  234. package/runtime/webapp/dist/assets/{flowDiagram-HODETNUW-BLS4V7Zd.js → flowDiagram-HODETNUW-BJGQL6in.js} +1 -1
  235. package/runtime/webapp/dist/assets/{ganttDiagram-EL5Y4UJY-C1JdU9e_.js → ganttDiagram-EL5Y4UJY-K9o-Kk2M.js} +1 -1
  236. package/runtime/webapp/dist/assets/{gitGraphDiagram-WWUBYQGX-kAprA0xM.js → gitGraphDiagram-WWUBYQGX-BC2r8pLT.js} +1 -1
  237. package/runtime/webapp/dist/assets/{history-BGr6tFSR.js → history-Ci0s2eVL.js} +1 -1
  238. package/runtime/webapp/dist/assets/{image-plus-Cr9rDqvd.js → image-plus-Cx4LQVvj.js} +1 -1
  239. package/runtime/webapp/dist/assets/{index-CrjQF-VW.js → index-D1AQffdA.js} +3 -3
  240. package/runtime/webapp/dist/assets/{infoDiagram-27XIBGKW-DzUFk2zb.js → infoDiagram-27XIBGKW-bFnrh7W7.js} +1 -1
  241. package/runtime/webapp/dist/assets/{ishikawaDiagram-5VMMS53U-DETvimW1.js → ishikawaDiagram-5VMMS53U-Qun77xRt.js} +1 -1
  242. package/runtime/webapp/dist/assets/{journeyDiagram-3NMN7TZE-ZmlLOhVV.js → journeyDiagram-3NMN7TZE-DjCfoBNX.js} +1 -1
  243. package/runtime/webapp/dist/assets/{kanban-definition-UXKFOSKX-Q5j9iBkD.js → kanban-definition-UXKFOSKX-BJGlhVsx.js} +1 -1
  244. package/runtime/webapp/dist/assets/{layout-xVYWH0Cz.js → layout-CYTxygXU.js} +1 -1
  245. package/runtime/webapp/dist/assets/{linear-BD5xYHq0.js → linear-CzJGOwUm.js} +1 -1
  246. package/runtime/webapp/dist/assets/{list-todo-BJrNf0OF.js → list-todo-CP9DqU2D.js} +1 -1
  247. package/runtime/webapp/dist/assets/{loader-circle-BSDHoDXf.js → loader-circle-xEKTnlp3.js} +1 -1
  248. package/runtime/webapp/dist/assets/{locate-fixed-BBOLeIa6.js → locate-fixed-CfEojGOl.js} +1 -1
  249. package/runtime/webapp/dist/assets/{mermaid.core-XNny-og5.js → mermaid.core-BTbaaIjb.js} +5 -5
  250. package/runtime/webapp/dist/assets/{mindmap-definition-YA3MSWOX-CCuaFOfd.js → mindmap-definition-YA3MSWOX-eiKdbp4J.js} +1 -1
  251. package/runtime/webapp/dist/assets/{mobileViewport-Ckhq6eml.js → mobileViewport-DF1R6qR2.js} +1 -1
  252. package/runtime/webapp/dist/assets/{new-session-window-ThRZvGVK.js → new-session-window-BFILhYAe.js} +24 -24
  253. package/runtime/webapp/dist/assets/{page-DK2ooc8J.js → page-B-CkpInM.js} +3 -3
  254. package/runtime/webapp/dist/assets/{pause-BF1q8wFt.js → pause-C-ecDo3W.js} +1 -1
  255. package/runtime/webapp/dist/assets/{pegDiagram-XKGWAZYB-Dt2wEt-q.js → pegDiagram-XKGWAZYB-BuvePvoF.js} +1 -1
  256. package/runtime/webapp/dist/assets/{pieDiagram-E7YTZNPT-Bv5PR_0B.js → pieDiagram-E7YTZNPT-Csgh2lYE.js} +1 -1
  257. package/runtime/webapp/dist/assets/{pin-ByCe4NyB.js → pin-CjmuX5Tq.js} +1 -1
  258. package/runtime/webapp/dist/assets/{quadrantDiagram-AXDQQJYC-mUp15pA4.js → quadrantDiagram-AXDQQJYC-8Bbl_RHv.js} +1 -1
  259. package/runtime/webapp/dist/assets/{railroadDiagram-O6MQD6OU-CU79-JOl.js → railroadDiagram-O6MQD6OU-CvYQkIeK.js} +1 -1
  260. package/runtime/webapp/dist/assets/{requirementDiagram-BXWQKSXE-DosZrbGa.js → requirementDiagram-BXWQKSXE-CytOuQX4.js} +1 -1
  261. package/runtime/webapp/dist/assets/{rotate-ccw-DtSpwbK7.js → rotate-ccw-HY6j6nBt.js} +1 -1
  262. package/runtime/webapp/dist/assets/{rotate-cw-DdQZP8we.js → rotate-cw-CyYR2IEw.js} +1 -1
  263. package/runtime/webapp/dist/assets/{sankeyDiagram-P5KCCOFB-BWbz07Kw.js → sankeyDiagram-P5KCCOFB-BoyI7ZhF.js} +1 -1
  264. package/runtime/webapp/dist/assets/{send-CtGGbUpC.js → send-jSK0YaRl.js} +1 -1
  265. package/runtime/webapp/dist/assets/{sequenceDiagram-WJ2MYXX4-DeUcGtwv.js → sequenceDiagram-WJ2MYXX4-Ckvtmn2N.js} +1 -1
  266. package/runtime/webapp/dist/assets/{session-dashboard-7G2sKgmw.js → session-dashboard-B4lyuZYF.js} +1 -1
  267. package/runtime/webapp/dist/assets/{session-tree-Ck5Wp7h-.js → session-tree-CEy-pW8A.js} +1 -1
  268. package/runtime/webapp/dist/assets/{shield-check-BIxrmOwR.js → shield-check-CFebh9do.js} +1 -1
  269. package/runtime/webapp/dist/assets/{sizeCapture-INFHLROL-DPrrG2Kd.js → sizeCapture-INFHLROL-yUQjHNrI.js} +1 -1
  270. package/runtime/webapp/dist/assets/{stateDiagram-D77RDMKH-CtlmJgrm.js → stateDiagram-D77RDMKH-Dj8oPHDB.js} +1 -1
  271. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-Csg946NK.js +1 -0
  272. package/runtime/webapp/dist/assets/{swimlanes-42K2YHIH-rMtOxOkm.js → swimlanes-42K2YHIH-GDjg8QNS.js} +1 -1
  273. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-BUnuRfXp.js +8 -0
  274. package/runtime/webapp/dist/assets/{timeline-definition-24CTP7MA-D0C5B_7F.js → timeline-definition-24CTP7MA-DFDHsxzp.js} +1 -1
  275. package/runtime/webapp/dist/assets/{trash-2-CT_MslWu.js → trash-2-BF9eI5Bh.js} +1 -1
  276. package/runtime/webapp/dist/assets/{types-pH-pRUSS.js → types-BuPq0iQM.js} +1 -1
  277. package/runtime/webapp/dist/assets/{use-session-activity-B9xAOlzA.js → use-session-activity-Ceb8OBjB.js} +1 -1
  278. package/runtime/webapp/dist/assets/{vennDiagram-4TSXK5OY-B8iPk0Tm.js → vennDiagram-4TSXK5OY-DR5HBqo1.js} +1 -1
  279. package/runtime/webapp/dist/assets/{wardleyDiagram-VM6X3IG4-Cb60IRaS.js → wardleyDiagram-VM6X3IG4-Bb6pROnE.js} +1 -1
  280. package/runtime/webapp/dist/assets/{web-D-dNOCeI.js → web-BV7fxnr4.js} +1 -1
  281. package/runtime/webapp/dist/assets/{web-DTj73nYv.js → web-C8kCU9om.js} +1 -1
  282. package/runtime/webapp/dist/assets/{x-3I6TKNBE.js → x-uSekqXJV.js} +1 -1
  283. package/runtime/webapp/dist/assets/{xychartDiagram-S5SC5T6Z-DWXthhJz.js → xychartDiagram-S5SC5T6Z-CrpaVklx.js} +1 -1
  284. package/runtime/webapp/dist/assets/{zoom-out-417ojKB8.js → zoom-out-B59mGU6c.js} +1 -1
  285. package/runtime/webapp/dist/index.html +1 -1
  286. package/runtime/ws-server.mjs +9 -0
  287. package/runtime/.next/static/chunks/app/web/layout-1127176e7e88e395.js +0 -1
  288. package/runtime/.next/static/chunks/main-app-07d67f2d4e96ecb8.js +0 -1
  289. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-7sb5cs8h.mjs +0 -39
  290. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-cfz10gtb.mjs +0 -24
  291. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-p9759xd0.mjs +0 -22
  292. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-rszpc155.mjs +0 -17
  293. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-ttfdej7v.mjs +0 -20
  294. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-y906qay4.mjs +0 -28
  295. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-yp8w8nva.mjs +0 -38
  296. package/runtime/webapp/dist/assets/App-m33SPX0n.js +0 -68
  297. package/runtime/webapp/dist/assets/TodoPage-BuDedc75.js +0 -1
  298. package/runtime/webapp/dist/assets/channel-Dz0U21-m.js +0 -1
  299. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-CL_0n_9Y.js +0 -1
  300. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-CL_0n_9Y.js +0 -1
  301. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-C9bL7Wc5.js +0 -1
  302. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-x5ntdS3v.js +0 -8
  303. /package/runtime/.next/static/{N0n_ri0ArZV5CvaOg_qnx → Ra6nQooMsDWN9-yjPL93f}/_buildManifest.js +0 -0
  304. /package/runtime/.next/static/{N0n_ri0ArZV5CvaOg_qnx → Ra6nQooMsDWN9-yjPL93f}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/web/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}},"3828":{"*":{"id":"4590","name":"*","chunks":[],"async":false}},"5613":{"*":{"id":"8949","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/team-agent/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/team-agent/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/team-agent/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/team-agent/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/team-agent/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/team-agent/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/team-agent/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/team-agent/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/team-agent/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/team-agent/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/team-agent/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/team-agent/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/team-agent/customer-agent/packages/server/app/web/page.tsx":{"id":3828,"name":"*","chunks":["753","static/chunks/753-90c7dd1ba08be9be.js","541","static/chunks/app/web/page-bafdaa23fa1dc1c4.js"],"async":false},"/Users/caoqu/team-agent/customer-agent/packages/shared/src/console/neural-boot.css":{"id":8369,"name":"*","chunks":["606","static/chunks/app/web/layout-1127176e7e88e395.js"],"async":false},"/Users/caoqu/team-agent/customer-agent/packages/server/app/web/error.tsx":{"id":3194,"name":"*","chunks":["980","static/chunks/app/web/error-828d278147a0619d.js"],"async":false}},"entryCSSFiles":{"/Users/caoqu/team-agent/customer-agent/packages/server/":[],"/Users/caoqu/team-agent/customer-agent/packages/server/app/layout":[],"/Users/caoqu/team-agent/customer-agent/packages/server/app/web/page":[],"/Users/caoqu/team-agent/customer-agent/packages/server/app/web/layout":["static/css/50f255aa50ec70d1.css"],"/Users/caoqu/team-agent/customer-agent/packages/server/app/web/error":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/web/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}},"3828":{"*":{"id":"4590","name":"*","chunks":[],"async":false}},"5613":{"*":{"id":"8949","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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/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/artifacts/agentroam-release-20261125.OoA15Y/source/packages/server/app/web/page.tsx":{"id":3828,"name":"*","chunks":["753","static/chunks/753-90c7dd1ba08be9be.js","541","static/chunks/app/web/page-0f06deb6eb4d49e0.js"],"async":false},"/Users/caoqu/.codex/artifacts/agentroam-release-20261125.OoA15Y/source/packages/shared/src/console/neural-boot.css":{"id":8369,"name":"*","chunks":["606","static/chunks/app/web/layout-79492e587e5930cf.js"],"async":false},"/Users/caoqu/.codex/artifacts/agentroam-release-20261125.OoA15Y/source/packages/server/app/web/error.tsx":{"id":3194,"name":"*","chunks":["980","static/chunks/app/web/error-fac7681c6397fcd7.js"],"async":false}},"entryCSSFiles":{"/Users/caoqu/.codex/artifacts/agentroam-release-20261125.OoA15Y/source/packages/server/":[],"/Users/caoqu/.codex/artifacts/agentroam-release-20261125.OoA15Y/source/packages/server/app/layout":[],"/Users/caoqu/.codex/artifacts/agentroam-release-20261125.OoA15Y/source/packages/server/app/web/page":[],"/Users/caoqu/.codex/artifacts/agentroam-release-20261125.OoA15Y/source/packages/server/app/web/layout":["static/css/50f255aa50ec70d1.css"],"/Users/caoqu/.codex/artifacts/agentroam-release-20261125.OoA15Y/source/packages/server/app/web/error":[]}}
@@ -1,94 +1,94 @@
1
1
  {
2
2
  "/_not-found/page": "app/_not-found/page.js",
3
- "/api/collaboration/route": "app/api/collaboration/route.js",
4
- "/api/auth/verify/route": "app/api/auth/verify/route.js",
5
- "/api/flow/v1/runs/[runId]/events/route": "app/api/flow/v1/runs/[runId]/events/route.js",
6
3
  "/api/flow/v1/runs/[runId]/cancel/route": "app/api/flow/v1/runs/[runId]/cancel/route.js",
4
+ "/api/auth/verify/route": "app/api/auth/verify/route.js",
7
5
  "/api/flow/v1/runs/route": "app/api/flow/v1/runs/route.js",
8
- "/api/memory/[key]/route": "app/api/memory/[key]/route.js",
6
+ "/api/collaboration/route": "app/api/collaboration/route.js",
9
7
  "/api/mcp/disconnect/route": "app/api/mcp/disconnect/route.js",
10
- "/api/mcp/connect/route": "app/api/mcp/connect/route.js",
8
+ "/api/flow/v1/runs/[runId]/events/route": "app/api/flow/v1/runs/[runId]/events/route.js",
9
+ "/api/mcp/servers/route": "app/api/mcp/servers/route.js",
10
+ "/api/memory/[key]/route": "app/api/memory/[key]/route.js",
11
11
  "/api/memory/route": "app/api/memory/route.js",
12
- "/api/projects/[id]/route": "app/api/projects/[id]/route.js",
12
+ "/api/mcp/connect/route": "app/api/mcp/connect/route.js",
13
13
  "/api/plugins/load/route": "app/api/plugins/load/route.js",
14
- "/api/mcp/servers/route": "app/api/mcp/servers/route.js",
14
+ "/api/projects/[id]/route": "app/api/projects/[id]/route.js",
15
15
  "/api/projects/check/route": "app/api/projects/check/route.js",
16
- "/api/projects/roots/route": "app/api/projects/roots/route.js",
17
- "/api/projects/route": "app/api/projects/route.js",
18
16
  "/api/projects/directories/route": "app/api/projects/directories/route.js",
17
+ "/api/projects/route": "app/api/projects/route.js",
18
+ "/api/projects/roots/route": "app/api/projects/roots/route.js",
19
19
  "/api/push/subscribe/route": "app/api/push/subscribe/route.js",
20
20
  "/api/push/unsubscribe/route": "app/api/push/unsubscribe/route.js",
21
- "/api/session-views/route": "app/api/session-views/route.js",
21
+ "/api/push/vapid/route": "app/api/push/vapid/route.js",
22
22
  "/api/remote-tools/register/route": "app/api/remote-tools/register/route.js",
23
+ "/api/session-views/route": "app/api/session-views/route.js",
23
24
  "/api/sessions/[id]/engine-switches/route": "app/api/sessions/[id]/engine-switches/route.js",
24
- "/api/push/vapid/route": "app/api/push/vapid/route.js",
25
25
  "/api/sessions/[id]/fork-at/route": "app/api/sessions/[id]/fork-at/route.js",
26
- "/api/sessions/parallel/route": "app/api/sessions/parallel/route.js",
26
+ "/api/sessions/[id]/thread-history/route": "app/api/sessions/[id]/thread-history/route.js",
27
27
  "/api/skills/route": "app/api/skills/route.js",
28
28
  "/api/tool-policies/[policyId]/route": "app/api/tool-policies/[policyId]/route.js",
29
- "/api/sessions/[id]/thread-history/route": "app/api/sessions/[id]/thread-history/route.js",
30
29
  "/api/tools/route": "app/api/tools/route.js",
30
+ "/api/web-auth/login/route": "app/api/web-auth/login/route.js",
31
31
  "/api/web-auth/logout/route": "app/api/web-auth/logout/route.js",
32
32
  "/api/web-auth/revoke-all/route": "app/api/web-auth/revoke-all/route.js",
33
33
  "/api/web-auth/setup/route": "app/api/web-auth/setup/route.js",
34
- "/api/web-auth/login/route": "app/api/web-auth/login/route.js",
34
+ "/api/sessions/parallel/route": "app/api/sessions/parallel/route.js",
35
35
  "/api/web-console/history/route": "app/api/web-console/history/route.js",
36
- "/api/agent-workspaces/route": "app/api/agent-workspaces/route.js",
37
- "/api/agent/model/route": "app/api/agent/model/route.js",
36
+ "/api/web-console/preferences/route": "app/api/web-console/preferences/route.js",
38
37
  "/api/agent-workspaces/[workspaceId]/sessions/route": "app/api/agent-workspaces/[workspaceId]/sessions/route.js",
39
- "/api/agent/abort/route": "app/api/agent/abort/route.js",
38
+ "/api/agent-workspaces/route": "app/api/agent-workspaces/route.js",
40
39
  "/api/agent/harness/status/route": "app/api/agent/harness/status/route.js",
41
- "/api/agent/models/route": "app/api/agent/models/route.js",
42
- "/api/agent/answer/route": "app/api/agent/answer/route.js",
40
+ "/api/agent/model/route": "app/api/agent/model/route.js",
43
41
  "/api/agent/runtime-health/route": "app/api/agent/runtime-health/route.js",
44
- "/api/agent/codex-sharing/route": "app/api/agent/codex-sharing/route.js",
45
- "/api/business/route": "app/api/business/route.js",
42
+ "/api/agent/models/route": "app/api/agent/models/route.js",
46
43
  "/api/agent/steer/route": "app/api/agent/steer/route.js",
47
- "/api/web-console/preferences/route": "app/api/web-console/preferences/route.js",
44
+ "/api/business/route": "app/api/business/route.js",
45
+ "/api/agent/codex-sharing/route": "app/api/agent/codex-sharing/route.js",
48
46
  "/api/calendar/route": "app/api/calendar/route.js",
49
- "/api/flow-studio/config/route": "app/api/flow-studio/config/route.js",
47
+ "/api/agent/answer/route": "app/api/agent/answer/route.js",
48
+ "/api/agent/abort/route": "app/api/agent/abort/route.js",
50
49
  "/api/engine-threads/route": "app/api/engine-threads/route.js",
51
- "/api/agent/run/route": "app/api/agent/run/route.js",
52
- "/api/agent/stream/route": "app/api/agent/stream/route.js",
53
- "/api/client-logs/route": "app/api/client-logs/route.js",
50
+ "/api/flow-studio/config/route": "app/api/flow-studio/config/route.js",
54
51
  "/api/internal/todo-bootstrap/route": "app/api/internal/todo-bootstrap/route.js",
55
- "/api/flow/v1/catalog/route": "app/api/flow/v1/catalog/route.js",
56
- "/api/notifications/[id]/route": "app/api/notifications/[id]/route.js",
52
+ "/api/client-logs/route": "app/api/client-logs/route.js",
53
+ "/api/messaging/route": "app/api/messaging/route.js",
54
+ "/api/internal/todo-mcp/route": "app/api/internal/todo-mcp/route.js",
57
55
  "/api/notifications/[id]/ack/route": "app/api/notifications/[id]/ack/route.js",
56
+ "/api/notifications/[id]/route": "app/api/notifications/[id]/route.js",
58
57
  "/api/notifications/route": "app/api/notifications/route.js",
59
- "/api/messaging/route": "app/api/messaging/route.js",
60
58
  "/api/notifications/stream/route": "app/api/notifications/stream/route.js",
59
+ "/api/flow/v1/catalog/route": "app/api/flow/v1/catalog/route.js",
61
60
  "/api/sessions/[id]/background-jobs/[jobId]/route": "app/api/sessions/[id]/background-jobs/[jobId]/route.js",
62
61
  "/api/session-images/[id]/route": "app/api/session-images/[id]/route.js",
63
- "/api/internal/todo-mcp/route": "app/api/internal/todo-mcp/route.js",
64
- "/api/sessions/[id]/background-jobs/[jobId]/stop/route": "app/api/sessions/[id]/background-jobs/[jobId]/stop/route.js",
65
62
  "/api/sessions/[id]/background-jobs/route": "app/api/sessions/[id]/background-jobs/route.js",
66
- "/api/sessions/[id]/native-goal/route": "app/api/sessions/[id]/native-goal/route.js",
63
+ "/api/agent/stream/route": "app/api/agent/stream/route.js",
67
64
  "/api/sessions/[id]/changes/route": "app/api/sessions/[id]/changes/route.js",
68
- "/api/sessions/[id]/fork/route": "app/api/sessions/[id]/fork/route.js",
65
+ "/api/sessions/[id]/background-jobs/[jobId]/stop/route": "app/api/sessions/[id]/background-jobs/[jobId]/stop/route.js",
66
+ "/api/agent/run/route": "app/api/agent/run/route.js",
69
67
  "/api/sessions/[id]/handoff/route": "app/api/sessions/[id]/handoff/route.js",
70
- "/api/sessions/[id]/release/route": "app/api/sessions/[id]/release/route.js",
68
+ "/api/sessions/[id]/fork/route": "app/api/sessions/[id]/fork/route.js",
69
+ "/api/sessions/[id]/native-goal/route": "app/api/sessions/[id]/native-goal/route.js",
71
70
  "/api/sessions/[id]/query-index/route": "app/api/sessions/[id]/query-index/route.js",
71
+ "/api/sessions/[id]/release/route": "app/api/sessions/[id]/release/route.js",
72
+ "/api/sessions/[id]/route": "app/api/sessions/[id]/route.js",
72
73
  "/api/sessions/[id]/thread-goal/route": "app/api/sessions/[id]/thread-goal/route.js",
73
74
  "/api/sessions/[id]/switch-engine/route": "app/api/sessions/[id]/switch-engine/route.js",
74
75
  "/api/sessions/[id]/goals/route": "app/api/sessions/[id]/goals/route.js",
75
- "/api/settings/route": "app/api/settings/route.js",
76
- "/api/todos/[id]/commands/route": "app/api/todos/[id]/commands/route.js",
76
+ "/api/sessions/[id]/tool-result/route": "app/api/sessions/[id]/tool-result/route.js",
77
77
  "/api/sessions/route": "app/api/sessions/route.js",
78
- "/api/todos/[id]/route": "app/api/todos/[id]/route.js",
78
+ "/api/todos/[id]/commands/route": "app/api/todos/[id]/commands/route.js",
79
79
  "/api/todos/[id]/executions/route": "app/api/todos/[id]/executions/route.js",
80
+ "/api/settings/route": "app/api/settings/route.js",
80
81
  "/api/todos/route": "app/api/todos/route.js",
81
- "/api/sessions/[id]/route": "app/api/sessions/[id]/route.js",
82
- "/api/update/check/route": "app/api/update/check/route.js",
83
82
  "/api/tool-policies/route": "app/api/tool-policies/route.js",
83
+ "/api/update/check/route": "app/api/update/check/route.js",
84
+ "/api/todos/[id]/route": "app/api/todos/[id]/route.js",
84
85
  "/api/update/status/route": "app/api/update/status/route.js",
85
- "/api/update/install/route": "app/api/update/install/route.js",
86
- "/api/web-console/bootstrap/route": "app/api/web-console/bootstrap/route.js",
87
- "/api/sessions/[id]/tool-result/route": "app/api/sessions/[id]/tool-result/route.js",
88
86
  "/api/web-auth/status/route": "app/api/web-auth/status/route.js",
89
- "/api/web-console/computers/route": "app/api/web-console/computers/route.js",
90
- "/api/web-console/computer-settings/route": "app/api/web-console/computer-settings/route.js",
87
+ "/api/web-console/bootstrap/route": "app/api/web-console/bootstrap/route.js",
91
88
  "/api/web-console/device-state/route": "app/api/web-console/device-state/route.js",
89
+ "/api/web-console/computers/route": "app/api/web-console/computers/route.js",
90
+ "/api/update/install/route": "app/api/update/install/route.js",
92
91
  "/api/workspace-changes/route": "app/api/workspace-changes/route.js",
92
+ "/api/web-console/computer-settings/route": "app/api/web-console/computer-settings/route.js",
93
93
  "/web/page": "app/web/page.js"
94
94
  }
@@ -1 +1 @@
1
- "use strict";exports.id=1298,exports.ids=[1298],exports.modules={1298:(e,t,r)=>{r.d(t,{P:()=>h,createRuntimeTodoContext:()=>v,storedRuntimeTodoContext:()=>f});var o=r(6005),n=r(7561),i=r(1636),s=r(7455),a=r(4558),d=r(2110),c=r(785),u=r(612),l=r(9411);let p=()=>process.env.AGENTROAM_DISCOVERY_DIR??(0,l.join)((0,u.homedir)(),".agentroam","services");function I(e,t,r,o){let a,d,u;try{if(!e||!(0,l.isAbsolute)(e))return!1;let t=(0,n.realpathSync)((0,l.join)((0,c.kO)(),".agent-data","todo-credentials")),o=(0,l.dirname)((0,n.realpathSync)(e));if("win32"===process.platform?o.toLowerCase()!==t.toLowerCase():o!==t)return!1;let i=(0,n.statSync)(e);if(!i.isFile()||"win32"!==process.platform&&63&i.mode)return!1;let s=JSON.parse((0,n.readFileSync)(e,"utf8"));if(s.serviceId!==r.serviceId)return!1;a=s.token,d=s.scope}catch{return!1}try{u=(0,s.AH)("string"==typeof a?a:null)}catch(e){if(e instanceof i.TodoError&&"FORBIDDEN"===e.code)return!1;throw e}if(u.ownerId!==r.ownerId||u.serviceId!==r.serviceId||u.scope!==t||u.executionId!==r.executionId||void 0!==u.sessionId&&u.sessionId!==o)throw new i.TodoError("FORBIDDEN","待办凭据的用户、权限或会话身份不匹配");return d===t}function v(e,t,r){let o=(0,d.nQ)().userId,n=(0,s.nq)({ownerId:o,scope:t?"execution":"manage",sessionId:e,executionId:t}),i=e?(0,s.nq)({ownerId:o,scope:"relay",sessionId:e,executionId:t}):void 0;return{serviceId:n.credential.serviceId,ownerId:o,discoveryDirectory:p(),descriptorPath:n.path,...i?{relayPath:i.path}:{},...t?{executionId:t}:{},...r?{model:r}:{}}}function f(e,t){let r=(0,a.Y)().db,n=`todo.session.${(0,o.createHash)("sha256").update(e).digest("hex")}`;return r.transaction(()=>{let o=r.prepare("SELECT value FROM settings WHERE key=?").get(n),a=o?JSON.parse(o.value):t??v(e);!function(e){if(e.serviceId!==(0,s.zC)()||e.ownerId!==(0,d.nQ)().userId)throw new i.TodoError("FORBIDDEN","待办会话不属于当前服务和用户,拒绝迁移凭据");if(void 0!==e.executionId&&("string"!=typeof e.executionId||!e.executionId))throw new i.TodoError("INVALID_ARGUMENT","待办执行身份无效")}(a);let c=a.executionId?"execution":"manage",u=I(a.descriptorPath,c,a,e),l=I(a.relayPath,"relay",a,e);return u?(a={...a,discoveryDirectory:p()},(0,s.rj)(a.descriptorPath,e),l?(0,s.rj)(a.relayPath,e):a.relayPath=(0,s.nq)({ownerId:a.ownerId,scope:"relay",sessionId:e,executionId:a.executionId}).path):a=v(e,a.executionId,a.model),r.prepare("INSERT INTO settings(key,value) VALUES(?,?) ON CONFLICT(key) DO UPDATE SET value=excluded.value").run(n,JSON.stringify(a)),a}).immediate()}function h(e){let t=(0,a.Y)().db.prepare("SELECT value FROM settings WHERE key=?").get(`todo.session.${(0,o.createHash)("sha256").update(e).digest("hex")}`);return t?JSON.parse(t.value):void 0}},7455:(e,t,r)=>{r.d(t,{AH:()=>p,nq:()=>l,rj:()=>I,zC:()=>c});var o=r(6005),n=r(7561),i=r(9411),s=r(1636),a=r(4558),d=r(785);function c(){let e=(0,a.Y)().db.prepare("SELECT value FROM settings WHERE key='todo.serviceId'").get();if(!e)throw new s.TodoError("UNAVAILABLE","服务身份尚未初始化");return JSON.parse(e.value)}let u=e=>`todo.credential.${(0,o.createHash)("sha256").update(e).digest("hex")}`;function l(e){let t=(0,o.randomBytes)(32).toString("hex"),r={...e,serviceId:c(),expiresAt:Date.now()+316224e5};(0,a.Y)().db.prepare("INSERT INTO settings(key,value) VALUES(?,?)").run(u(t),JSON.stringify(r));let s=(0,i.join)((0,d.kO)(),".agent-data","todo-credentials");(0,n.mkdirSync)(s,{recursive:!0,mode:448}),(0,n.chmodSync)(s,448);let l=(0,i.join)(s,`${(0,o.randomUUID)()}.json`);return(0,n.writeFileSync)(l,JSON.stringify({serviceId:r.serviceId,token:t,scope:r.scope,discoveryDirectory:process.env.AGENTROAM_DISCOVERY_DIR}),{mode:384}),{path:l,credential:r}}function p(e){if(!e||!/^[a-f0-9]{64}$/.test(e))throw new s.TodoError("FORBIDDEN","MCP 凭据无效");let t=(0,a.Y)().db.prepare("SELECT value FROM settings WHERE key=?").get(u(e)),r=t?JSON.parse(t.value):void 0;if(!r||r.revoked||r.expiresAt<=Date.now()||r.serviceId!==c())throw new s.TodoError("FORBIDDEN","MCP 凭据失效");return r}function I(e,t){let{token:r}=JSON.parse((0,n.readFileSync)(e,"utf8")),o=p(r);if(o.sessionId&&o.sessionId!==t)throw new s.TodoError("FORBIDDEN","MCP 凭据已绑定其他会话");o.sessionId||(0,a.Y)().db.prepare("UPDATE settings SET value=? WHERE key=?").run(JSON.stringify({...o,sessionId:t}),u(r))}},4558:(e,t,r)=>{r.d(t,{Y:()=>i});var o=r(1636),n=r(785);function i(){let e=globalThis;return e.__todoServices??=function(e){let t=(0,o.getDatabase)(e.baseDir).db,r=new o.SQLiteTodoUnitOfWork(t),n=e.clock??Date.now;return{db:t,uow:r,todos:new o.TodoApplicationService(r,n),scheduler:new o.TodoScheduler(r),executions:new o.TodoExecutionService(r,n),notifications:new o.PersistentNotificationService(r,n)}}({baseDir:(0,n.kO)()})}},2110:(e,t,r)=>{r.d(t,{hw:()=>i.hw,nQ:()=>a});var o=r(1636),n=r(785),i=r(3710);let s=new o.SQLiteAnonymousWebStore((0,n.kO)());function a(){return{userId:s.getOrCreatePrincipal().userId,username:"local",deviceId:"browser"}}},3710:(e,t,r)=>{r.d(t,{$U:()=>l,Ci:()=>I,VP:()=>i,Xd:()=>u,ZA:()=>a,ap:()=>p,hw:()=>d,ki:()=>s,yN:()=>v});var o=r(1636),n=r(785);let i="customer_agent_session",s="customer_agent_device",a=new o.WebAuthService(new o.SQLiteAuthStore((0,n.kO)())),d=new o.SQLiteWebConsoleStore((0,n.kO)());function c(e){let t={};for(let r of(e.headers.get("cookie")||"").split(";")){let e=r.indexOf("=");e>0&&(t[r.slice(0,e).trim()]=decodeURIComponent(r.slice(e+1).trim()))}return t}function u(e){return c(e)[i]||null}function l(e){let t=c(e);return{ip:e.headers.get("x-forwarded-for")?.split(",")[0].trim()||"unknown",userAgent:e.headers.get("user-agent")||"",deviceId:t[s],deviceName:e.headers.get("x-device-name")||""}}function p(e){let t=a.authenticateToken(u(e));return a.validateCsrf(t,e.headers.get("x-csrf-token")),t}function I(e,t,r){return{httpOnly:r,sameSite:"strict",secure:"https"===("1"===process.env.AGENT_TRUST_TUNNEL_PROXY?e.headers.get("x-forwarded-proto"):null)||"https:"===new URL(e.url).protocol,path:"/",maxAge:t}}function v(e){let t=e instanceof o.WebAuthError?e:new o.WebAuthError("UNAUTHENTICATED","认证失败",401);return Response.json({error:{code:t.code,message:t.message}},{status:t.status})}}};
1
+ "use strict";exports.id=1298,exports.ids=[1298],exports.modules={1298:(e,t,r)=>{r.d(t,{P:()=>h,createRuntimeTodoContext:()=>v,storedRuntimeTodoContext:()=>f});var o=r(6005),n=r(7561),i=r(1636),s=r(7455),a=r(3151),d=r(2110),c=r(785),u=r(612),l=r(9411);let p=()=>process.env.AGENTROAM_DISCOVERY_DIR??(0,l.join)((0,u.homedir)(),".agentroam","services");function I(e,t,r,o){let a,d,u;try{if(!e||!(0,l.isAbsolute)(e))return!1;let t=(0,n.realpathSync)((0,l.join)((0,c.kO)(),".agent-data","todo-credentials")),o=(0,l.dirname)((0,n.realpathSync)(e));if("win32"===process.platform?o.toLowerCase()!==t.toLowerCase():o!==t)return!1;let i=(0,n.statSync)(e);if(!i.isFile()||"win32"!==process.platform&&63&i.mode)return!1;let s=JSON.parse((0,n.readFileSync)(e,"utf8"));if(s.serviceId!==r.serviceId)return!1;a=s.token,d=s.scope}catch{return!1}try{u=(0,s.AH)("string"==typeof a?a:null)}catch(e){if(e instanceof i.TodoError&&"FORBIDDEN"===e.code)return!1;throw e}if(u.ownerId!==r.ownerId||u.serviceId!==r.serviceId||u.scope!==t||u.executionId!==r.executionId||void 0!==u.sessionId&&u.sessionId!==o)throw new i.TodoError("FORBIDDEN","待办凭据的用户、权限或会话身份不匹配");return d===t}function v(e,t,r){let o=(0,d.nQ)().userId,n=(0,s.nq)({ownerId:o,scope:t?"execution":"manage",sessionId:e,executionId:t}),i=e?(0,s.nq)({ownerId:o,scope:"relay",sessionId:e,executionId:t}):void 0;return{serviceId:n.credential.serviceId,ownerId:o,discoveryDirectory:p(),descriptorPath:n.path,...i?{relayPath:i.path}:{},...t?{executionId:t}:{},...r?{model:r}:{}}}function f(e,t){let r=(0,a.Y)().db,n=`todo.session.${(0,o.createHash)("sha256").update(e).digest("hex")}`;return r.transaction(()=>{let o=r.prepare("SELECT value FROM settings WHERE key=?").get(n),a=o?JSON.parse(o.value):t??v(e);!function(e){if(e.serviceId!==(0,s.zC)()||e.ownerId!==(0,d.nQ)().userId)throw new i.TodoError("FORBIDDEN","待办会话不属于当前服务和用户,拒绝迁移凭据");if(void 0!==e.executionId&&("string"!=typeof e.executionId||!e.executionId))throw new i.TodoError("INVALID_ARGUMENT","待办执行身份无效")}(a);let c=a.executionId?"execution":"manage",u=I(a.descriptorPath,c,a,e),l=I(a.relayPath,"relay",a,e);return u?(a={...a,discoveryDirectory:p()},(0,s.rj)(a.descriptorPath,e),l?(0,s.rj)(a.relayPath,e):a.relayPath=(0,s.nq)({ownerId:a.ownerId,scope:"relay",sessionId:e,executionId:a.executionId}).path):a=v(e,a.executionId,a.model),r.prepare("INSERT INTO settings(key,value) VALUES(?,?) ON CONFLICT(key) DO UPDATE SET value=excluded.value").run(n,JSON.stringify(a)),a}).immediate()}function h(e){let t=(0,a.Y)().db.prepare("SELECT value FROM settings WHERE key=?").get(`todo.session.${(0,o.createHash)("sha256").update(e).digest("hex")}`);return t?JSON.parse(t.value):void 0}},7455:(e,t,r)=>{r.d(t,{AH:()=>p,nq:()=>l,rj:()=>I,zC:()=>c});var o=r(6005),n=r(7561),i=r(9411),s=r(1636),a=r(3151),d=r(785);function c(){let e=(0,a.Y)().db.prepare("SELECT value FROM settings WHERE key='todo.serviceId'").get();if(!e)throw new s.TodoError("UNAVAILABLE","服务身份尚未初始化");return JSON.parse(e.value)}let u=e=>`todo.credential.${(0,o.createHash)("sha256").update(e).digest("hex")}`;function l(e){let t=(0,o.randomBytes)(32).toString("hex"),r={...e,serviceId:c(),expiresAt:Date.now()+316224e5};(0,a.Y)().db.prepare("INSERT INTO settings(key,value) VALUES(?,?)").run(u(t),JSON.stringify(r));let s=(0,i.join)((0,d.kO)(),".agent-data","todo-credentials");(0,n.mkdirSync)(s,{recursive:!0,mode:448}),(0,n.chmodSync)(s,448);let l=(0,i.join)(s,`${(0,o.randomUUID)()}.json`);return(0,n.writeFileSync)(l,JSON.stringify({serviceId:r.serviceId,token:t,scope:r.scope,discoveryDirectory:process.env.AGENTROAM_DISCOVERY_DIR}),{mode:384}),{path:l,credential:r}}function p(e){if(!e||!/^[a-f0-9]{64}$/.test(e))throw new s.TodoError("FORBIDDEN","MCP 凭据无效");let t=(0,a.Y)().db.prepare("SELECT value FROM settings WHERE key=?").get(u(e)),r=t?JSON.parse(t.value):void 0;if(!r||r.revoked||r.expiresAt<=Date.now()||r.serviceId!==c())throw new s.TodoError("FORBIDDEN","MCP 凭据失效");return r}function I(e,t){let{token:r}=JSON.parse((0,n.readFileSync)(e,"utf8")),o=p(r);if(o.sessionId&&o.sessionId!==t)throw new s.TodoError("FORBIDDEN","MCP 凭据已绑定其他会话");o.sessionId||(0,a.Y)().db.prepare("UPDATE settings SET value=? WHERE key=?").run(JSON.stringify({...o,sessionId:t}),u(r))}},3151:(e,t,r)=>{r.d(t,{Y:()=>i});var o=r(1636),n=r(785);function i(){let e=globalThis;return e.__todoServices??=function(e){let t=(0,o.getDatabase)(e.baseDir).db,r=new o.SQLiteTodoUnitOfWork(t),n=e.clock??Date.now;return{db:t,uow:r,todos:new o.TodoApplicationService(r,n),scheduler:new o.TodoScheduler(r),executions:new o.TodoExecutionService(r,n),notifications:new o.PersistentNotificationService(r,n)}}({baseDir:(0,n.kO)()})}},2110:(e,t,r)=>{r.d(t,{hw:()=>i.hw,nQ:()=>a});var o=r(1636),n=r(785),i=r(3710);let s=new o.SQLiteAnonymousWebStore((0,n.kO)());function a(){return{userId:s.getOrCreatePrincipal().userId,username:"local",deviceId:"browser"}}},3710:(e,t,r)=>{r.d(t,{$U:()=>l,Ci:()=>I,VP:()=>i,Xd:()=>u,ZA:()=>a,ap:()=>p,hw:()=>d,ki:()=>s,yN:()=>v});var o=r(1636),n=r(785);let i="customer_agent_session",s="customer_agent_device",a=new o.WebAuthService(new o.SQLiteAuthStore((0,n.kO)())),d=new o.SQLiteWebConsoleStore((0,n.kO)());function c(e){let t={};for(let r of(e.headers.get("cookie")||"").split(";")){let e=r.indexOf("=");e>0&&(t[r.slice(0,e).trim()]=decodeURIComponent(r.slice(e+1).trim()))}return t}function u(e){return c(e)[i]||null}function l(e){let t=c(e);return{ip:e.headers.get("x-forwarded-for")?.split(",")[0].trim()||"unknown",userAgent:e.headers.get("user-agent")||"",deviceId:t[s],deviceName:e.headers.get("x-device-name")||""}}function p(e){let t=a.authenticateToken(u(e));return a.validateCsrf(t,e.headers.get("x-csrf-token")),t}function I(e,t,r){return{httpOnly:r,sameSite:"strict",secure:"https"===("1"===process.env.AGENT_TRUST_TUNNEL_PROXY?e.headers.get("x-forwarded-proto"):null)||"https:"===new URL(e.url).protocol,path:"/",maxAge:t}}function v(e){let t=e instanceof o.WebAuthError?e:new o.WebAuthError("UNAUTHENTICATED","认证失败",401);return Response.json({error:{code:t.code,message:t.message}},{status:t.status})}}};