agentroam-runtime-darwin-arm64 0.2.0-preview.73 → 0.2.0-preview.75

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 (268) hide show
  1. package/manifest.json +2 -3
  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/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 +2 -2
  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 +3 -0
  28. package/runtime/.next/server/app/api/calendar/route.js.nft.json +1 -0
  29. package/runtime/.next/server/app/api/client-logs/route.js +1 -1
  30. package/runtime/.next/server/app/api/collaboration/route.js +2 -2
  31. package/runtime/.next/server/app/api/engine-threads/route.js +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/mcp/connect/route.js +1 -1
  38. package/runtime/.next/server/app/api/mcp/disconnect/route.js +1 -1
  39. package/runtime/.next/server/app/api/mcp/servers/route.js +1 -1
  40. package/runtime/.next/server/app/api/memory/[key]/route.js +1 -1
  41. package/runtime/.next/server/app/api/memory/route.js +1 -1
  42. package/runtime/.next/server/app/api/messaging/route.js +1 -1
  43. package/runtime/.next/server/app/api/plugins/load/route.js +1 -1
  44. package/runtime/.next/server/app/api/projects/[id]/route.js +1 -1
  45. package/runtime/.next/server/app/api/projects/check/route.js +1 -1
  46. package/runtime/.next/server/app/api/projects/directories/route.js +1 -1
  47. package/runtime/.next/server/app/api/projects/roots/route.js +1 -1
  48. package/runtime/.next/server/app/api/projects/route.js +1 -1
  49. package/runtime/.next/server/app/api/push/subscribe/route.js +2 -2
  50. package/runtime/.next/server/app/api/push/unsubscribe/route.js +2 -2
  51. package/runtime/.next/server/app/api/push/vapid/route.js +2 -2
  52. package/runtime/.next/server/app/api/push/vapid.body +1 -1
  53. package/runtime/.next/server/app/api/remote-tools/register/route.js +1 -1
  54. package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/route.js +1 -1
  55. package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/stop/route.js +1 -1
  56. package/runtime/.next/server/app/api/sessions/[id]/background-jobs/route.js +1 -1
  57. package/runtime/.next/server/app/api/sessions/[id]/changes/route.js +2 -2
  58. package/runtime/.next/server/app/api/sessions/[id]/engine-switches/route.js +1 -1
  59. package/runtime/.next/server/app/api/sessions/[id]/fork/route.js +1 -1
  60. package/runtime/.next/server/app/api/sessions/[id]/fork-at/route.js +1 -1
  61. package/runtime/.next/server/app/api/sessions/[id]/goals/route.js +1 -1
  62. package/runtime/.next/server/app/api/sessions/[id]/handoff/route.js +1 -1
  63. package/runtime/.next/server/app/api/sessions/[id]/native-goal/route.js +1 -1
  64. package/runtime/.next/server/app/api/sessions/[id]/query-index/route.js +1 -1
  65. package/runtime/.next/server/app/api/sessions/[id]/release/route.js +1 -1
  66. package/runtime/.next/server/app/api/sessions/[id]/route.js +1 -1
  67. package/runtime/.next/server/app/api/sessions/[id]/switch-engine/route.js +1 -1
  68. package/runtime/.next/server/app/api/sessions/[id]/thread-goal/route.js +1 -1
  69. package/runtime/.next/server/app/api/sessions/[id]/thread-history/route.js +1 -1
  70. package/runtime/.next/server/app/api/sessions/[id]/tool-result/route.js +1 -1
  71. package/runtime/.next/server/app/api/sessions/parallel/route.js +1 -1
  72. package/runtime/.next/server/app/api/sessions/route.js +1 -1
  73. package/runtime/.next/server/app/api/settings/route.js +1 -1
  74. package/runtime/.next/server/app/api/skills/route.js +1 -1
  75. package/runtime/.next/server/app/api/tool-policies/[policyId]/route.js +1 -1
  76. package/runtime/.next/server/app/api/tool-policies/route.js +1 -1
  77. package/runtime/.next/server/app/api/tools/route.js +1 -1
  78. package/runtime/.next/server/app/api/update/check/route.js +1 -1
  79. package/runtime/.next/server/app/api/update/install/route.js +1 -1
  80. package/runtime/.next/server/app/api/update/status/route.js +1 -1
  81. package/runtime/.next/server/app/api/web-auth/login/route.js +1 -1
  82. package/runtime/.next/server/app/api/web-auth/logout/route.js +1 -1
  83. package/runtime/.next/server/app/api/web-auth/revoke-all/route.js +1 -1
  84. package/runtime/.next/server/app/api/web-auth/setup/route.js +1 -1
  85. package/runtime/.next/server/app/api/web-auth/status/route.js +1 -1
  86. package/runtime/.next/server/app/api/web-console/bootstrap/route.js +1 -1
  87. package/runtime/.next/server/app/api/web-console/computer-settings/route.js +1 -1
  88. package/runtime/.next/server/app/api/web-console/computers/route.js +1 -1
  89. package/runtime/.next/server/app/api/web-console/device-state/route.js +1 -1
  90. package/runtime/.next/server/app/api/web-console/history/route.js +1 -1
  91. package/runtime/.next/server/app/api/web-console/preferences/route.js +1 -1
  92. package/runtime/.next/server/app/web/page.js +2 -2
  93. package/runtime/.next/server/app/web/page_client-reference-manifest.js +1 -1
  94. package/runtime/.next/server/app-paths-manifest.json +37 -36
  95. package/runtime/.next/server/chunks/5303.js +1 -1
  96. package/runtime/.next/server/middleware-build-manifest.js +1 -1
  97. package/runtime/.next/server/pages/404.html +1 -1
  98. package/runtime/.next/server/pages/500.html +1 -1
  99. package/runtime/.next/server/server-reference-manifest.json +1 -1
  100. package/runtime/.next/static/chunks/app/web/{error-077f54cd48d5a6c2.js → error-3cae58f0f14f0b4f.js} +1 -1
  101. package/runtime/.next/static/chunks/app/web/layout-d5d7d1c5c74eef3c.js +1 -0
  102. package/runtime/.next/static/chunks/app/web/page-7afa4cb0119e90b7.js +1 -0
  103. package/runtime/.next/static/chunks/{main-app-20135c1d85680f16.js → main-app-7a6902a607752446.js} +1 -1
  104. package/runtime/.next/static/chunks/{main-93c452d518291b1c.js → main-d8ef9def37924b01.js} +1 -1
  105. package/runtime/lib/device-pairing-gateway.mjs +6 -1
  106. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/MacOS/agentroam-remote-desktop +0 -0
  107. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/Resources/agentroam-component.json +1 -1
  108. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/_CodeSignature/CodeResources +2 -2
  109. package/runtime/node_modules/.package-lock.json +125 -125
  110. package/runtime/node_modules/@agent/core/dist/index.js +86 -9
  111. package/runtime/node_modules/@agent/native-runtime/dist/index.js +49 -19
  112. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/README.md +1 -1
  113. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/bridge.mjs +96 -96
  114. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.js +73 -71
  115. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-2h2qc9qv.mjs +18 -0
  116. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-9sxfsmzx.mjs +18 -0
  117. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-zg882d22.mjs → core-ba5rrckm.mjs} +2 -2
  118. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-dnsvg8nc.mjs +53 -0
  119. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-9je8ee1j.mjs → core-h6r54bwv.mjs} +2 -2
  120. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-k67vj6j9.mjs +20 -0
  121. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-qbjntcdf.mjs +18 -0
  122. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-qj4dtgyt.mjs +17 -0
  123. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-rn7tc54w.mjs +17 -0
  124. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-sstebd83.mjs +18 -0
  125. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-td7rt8zt.mjs +17 -0
  126. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-x3hc9abc.mjs → core-tf03rfab.mjs} +3 -3
  127. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-x4kwpwv9.mjs +16 -0
  128. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-y6bhrwmk.mjs +47 -0
  129. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-fxa8mwbm.mjs → core-ya1m7gzj.mjs} +3 -3
  130. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core.mjs +11 -11
  131. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.json +21 -21
  132. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.zst.json +25 -25
  133. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/package.json +25 -21
  134. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +88 -85
  135. package/runtime/package-lock.json +182 -158
  136. package/runtime/server.js +1 -1
  137. package/runtime/webapp/dist/assets/{AIHubView-BQKD1oRa.js → AIHubView-BMeOfqfm.js} +1 -1
  138. package/runtime/webapp/dist/assets/{AgentManager-eTCpLsYc.js → AgentManager-CrN2B-tH.js} +1 -1
  139. package/runtime/webapp/dist/assets/{AiHubPane-LnfAKHOH.js → AiHubPane-Du6ajSsx.js} +1 -1
  140. package/runtime/webapp/dist/assets/App-zihaYk1L.js +179 -0
  141. package/runtime/webapp/dist/assets/{BrowserLivePanel-BvXuMltx.js → BrowserLivePanel-CU_X6OU2.js} +1 -1
  142. package/runtime/webapp/dist/assets/{CollaborationCreateDialog-0xwWJVAB.js → CollaborationCreateDialog-BmgYdwe7.js} +1 -1
  143. package/runtime/webapp/dist/assets/{CollaborationDashboard-CDuqbRZZ.js → CollaborationDashboard-mHU8iJYg.js} +1 -1
  144. package/runtime/webapp/dist/assets/{CollaborationPage-BLv1g5Ke.js → CollaborationPage-Br5fhNce.js} +1 -1
  145. package/runtime/webapp/dist/assets/{FilePreview-DIsjFx4f.js → FilePreview-CevPpP6E.js} +3 -3
  146. package/runtime/webapp/dist/assets/{FileTree-BJe67ELr.js → FileTree-CagcHV1N.js} +1 -1
  147. package/runtime/webapp/dist/assets/{FileWorkspaceDrawer-PtNe21oN.js → FileWorkspaceDrawer-CWVndCXp.js} +1 -1
  148. package/runtime/webapp/dist/assets/{FlowStudioPane-DGv9czqf.js → FlowStudioPane-BZA-qvBj.js} +1 -1
  149. package/runtime/webapp/dist/assets/{LSPServerList-DZkbA5NX.js → LSPServerList-BMY6dFfG.js} +1 -1
  150. package/runtime/webapp/dist/assets/{MCPServerList-DLJUT0j8.js → MCPServerList-c91QNM-g.js} +1 -1
  151. package/runtime/webapp/dist/assets/{MemoryViewer-B4synV6O.js → MemoryViewer-C9IfWwzW.js} +1 -1
  152. package/runtime/webapp/dist/assets/{RemoteDesktopPage-Db8WVCjo.js → RemoteDesktopPage-w8aL061W.js} +1 -1
  153. package/runtime/webapp/dist/assets/{RunningSessionsIcon-DRhO-CVq.js → RunningSessionsIcon-B8Cr2-hp.js} +1 -1
  154. package/runtime/webapp/dist/assets/{SessionDashboard-C6En31sg.js → SessionDashboard-CFXXTm_4.js} +1 -1
  155. package/runtime/webapp/dist/assets/{SessionDashboardBridge--lNIU1u6.js → SessionDashboardBridge-Bx4EXtos.js} +1 -1
  156. package/runtime/webapp/dist/assets/{SettingsPanel-mJ5Ggwlp.js → SettingsPanel-CS4XL2sd.js} +1 -1
  157. package/runtime/webapp/dist/assets/{SkillManager-C_mt62Rc.js → SkillManager-5FZnR9My.js} +1 -1
  158. package/runtime/webapp/dist/assets/{TerminalPane-D121NsSc.js → TerminalPane-CRrbd0i4.js} +1 -1
  159. package/runtime/webapp/dist/assets/{abnfDiagram-VCTEODGH-CSTtPfA-.js → abnfDiagram-VCTEODGH-DBioGYiE.js} +1 -1
  160. package/runtime/webapp/dist/assets/{arc-pE43fNGK.js → arc-BRj_RXHL.js} +1 -1
  161. package/runtime/webapp/dist/assets/{architectureDiagram-5GKGNRK7-BlExjf1L.js → architectureDiagram-5GKGNRK7-CoCdq67U.js} +1 -1
  162. package/runtime/webapp/dist/assets/{arrow-right-CED95s1t.js → arrow-right-Cqqb1zqH.js} +1 -1
  163. package/runtime/webapp/dist/assets/{artifact-links-BWD7xpfV.js → artifact-links-73OZyi5W.js} +1 -1
  164. package/runtime/webapp/dist/assets/{blockDiagram-I7D4REHJ-4pzU0s_A.js → blockDiagram-I7D4REHJ-CLisIPjq.js} +1 -1
  165. package/runtime/webapp/dist/assets/{c4Diagram-7LVT6UL2-DBoJHf0c.js → c4Diagram-7LVT6UL2-BoLCIVW8.js} +1 -1
  166. package/runtime/webapp/dist/assets/channel-JGVZzkSo.js +1 -0
  167. package/runtime/webapp/dist/assets/{chevron-down-DuxUTH_N.js → chevron-down-DhZV290h.js} +1 -1
  168. package/runtime/webapp/dist/assets/{chunk-2Q5K7J3B-Bu1Sc-w9.js → chunk-2Q5K7J3B-CIQxwzU0.js} +1 -1
  169. package/runtime/webapp/dist/assets/{chunk-5VM5RSS4-COwAF0w2.js → chunk-5VM5RSS4-Buiv0MCN.js} +1 -1
  170. package/runtime/webapp/dist/assets/{chunk-F27PBJKO-FLl8DRP2.js → chunk-F27PBJKO-XBMwIl6X.js} +1 -1
  171. package/runtime/webapp/dist/assets/{chunk-IMKFNOWR-BL8M_b-w.js → chunk-IMKFNOWR-C0NrkJOc.js} +1 -1
  172. package/runtime/webapp/dist/assets/{chunk-JWPE2WC7-Bm0OpXaO.js → chunk-JWPE2WC7-CGON_UvB.js} +1 -1
  173. package/runtime/webapp/dist/assets/{chunk-POPQ4Y6H-Be_mjw7_.js → chunk-POPQ4Y6H-BXvOsc9g.js} +1 -1
  174. package/runtime/webapp/dist/assets/{chunk-SVP7TREG-Dijp9l1U.js → chunk-SVP7TREG-ZD_qn-NK.js} +1 -1
  175. package/runtime/webapp/dist/assets/{chunk-TICWLB2K-CJDtjon2.js → chunk-TICWLB2K-DrB8f6RG.js} +1 -1
  176. package/runtime/webapp/dist/assets/{chunk-XXDRQBXY-BLWOMtvS.js → chunk-XXDRQBXY-CYgLMn5t.js} +1 -1
  177. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-BnctJ00R.js +1 -0
  178. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-BnctJ00R.js +1 -0
  179. package/runtime/webapp/dist/assets/{codeSyntax-BnmCqa8x.js → codeSyntax-DfQ5rLir.js} +1 -1
  180. package/runtime/webapp/dist/assets/{collaboration-B0sTZDns.js → collaboration-CQhzjwS_.js} +1 -1
  181. package/runtime/webapp/dist/assets/{composer-file-routing-BrWLenKF.js → composer-file-routing-D9orqwzY.js} +1 -1
  182. package/runtime/webapp/dist/assets/{cose-bilkent-JH36ORCC-cA67vOKJ.js → cose-bilkent-JH36ORCC-CDPnTlcy.js} +1 -1
  183. package/runtime/webapp/dist/assets/{cynefin-OW5HDTMX-BPeSii-l.js → cynefin-OW5HDTMX-DDCxhkA5.js} +1 -1
  184. package/runtime/webapp/dist/assets/{cynefinDiagram-5FMLGOSQ-B9f094pg.js → cynefinDiagram-5FMLGOSQ-CIJ1KBPA.js} +1 -1
  185. package/runtime/webapp/dist/assets/{dagre-GXQ25YYZ-C_xejuzH.js → dagre-GXQ25YYZ-CFX8O3IJ.js} +1 -1
  186. package/runtime/webapp/dist/assets/{diagram-S7CK7UJ4-0f77MjI_.js → diagram-S7CK7UJ4-B8UX2IBH.js} +1 -1
  187. package/runtime/webapp/dist/assets/{diagram-UQ7AKVKN-B7qqB6UY.js → diagram-UQ7AKVKN-Ce34DNrv.js} +1 -1
  188. package/runtime/webapp/dist/assets/{diagram-VSXAHHWV-eS0I06tX.js → diagram-VSXAHHWV-CVL_erWD.js} +1 -1
  189. package/runtime/webapp/dist/assets/{diagram-VX7I27RA-BzaPvwZL.js → diagram-VX7I27RA-DBFHI7Dk.js} +1 -1
  190. package/runtime/webapp/dist/assets/{diagram-Z3DM3KII-C_EAUyuK.js → diagram-Z3DM3KII-Bw_QcSQY.js} +1 -1
  191. package/runtime/webapp/dist/assets/{download-DNa5KRtu.js → download-D3xZPWnZ.js} +1 -1
  192. package/runtime/webapp/dist/assets/{ebnfDiagram-PWID7BFC-CpSazgmq.js → ebnfDiagram-PWID7BFC-DRly04dj.js} +1 -1
  193. package/runtime/webapp/dist/assets/{erDiagram-RLTQ6QDP-BbAq4dnX.js → erDiagram-RLTQ6QDP-DTm817hG.js} +1 -1
  194. package/runtime/webapp/dist/assets/{external-link-D0ZU8y72.js → external-link-Cwu5rEgp.js} +1 -1
  195. package/runtime/webapp/dist/assets/{file-types-Bv8xIlsm.js → file-types-DKkhMnUV.js} +1 -1
  196. package/runtime/webapp/dist/assets/{flowDiagram-HODETNUW-FxtiM8S_.js → flowDiagram-HODETNUW-tc8ygZtG.js} +1 -1
  197. package/runtime/webapp/dist/assets/{ganttDiagram-EL5Y4UJY-vbQAmYA_.js → ganttDiagram-EL5Y4UJY-CsQFf1IN.js} +1 -1
  198. package/runtime/webapp/dist/assets/{gitGraphDiagram-WWUBYQGX-CoH-vS6p.js → gitGraphDiagram-WWUBYQGX-DAIxbmPX.js} +1 -1
  199. package/runtime/webapp/dist/assets/{image-plus-CMQPwQ1a.js → image-plus-nplydLA5.js} +1 -1
  200. package/runtime/webapp/dist/assets/index-B-d1Vs9E.css +1 -0
  201. package/runtime/webapp/dist/assets/{index-B_qrzBSm.js → index-DKm9ESDq.js} +50 -50
  202. package/runtime/webapp/dist/assets/{infoDiagram-27XIBGKW-BhQjKjwI.js → infoDiagram-27XIBGKW-CVcMW4UM.js} +1 -1
  203. package/runtime/webapp/dist/assets/{ishikawaDiagram-5VMMS53U-Do6164Lq.js → ishikawaDiagram-5VMMS53U-zzlEtZ1l.js} +1 -1
  204. package/runtime/webapp/dist/assets/{journeyDiagram-3NMN7TZE-DU9terNG.js → journeyDiagram-3NMN7TZE-q7NuIMSl.js} +1 -1
  205. package/runtime/webapp/dist/assets/{kanban-definition-UXKFOSKX-PIi78bMz.js → kanban-definition-UXKFOSKX-DLYFZlKO.js} +1 -1
  206. package/runtime/webapp/dist/assets/{layout-kIcBLq12.js → layout-PFWssIkE.js} +1 -1
  207. package/runtime/webapp/dist/assets/{linear-DuoGw6Ne.js → linear-ZRVcojb1.js} +1 -1
  208. package/runtime/webapp/dist/assets/{loader-circle-CkN6rr8Q.js → loader-circle-DIW9tlEz.js} +1 -1
  209. package/runtime/webapp/dist/assets/{mermaid.core-CMSVAwDO.js → mermaid.core-C8Dl0Nah.js} +5 -5
  210. package/runtime/webapp/dist/assets/{mindmap-definition-YA3MSWOX-BqXezPt8.js → mindmap-definition-YA3MSWOX-BcbqtwVk.js} +1 -1
  211. package/runtime/webapp/dist/assets/{page-BJynASYd.js → page-BG97oPXr.js} +4 -4
  212. package/runtime/webapp/dist/assets/{pegDiagram-XKGWAZYB-CfhSiKuL.js → pegDiagram-XKGWAZYB-BQN3zQuy.js} +1 -1
  213. package/runtime/webapp/dist/assets/{pieDiagram-E7YTZNPT-D6dTu0HJ.js → pieDiagram-E7YTZNPT-pOgxh3os.js} +1 -1
  214. package/runtime/webapp/dist/assets/{quadrantDiagram-AXDQQJYC-B6Nk3my2.js → quadrantDiagram-AXDQQJYC-BOg7ujzG.js} +1 -1
  215. package/runtime/webapp/dist/assets/{railroadDiagram-O6MQD6OU-9HdWlkSi.js → railroadDiagram-O6MQD6OU-CWsN3juJ.js} +1 -1
  216. package/runtime/webapp/dist/assets/{requirementDiagram-BXWQKSXE-CJ72A4ch.js → requirementDiagram-BXWQKSXE-B0yrO7Oy.js} +1 -1
  217. package/runtime/webapp/dist/assets/{rotate-ccw-CFOlggPt.js → rotate-ccw-O4wnfQP7.js} +1 -1
  218. package/runtime/webapp/dist/assets/{rotate-cw-CV6TU7ho.js → rotate-cw-CCJtlAtB.js} +1 -1
  219. package/runtime/webapp/dist/assets/{sankeyDiagram-P5KCCOFB-B0k_-2GA.js → sankeyDiagram-P5KCCOFB-5MS_e-3E.js} +1 -1
  220. package/runtime/webapp/dist/assets/{send-Br8F4frT.js → send-Cdg4ZVlp.js} +1 -1
  221. package/runtime/webapp/dist/assets/{sequenceDiagram-WJ2MYXX4-D-Vubzl4.js → sequenceDiagram-WJ2MYXX4-C1w8qYSu.js} +1 -1
  222. package/runtime/webapp/dist/assets/{session-dashboard-B_G9IZRa.js → session-dashboard-BigU92sz.js} +1 -1
  223. package/runtime/webapp/dist/assets/{shield-check-C_XCddHW.js → shield-check-CrjI2wPR.js} +1 -1
  224. package/runtime/webapp/dist/assets/{sizeCapture-INFHLROL-CDLZ64va.js → sizeCapture-INFHLROL-BonKTynC.js} +1 -1
  225. package/runtime/webapp/dist/assets/{stateDiagram-D77RDMKH-D55B47_M.js → stateDiagram-D77RDMKH-D3mn6ZK5.js} +1 -1
  226. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-WEfEW-mH.js +1 -0
  227. package/runtime/webapp/dist/assets/{swimlanes-42K2YHIH-FSX6VCzY.js → swimlanes-42K2YHIH-Bn9KWChU.js} +1 -1
  228. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-D26_Nmko.js +8 -0
  229. package/runtime/webapp/dist/assets/{timeline-definition-24CTP7MA-DGmgxtYO.js → timeline-definition-24CTP7MA-BfuhI7EF.js} +1 -1
  230. package/runtime/webapp/dist/assets/{trash-2-Drt7yRIe.js → trash-2-BrfgMjfL.js} +1 -1
  231. package/runtime/webapp/dist/assets/{types-BOD4WqhS.js → types-VnQ_cKrp.js} +1 -1
  232. package/runtime/webapp/dist/assets/{vennDiagram-4TSXK5OY-XbldOddh.js → vennDiagram-4TSXK5OY-CUFs5JyR.js} +1 -1
  233. package/runtime/webapp/dist/assets/{wardleyDiagram-VM6X3IG4-DrGMS-oH.js → wardleyDiagram-VM6X3IG4-C27HHz1A.js} +1 -1
  234. package/runtime/webapp/dist/assets/{web-Crv8v2xB.js → web-BOzkL-0Z.js} +1 -1
  235. package/runtime/webapp/dist/assets/{web-DQg6oOed.js → web-CeCHmdwO.js} +1 -1
  236. package/runtime/webapp/dist/assets/{x-8eDWe1V2.js → x-DP1nC4qG.js} +1 -1
  237. package/runtime/webapp/dist/assets/{xychartDiagram-S5SC5T6Z-BClf-jGf.js → xychartDiagram-S5SC5T6Z-CQwRrSTf.js} +1 -1
  238. package/runtime/webapp/dist/assets/{zoom-out-CKWUyj9b.js → zoom-out-Dg7YyzcP.js} +1 -1
  239. package/runtime/webapp/dist/index.html +18 -3
  240. package/runtime/.next/static/chunks/app/web/layout-ebfc3a207c355453.js +0 -1
  241. package/runtime/.next/static/chunks/app/web/page-b456468be8e8e8fa.js +0 -1
  242. package/runtime/native/Support.noindex/WeComSendBridge.app/Contents/Info.plist +0 -13
  243. package/runtime/native/Support.noindex/WeComSendBridge.app/Contents/MacOS/NativeAXBridge +0 -0
  244. package/runtime/native/Support.noindex/WeComSendBridge.app/Contents/Resources/agentroam-component.json +0 -4
  245. package/runtime/native/Support.noindex/WeComSendBridge.app/Contents/_CodeSignature/CodeResources +0 -128
  246. package/runtime/node_modules/@agent/messaging/dist/assets/wecom/NativeAXBridge.swift +0 -240
  247. package/runtime/node_modules/@agent/messaging/dist/assets/wecom/codec.py +0 -133
  248. package/runtime/node_modules/@agent/messaging/dist/assets/wecom/native_sender.py +0 -445
  249. package/runtime/node_modules/@agent/messaging/dist/assets/wecom/reader.py +0 -479
  250. package/runtime/node_modules/@agent/messaging/dist/assets/wecom//351/235/231/346/200/201/350/265/204/346/226/231/350/257/273/345/217/226/350/257/264/346/230/216.md +0 -34
  251. package/runtime/node_modules/@agent/messaging/dist/index.js +0 -1219
  252. package/runtime/node_modules/@agent/messaging/package.json +0 -7
  253. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-0a66n3e7.mjs +0 -16
  254. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-0bmnpbz2.mjs +0 -45
  255. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-ds2jqcef.mjs +0 -19
  256. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-gbbw9cgm.mjs +0 -17
  257. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-msnqqcc2.mjs +0 -42
  258. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-wadgcjfh.mjs +0 -18
  259. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-x20yarwf.mjs +0 -17
  260. package/runtime/webapp/dist/assets/App-Cm4c_ukZ.js +0 -177
  261. package/runtime/webapp/dist/assets/channel-C029kbz3.js +0 -1
  262. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-DjlcT9EO.js +0 -1
  263. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-DjlcT9EO.js +0 -1
  264. package/runtime/webapp/dist/assets/index-DFMBt4EW.css +0 -1
  265. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-DhVWnu4U.js +0 -1
  266. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-B677Rs5I.js +0 -8
  267. /package/runtime/.next/static/{fg72y0mrQ518VXPNOLU1t → xuZ1UJWVNJ-rxb5YgETmd}/_buildManifest.js +0 -0
  268. /package/runtime/.next/static/{fg72y0mrQ518VXPNOLU1t → xuZ1UJWVNJ-rxb5YgETmd}/_ssgManifest.js +0 -0
@@ -4777,8 +4777,8 @@ class LiveViewProducer {
4777
4777
  }
4778
4778
  }
4779
4779
  // src/domain/web-console/computer-settings.ts
4780
- var COMPUTER_TOOLS = ["refresh", "dashboard", "collaboration", "remote", "theme", "files", "ai-hub", "flow", "install"];
4781
- var DEFAULT_COMPUTER_TOOLS = ["refresh", "remote", "theme", "files"];
4780
+ var COMPUTER_TOOLS = ["refresh", "dashboard", "collaboration", "remote", "theme", "files", "ai-hub", "flow", "install", "calendar"];
4781
+ var DEFAULT_COMPUTER_TOOLS = ["refresh", "remote", "theme", "files", "calendar"];
4782
4782
  function defaultComputerSettings(userId) {
4783
4783
  return { userId, revision: 0, visibleTools: [...DEFAULT_COMPUTER_TOOLS], savedPages: null, updatedAt: "" };
4784
4784
  }
@@ -11375,7 +11375,8 @@ class TodoAddTool {
11375
11375
  todos: exports_external.array(exports_external.object({
11376
11376
  title: exports_external.string().describe("Task description"),
11377
11377
  agentName: exports_external.string().optional().describe("Name of the agent responsible for this task"),
11378
- dependsOn: exports_external.array(exports_external.string()).optional().describe("Titles of other tasks in this batch that must be completed before this one")
11378
+ dependsOn: exports_external.array(exports_external.string()).optional().describe("Titles of other tasks in this batch that must be completed before this one"),
11379
+ dueAt: exports_external.number().optional().describe("Optional deadline as a UTC millisecond timestamp")
11379
11380
  })).min(1).describe("List of tasks to add")
11380
11381
  });
11381
11382
  parameters = {
@@ -11392,7 +11393,8 @@ class TodoAddTool {
11392
11393
  type: "array",
11393
11394
  items: { type: "string" },
11394
11395
  description: "Titles of other tasks that must complete before this task can start"
11395
- }
11396
+ },
11397
+ dueAt: { type: "number", description: "Optional deadline as a UTC millisecond timestamp" }
11396
11398
  },
11397
11399
  required: ["title"]
11398
11400
  },
@@ -11416,7 +11418,8 @@ class TodoAddTool {
11416
11418
  title: t.title,
11417
11419
  agentName: t.agentName,
11418
11420
  status: "pending",
11419
- dependsOn: t.dependsOn?.length ? t.dependsOn : undefined
11421
+ dependsOn: t.dependsOn?.length ? t.dependsOn : undefined,
11422
+ dueAt: t.dueAt
11420
11423
  }));
11421
11424
  const sorted = topoSort([...current, ...newItems]);
11422
11425
  this.setTodos(sorted);
@@ -11435,7 +11438,8 @@ class TodoUpdateTool {
11435
11438
  schema = exports_external.object({
11436
11439
  id: exports_external.string().optional().describe("Todo item ID (exact match)"),
11437
11440
  title: exports_external.string().optional().describe("Todo item title (partial case-insensitive match)"),
11438
- status: exports_external.enum(["pending", "in-progress", "completed"]).describe("New status")
11441
+ status: exports_external.enum(["pending", "in-progress", "completed"]).describe("New status"),
11442
+ dueAt: exports_external.number().nullable().optional().describe("New deadline as a UTC millisecond timestamp; null clears it")
11439
11443
  }).refine((d) => d.id !== undefined || d.title !== undefined, {
11440
11444
  message: "Provide either id or title"
11441
11445
  });
@@ -11448,7 +11452,8 @@ class TodoUpdateTool {
11448
11452
  type: "string",
11449
11453
  enum: ["pending", "in-progress", "completed"],
11450
11454
  description: "New status"
11451
- }
11455
+ },
11456
+ dueAt: { type: ["number", "null"], description: "New deadline as a UTC millisecond timestamp; null clears it" }
11452
11457
  },
11453
11458
  required: ["status"]
11454
11459
  };
@@ -11468,7 +11473,8 @@ class TodoUpdateTool {
11468
11473
  const byTitle = parsed.data.title !== undefined && t.title.toLowerCase().includes(parsed.data.title.toLowerCase());
11469
11474
  if (byId || byTitle) {
11470
11475
  matched = true;
11471
- return { ...t, status: parsed.data.status };
11476
+ const dueAt = parsed.data.dueAt === undefined ? t.dueAt : parsed.data.dueAt ?? undefined;
11477
+ return { ...t, status: parsed.data.status, dueAt };
11472
11478
  }
11473
11479
  return t;
11474
11480
  });
@@ -11800,6 +11806,38 @@ function describeCron(cron) {
11800
11806
  return `每天 ${hour.padStart(2, "0")}:00`;
11801
11807
  return `cron: ${cron}`;
11802
11808
  }
11809
+ function listCronFires(cron, fromMs, toMs, opts = {}) {
11810
+ const limit = opts.limit ?? 500;
11811
+ if (toMs < fromMs || limit <= 0)
11812
+ return [];
11813
+ const intervalMs = parseIntervalMs(cron);
11814
+ if (intervalMs !== null) {
11815
+ if (intervalMs <= 0)
11816
+ return [];
11817
+ const anchor = opts.anchorMs ?? fromMs;
11818
+ const fires2 = [];
11819
+ let t2 = anchor;
11820
+ if (t2 < fromMs)
11821
+ t2 += Math.ceil((fromMs - t2) / intervalMs) * intervalMs;
11822
+ for (;t2 <= toMs && fires2.length < limit; t2 += intervalMs)
11823
+ fires2.push(t2);
11824
+ return fires2;
11825
+ }
11826
+ if (!isCronExpression(cron))
11827
+ return [];
11828
+ const [minExpr, hourExpr, domExpr, monExpr, dowExpr] = cron.trim().split(/\s+/);
11829
+ const fires = [];
11830
+ const start = new Date(fromMs);
11831
+ start.setSeconds(0, 0);
11832
+ let t = start.getTime();
11833
+ const end = Math.min(toMs, fromMs + 366 * 86400000);
11834
+ for (;t <= end && fires.length < limit; t += 60000) {
11835
+ const d = new Date(t);
11836
+ if (matchField(d.getMinutes(), minExpr) && matchField(d.getHours(), hourExpr) && matchField(d.getDate(), domExpr) && matchField(d.getMonth() + 1, monExpr) && matchField(d.getDay(), dowExpr))
11837
+ fires.push(t);
11838
+ }
11839
+ return fires;
11840
+ }
11803
11841
  // src/domain/cron/CronTasks.ts
11804
11842
  import { readFileSync as readFileSync2, writeFileSync, mkdirSync, existsSync as existsSync2 } from "node:fs";
11805
11843
  import { join as join5, dirname as dirname2 } from "node:path";
@@ -16939,6 +16977,40 @@ class SQLiteRemoteToolStore {
16939
16977
  return { id: row.id, projectId: row.project_id, scheme: row.scheme, requestPayload: parseObject(row.request_payload), status: row.status, responsePayload: row.response_payload ? parseObject(row.response_payload) : null, error: row.error, createdAt: row.created, updatedAt: row.updated };
16940
16978
  }
16941
16979
  }
16980
+ // src/domain/calendar/entities.ts
16981
+ var CALENDAR_SOURCES = [
16982
+ "customer-agent",
16983
+ "codex",
16984
+ "claude",
16985
+ "workbuddy",
16986
+ "zcode",
16987
+ "opencode",
16988
+ "deepseek"
16989
+ ];
16990
+ var CALENDAR_SOURCE_LABELS = {
16991
+ "customer-agent": "AgentRoam",
16992
+ codex: "Codex",
16993
+ claude: "Claude Code",
16994
+ workbuddy: "WorkBuddy",
16995
+ zcode: "ZCode",
16996
+ opencode: "OpenCode",
16997
+ deepseek: "DeepSeek"
16998
+ };
16999
+ function localDateKey(ms) {
17000
+ const d = new Date(ms);
17001
+ const month = `${d.getMonth() + 1}`.padStart(2, "0");
17002
+ const day = `${d.getDate()}`.padStart(2, "0");
17003
+ return `${d.getFullYear()}-${month}-${day}`;
17004
+ }
17005
+ function todoState(status, dueAt, nowMs) {
17006
+ if (status === "completed")
17007
+ return "completed";
17008
+ if (status === "in-progress" || status === "in_progress")
17009
+ return "in-progress";
17010
+ if (dueAt !== undefined && dueAt < nowMs)
17011
+ return "overdue";
17012
+ return "pending";
17013
+ }
16942
17014
  // src/application/goal/ThreadGoalService.ts
16943
17015
  class ThreadGoalService {
16944
17016
  store;
@@ -22839,6 +22911,7 @@ export {
22839
22911
  truncateToTokenBudget,
22840
22912
  toolExecutionPolicySummary,
22841
22913
  toolApprovalDecisionFromAnswer,
22914
+ todoState,
22842
22915
  threadDisplayMessages,
22843
22916
  textLines,
22844
22917
  textLineStats,
@@ -22909,6 +22982,8 @@ export {
22909
22982
  monitoringConfiguration,
22910
22983
  mergeReasoningSummaryDelta,
22911
22984
  logGlobal,
22985
+ localDateKey,
22986
+ listCronFires,
22912
22987
  isWebMediaUrl,
22913
22988
  isVersionAtLeast,
22914
22989
  isToolPermissionMode,
@@ -23150,6 +23225,8 @@ export {
23150
23225
  COLLABORATION_AGENTS,
23151
23226
  CODEX_MINIMUM_VERSION,
23152
23227
  CLI_INSTALL_FILE_NAMES,
23228
+ CALENDAR_SOURCE_LABELS,
23229
+ CALENDAR_SOURCES,
23153
23230
  LiveViewRegistry as BrowserLiveRegistry,
23154
23231
  BashTool,
23155
23232
  AskUserTool,
@@ -23173,4 +23250,4 @@ export {
23173
23250
  AGENTROAM_CLI_INSTALL_BASE
23174
23251
  };
23175
23252
 
23176
- //# debugId=E20549CD96B1BAF164756E2164756E21
23253
+ //# debugId=157270166F9E746C64756E2164756E21
@@ -12634,7 +12634,7 @@ async function listOpenSessionFiles(commandName, root, options = {}) {
12634
12634
  return new Set;
12635
12635
  try {
12636
12636
  const execute = options.execute ?? execFileAsync2;
12637
- const { stdout } = await execute(platform === "darwin" ? "/usr/sbin/lsof" : "lsof", ["+c", "0", "-a", "-c", commandName, "-FpFn"], { encoding: "utf8", timeout: 5000, maxBuffer: 4 * 1024 * 1024 });
12637
+ const { stdout } = await execute(platform === "darwin" ? "/usr/sbin/lsof" : "lsof", ["-nP", ...platform === "darwin" ? ["-b"] : [], "+c", "0", "-a", "-c", commandName, "-FpFn"], { encoding: "utf8", timeout: 5000, maxBuffer: 4 * 1024 * 1024 });
12638
12638
  return selectOpenSessionFiles(stdout, root, options);
12639
12639
  } catch {
12640
12640
  return new Set;
@@ -19589,7 +19589,8 @@ class CodexRolloutUserMessageReader {
19589
19589
  trailingOverflow: false,
19590
19590
  turns: new Map,
19591
19591
  itemIds: new Set,
19592
- asyncMessages: new Map
19592
+ asyncMessages: new Map,
19593
+ completionDurations: new Map
19593
19594
  };
19594
19595
  await this.readAppended(handle, entry, metadata.size);
19595
19596
  entry.size = metadata.size;
@@ -19611,6 +19612,10 @@ class CodexRolloutUserMessageReader {
19611
19612
  await this.read(path);
19612
19613
  return [...this.cache.get(path)?.asyncMessages.values() ?? []];
19613
19614
  }
19615
+ async readCompletionDurations(path) {
19616
+ await this.read(path);
19617
+ return new Map(this.cache.get(path)?.completionDurations);
19618
+ }
19614
19619
  async readAppended(handle, entry, targetSize) {
19615
19620
  let offset = entry.size;
19616
19621
  while (offset < targetSize) {
@@ -19651,6 +19656,14 @@ class CodexRolloutUserMessageReader {
19651
19656
  try {
19652
19657
  const record2 = JSON.parse(line);
19653
19658
  const payload = asRecord2(record2.payload);
19659
+ if (record2.type === "event_msg" && TERMINAL_EVENTS.has(asString(payload.type))) {
19660
+ const turnId2 = asString(payload.turn_id);
19661
+ const duration = payload.duration_ms;
19662
+ if (turnId2 && typeof duration === "number" && Number.isFinite(duration) && duration >= 0) {
19663
+ entry.completionDurations.set(turnId2, duration);
19664
+ }
19665
+ return;
19666
+ }
19654
19667
  if (record2.type === "event_msg" && payload.type === "thread_goal_updated") {
19655
19668
  const goal = asRecord2(payload.goal);
19656
19669
  const objective = asString(goal.objective).trim();
@@ -20167,9 +20180,10 @@ class CodexRuntimeAdapter {
20167
20180
  platform: this.platform
20168
20181
  });
20169
20182
  const rolloutActivities = await this.rolloutActivityReader.readMany(this.platform === "win32" ? rolloutPaths([response.thread], this.platform) : openFiles);
20183
+ const turns = await this.withCompletionDurations(response.thread.turns, response.thread.path);
20170
20184
  return {
20171
20185
  ...this.toSummary(response.thread, openFiles, rolloutActivities),
20172
- messages: await codexTurnsToMessages(response.thread.turns, { nativeSessionId }),
20186
+ messages: await codexTurnsToMessages(turns, { nativeSessionId }),
20173
20187
  events: []
20174
20188
  };
20175
20189
  }
@@ -20186,28 +20200,29 @@ class CodexRuntimeAdapter {
20186
20200
  if (!this.nativePagingSupported) {
20187
20201
  throw new RuntimeSessionError("Codex native history paging is unavailable", "OPERATION_NOT_SUPPORTED");
20188
20202
  }
20189
- let meta;
20190
- try {
20191
- meta = await this.client.request("thread/read", {
20192
- threadId: nativeSessionId,
20193
- includeTurns: false
20194
- });
20195
- } catch (error) {
20196
- throw this.normalizePagedError(error);
20197
- }
20198
- const openFiles = await listOpenSessionFiles("codex", this.sessionRoot, {
20203
+ const metadata = this.client.request("thread/read", {
20204
+ threadId: nativeSessionId,
20205
+ includeTurns: false
20206
+ });
20207
+ const occupancy = listOpenSessionFiles("codex", this.sessionRoot, {
20199
20208
  excludePids: this.ownedClientPids(),
20200
20209
  idleAfterMs: null,
20201
20210
  platform: this.platform
20202
20211
  });
20203
- const rolloutActivities = await this.rolloutActivityReader.readMany(this.platform === "win32" ? rolloutPaths([meta.thread], this.platform) : openFiles);
20204
- let summary = this.toSummary(meta.thread, openFiles, rolloutActivities);
20212
+ let meta;
20213
+ let openFiles;
20205
20214
  let ascTurns;
20206
20215
  try {
20207
- ascTurns = await this.loadSummaryTurns(nativeSessionId, meta.thread.path);
20216
+ [meta, openFiles, ascTurns] = await Promise.all([
20217
+ metadata,
20218
+ occupancy,
20219
+ metadata.then(({ thread }) => this.loadSummaryTurns(nativeSessionId, thread.path))
20220
+ ]);
20208
20221
  } catch (error) {
20209
20222
  throw this.normalizePagedError(error);
20210
20223
  }
20224
+ const rolloutActivities = await this.rolloutActivityReader.readMany(this.platform === "win32" ? rolloutPaths([meta.thread], this.platform) : openFiles);
20225
+ let summary = this.toSummary(meta.thread, openFiles, rolloutActivities);
20211
20226
  const isLatestCorePage = query2.view === "core" && !query2.before && !query2.after && !query2.anchor;
20212
20227
  if (isLatestCorePage && summary.status === "running" && meta.thread.path) {
20213
20228
  const finalizing = await readCodexRolloutFinalizingAnswer(meta.thread.path);
@@ -20429,7 +20444,16 @@ class CodexRuntimeAdapter {
20429
20444
  const lastUserIndex = turn.items.reduce((found, item2, index) => item2.type === "userMessage" ? index : found, -1);
20430
20445
  turn.items.splice((userIndex >= 0 ? userIndex : lastUserIndex) + 1, 0, item);
20431
20446
  }
20432
- return merged;
20447
+ return this.withCompletionDurations(merged, rolloutPath);
20448
+ }
20449
+ async withCompletionDurations(turns, rolloutPath) {
20450
+ if (!rolloutPath || !this.rolloutUserMessageReader.readCompletionDurations)
20451
+ return turns;
20452
+ const durations = await this.rolloutUserMessageReader.readCompletionDurations(rolloutPath);
20453
+ return turns.map((turn) => {
20454
+ const duration = durations.get(turn.id);
20455
+ return duration === undefined ? turn : { ...turn, completionDurationMs: duration };
20456
+ });
20433
20457
  }
20434
20458
  async loadCoreImageAttachments(turns) {
20435
20459
  const newestFirstPaths = [];
@@ -21867,6 +21891,7 @@ function codexSummaryTurnsToMessages(turns, imageAttachments, nativeSessionId, q
21867
21891
  content: normalized.content,
21868
21892
  presentation: {
21869
21893
  executionTrace: { turnId: turn.id, segmentIndex },
21894
+ ...turn.completionDurationMs !== undefined ? { completionDurationMs: turn.completionDurationMs } : {},
21870
21895
  ...normalized.rawContent ? { rawContent: normalized.rawContent } : {},
21871
21896
  ...imagePaths.length > 0 ? {
21872
21897
  attachments: imagePaths.map((path) => imageAttachments?.get(path) ?? {
@@ -21964,7 +21989,11 @@ async function codexTurnsToMessages(turns, options = {}) {
21964
21989
  const normalized = normalizeCodexUserText(sourceText);
21965
21990
  const imagePaths = codexUserImagePaths(entries);
21966
21991
  const attachments = await Promise.all(imagePaths.map(loadCodexImageAttachment));
21967
- const presentation = normalized.rawContent || attachments.length > 0 ? {
21992
+ const presentation = normalized.rawContent || attachments.length > 0 || turn.completionDurationMs !== undefined ? {
21993
+ ...turn.completionDurationMs !== undefined ? {
21994
+ executionTrace: { turnId: turn.id, segmentIndex },
21995
+ completionDurationMs: turn.completionDurationMs
21996
+ } : {},
21968
21997
  ...normalized.rawContent ? { rawContent: normalized.rawContent } : {},
21969
21998
  ...attachments.length > 0 ? { attachments } : {}
21970
21999
  } : undefined;
@@ -31617,6 +31646,7 @@ export {
31617
31646
  paginateByOffset,
31618
31647
  encodeUnifiedSessionId,
31619
31648
  encodeOffsetCursor,
31649
+ discoverHarnessEndpoint,
31620
31650
  decodeUnifiedSessionId,
31621
31651
  decodeOffsetCursor,
31622
31652
  createNativeRuntimeBrokerHostRuntime,
@@ -31644,4 +31674,4 @@ export {
31644
31674
  AgentWorkspaceIndexService
31645
31675
  };
31646
31676
 
31647
- //# debugId=EC0FEC7C91771C4064756E2164756E21
31677
+ //# debugId=A8656C77BD951CE164756E2164756E21
@@ -18,7 +18,7 @@ npm install @anthropic-ai/claude-agent-sdk
18
18
 
19
19
  ## The `/core` entry (for apps that bundle the SDK)
20
20
 
21
- `@anthropic-ai/claude-agent-sdk/core` exports the same `query()`, `startup()`, `prewarm()`, `tool()`, `createSdkMcpServer()`, `renameSession()`/`tagSession()`/`archiveSession()`/`unarchiveSession()`/`deleteSession()`, `resolveSettings()`/`filterEscalatingDefaultMode()`/`matchDeniedModels()` and runtime constants as the root entry, and nothing else — no session listing/reading/import helpers — so its eagerly loaded code is about a quarter of the root's; the settings resolver behind `resolveSettings()`, the matcher behind `matchDeniedModels()` and the code behind the session mutations load on first call. Unlike the root entry it does **not** inline the SDK's peer dependencies: `zod` (^4, as declared in this package's `peerDependencies`) and `@modelcontextprotocol/sdk` (^1.29) are imported from your install — specifically the `zod/v4` subpath, plus `zod/v3` when the settings resolver loads — which is what you want when your bundler already carries them. (zod 3.25+, which carries the v4 engine under `zod/v4`, also works in practice, but ^4 is the supported range.) Import from **either** the root **or** `/core` in a given process, not both — they are separate bundles, and mixing them loads two copies of the SDK's classes and state. Its types require TypeScript 5.0+.
21
+ `@anthropic-ai/claude-agent-sdk/core` exports the same `query()`, `startup()`, `prewarm()`, `tool()`, `createSdkMcpServer()`, `getSessionInfo()`, `renameSession()`/`tagSession()`/`archiveSession()`/`unarchiveSession()`/`deleteSession()`, `resolveSettings()`/`filterEscalatingDefaultMode()`/`matchDeniedModels()` and runtime constants as the root entry, and nothing else — no other session listing/reading/import helpers — so its eagerly loaded code is about a quarter of the root's; the settings resolver behind `resolveSettings()`, the matcher behind `matchDeniedModels()` and the code behind `getSessionInfo()` and the session mutations load on first call. Unlike the root entry it does **not** inline the SDK's peer dependencies: `zod` (^4, as declared in this package's `peerDependencies`) and `@modelcontextprotocol/sdk` (^1.29) are imported from your install — specifically the `zod/v4` subpath, plus `zod/v3` when the settings resolver loads — which is what you want when your bundler already carries them. (zod 3.25+, which carries the v4 engine under `zod/v4`, also works in practice, but ^4 is the supported range.) Import from **either** the root **or** `/core` in a given process, not both — they are separate bundles, and mixing them loads two copies of the SDK's classes and state. Its types require TypeScript 5.0+.
22
22
 
23
23
  ## Compiled binaries (`bun build --compile`)
24
24