Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 03:14
· 50 commits to main since this release
v0.2.0
d3596e4

tmag 0.2.0 lets people and agents act on the agents in tmux panes, not only see them, and lets agents work with each other.

Control surface

  • send, interrupt, request and answer work the same for Claude Code and Codex, wherever a session runs. tmag picks the channel itself: the session's proven pane, the Codex daemon's control socket, or Claude Code's permission hook.
  • Every verb rechecks the session's state under its lock and delivers once. Its event records from and by. A channel that can't carry the verb is refused as unsupported.
  • Permission prompts become requests with ids. In Claude Code, tmag answer-hook waits beside the dialog, which stays on screen, and whoever answers first decides. @tmag-answer (on, agents, off) says who may answer.
  • Callers are proven from process ancestry. An agent never acts on its own session.

Agents working with each other

  • New tmag-peers plugin for each host, holding the peers skill. prefix + M-a installs it; @tmag-peers off removes it.
  • When an agent sends a prompt, tmag writes its first line ([tmag] From …) from the proven caller. People's prompts get no such line, and no prompt may start with [tmag] itself.
  • send --reply and tmag reply let an agent take its answer later as a prompt.
  • tmag read ID --last reads the reply that ended a session's last turn from the agent's transcript and keeps nothing.

Checked live with Claude Code 2.1.318 and Codex 0.166, in both directions.

Fixes

  • The Codex plugin declares the 3 s timeout Codex allows SessionEnd and Interrupt hooks, which removes two startup warnings.

Contract

tmag/v1 gains only optional fields: transcript, capabilities, requests and subagents on sessions; every state event now reports the whole session; caller in list --json; Halt and Answer events; and the refusals unsupported, idle, self and agent.

Updating

prefix + U updates the plugin, which fetches this binary on the next load. Then prefix + M-a brings the agent plugins to 0.2.0 and adds tmag-peers. Codex then asks you once to review tmag's changed hooks. Trust them in /hooks: until you do, they don't run.

Design records: ADR 0001, ADR 0002.

Full Changelog: v0.1.0...v0.2.0