Skip to content

v2.2.0 — a session moves between environments

Choose a tag to compare

@gald33 gald33 released this 04 Sep 17:09
· 107 commits to main since this release
5569ab8

Session handoff

A whole Claude Code session can now be moved between environments through the hub. The agent that has the context publishes it; the agent that needs it collects it, and resumes the conversation where the other left off.

switchboard session handoff <agent>     # publish, sealed to the room, pointer DM'd
switchboard session receive             # collect what was handed to you
switchboard session export -o cap.json  # the two halves against a file instead
switchboard session import cap.json

The capsule is a blackboard entry: sealed with the room's key, expiring on its own, and deleted the moment it is collected. The hub never opens it and needs no change. --release-leases drops what the sender holds; the default keeps them and says so in the pointer.

Landed in #223, which merged after v2.1.0 was tagged — so this is the first release that carries it.

Upgrading

Additive; nothing that worked in 2.1.0 changed. But the commands are new, so both ends need 2.2.0: a peer on 2.1.0 or earlier has no session command and will not recognise a pointer you send it.

Also

  • The coordination skill gains an ordered ladder for finding an agent your roster does not show — roster, board, lobby, find, rendezvous — written after a live failure where a cloud agent read an empty roster as an empty room while its peer was registered in the lobby with a listener parked.