agentroam-runtime-darwin-arm64 0.2.0-preview.59 → 0.2.0-preview.63

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 -2
  2. package/package.json +1 -1
  3. package/runtime/.next/BUILD_ID +1 -1
  4. package/runtime/.next/app-build-manifest.json +8 -8
  5. package/runtime/.next/app-path-routes-manifest.json +1 -1
  6. package/runtime/.next/build-manifest.json +3 -3
  7. package/runtime/.next/prerender-manifest.json +1 -1
  8. package/runtime/.next/required-server-files.json +1 -1
  9. package/runtime/.next/server/app/_not-found/page.js +1 -1
  10. package/runtime/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  11. package/runtime/.next/server/app/_not-found.html +1 -1
  12. package/runtime/.next/server/app/_not-found.rsc +1 -1
  13. package/runtime/.next/server/app/api/agent/abort/route.js +1 -1
  14. package/runtime/.next/server/app/api/agent/answer/route.js +1 -1
  15. package/runtime/.next/server/app/api/agent/codex-sharing/route.js +1 -1
  16. package/runtime/.next/server/app/api/agent/harness/status/route.js +1 -1
  17. package/runtime/.next/server/app/api/agent/model/route.js +1 -1
  18. package/runtime/.next/server/app/api/agent/models/route.js +1 -1
  19. package/runtime/.next/server/app/api/agent/run/route.js +2 -2
  20. package/runtime/.next/server/app/api/agent/runtime-health/route.js +1 -1
  21. package/runtime/.next/server/app/api/agent/steer/route.js +1 -1
  22. package/runtime/.next/server/app/api/agent/stream/route.js +3 -3
  23. package/runtime/.next/server/app/api/agent-workspaces/[workspaceId]/sessions/route.js +1 -1
  24. package/runtime/.next/server/app/api/agent-workspaces/route.js +1 -1
  25. package/runtime/.next/server/app/api/auth/verify/route.js +1 -1
  26. package/runtime/.next/server/app/api/business/route.js +1 -1
  27. package/runtime/.next/server/app/api/client-logs/route.js +1 -1
  28. package/runtime/.next/server/app/api/collaboration/route.js +1 -1
  29. package/runtime/.next/server/app/api/flow/v1/catalog/route.js +1 -1
  30. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/cancel/route.js +1 -1
  31. package/runtime/.next/server/app/api/flow/v1/runs/[runId]/events/route.js +3 -3
  32. package/runtime/.next/server/app/api/flow/v1/runs/route.js +1 -1
  33. package/runtime/.next/server/app/api/flow-studio/config/route.js +1 -1
  34. package/runtime/.next/server/app/api/mcp/connect/route.js +1 -1
  35. package/runtime/.next/server/app/api/mcp/disconnect/route.js +1 -1
  36. package/runtime/.next/server/app/api/mcp/servers/route.js +1 -1
  37. package/runtime/.next/server/app/api/memory/[key]/route.js +1 -1
  38. package/runtime/.next/server/app/api/memory/route.js +1 -1
  39. package/runtime/.next/server/app/api/plugins/load/route.js +1 -1
  40. package/runtime/.next/server/app/api/projects/[id]/route.js +1 -1
  41. package/runtime/.next/server/app/api/projects/check/route.js +1 -1
  42. package/runtime/.next/server/app/api/projects/directories/route.js +1 -1
  43. package/runtime/.next/server/app/api/projects/roots/route.js +1 -1
  44. package/runtime/.next/server/app/api/projects/route.js +1 -1
  45. package/runtime/.next/server/app/api/push/subscribe/route.js +2 -2
  46. package/runtime/.next/server/app/api/push/unsubscribe/route.js +2 -2
  47. package/runtime/.next/server/app/api/push/vapid/route.js +2 -2
  48. package/runtime/.next/server/app/api/push/vapid.body +1 -1
  49. package/runtime/.next/server/app/api/remote-tools/register/route.js +1 -1
  50. package/runtime/.next/server/app/api/sessions/[id]/changes/route.js +2 -2
  51. package/runtime/.next/server/app/api/sessions/[id]/fork/route.js +1 -1
  52. package/runtime/.next/server/app/api/sessions/[id]/fork-at/route.js +1 -1
  53. package/runtime/.next/server/app/api/sessions/[id]/goals/route.js +1 -1
  54. package/runtime/.next/server/app/api/sessions/[id]/handoff/route.js +1 -1
  55. package/runtime/.next/server/app/api/sessions/[id]/native-goal/route.js +1 -1
  56. package/runtime/.next/server/app/api/sessions/[id]/query-index/route.js +1 -1
  57. package/runtime/.next/server/app/api/sessions/[id]/release/route.js +1 -1
  58. package/runtime/.next/server/app/api/sessions/[id]/route.js +1 -1
  59. package/runtime/.next/server/app/api/sessions/[id]/thread-goal/route.js +1 -1
  60. package/runtime/.next/server/app/api/sessions/[id]/tool-result/route.js +1 -1
  61. package/runtime/.next/server/app/api/sessions/route.js +1 -1
  62. package/runtime/.next/server/app/api/settings/route.js +1 -1
  63. package/runtime/.next/server/app/api/skills/route.js +1 -1
  64. package/runtime/.next/server/app/api/tool-policies/[policyId]/route.js +1 -1
  65. package/runtime/.next/server/app/api/tool-policies/route.js +1 -1
  66. package/runtime/.next/server/app/api/tools/route.js +1 -1
  67. package/runtime/.next/server/app/api/update/check/route.js +1 -1
  68. package/runtime/.next/server/app/api/update/install/route.js +1 -1
  69. package/runtime/.next/server/app/api/update/status/route.js +1 -1
  70. package/runtime/.next/server/app/api/web-auth/login/route.js +1 -1
  71. package/runtime/.next/server/app/api/web-auth/logout/route.js +1 -1
  72. package/runtime/.next/server/app/api/web-auth/revoke-all/route.js +1 -1
  73. package/runtime/.next/server/app/api/web-auth/setup/route.js +1 -1
  74. package/runtime/.next/server/app/api/web-auth/status/route.js +1 -1
  75. package/runtime/.next/server/app/api/web-console/bootstrap/route.js +1 -1
  76. package/runtime/.next/server/app/api/web-console/computer-settings/route.js +1 -1
  77. package/runtime/.next/server/app/api/web-console/computers/route.js +1 -1
  78. package/runtime/.next/server/app/api/web-console/device-state/route.js +1 -1
  79. package/runtime/.next/server/app/api/web-console/history/route.js +1 -1
  80. package/runtime/.next/server/app/api/web-console/preferences/route.js +1 -1
  81. package/runtime/.next/server/app/web/page.js +3 -3
  82. package/runtime/.next/server/app/web/page_client-reference-manifest.js +1 -1
  83. package/runtime/.next/server/app-paths-manifest.json +33 -33
  84. package/runtime/.next/server/chunks/5303.js +2 -2
  85. package/runtime/.next/server/middleware-build-manifest.js +1 -1
  86. package/runtime/.next/server/pages/404.html +1 -1
  87. package/runtime/.next/server/pages/500.html +1 -1
  88. package/runtime/.next/server/pages-manifest.json +1 -1
  89. package/runtime/.next/server/server-reference-manifest.json +1 -1
  90. package/runtime/.next/static/chunks/app/web/{error-7be4a5548341e66f.js → error-7ac82267d3330344.js} +1 -1
  91. package/runtime/.next/static/chunks/app/web/layout-4e2120c7c4a57f7c.js +1 -0
  92. package/runtime/.next/static/chunks/app/web/{page-77f6001be085169c.js → page-aa406cbaa5109651.js} +1 -1
  93. package/runtime/.next/static/chunks/{main-app-95f6f940b2905798.js → main-app-51ee029f2d3c9d9e.js} +1 -1
  94. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/MacOS/agentroam-remote-desktop +0 -0
  95. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/Resources/agentroam-component.json +1 -1
  96. package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/_CodeSignature/CodeResources +2 -2
  97. package/runtime/node_modules/.package-lock.json +126 -131
  98. package/runtime/node_modules/@agent/native-runtime/dist/index.js +44 -8
  99. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/README.md +1 -1
  100. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/bridge.mjs +60 -58
  101. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.js +47 -47
  102. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-50f20fv8.mjs +40 -0
  103. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-mh5qmqqf.mjs +26 -0
  104. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-p79weg14.mjs +27 -0
  105. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-x5tcx9zy.mjs +52 -0
  106. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core.mjs +11 -18
  107. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.json +22 -22
  108. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.zst.json +26 -26
  109. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/package.json +14 -12
  110. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +56 -56
  111. package/runtime/node_modules/mediabunny/README.md +0 -8
  112. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.cjs +1091 -599
  113. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.cjs +14 -14
  114. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.mjs +14 -14
  115. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.mjs +1091 -599
  116. package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.node.cjs +1091 -599
  117. package/runtime/node_modules/mediabunny/dist/modules/src/adts/adts-reader.js +14 -7
  118. package/runtime/node_modules/mediabunny/dist/modules/src/codec-data.js +76 -34
  119. package/runtime/node_modules/mediabunny/dist/modules/src/conversion.js +8 -8
  120. package/runtime/node_modules/mediabunny/dist/modules/src/flac/flac-demuxer.js +68 -63
  121. package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-demuxer.js +13 -0
  122. package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-misc.js +7 -0
  123. package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-segmented-input.js +22 -7
  124. package/runtime/node_modules/mediabunny/dist/modules/src/id3.js +33 -15
  125. package/runtime/node_modules/mediabunny/dist/modules/src/input-format.js +30 -0
  126. package/runtime/node_modules/mediabunny/dist/modules/src/input-track.js +11 -10
  127. package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-boxes.js +19 -8
  128. package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-demuxer.js +413 -174
  129. package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-misc.js +6 -0
  130. package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-reader.js +1 -1
  131. package/runtime/node_modules/mediabunny/dist/modules/src/matroska/ebml.js +12 -10
  132. package/runtime/node_modules/mediabunny/dist/modules/src/matroska/matroska-demuxer.js +189 -98
  133. package/runtime/node_modules/mediabunny/dist/modules/src/media-sink.js +35 -22
  134. package/runtime/node_modules/mediabunny/dist/modules/src/misc.js +21 -9
  135. package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-demuxer.js +65 -45
  136. package/runtime/node_modules/mediabunny/dist/modules/src/ogg/ogg-demuxer.js +45 -44
  137. package/runtime/node_modules/mediabunny/dist/modules/src/ogg/ogg-muxer.js +4 -0
  138. package/runtime/node_modules/mediabunny/dist/modules/src/ogg/ogg-reader.js +15 -2
  139. package/runtime/node_modules/mediabunny/dist/modules/src/reader.js +1 -1
  140. package/runtime/node_modules/mediabunny/dist/modules/src/segmented-input.js +48 -39
  141. package/runtime/node_modules/mediabunny/dist/modules/src/source.js +34 -15
  142. package/runtime/node_modules/mediabunny/dist/modules/src/tsconfig.tsbuildinfo +1 -1
  143. package/runtime/node_modules/mediabunny/dist/modules/src/version.js +1 -1
  144. package/runtime/node_modules/mediabunny/dist/modules/src/wave/wave-demuxer.js +21 -9
  145. package/runtime/node_modules/mediabunny/package.json +1 -1
  146. package/runtime/node_modules/mediabunny/src/adts/adts-reader.ts +18 -7
  147. package/runtime/node_modules/mediabunny/src/codec-data.ts +91 -41
  148. package/runtime/node_modules/mediabunny/src/conversion.ts +8 -9
  149. package/runtime/node_modules/mediabunny/src/flac/flac-demuxer.ts +84 -78
  150. package/runtime/node_modules/mediabunny/src/hls/hls-demuxer.ts +19 -0
  151. package/runtime/node_modules/mediabunny/src/hls/hls-misc.ts +8 -0
  152. package/runtime/node_modules/mediabunny/src/hls/hls-segmented-input.ts +27 -6
  153. package/runtime/node_modules/mediabunny/src/id3.ts +36 -17
  154. package/runtime/node_modules/mediabunny/src/input-format.ts +47 -0
  155. package/runtime/node_modules/mediabunny/src/input-track.ts +19 -10
  156. package/runtime/node_modules/mediabunny/src/isobmff/isobmff-boxes.ts +22 -8
  157. package/runtime/node_modules/mediabunny/src/isobmff/isobmff-demuxer.ts +524 -204
  158. package/runtime/node_modules/mediabunny/src/isobmff/isobmff-misc.ts +8 -0
  159. package/runtime/node_modules/mediabunny/src/isobmff/isobmff-reader.ts +1 -1
  160. package/runtime/node_modules/mediabunny/src/matroska/ebml.ts +13 -9
  161. package/runtime/node_modules/mediabunny/src/matroska/matroska-demuxer.ts +223 -114
  162. package/runtime/node_modules/mediabunny/src/media-sink.ts +41 -22
  163. package/runtime/node_modules/mediabunny/src/misc.ts +22 -11
  164. package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-demuxer.ts +73 -49
  165. package/runtime/node_modules/mediabunny/src/ogg/ogg-demuxer.ts +51 -49
  166. package/runtime/node_modules/mediabunny/src/ogg/ogg-muxer.ts +5 -0
  167. package/runtime/node_modules/mediabunny/src/ogg/ogg-reader.ts +18 -2
  168. package/runtime/node_modules/mediabunny/src/reader.ts +1 -1
  169. package/runtime/node_modules/mediabunny/src/segmented-input.ts +56 -42
  170. package/runtime/node_modules/mediabunny/src/source.ts +45 -22
  171. package/runtime/node_modules/mediabunny/src/version.ts +1 -1
  172. package/runtime/node_modules/mediabunny/src/wave/wave-demuxer.ts +25 -11
  173. package/runtime/package-lock.json +159 -164
  174. package/runtime/server.js +1 -1
  175. package/runtime/webapp/dist/assets/{AiHubPane-B-N6RH0Q.js → AiHubPane-D3O__UGN.js} +1 -1
  176. package/runtime/webapp/dist/assets/{App-CnR7MDXm.js → App-DJXr24vO.js} +3 -3
  177. package/runtime/webapp/dist/assets/{BrowserLivePanel-W0MsXBSw.js → BrowserLivePanel-DEl_6FZj.js} +1 -1
  178. package/runtime/webapp/dist/assets/{CollaborationDashboard-C8pCCcuA.js → CollaborationDashboard-DhLKl7mR.js} +1 -1
  179. package/runtime/webapp/dist/assets/{CollaborationPage-COHnzgdS.js → CollaborationPage-BCzxWWHA.js} +1 -1
  180. package/runtime/webapp/dist/assets/{FilePreview-UyKnl8bn.js → FilePreview-BQBYZYpb.js} +3 -3
  181. package/runtime/webapp/dist/assets/{FileTree-CPtvR1BN.js → FileTree-CXiXQO4N.js} +1 -1
  182. package/runtime/webapp/dist/assets/{FlowStudioPane-CKaZ9HRG.js → FlowStudioPane-DUjBX_7t.js} +1 -1
  183. package/runtime/webapp/dist/assets/{RemoteDesktopPage-CzKXPCK9.js → RemoteDesktopPage-BDK0Mq5I.js} +1 -1
  184. package/runtime/webapp/dist/assets/{TerminalPane-DUxg1Yvw.js → TerminalPane-L6DN1Y0T.js} +1 -1
  185. package/runtime/webapp/dist/assets/{abnfDiagram-VCTEODGH-B_adhpEu.js → abnfDiagram-VCTEODGH-Dloq4lbc.js} +1 -1
  186. package/runtime/webapp/dist/assets/{arc-Ct3Co3NN.js → arc-DdmNhDp9.js} +1 -1
  187. package/runtime/webapp/dist/assets/{architectureDiagram-5GKGNRK7-C4UO1pcm.js → architectureDiagram-5GKGNRK7-BTqm_9oY.js} +1 -1
  188. package/runtime/webapp/dist/assets/{artifact-links-DBjb41WU.js → artifact-links-BI9xeGhs.js} +1 -1
  189. package/runtime/webapp/dist/assets/{blockDiagram-I7D4REHJ-DHJg_W6U.js → blockDiagram-I7D4REHJ-jT-ztA_A.js} +1 -1
  190. package/runtime/webapp/dist/assets/{c4Diagram-7LVT6UL2-2jX_Lk9r.js → c4Diagram-7LVT6UL2-DxX89YpZ.js} +1 -1
  191. package/runtime/webapp/dist/assets/channel-9wfiqrt1.js +1 -0
  192. package/runtime/webapp/dist/assets/{chunk-2Q5K7J3B-W8ZVYFUA.js → chunk-2Q5K7J3B-BgXNuFPn.js} +1 -1
  193. package/runtime/webapp/dist/assets/{chunk-5VM5RSS4-CXolp1ZM.js → chunk-5VM5RSS4-Bv7-4JNt.js} +1 -1
  194. package/runtime/webapp/dist/assets/{chunk-F27PBJKO-BvVHxAjR.js → chunk-F27PBJKO-BNSskrgg.js} +1 -1
  195. package/runtime/webapp/dist/assets/{chunk-IMKFNOWR-DxshfgaX.js → chunk-IMKFNOWR-C166MQKM.js} +1 -1
  196. package/runtime/webapp/dist/assets/{chunk-JWPE2WC7-DBO0cSuI.js → chunk-JWPE2WC7-Bl1a_rZ8.js} +1 -1
  197. package/runtime/webapp/dist/assets/{chunk-POPQ4Y6H-80so8iZq.js → chunk-POPQ4Y6H-Ck6xvnVw.js} +1 -1
  198. package/runtime/webapp/dist/assets/{chunk-SVP7TREG-CDc4gQrs.js → chunk-SVP7TREG-h6j1DDv5.js} +1 -1
  199. package/runtime/webapp/dist/assets/{chunk-TICWLB2K-6diZdPBg.js → chunk-TICWLB2K-BFafTq0K.js} +1 -1
  200. package/runtime/webapp/dist/assets/{chunk-XXDRQBXY-DKEsB6Um.js → chunk-XXDRQBXY-BQPWRmrg.js} +1 -1
  201. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-CTD9Lt2V.js +1 -0
  202. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-CTD9Lt2V.js +1 -0
  203. package/runtime/webapp/dist/assets/{clipboard-DfJuyjhz.js → clipboard-B2fwlVD5.js} +1 -1
  204. package/runtime/webapp/dist/assets/{codeSyntax-Dpnea4UY.js → codeSyntax-VUYFxRDg.js} +1 -1
  205. package/runtime/webapp/dist/assets/{collaboration-SPMVqkPG.js → collaboration-CalhGKdD.js} +1 -1
  206. package/runtime/webapp/dist/assets/{cose-bilkent-JH36ORCC-D8L2rV01.js → cose-bilkent-JH36ORCC-IgwThNmP.js} +1 -1
  207. package/runtime/webapp/dist/assets/{cynefin-OW5HDTMX-DHqud2Cm.js → cynefin-OW5HDTMX-kfamOzdb.js} +1 -1
  208. package/runtime/webapp/dist/assets/{cynefinDiagram-5FMLGOSQ-BEkUBcO-.js → cynefinDiagram-5FMLGOSQ-TVskTO_2.js} +1 -1
  209. package/runtime/webapp/dist/assets/{dagre-GXQ25YYZ-CN9F3B2O.js → dagre-GXQ25YYZ-DA85rDs9.js} +1 -1
  210. package/runtime/webapp/dist/assets/{diagram-S7CK7UJ4-DZ7Xg84Q.js → diagram-S7CK7UJ4-CK0LkDfU.js} +1 -1
  211. package/runtime/webapp/dist/assets/{diagram-UQ7AKVKN-DAwgND67.js → diagram-UQ7AKVKN-Bkskt6g2.js} +1 -1
  212. package/runtime/webapp/dist/assets/{diagram-VSXAHHWV-BEyhb6G_.js → diagram-VSXAHHWV-DN2UO2Hh.js} +1 -1
  213. package/runtime/webapp/dist/assets/{diagram-VX7I27RA-D1WcBr7q.js → diagram-VX7I27RA-BLSOCEKl.js} +1 -1
  214. package/runtime/webapp/dist/assets/{diagram-Z3DM3KII-sO-B_87H.js → diagram-Z3DM3KII-DNr6MVnd.js} +1 -1
  215. package/runtime/webapp/dist/assets/{ebnfDiagram-PWID7BFC-YLK91iRL.js → ebnfDiagram-PWID7BFC-CRASUUeC.js} +1 -1
  216. package/runtime/webapp/dist/assets/{erDiagram-RLTQ6QDP-CR8S4qkI.js → erDiagram-RLTQ6QDP-1VwQNW79.js} +1 -1
  217. package/runtime/webapp/dist/assets/{file-types-P8F5Kv5T.js → file-types-MDD5RUla.js} +1 -1
  218. package/runtime/webapp/dist/assets/{flowDiagram-HODETNUW-_rURXNAq.js → flowDiagram-HODETNUW-DzhiH-fC.js} +1 -1
  219. package/runtime/webapp/dist/assets/{ganttDiagram-EL5Y4UJY-CNM-9GGi.js → ganttDiagram-EL5Y4UJY-DH8HcfJq.js} +1 -1
  220. package/runtime/webapp/dist/assets/{gitGraphDiagram-WWUBYQGX-BjPSJ5x0.js → gitGraphDiagram-WWUBYQGX-DYOG2d-R.js} +1 -1
  221. package/runtime/webapp/dist/assets/{index-BemHCJ6r.js → index-Bqpz5--c.js} +3 -3
  222. package/runtime/webapp/dist/assets/{infoDiagram-27XIBGKW-CuuvHRns.js → infoDiagram-27XIBGKW-DOjkALCi.js} +1 -1
  223. package/runtime/webapp/dist/assets/{ishikawaDiagram-5VMMS53U-BmImPgUo.js → ishikawaDiagram-5VMMS53U-DBXZxz82.js} +1 -1
  224. package/runtime/webapp/dist/assets/{journeyDiagram-3NMN7TZE-Bn32ayWx.js → journeyDiagram-3NMN7TZE-DEpi9Fbd.js} +1 -1
  225. package/runtime/webapp/dist/assets/{kanban-definition-UXKFOSKX-Orf5B9tr.js → kanban-definition-UXKFOSKX-Chbcb2nn.js} +1 -1
  226. package/runtime/webapp/dist/assets/{layout-Bz-eALaf.js → layout-0ld5oekM.js} +1 -1
  227. package/runtime/webapp/dist/assets/{linear-GRH2zlvx.js → linear-BCRtBckJ.js} +1 -1
  228. package/runtime/webapp/dist/assets/{loader-circle-B1O8dTRZ.js → loader-circle-DGJsEr0r.js} +1 -1
  229. package/runtime/webapp/dist/assets/{mermaid.core-CXFNI4kc.js → mermaid.core-ByBSaE2T.js} +5 -5
  230. package/runtime/webapp/dist/assets/{mindmap-definition-YA3MSWOX-DBPh7WCJ.js → mindmap-definition-YA3MSWOX-BW9I4Kuv.js} +1 -1
  231. package/runtime/webapp/dist/assets/page-DVdz2jp6.js +96 -0
  232. package/runtime/webapp/dist/assets/{pegDiagram-XKGWAZYB-BSfS03uL.js → pegDiagram-XKGWAZYB-D9oxCTQA.js} +1 -1
  233. package/runtime/webapp/dist/assets/{pieDiagram-E7YTZNPT-CDRqpLVs.js → pieDiagram-E7YTZNPT-Ca4vPJj3.js} +1 -1
  234. package/runtime/webapp/dist/assets/{quadrantDiagram-AXDQQJYC-D_RY7wjU.js → quadrantDiagram-AXDQQJYC-DM9Go2ES.js} +1 -1
  235. package/runtime/webapp/dist/assets/{railroadDiagram-O6MQD6OU-B2SoVJ9G.js → railroadDiagram-O6MQD6OU-BinalW7_.js} +1 -1
  236. package/runtime/webapp/dist/assets/{requirementDiagram-BXWQKSXE-DnWpSR1Y.js → requirementDiagram-BXWQKSXE-C4KXL_m1.js} +1 -1
  237. package/runtime/webapp/dist/assets/{rotate-ccw-Bjz0Wpx2.js → rotate-ccw-DrBaBbCR.js} +1 -1
  238. package/runtime/webapp/dist/assets/{rotate-cw-BWEexXGf.js → rotate-cw-Ccsl7hB3.js} +1 -1
  239. package/runtime/webapp/dist/assets/{sankeyDiagram-P5KCCOFB-Co-Qj_LV.js → sankeyDiagram-P5KCCOFB-Ba3vi6ln.js} +1 -1
  240. package/runtime/webapp/dist/assets/{send-Cbvtm5PI.js → send-OgOSXSRs.js} +1 -1
  241. package/runtime/webapp/dist/assets/{sequenceDiagram-WJ2MYXX4-VoglWvYc.js → sequenceDiagram-WJ2MYXX4-DJzCQdxN.js} +1 -1
  242. package/runtime/webapp/dist/assets/{sizeCapture-INFHLROL-DWxwfR2u.js → sizeCapture-INFHLROL-DYsPME1d.js} +1 -1
  243. package/runtime/webapp/dist/assets/{smartphone-DQp2ULQW.js → smartphone-BaeWE4n-.js} +1 -1
  244. package/runtime/webapp/dist/assets/{stateDiagram-D77RDMKH-CLHLzVJL.js → stateDiagram-D77RDMKH-D2prIqK-.js} +1 -1
  245. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-tpTQhbGu.js +1 -0
  246. package/runtime/webapp/dist/assets/{swimlanes-42K2YHIH-DC-0GRf4.js → swimlanes-42K2YHIH-NODzX6Rz.js} +1 -1
  247. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-CUH3ZqiP.js +8 -0
  248. package/runtime/webapp/dist/assets/{timeline-definition-24CTP7MA-Csujk9ty.js → timeline-definition-24CTP7MA-CTh1zdtP.js} +1 -1
  249. package/runtime/webapp/dist/assets/{trash-2-B14cV_K8.js → trash-2-DoqYR_LW.js} +1 -1
  250. package/runtime/webapp/dist/assets/{vennDiagram-4TSXK5OY-EN0WRA_g.js → vennDiagram-4TSXK5OY-DyjbbvAr.js} +1 -1
  251. package/runtime/webapp/dist/assets/{wardleyDiagram-VM6X3IG4-Zk5SOTO7.js → wardleyDiagram-VM6X3IG4-BFWVhSKh.js} +1 -1
  252. package/runtime/webapp/dist/assets/{web-B9D1bCmo.js → web-BeDKAt7R.js} +1 -1
  253. package/runtime/webapp/dist/assets/{web-6uYpu7Bw.js → web-W_qr76-r.js} +1 -1
  254. package/runtime/webapp/dist/assets/{x-BWEq5wCW.js → x-Dp1u7spG.js} +1 -1
  255. package/runtime/webapp/dist/assets/{xychartDiagram-S5SC5T6Z-BdHQKHC-.js → xychartDiagram-S5SC5T6Z-CkRP6Drf.js} +1 -1
  256. package/runtime/webapp/dist/index.html +1 -1
  257. package/runtime/ws-server.mjs +1 -1
  258. package/runtime/.next/static/chunks/app/web/layout-3a6153af234e03c8.js +0 -1
  259. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-2hp8y6j3.mjs +0 -52
  260. package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-kjmgdn1p.mjs +0 -35
  261. package/runtime/webapp/dist/assets/channel-CuS5M3pH.js +0 -1
  262. package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-Ci7cSZH3.js +0 -1
  263. package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-Ci7cSZH3.js +0 -1
  264. package/runtime/webapp/dist/assets/page-CiteXkWU.js +0 -96
  265. package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-Dr4T17eO.js +0 -1
  266. package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-CowIhx9Y.js +0 -8
  267. /package/runtime/.next/static/{Hoi6xKI3SNk3SxF_0OlK2 → wybbbDbeFWOi1186WVCZe}/_buildManifest.js +0 -0
  268. /package/runtime/.next/static/{Hoi6xKI3SNk3SxF_0OlK2 → wybbbDbeFWOi1186WVCZe}/_ssgManifest.js +0 -0
@@ -20,6 +20,9 @@ export const buildIsobmffMimeType = (info) => {
20
20
  return string;
21
21
  };
22
22
  export const parsePsshBoxContents = (contents) => {
23
+ if (contents.length < 24) {
24
+ throw new Error('Invalid pssh box: too small.');
25
+ }
23
26
  const view = toDataView(contents);
24
27
  let pos = 0;
25
28
  const version = view.getUint8(pos);
@@ -31,6 +34,9 @@ export const parsePsshBoxContents = (contents) => {
31
34
  if (version > 0) {
32
35
  const kidCount = view.getUint32(pos);
33
36
  pos += 4;
37
+ if (pos + 16 * kidCount + 4 > contents.length) {
38
+ throw new Error('Invalid pssh box: key ID count exceeds box size.');
39
+ }
34
40
  if (kidCount > 0) {
35
41
  keyIds = [];
36
42
  for (let i = 0; i < kidCount; i++) {
@@ -98,7 +98,7 @@ export const readDataBox = (slice) => {
98
98
  if (!header || header.name !== 'data') {
99
99
  return null;
100
100
  }
101
- if (slice.remainingLength < 8) {
101
+ if (header.contentSize < 8 || slice.remainingLength < 8) {
102
102
  // Box is too small
103
103
  return null;
104
104
  }
@@ -501,7 +501,8 @@ export const readVarInt = (slice) => {
501
501
  return value;
502
502
  };
503
503
  export const readUnsignedInt = (slice, width) => {
504
- if (width < 1 || width > 8) {
504
+ // Zero width is valid and means zero
505
+ if (width > 8) {
505
506
  throw new Error('Bad unsigned int size ' + width);
506
507
  }
507
508
  let value = 0;
@@ -513,7 +514,7 @@ export const readUnsignedInt = (slice, width) => {
513
514
  return value;
514
515
  };
515
516
  export const readUnsignedBigInt = (slice, width) => {
516
- if (width < 1) {
517
+ if (width < 1 || width > 8) {
517
518
  throw new Error('Bad unsigned int size ' + width);
518
519
  }
519
520
  let value = 0n;
@@ -582,11 +583,11 @@ export const readElementHeader = (slice) => {
582
583
  export const readAsciiString = (slice, length) => {
583
584
  const bytes = readBytes(slice, length);
584
585
  // Actual string length might be shorter due to null terminators
585
- let strLength = 0;
586
- while (strLength < length && bytes[strLength] !== 0) {
587
- strLength += 1;
586
+ let str = '';
587
+ for (let i = 0; i < length && bytes[i] !== 0; i++) {
588
+ str += String.fromCharCode(bytes[i]);
588
589
  }
589
- return String.fromCharCode(...bytes.subarray(0, strLength));
590
+ return str;
590
591
  };
591
592
  export const readUnicodeString = (slice, length) => {
592
593
  const bytes = readBytes(slice, length);
@@ -637,11 +638,12 @@ export const resync = async (reader, startPos, ids, until) => {
637
638
  let slice = reader.requestSliceRange(currentPos, 0, Math.min(CHUNK_SIZE, until - currentPos));
638
639
  if (isThenable(slice))
639
640
  slice = await slice;
640
- if (!slice)
641
- break;
642
- if (slice.length < MAX_VAR_INT_SIZE)
641
+ if (!slice || slice.length === 0)
643
642
  break;
644
- for (let i = 0; i < slice.length - MAX_VAR_INT_SIZE; i++) {
643
+ // The last few positions are left for the next chunk so their IDs can be read in full. Close to the end, there
644
+ // is no next chunk to speak of, so we must still make progress.
645
+ const positionsToCheck = Math.max(slice.length - MAX_VAR_INT_SIZE, 1);
646
+ for (let i = 0; i < positionsToCheck; i++) {
645
647
  slice.filePos = currentPos;
646
648
  const elementId = readElementId(slice);
647
649
  if (elementId !== null && idsSet.has(elementId)) {