buzz
buzz copied to clipboard
feat(desktop): add connected agents to channels
Stacked on #4006, which is stacked on #3990. The incremental review for this PR is the top commit only: feat(desktop): add connected agents to channels.
Summary
- add an Add to channel action for connected self-hosted agents
- reuse the existing channel membership writer while keeping connected agents outside Buzz-managed lifecycle controls
- interpret the relay batch membership response for the selected connected-agent pubkey
- refresh channel/member/relay-agent queries after connected-agent membership writes
Why
Connected agents need to be mentionable in channels, but Buzz still should not start, stop, deploy, or supervise their remote process. This adds the membership write path only.
Validation
cd desktop && pnpm typecheckcd desktop && node --import ./test-loader.mjs --experimental-strip-types --test src/features/agents/ui/connectedAgentChannelIntent.test.mjs src/features/agents/ui/connectAgentIntent.test.mjsgit diff --check origin/pr/connected-agent-records..HEAD