codai-sdk 0.8.0 → 0.13.0

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.
package/README.md CHANGED
@@ -278,6 +278,8 @@ for await (const frame of codai.sessions.stream(session.id, { after: 0 })) {
278
278
  }
279
279
 
280
280
  await codai.sessions.dispatch(session.id, { device_id: phoneId, text: 'continue on the phone' });
281
+ // Handoff: just open the session on the phone, run nothing (`online` comes from devices.list()).
282
+ await codai.sessions.dispatch(session.id, { device_id: phoneId, mode: 'open' });
281
283
 
282
284
  // Host relay: run one op on a connected desktop
283
285
  const hosts = await codai.hosts.list();