agentroam-runtime-darwin-arm64 0.2.0-preview.81 → 0.2.0-preview.82

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 (364) 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 +5 -5
  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/composer/route.js +1 -0
  17. package/runtime/.next/server/app/api/agent/composer/route.js.nft.json +1 -0
  18. package/runtime/.next/server/app/api/agent/harness/status/route.js +1 -1
  19. package/runtime/.next/server/app/api/agent/model/route.js +1 -1
  20. package/runtime/.next/server/app/api/agent/models/route.js +1 -1
  21. package/runtime/.next/server/app/api/agent/run/route.js +1 -1
  22. package/runtime/.next/server/app/api/agent/runtime-health/route.js +1 -1
  23. package/runtime/.next/server/app/api/agent/steer/route.js +1 -1
  24. package/runtime/.next/server/app/api/agent/stream/route.js +2 -2
  25. package/runtime/.next/server/app/api/agent-workspaces/[workspaceId]/sessions/route.js +1 -1
  26. package/runtime/.next/server/app/api/agent-workspaces/route.js +1 -1
  27. package/runtime/.next/server/app/api/auth/verify/route.js +1 -1
  28. package/runtime/.next/server/app/api/business/route.js +1 -1
  29. package/runtime/.next/server/app/api/calendar/route.js +2 -2
  30. package/runtime/.next/server/app/api/client-logs/route.js +1 -1
  31. package/runtime/.next/server/app/api/collaboration/route.js +2 -2
  32. package/runtime/.next/server/app/api/engine-threads/route.js +1 -1
  33. package/runtime/.next/server/app/api/engine-threads.body +1 -1
  34. package/runtime/.next/server/app/api/flow/v1/catalog/route.js +1 -1
  35. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/cancel/route.js +1 -1
  36. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/events/route.js +2 -2
  37. package/runtime/.next/server/app/api/flow/v1/runs/route.js +1 -1
  38. package/runtime/.next/server/app/api/flow-studio/config/route.js +1 -1
  39. package/runtime/.next/server/app/api/internal/todo-bootstrap/route.js +1 -1
  40. package/runtime/.next/server/app/api/internal/todo-mcp/route.js +1 -1
  41. package/runtime/.next/server/app/api/mcp/connect/route.js +1 -1
  42. package/runtime/.next/server/app/api/mcp/disconnect/route.js +1 -1
  43. package/runtime/.next/server/app/api/mcp/servers/route.js +1 -1
  44. package/runtime/.next/server/app/api/mcp/servers.body +1 -1
  45. package/runtime/.next/server/app/api/memory/[key]/route.js +1 -1
  46. package/runtime/.next/server/app/api/memory/route.js +1 -1
  47. package/runtime/.next/server/app/api/messaging/route.js +1 -1
  48. package/runtime/.next/server/app/api/notifications/[id]/ack/route.js +1 -1
  49. package/runtime/.next/server/app/api/notifications/[id]/route.js +1 -1
  50. package/runtime/.next/server/app/api/notifications/route.js +1 -1
  51. package/runtime/.next/server/app/api/notifications/stream/route.js +2 -2
  52. package/runtime/.next/server/app/api/plugins/load/route.js +1 -1
  53. package/runtime/.next/server/app/api/projects/[id]/route.js +1 -1
  54. package/runtime/.next/server/app/api/projects/check/route.js +1 -1
  55. package/runtime/.next/server/app/api/projects/directories/route.js +1 -1
  56. package/runtime/.next/server/app/api/projects/roots/route.js +1 -1
  57. package/runtime/.next/server/app/api/projects/route.js +1 -1
  58. package/runtime/.next/server/app/api/push/subscribe/route.js +2 -2
  59. package/runtime/.next/server/app/api/push/unsubscribe/route.js +2 -2
  60. package/runtime/.next/server/app/api/push/vapid/route.js +2 -2
  61. package/runtime/.next/server/app/api/push/vapid.body +1 -1
  62. package/runtime/.next/server/app/api/remote-tools/register/route.js +1 -1
  63. package/runtime/.next/server/app/api/session-images/[id]/route.js +1 -1
  64. package/runtime/.next/server/app/api/session-views/route.js +1 -1
  65. package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/route.js +1 -1
  66. package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/stop/route.js +1 -1
  67. package/runtime/.next/server/app/api/sessions/[id]/background-jobs/route.js +1 -1
  68. package/runtime/.next/server/app/api/sessions/[id]/changes/route.js +2 -2
  69. package/runtime/.next/server/app/api/sessions/[id]/engine-switches/route.js +1 -1
  70. package/runtime/.next/server/app/api/sessions/[id]/fork/route.js +1 -1
  71. package/runtime/.next/server/app/api/sessions/[id]/fork-at/route.js +1 -1
  72. package/runtime/.next/server/app/api/sessions/[id]/goals/route.js +1 -1
  73. package/runtime/.next/server/app/api/sessions/[id]/handoff/route.js +1 -1
  74. package/runtime/.next/server/app/api/sessions/[id]/native-goal/route.js +1 -1
  75. package/runtime/.next/server/app/api/sessions/[id]/query-index/route.js +1 -1
  76. package/runtime/.next/server/app/api/sessions/[id]/release/route.js +1 -1
  77. package/runtime/.next/server/app/api/sessions/[id]/route.js +1 -1
  78. package/runtime/.next/server/app/api/sessions/[id]/switch-engine/route.js +1 -1
  79. package/runtime/.next/server/app/api/sessions/[id]/thread-goal/route.js +1 -1
  80. package/runtime/.next/server/app/api/sessions/[id]/thread-history/route.js +1 -1
  81. package/runtime/.next/server/app/api/sessions/[id]/tool-result/route.js +1 -1
  82. package/runtime/.next/server/app/api/sessions/parallel/route.js +1 -1
  83. package/runtime/.next/server/app/api/sessions/route.js +1 -1
  84. package/runtime/.next/server/app/api/settings/route.js +1 -1
  85. package/runtime/.next/server/app/api/skills/route.js +1 -1
  86. package/runtime/.next/server/app/api/todos/[id]/commands/route.js +1 -1
  87. package/runtime/.next/server/app/api/todos/[id]/executions/route.js +1 -1
  88. package/runtime/.next/server/app/api/todos/[id]/route.js +1 -1
  89. package/runtime/.next/server/app/api/todos/route.js +1 -1
  90. package/runtime/.next/server/app/api/tool-policies/[policyId]/route.js +1 -1
  91. package/runtime/.next/server/app/api/tool-policies/route.js +1 -1
  92. package/runtime/.next/server/app/api/tools/route.js +1 -1
  93. package/runtime/.next/server/app/api/update/check/route.js +1 -1
  94. package/runtime/.next/server/app/api/update/install/route.js +1 -1
  95. package/runtime/.next/server/app/api/update/status/route.js +1 -1
  96. package/runtime/.next/server/app/api/web-auth/login/route.js +1 -1
  97. package/runtime/.next/server/app/api/web-auth/logout/route.js +1 -1
  98. package/runtime/.next/server/app/api/web-auth/revoke-all/route.js +1 -1
  99. package/runtime/.next/server/app/api/web-auth/setup/route.js +1 -1
  100. package/runtime/.next/server/app/api/web-auth/status/route.js +1 -1
  101. package/runtime/.next/server/app/api/web-console/bootstrap/route.js +1 -1
  102. package/runtime/.next/server/app/api/web-console/computer-settings/route.js +1 -1
  103. package/runtime/.next/server/app/api/web-console/computers/route.js +1 -1
  104. package/runtime/.next/server/app/api/web-console/device-state/route.js +1 -1
  105. package/runtime/.next/server/app/api/web-console/history/route.js +1 -1
  106. package/runtime/.next/server/app/api/web-console/preferences/route.js +1 -1
  107. package/runtime/.next/server/app/api/workspace-changes/route.js +1 -1
  108. package/runtime/.next/server/app/web/page.js +4 -4
  109. package/runtime/.next/server/app/web/page_client-reference-manifest.js +1 -1
  110. package/runtime/.next/server/app-paths-manifest.json +34 -33
  111. package/runtime/.next/server/chunks/1298.js +1 -1
  112. package/runtime/.next/server/chunks/5303.js +2 -2
  113. package/runtime/.next/server/chunks/5801.js +1 -1
  114. package/runtime/.next/server/chunks/6703.js +1 -1
  115. package/runtime/.next/server/chunks/9119.js +3 -3
  116. package/runtime/.next/server/chunks/9457.js +1 -1
  117. package/runtime/.next/server/middleware-build-manifest.js +1 -1
  118. package/runtime/.next/server/pages/404.html +1 -1
  119. package/runtime/.next/server/pages/500.html +1 -1
  120. package/runtime/.next/server/server-reference-manifest.json +1 -1
  121. package/runtime/.next/static/chunks/app/web/error-828d278147a0619d.js +1 -0
  122. package/runtime/.next/static/chunks/app/web/layout-1127176e7e88e395.js +1 -0
  123. package/runtime/.next/static/chunks/app/web/{page-b0da5ef19349a66b.js → page-f008ab6dfeab7ce7.js} +1 -1
  124. package/runtime/.next/static/chunks/{main-68faabab5d101471.js → main-9c08f7656f9692e6.js} +1 -1
  125. package/runtime/.next/static/chunks/main-app-07d67f2d4e96ecb8.js +1 -0
  126. package/runtime/lib/remote-control/application/paced-video-sender.mjs +20 -1
  127. package/runtime/lib/remote-control/application/remote-video-session.mjs +18 -4
  128. package/runtime/lib/remote-control/infrastructure/native-video-encoder.mjs +15 -2
  129. package/runtime/lib/remote-control/infrastructure/werift-video-transport.mjs +3 -1
  130. package/runtime/lib/remote-control/remote-authorization.mjs +2 -2
  131. package/runtime/lib/remote-control/remote-video-signal.mjs +2 -0
  132. package/runtime/lib/todo-completion-worker.mjs +45 -0
  133. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/MacOS/agentroam-remote-desktop +0 -0
  134. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/Resources/agentroam-component.json +1 -1
  135. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/_CodeSignature/CodeResources +2 -2
  136. package/runtime/node_modules/.package-lock.json +129 -129
  137. package/runtime/node_modules/@agent/core/dist/index.js +286 -68
  138. package/runtime/node_modules/@agent/native-runtime/dist/index.js +444 -127
  139. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/bridge.mjs +75 -79
  140. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.js +52 -52
  141. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-2g5j09ba.mjs +16 -0
  142. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-59ydwk0g.mjs +17 -0
  143. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-q4cwy1ja.mjs → core-664d5mmy.mjs} +2 -2
  144. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-zn1abzvs.mjs → core-70sfhqm6.mjs} +2 -2
  145. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-95gcz3n1.mjs +38 -0
  146. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-ew5sfvfe.mjs +39 -0
  147. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-gjhs7gf6.mjs +20 -0
  148. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-kvdt1szx.mjs +18 -0
  149. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-p654hjkr.mjs +22 -0
  150. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-q9bjbxkv.mjs +19 -0
  151. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-samdvsjh.mjs +33 -0
  152. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-x6bt758j.mjs +17 -0
  153. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core.mjs +12 -12
  154. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.json +22 -22
  155. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.zst.json +26 -26
  156. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/package.json +22 -23
  157. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +84 -83
  158. package/runtime/node_modules/caniuse-lite/package.json +1 -1
  159. package/runtime/node_modules/mediabunny/README.md +4 -0
  160. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.cjs +185 -127
  161. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.cjs +11 -11
  162. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.mjs +12 -12
  163. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.mjs +185 -127
  164. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.node.cjs +185 -127
  165. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.worker.js +8 -0
  166. package/runtime/node_modules/mediabunny/dist/modules/src/adts/adts-demuxer.js +4 -0
  167. package/runtime/node_modules/mediabunny/dist/modules/src/aes.js +6 -4
  168. package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-demuxer.js +6 -0
  169. package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-segmented-input.js +17 -5
  170. package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-boxes.js +2 -1
  171. package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-demuxer.js +12 -1
  172. package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-muxer.js +34 -18
  173. package/runtime/node_modules/mediabunny/dist/modules/src/matroska/matroska-demuxer.js +3 -0
  174. package/runtime/node_modules/mediabunny/dist/modules/src/media-sink.js +3 -8
  175. package/runtime/node_modules/mediabunny/dist/modules/src/media-source.js +5 -12
  176. package/runtime/node_modules/mediabunny/dist/modules/src/misc.js +19 -5
  177. package/runtime/node_modules/mediabunny/dist/modules/src/mp3/mp3-demuxer.js +4 -0
  178. package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-demuxer.js +22 -13
  179. package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-muxer.js +2 -2
  180. package/runtime/node_modules/mediabunny/dist/modules/src/segmented-input.js +70 -65
  181. package/runtime/node_modules/mediabunny/dist/modules/src/tsconfig.tsbuildinfo +1 -1
  182. package/runtime/node_modules/mediabunny/dist/modules/src/version.js +1 -1
  183. package/runtime/node_modules/mediabunny/dist/modules/src/worker.js +26 -0
  184. package/runtime/node_modules/mediabunny/package.json +1 -1
  185. package/runtime/node_modules/mediabunny/src/adts/adts-demuxer.ts +5 -0
  186. package/runtime/node_modules/mediabunny/src/aes.ts +7 -4
  187. package/runtime/node_modules/mediabunny/src/hls/hls-demuxer.ts +7 -0
  188. package/runtime/node_modules/mediabunny/src/hls/hls-segmented-input.ts +19 -6
  189. package/runtime/node_modules/mediabunny/src/isobmff/isobmff-boxes.ts +2 -1
  190. package/runtime/node_modules/mediabunny/src/isobmff/isobmff-demuxer.ts +15 -1
  191. package/runtime/node_modules/mediabunny/src/isobmff/isobmff-muxer.ts +37 -19
  192. package/runtime/node_modules/mediabunny/src/matroska/matroska-demuxer.ts +4 -0
  193. package/runtime/node_modules/mediabunny/src/media-sink.ts +3 -12
  194. package/runtime/node_modules/mediabunny/src/media-source.ts +5 -20
  195. package/runtime/node_modules/mediabunny/src/misc.ts +26 -5
  196. package/runtime/node_modules/mediabunny/src/mp3/mp3-demuxer.ts +5 -0
  197. package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-demuxer.ts +30 -19
  198. package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-muxer.ts +2 -2
  199. package/runtime/node_modules/mediabunny/src/segmented-input.ts +76 -79
  200. package/runtime/node_modules/mediabunny/src/version.ts +1 -1
  201. package/runtime/node_modules/mediabunny/src/worker.ts +28 -0
  202. package/runtime/package-lock.json +162 -162
  203. package/runtime/server.js +1 -1
  204. package/runtime/webapp/dist/assets/AIHubView-CNKanNZa.js +1 -0
  205. package/runtime/webapp/dist/assets/{AgentManager-dXI31b0a.js → AgentManager-B8TTqJaL.js} +2 -2
  206. package/runtime/webapp/dist/assets/AiHubPane-Coyn3P-J.js +1 -0
  207. package/runtime/webapp/dist/assets/App-BGIGpBp3.js +68 -0
  208. package/runtime/webapp/dist/assets/BrowserLivePanel-DnzJOz5w.js +61 -0
  209. package/runtime/webapp/dist/assets/CalendarPage-D0oaq2_l.js +1 -0
  210. package/runtime/webapp/dist/assets/{CalendarView-QfbrlL9X.js → CalendarView-QXZbXnXA.js} +3 -3
  211. package/runtime/webapp/dist/assets/CollaborationCreateDialog-CE8OML-A.js +1 -0
  212. package/runtime/webapp/dist/assets/CollaborationDashboard-CV18iiBO.js +1 -0
  213. package/runtime/webapp/dist/assets/{CollaborationPage-B1tiqgnG.js → CollaborationPage-B2mIAc-h.js} +2 -2
  214. package/runtime/webapp/dist/assets/{FilePreview-CPY6dP8Q.js → FilePreview-BCEiERA1.js} +9 -9
  215. package/runtime/webapp/dist/assets/{FileTree-BBgrOian.js → FileTree-CMbs1Gj3.js} +2 -2
  216. package/runtime/webapp/dist/assets/FileWorkspaceDrawer-BxFS-0sF.js +1 -0
  217. package/runtime/webapp/dist/assets/FlowStudioPane-CVP0Q6zR.js +5 -0
  218. package/runtime/webapp/dist/assets/HostProjectPicker-DUUgM2Cm.js +1 -0
  219. package/runtime/webapp/dist/assets/{LSPServerList-B-R7HDSP.js → LSPServerList-COMVmsvb.js} +1 -1
  220. package/runtime/webapp/dist/assets/{MCPServerList-CTc0iAwT.js → MCPServerList-C_juD6B4.js} +1 -1
  221. package/runtime/webapp/dist/assets/{MemoryViewer-Dzh_miRv.js → MemoryViewer-Et2vysSN.js} +1 -1
  222. package/runtime/webapp/dist/assets/NewSessionWindow-DwJhkRJd.js +1 -0
  223. package/runtime/webapp/dist/assets/RemoteDesktopPage-Cqsea4X7.js +1 -0
  224. package/runtime/webapp/dist/assets/{RemoteDesktopTabBridge-BA_HQv3V.js → RemoteDesktopTabBridge-BFzNwpUn.js} +1 -1
  225. package/runtime/webapp/dist/assets/{RunningSessionsIcon-BvFSI9OF.js → RunningSessionsIcon-D_cOqmmk.js} +1 -1
  226. package/runtime/webapp/dist/assets/{SessionDashboard-DcPPoXe2.js → SessionDashboard-yjdEKypJ.js} +2 -2
  227. package/runtime/webapp/dist/assets/{SessionDashboardBridge-CjoeUy-v.js → SessionDashboardBridge-Kc_1Et9r.js} +1 -1
  228. package/runtime/webapp/dist/assets/{SettingsPanel-DmdXDQUm.js → SettingsPanel-t26XhKHP.js} +2 -2
  229. package/runtime/webapp/dist/assets/{SkillManager-CS_skFZj.js → SkillManager-nZU7b1sc.js} +1 -1
  230. package/runtime/webapp/dist/assets/{TaskPaneTerminal-BFHDRCb9.js → TaskPaneTerminal-BPaCKman.js} +1 -1
  231. package/runtime/webapp/dist/assets/{TerminalPane-Dr_nY9pI.js → TerminalPane-CiIpI1Id.js} +1 -1
  232. package/runtime/webapp/dist/assets/TodoPage-CG__S6_l.js +1 -0
  233. package/runtime/webapp/dist/assets/{abnfDiagram-VCTEODGH-FEEApB15.js → abnfDiagram-VCTEODGH-DmKjGVfG.js} +1 -1
  234. package/runtime/webapp/dist/assets/{arc-CycwMc2c.js → arc-D6bpvBke.js} +1 -1
  235. package/runtime/webapp/dist/assets/{architectureDiagram-5GKGNRK7-BFq9JapX.js → architectureDiagram-5GKGNRK7-NEKc2BYf.js} +1 -1
  236. package/runtime/webapp/dist/assets/{blockDiagram-I7D4REHJ-DkOJ55Ag.js → blockDiagram-I7D4REHJ-V6G00twZ.js} +1 -1
  237. package/runtime/webapp/dist/assets/{c4Diagram-7LVT6UL2-CRvi_3RM.js → c4Diagram-7LVT6UL2-CojA33V5.js} +1 -1
  238. package/runtime/webapp/dist/assets/{calendar-days-CLwKstxM.js → calendar-days-DXE_2mLa.js} +1 -1
  239. package/runtime/webapp/dist/assets/channel-D66Qxmo0.js +1 -0
  240. package/runtime/webapp/dist/assets/{check-8EVJMrTV.js → check-UipgMBET.js} +1 -1
  241. package/runtime/webapp/dist/assets/{chevron-down-ChNxfI2x.js → chevron-down-Dvinwg2S.js} +1 -1
  242. package/runtime/webapp/dist/assets/{chevron-right-Cbkc_d70.js → chevron-right-BGU3tcLA.js} +1 -1
  243. package/runtime/webapp/dist/assets/{chunk-2Q5K7J3B-Cklzvs8u.js → chunk-2Q5K7J3B-DObpPEgk.js} +1 -1
  244. package/runtime/webapp/dist/assets/{chunk-5VM5RSS4-NxozE5UP.js → chunk-5VM5RSS4-PaTzAg6w.js} +1 -1
  245. package/runtime/webapp/dist/assets/{chunk-F27PBJKO-Dyb8E7YM.js → chunk-F27PBJKO-Pn4gut94.js} +1 -1
  246. package/runtime/webapp/dist/assets/{chunk-IMKFNOWR-BqbMMc1n.js → chunk-IMKFNOWR-nRaVFzK9.js} +1 -1
  247. package/runtime/webapp/dist/assets/{chunk-JWPE2WC7-do0R2H6U.js → chunk-JWPE2WC7-CxssjKKN.js} +1 -1
  248. package/runtime/webapp/dist/assets/{chunk-POPQ4Y6H-B2HIaynf.js → chunk-POPQ4Y6H-CweDXr-B.js} +1 -1
  249. package/runtime/webapp/dist/assets/{chunk-SVP7TREG-C_zmjkwn.js → chunk-SVP7TREG-C7T3FGE-.js} +1 -1
  250. package/runtime/webapp/dist/assets/{chunk-TICWLB2K-Dh2bZgM1.js → chunk-TICWLB2K-Nc0H-0_V.js} +1 -1
  251. package/runtime/webapp/dist/assets/{chunk-XXDRQBXY-CnqciVDz.js → chunk-XXDRQBXY-D_GQGF5g.js} +1 -1
  252. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-BAX0-S6b.js +1 -0
  253. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-BAX0-S6b.js +1 -0
  254. package/runtime/webapp/dist/assets/{client-I0ZVCjOI.js → client-Bb0hpbIR.js} +1 -1
  255. package/runtime/webapp/dist/assets/{codeSyntax-C8n4_KZS.js → codeSyntax-DHonp3tF.js} +3 -3
  256. package/runtime/webapp/dist/assets/{collaboration-lVxWL5ce.js → collaboration-e_iziKU1.js} +1 -1
  257. package/runtime/webapp/dist/assets/composer-file-routing-CWyT7leB.js +6 -0
  258. package/runtime/webapp/dist/assets/{cose-bilkent-JH36ORCC-CulKVUkj.js → cose-bilkent-JH36ORCC-Ac_FBan4.js} +1 -1
  259. package/runtime/webapp/dist/assets/{cynefin-OW5HDTMX-C1LUI1_G.js → cynefin-OW5HDTMX-vr6c389q.js} +1 -1
  260. package/runtime/webapp/dist/assets/{cynefinDiagram-5FMLGOSQ-D3Ymzw_P.js → cynefinDiagram-5FMLGOSQ-sXmUCrp_.js} +1 -1
  261. package/runtime/webapp/dist/assets/{dagre-GXQ25YYZ-DRaL0cGu.js → dagre-GXQ25YYZ-B0DmGxDv.js} +1 -1
  262. package/runtime/webapp/dist/assets/{diagram-S7CK7UJ4-D8gLHoZo.js → diagram-S7CK7UJ4-Dn-2jJ6S.js} +1 -1
  263. package/runtime/webapp/dist/assets/{diagram-UQ7AKVKN-CaVU0aQT.js → diagram-UQ7AKVKN-BcasYsju.js} +1 -1
  264. package/runtime/webapp/dist/assets/{diagram-VSXAHHWV-LFAKRvZz.js → diagram-VSXAHHWV-DCgGkc82.js} +1 -1
  265. package/runtime/webapp/dist/assets/{diagram-VX7I27RA-DXpxUERc.js → diagram-VX7I27RA-Cjs0Ny4i.js} +1 -1
  266. package/runtime/webapp/dist/assets/{diagram-Z3DM3KII-vAiik55G.js → diagram-Z3DM3KII-0nyddp0v.js} +1 -1
  267. package/runtime/webapp/dist/assets/{ebnfDiagram-PWID7BFC-MaFL7Kgb.js → ebnfDiagram-PWID7BFC-By7gCUsz.js} +1 -1
  268. package/runtime/webapp/dist/assets/{erDiagram-RLTQ6QDP-DuEu79B3.js → erDiagram-RLTQ6QDP-DdwBp45A.js} +1 -1
  269. package/runtime/webapp/dist/assets/{file-types-ZVLWtslN.js → file-types-nujx8XUw.js} +1 -1
  270. package/runtime/webapp/dist/assets/{flowDiagram-HODETNUW-BAQ6nP2D.js → flowDiagram-HODETNUW-DbOwRaT9.js} +1 -1
  271. package/runtime/webapp/dist/assets/{ganttDiagram-EL5Y4UJY-C48VBnPy.js → ganttDiagram-EL5Y4UJY-CG8obc7O.js} +3 -3
  272. package/runtime/webapp/dist/assets/{gitGraphDiagram-WWUBYQGX-BfWAh9Kr.js → gitGraphDiagram-WWUBYQGX-ru6aSu_g.js} +1 -1
  273. package/runtime/webapp/dist/assets/{history-D4E3D_aM.js → history-DaBh5_SJ.js} +1 -1
  274. package/runtime/webapp/dist/assets/{image-plus-DQV_EEAN.js → image-plus-Cm9jq1yo.js} +1 -1
  275. package/runtime/webapp/dist/assets/index-BAGzBXQc.css +1 -0
  276. package/runtime/webapp/dist/assets/index-YrEOkxAg.js +500 -0
  277. package/runtime/webapp/dist/assets/{infoDiagram-27XIBGKW-BM7P_-u_.js → infoDiagram-27XIBGKW-Crx1iSbW.js} +1 -1
  278. package/runtime/webapp/dist/assets/{ishikawaDiagram-5VMMS53U-Cwd8XR-p.js → ishikawaDiagram-5VMMS53U-ClQPMEk5.js} +1 -1
  279. package/runtime/webapp/dist/assets/{journeyDiagram-3NMN7TZE-MOgiksTh.js → journeyDiagram-3NMN7TZE-DHso2Xht.js} +1 -1
  280. package/runtime/webapp/dist/assets/{kanban-definition-UXKFOSKX-DulC5OLL.js → kanban-definition-UXKFOSKX-D6psIAhv.js} +1 -1
  281. package/runtime/webapp/dist/assets/{layout-Dku9sXQ7.js → layout-B6AVZ9v9.js} +1 -1
  282. package/runtime/webapp/dist/assets/{linear-B3-dddD7.js → linear-CEZOUjlB.js} +1 -1
  283. package/runtime/webapp/dist/assets/{list-todo-Bik5IY2r.js → list-todo-D9ChIz0f.js} +1 -1
  284. package/runtime/webapp/dist/assets/{loader-circle-C5C-IzGK.js → loader-circle-CAHZbD5s.js} +1 -1
  285. package/runtime/webapp/dist/assets/{locate-fixed-CHkezEEh.js → locate-fixed-2R48MVg_.js} +1 -1
  286. package/runtime/webapp/dist/assets/{mermaid.core-CRRXKysA.js → mermaid.core-DH0df9xk.js} +5 -5
  287. package/runtime/webapp/dist/assets/{mindmap-definition-YA3MSWOX-CaaP-nEb.js → mindmap-definition-YA3MSWOX-QWt8leZC.js} +1 -1
  288. package/runtime/webapp/dist/assets/{mobileViewport-CekmYKqS.js → mobileViewport-CKvpvxYc.js} +1 -1
  289. package/runtime/webapp/dist/assets/new-session-window-CiRwM3Od.js +191 -0
  290. package/runtime/webapp/dist/assets/{new-session-window-BfDMd-h3.css → new-session-window-DIU2v1uh.css} +1 -1
  291. package/runtime/webapp/dist/assets/{page-_fFyRId-.js → page-Cd9ci9uo.js} +6 -6
  292. package/runtime/webapp/dist/assets/{pause-BsmUCuwZ.js → pause-ddt7BLlm.js} +1 -1
  293. package/runtime/webapp/dist/assets/{pegDiagram-XKGWAZYB-BqybPEwk.js → pegDiagram-XKGWAZYB-JNBt0nDx.js} +1 -1
  294. package/runtime/webapp/dist/assets/{pieDiagram-E7YTZNPT-BX1H2lh2.js → pieDiagram-E7YTZNPT-g0hnDqNp.js} +1 -1
  295. package/runtime/webapp/dist/assets/{pin-BsEEYq8M.js → pin-BTP5lC_c.js} +1 -1
  296. package/runtime/webapp/dist/assets/{quadrantDiagram-AXDQQJYC-Btnywv1k.js → quadrantDiagram-AXDQQJYC-mLZASjSm.js} +1 -1
  297. package/runtime/webapp/dist/assets/{railroadDiagram-O6MQD6OU-Da_TV1ER.js → railroadDiagram-O6MQD6OU-CAXNAZhB.js} +1 -1
  298. package/runtime/webapp/dist/assets/{requirementDiagram-BXWQKSXE-5V1Aow9h.js → requirementDiagram-BXWQKSXE-BC8y1ZXE.js} +1 -1
  299. package/runtime/webapp/dist/assets/{rotate-ccw-BbSby0GQ.js → rotate-ccw-CHFTy38a.js} +1 -1
  300. package/runtime/webapp/dist/assets/{rotate-cw-BMdX-ln4.js → rotate-cw-CFCtRFDl.js} +1 -1
  301. package/runtime/webapp/dist/assets/{sankeyDiagram-P5KCCOFB-D_OIVihV.js → sankeyDiagram-P5KCCOFB-Boi5NPjT.js} +1 -1
  302. package/runtime/webapp/dist/assets/{send-Cb7EWSJF.js → send-CzCncLlt.js} +1 -1
  303. package/runtime/webapp/dist/assets/{sequenceDiagram-WJ2MYXX4-LKeF5Mri.js → sequenceDiagram-WJ2MYXX4-D4ccoVEB.js} +1 -1
  304. package/runtime/webapp/dist/assets/{session-dashboard-BFqNDCc8.js → session-dashboard-C0KfSCDl.js} +1 -1
  305. package/runtime/webapp/dist/assets/{session-tree-BK_qaCnb.js → session-tree-CTzXmV6R.js} +1 -1
  306. package/runtime/webapp/dist/assets/{shield-check-C-r87aMq.js → shield-check-Da6EGdIt.js} +1 -1
  307. package/runtime/webapp/dist/assets/{sizeCapture-INFHLROL-B6j7Q_MN.js → sizeCapture-INFHLROL-Cd5jIVgK.js} +1 -1
  308. package/runtime/webapp/dist/assets/{stateDiagram-D77RDMKH-zhPFqHdQ.js → stateDiagram-D77RDMKH-DXlmaNwu.js} +1 -1
  309. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-Dh6coc1l.js +1 -0
  310. package/runtime/webapp/dist/assets/{swimlanes-42K2YHIH-C_FCENx1.js → swimlanes-42K2YHIH-DyhRB_e0.js} +1 -1
  311. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-BzriATjP.js +8 -0
  312. package/runtime/webapp/dist/assets/{timeline-definition-24CTP7MA-C3DBXjDU.js → timeline-definition-24CTP7MA-Bkfs9Mi-.js} +1 -1
  313. package/runtime/webapp/dist/assets/{trash-2-DjggJGbw.js → trash-2-C682LDDA.js} +1 -1
  314. package/runtime/webapp/dist/assets/{types-BQCEWNQz.js → types-CfOuS-6l.js} +1 -1
  315. package/runtime/webapp/dist/assets/{use-session-activity-BbTXGW7Z.js → use-session-activity-C9Cn92Hj.js} +1 -1
  316. package/runtime/webapp/dist/assets/{vennDiagram-4TSXK5OY-CssdTIB0.js → vennDiagram-4TSXK5OY-APWT64sw.js} +1 -1
  317. package/runtime/webapp/dist/assets/{wardleyDiagram-VM6X3IG4-C58K2vVU.js → wardleyDiagram-VM6X3IG4-H7xLoxwM.js} +1 -1
  318. package/runtime/webapp/dist/assets/{web-B4y8vdRZ.js → web-CT8e03DV.js} +1 -1
  319. package/runtime/webapp/dist/assets/{web-D9rJZXHW.js → web-DG022HwJ.js} +1 -1
  320. package/runtime/webapp/dist/assets/{xychartDiagram-S5SC5T6Z-CQi8bD6A.js → xychartDiagram-S5SC5T6Z-DIrxZ4UJ.js} +1 -1
  321. package/runtime/webapp/dist/assets/{zoom-out-iMMWRXJs.js → zoom-out-CRN76HNZ.js} +1 -1
  322. package/runtime/webapp/dist/index.html +2 -2
  323. package/runtime/ws-server.mjs +5 -0
  324. package/runtime/.next/static/chunks/app/web/error-30cea9cffce0ebc2.js +0 -1
  325. package/runtime/.next/static/chunks/app/web/layout-d8a4f4131e7f2330.js +0 -1
  326. package/runtime/.next/static/chunks/main-app-30a478479a347a9e.js +0 -1
  327. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-0e6mn0ck.mjs +0 -17
  328. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-0ssqfy51.mjs +0 -18
  329. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-82ghff97.mjs +0 -39
  330. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-82yhcz2x.mjs +0 -17
  331. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-b8jr1m8m.mjs +0 -23
  332. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-cj0jh226.mjs +0 -17
  333. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-ebtbxtjf.mjs +0 -28
  334. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-pb4erfqh.mjs +0 -42
  335. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-rs058s2g.mjs +0 -16
  336. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-w6pv4szb.mjs +0 -18
  337. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-wjeh40nr.mjs +0 -20
  338. package/runtime/webapp/dist/assets/AIHubView-CM6ugXG3.js +0 -1
  339. package/runtime/webapp/dist/assets/AiHubPane-DFzC3nbd.js +0 -1
  340. package/runtime/webapp/dist/assets/App-mF6ELC07.js +0 -68
  341. package/runtime/webapp/dist/assets/BrowserLivePanel-CamAULwS.js +0 -61
  342. package/runtime/webapp/dist/assets/CalendarPage-BbYdGYWn.js +0 -1
  343. package/runtime/webapp/dist/assets/CollaborationCreateDialog-CWhmFQtA.js +0 -1
  344. package/runtime/webapp/dist/assets/CollaborationDashboard-XL5SnFOu.js +0 -1
  345. package/runtime/webapp/dist/assets/FileWorkspaceDrawer-BXDuKlrL.js +0 -1
  346. package/runtime/webapp/dist/assets/FlowStudioPane-lnjLcd9c.js +0 -5
  347. package/runtime/webapp/dist/assets/HostProjectPicker-DN_vGqQb.js +0 -1
  348. package/runtime/webapp/dist/assets/NewSessionWindow-zjqAUfKb.js +0 -1
  349. package/runtime/webapp/dist/assets/RemoteDesktopPage-9AhztqA2.js +0 -1
  350. package/runtime/webapp/dist/assets/TodoPage-guIvBCW0.js +0 -1
  351. package/runtime/webapp/dist/assets/artifact-links-B0ApmgK6.js +0 -2
  352. package/runtime/webapp/dist/assets/channel-BwDuyJO4.js +0 -1
  353. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-BfyV8P0w.js +0 -1
  354. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-BfyV8P0w.js +0 -1
  355. package/runtime/webapp/dist/assets/composer-file-routing-qSvJpT-v.js +0 -6
  356. package/runtime/webapp/dist/assets/download-BE31-Qm0.js +0 -6
  357. package/runtime/webapp/dist/assets/index-DSgLFE4Q.js +0 -489
  358. package/runtime/webapp/dist/assets/index-zQk0NCEB.css +0 -1
  359. package/runtime/webapp/dist/assets/new-session-window-Dgl7UWPR.js +0 -190
  360. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-DWnBZAiI.js +0 -1
  361. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-DOZCbCJP.js +0 -8
  362. package/runtime/webapp/dist/assets/x-BYUglEo9.js +0 -6
  363. /package/runtime/.next/static/{5rv6PMhU7yq1sI1ClFWRU → _rMvYWpbWkNWrFkCQx3rK}/_buildManifest.js +0 -0
  364. /package/runtime/.next/static/{5rv6PMhU7yq1sI1ClFWRU → _rMvYWpbWkNWrFkCQx3rK}/_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/.codex/artifacts/agentroam-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/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-npm-remote-auth-20261125.yi_kd6wp/source/packages/server/app/web/page.tsx":{"id":3828,"name":"*","chunks":["753","static/chunks/753-90c7dd1ba08be9be.js","541","static/chunks/app/web/page-b0da5ef19349a66b.js"],"async":false},"/Users/caoqu/.codex/artifacts/agentroam-npm-remote-auth-20261125.yi_kd6wp/source/packages/shared/src/console/neural-boot.css":{"id":8369,"name":"*","chunks":["606","static/chunks/app/web/layout-d8a4f4131e7f2330.js"],"async":false},"/Users/caoqu/.codex/artifacts/agentroam-npm-remote-auth-20261125.yi_kd6wp/source/packages/server/app/web/error.tsx":{"id":3194,"name":"*","chunks":["980","static/chunks/app/web/error-30cea9cffce0ebc2.js"],"async":false}},"entryCSSFiles":{"/Users/caoqu/.codex/artifacts/agentroam-npm-remote-auth-20261125.yi_kd6wp/source/packages/server/":[],"/Users/caoqu/.codex/artifacts/agentroam-npm-remote-auth-20261125.yi_kd6wp/source/packages/server/app/layout":[],"/Users/caoqu/.codex/artifacts/agentroam-npm-remote-auth-20261125.yi_kd6wp/source/packages/server/app/web/page":[],"/Users/caoqu/.codex/artifacts/agentroam-npm-remote-auth-20261125.yi_kd6wp/source/packages/server/app/web/layout":["static/css/50f255aa50ec70d1.css"],"/Users/caoqu/.codex/artifacts/agentroam-npm-remote-auth-20261125.yi_kd6wp/source/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/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-f008ab6dfeab7ce7.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,94 +1,95 @@
1
1
  {
2
2
  "/_not-found/page": "app/_not-found/page.js",
3
- "/api/flow/v1/runs/[runId]/cancel/route": "app/api/flow/v1/runs/[runId]/cancel/route.js",
4
3
  "/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
- "/api/flow/v1/runs/route": "app/api/flow/v1/runs/route.js",
7
4
  "/api/collaboration/route": "app/api/collaboration/route.js",
5
+ "/api/flow/v1/runs/[runId]/cancel/route": "app/api/flow/v1/runs/[runId]/cancel/route.js",
6
+ "/api/flow/v1/runs/[runId]/events/route": "app/api/flow/v1/runs/[runId]/events/route.js",
8
7
  "/api/mcp/connect/route": "app/api/mcp/connect/route.js",
8
+ "/api/flow/v1/runs/route": "app/api/flow/v1/runs/route.js",
9
+ "/api/mcp/servers/route": "app/api/mcp/servers/route.js",
9
10
  "/api/mcp/disconnect/route": "app/api/mcp/disconnect/route.js",
10
11
  "/api/memory/route": "app/api/memory/route.js",
11
12
  "/api/memory/[key]/route": "app/api/memory/[key]/route.js",
12
- "/api/mcp/servers/route": "app/api/mcp/servers/route.js",
13
13
  "/api/plugins/load/route": "app/api/plugins/load/route.js",
14
14
  "/api/projects/check/route": "app/api/projects/check/route.js",
15
15
  "/api/projects/[id]/route": "app/api/projects/[id]/route.js",
16
16
  "/api/projects/directories/route": "app/api/projects/directories/route.js",
17
- "/api/projects/route": "app/api/projects/route.js",
18
- "/api/push/unsubscribe/route": "app/api/push/unsubscribe/route.js",
17
+ "/api/push/subscribe/route": "app/api/push/subscribe/route.js",
19
18
  "/api/projects/roots/route": "app/api/projects/roots/route.js",
20
19
  "/api/push/vapid/route": "app/api/push/vapid/route.js",
21
- "/api/push/subscribe/route": "app/api/push/subscribe/route.js",
20
+ "/api/push/unsubscribe/route": "app/api/push/unsubscribe/route.js",
22
21
  "/api/session-views/route": "app/api/session-views/route.js",
22
+ "/api/projects/route": "app/api/projects/route.js",
23
23
  "/api/remote-tools/register/route": "app/api/remote-tools/register/route.js",
24
- "/api/sessions/[id]/engine-switches/route": "app/api/sessions/[id]/engine-switches/route.js",
25
24
  "/api/sessions/[id]/fork-at/route": "app/api/sessions/[id]/fork-at/route.js",
25
+ "/api/sessions/[id]/engine-switches/route": "app/api/sessions/[id]/engine-switches/route.js",
26
26
  "/api/sessions/[id]/thread-history/route": "app/api/sessions/[id]/thread-history/route.js",
27
27
  "/api/sessions/parallel/route": "app/api/sessions/parallel/route.js",
28
28
  "/api/skills/route": "app/api/skills/route.js",
29
- "/api/tools/route": "app/api/tools/route.js",
30
29
  "/api/tool-policies/[policyId]/route": "app/api/tool-policies/[policyId]/route.js",
31
30
  "/api/web-auth/logout/route": "app/api/web-auth/logout/route.js",
31
+ "/api/web-auth/login/route": "app/api/web-auth/login/route.js",
32
+ "/api/tools/route": "app/api/tools/route.js",
32
33
  "/api/web-auth/setup/route": "app/api/web-auth/setup/route.js",
33
34
  "/api/web-auth/revoke-all/route": "app/api/web-auth/revoke-all/route.js",
34
- "/api/web-auth/login/route": "app/api/web-auth/login/route.js",
35
35
  "/api/web-console/preferences/route": "app/api/web-console/preferences/route.js",
36
36
  "/api/web-console/history/route": "app/api/web-console/history/route.js",
37
- "/api/agent-workspaces/route": "app/api/agent-workspaces/route.js",
38
- "/api/agent/answer/route": "app/api/agent/answer/route.js",
39
37
  "/api/agent/abort/route": "app/api/agent/abort/route.js",
40
- "/api/agent-workspaces/[workspaceId]/sessions/route": "app/api/agent-workspaces/[workspaceId]/sessions/route.js",
38
+ "/api/agent/answer/route": "app/api/agent/answer/route.js",
39
+ "/api/agent/codex-sharing/route": "app/api/agent/codex-sharing/route.js",
40
+ "/api/agent-workspaces/route": "app/api/agent-workspaces/route.js",
41
41
  "/api/agent/harness/status/route": "app/api/agent/harness/status/route.js",
42
+ "/api/agent/model/route": "app/api/agent/model/route.js",
42
43
  "/api/agent/runtime-health/route": "app/api/agent/runtime-health/route.js",
43
44
  "/api/agent/models/route": "app/api/agent/models/route.js",
44
- "/api/agent/model/route": "app/api/agent/model/route.js",
45
- "/api/business/route": "app/api/business/route.js",
46
- "/api/agent/codex-sharing/route": "app/api/agent/codex-sharing/route.js",
45
+ "/api/agent/composer/route": "app/api/agent/composer/route.js",
46
+ "/api/agent-workspaces/[workspaceId]/sessions/route": "app/api/agent-workspaces/[workspaceId]/sessions/route.js",
47
47
  "/api/agent/steer/route": "app/api/agent/steer/route.js",
48
+ "/api/business/route": "app/api/business/route.js",
49
+ "/api/engine-threads/route": "app/api/engine-threads/route.js",
48
50
  "/api/flow-studio/config/route": "app/api/flow-studio/config/route.js",
49
- "/api/calendar/route": "app/api/calendar/route.js",
50
51
  "/api/agent/stream/route": "app/api/agent/stream/route.js",
51
- "/api/engine-threads/route": "app/api/engine-threads/route.js",
52
- "/api/internal/todo-bootstrap/route": "app/api/internal/todo-bootstrap/route.js",
53
52
  "/api/flow/v1/catalog/route": "app/api/flow/v1/catalog/route.js",
53
+ "/api/internal/todo-bootstrap/route": "app/api/internal/todo-bootstrap/route.js",
54
+ "/api/calendar/route": "app/api/calendar/route.js",
55
+ "/api/agent/run/route": "app/api/agent/run/route.js",
54
56
  "/api/client-logs/route": "app/api/client-logs/route.js",
55
- "/api/messaging/route": "app/api/messaging/route.js",
56
57
  "/api/notifications/[id]/route": "app/api/notifications/[id]/route.js",
57
58
  "/api/notifications/[id]/ack/route": "app/api/notifications/[id]/ack/route.js",
58
- "/api/agent/run/route": "app/api/agent/run/route.js",
59
+ "/api/messaging/route": "app/api/messaging/route.js",
59
60
  "/api/notifications/route": "app/api/notifications/route.js",
60
61
  "/api/notifications/stream/route": "app/api/notifications/stream/route.js",
61
- "/api/session-images/[id]/route": "app/api/session-images/[id]/route.js",
62
62
  "/api/sessions/[id]/background-jobs/[jobId]/route": "app/api/sessions/[id]/background-jobs/[jobId]/route.js",
63
63
  "/api/internal/todo-mcp/route": "app/api/internal/todo-mcp/route.js",
64
+ "/api/session-images/[id]/route": "app/api/session-images/[id]/route.js",
64
65
  "/api/sessions/[id]/background-jobs/[jobId]/stop/route": "app/api/sessions/[id]/background-jobs/[jobId]/stop/route.js",
66
+ "/api/sessions/[id]/background-jobs/route": "app/api/sessions/[id]/background-jobs/route.js",
65
67
  "/api/sessions/[id]/handoff/route": "app/api/sessions/[id]/handoff/route.js",
66
68
  "/api/sessions/[id]/fork/route": "app/api/sessions/[id]/fork/route.js",
67
- "/api/sessions/[id]/background-jobs/route": "app/api/sessions/[id]/background-jobs/route.js",
69
+ "/api/sessions/[id]/changes/route": "app/api/sessions/[id]/changes/route.js",
70
+ "/api/sessions/[id]/native-goal/route": "app/api/sessions/[id]/native-goal/route.js",
68
71
  "/api/sessions/[id]/release/route": "app/api/sessions/[id]/release/route.js",
69
72
  "/api/sessions/[id]/query-index/route": "app/api/sessions/[id]/query-index/route.js",
70
- "/api/sessions/[id]/changes/route": "app/api/sessions/[id]/changes/route.js",
71
73
  "/api/sessions/[id]/switch-engine/route": "app/api/sessions/[id]/switch-engine/route.js",
72
- "/api/sessions/[id]/native-goal/route": "app/api/sessions/[id]/native-goal/route.js",
73
74
  "/api/sessions/[id]/thread-goal/route": "app/api/sessions/[id]/thread-goal/route.js",
74
75
  "/api/sessions/[id]/goals/route": "app/api/sessions/[id]/goals/route.js",
75
- "/api/sessions/route": "app/api/sessions/route.js",
76
76
  "/api/settings/route": "app/api/settings/route.js",
77
+ "/api/sessions/route": "app/api/sessions/route.js",
77
78
  "/api/todos/[id]/executions/route": "app/api/todos/[id]/executions/route.js",
78
- "/api/todos/route": "app/api/todos/route.js",
79
- "/api/todos/[id]/route": "app/api/todos/[id]/route.js",
79
+ "/api/sessions/[id]/route": "app/api/sessions/[id]/route.js",
80
80
  "/api/todos/[id]/commands/route": "app/api/todos/[id]/commands/route.js",
81
+ "/api/todos/[id]/route": "app/api/todos/[id]/route.js",
82
+ "/api/todos/route": "app/api/todos/route.js",
81
83
  "/api/tool-policies/route": "app/api/tool-policies/route.js",
84
+ "/api/update/status/route": "app/api/update/status/route.js",
82
85
  "/api/update/check/route": "app/api/update/check/route.js",
83
- "/api/sessions/[id]/tool-result/route": "app/api/sessions/[id]/tool-result/route.js",
84
86
  "/api/update/install/route": "app/api/update/install/route.js",
85
- "/api/update/status/route": "app/api/update/status/route.js",
86
87
  "/api/web-console/bootstrap/route": "app/api/web-console/bootstrap/route.js",
88
+ "/api/sessions/[id]/tool-result/route": "app/api/sessions/[id]/tool-result/route.js",
87
89
  "/api/web-auth/status/route": "app/api/web-auth/status/route.js",
88
- "/api/web-console/device-state/route": "app/api/web-console/device-state/route.js",
89
- "/api/sessions/[id]/route": "app/api/sessions/[id]/route.js",
90
- "/api/web-console/computer-settings/route": "app/api/web-console/computer-settings/route.js",
91
90
  "/api/workspace-changes/route": "app/api/workspace-changes/route.js",
91
+ "/api/web-console/device-state/route": "app/api/web-console/device-state/route.js",
92
92
  "/api/web-console/computers/route": "app/api/web-console/computers/route.js",
93
+ "/api/web-console/computer-settings/route": "app/api/web-console/computer-settings/route.js",
93
94
  "/web/page": "app/web/page.js"
94
95
  }
@@ -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(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})}}};
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})}}};