You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Threads agent-canvas instance rehydrate from the host through both Rust and
Node SDKs to the runtime's session.resume RPC.
Rust:
- New CanvasInstanceRehydrate struct in canvas.rs (camelCase serde).
- ResumeSessionConfig gains open_canvas_instances: Vec<CanvasInstanceRehydrate>
with a with_open_canvas_instances() builder; serializes via the existing
serde_json::to_value(&config) wire path in resume_session.
- Debug impl includes the new field.
Node:
- CanvasInstanceRehydrate interface mirrored in canvas.ts, re-exported from
index.ts.
- ResumeSessionConfig.openCanvasInstances?: CanvasInstanceRehydrate[].
- client.ts session.resume payload forwards the field.
The runtime side (copilot-agent-runtime PR #8441) consumes this via
SessionResumeRequest.openCanvasInstances and rehydrateCanvasInstances().
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments