Skip to content

v0.9.0

Latest

Choose a tag to compare

@campfireshuffle campfireshuffle released this 02 Dec 16:50
54028ee

rex-teams v0.9.0

Subagents can now open in a pane beside you instead of a new tab. Thanks to @fmal, who built this (#44).

What's new

  • Pass split=right (or left, above or below) to spawn.lua, and the subagent opens in a pane on that side of you. Leave it out and you get a tab, as before. You don't need to remember the flag: ask your agent for "a helper in a pane next to me" or "a split below" and it will use it.
  • If you start several pane subagents, they stack in the other half of your pane in the order you started them, so you always keep half the space for yourself.
  • Panes and tabs behave the same way. You can pull a pane out into its own tab, or move a tab into a split, and the subagent keeps its name. It still shows up in team.lua, takes messages by that name, and reports and closes as before.
  • You keep your own name once you've opened a pane, so others can still reach you with block=<the name team.lua shows>.
  • The kickoff and report text are clearer (#76). A subagent's kickoff tells it only what it should do. Its report lists any files first and ends with a step meant for you, starting "For my parent, if this is completed and checks out".

Upgrading

  • Update the skill folder the way you installed it.
  • Restart the postman so it picks up the new code (#77). Find its block in the rex-teams session with rex block ls -A, and close it with rex block close -s <session> <block>. The next message you send starts a fresh postman, and nothing queued is lost. If you rely on alarms, send any message straight after, so they keep firing.
  • Restart any running agents, or ask them to re-read SKILL.md.

Known limits

  • With split=left or above, team.lua lists pane subagents before their parent (#45).
  • When a pane subagent closes, the others keep whatever sizes Rex leaves them.
  • Names typed by hand must match the full label, including the ↳, so it's easiest to copy the command from team.lua (#45, #58).