peerband 0.1.5 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -99,7 +99,8 @@ The plugin adds a persistent tab titled `PeerBand Relay [On]` or `[Off]` that sh
99
99
  | `peerband relay` | Open or focus the Relay tab in Herdr. If the plugin is missing the wrong version, a local checkout, or points at another config directory, it offers to repair it first |
100
100
  | `peerband skill` | Install or update the PeerBand agent skill for every coding agent on this machine (through `npx skills add`, falling back to a copy). Keeps a skill you edited unless `--force`; `--copy` skips npx |
101
101
  | `peerband share` | Create a single-use invite link that shares this machine with another PeerBand user (read only; `--message` also allows messages; `--expires DAYS`, default 7). `share list` shows who has access and unused links; `share revoke ID` removes access or cancels a link |
102
- | `peerband notify "<text>"` | From inside a Herdr pane: send the machine owner a short note (1 to 1024 characters) through the running relay, for example when a long task finished or an agent is blocked on a decision. The note names the agent in that pane. `--json` for machine-readable output |
102
+ | `peerband notify "<text>"` | From inside a Herdr pane: send the machine owner a short note (1 to 1024 characters) through the running relay, for example when a long task finished or an agent is blocked on a decision. The note names the agent in that pane. `--channel NAME` sends it to one of your channels instead (see below). `--json` for machine-readable output |
103
+ | `peerband channels` | List the channels this machine can send notes to (name, format, state). `--json` for machine-readable output |
103
104
  | `peerband herdr install` | Install (or update) the Herdr plugin. Stops the relay and closes its tab first, puts the previous plugin back if the new one fails, and reopens the tab afterwards |
104
105
  | `peerband herdr uninstall` | Stop the relay, close its tab, remove the plugin and its `settings.json`, and delete the local relay state and stale locks (your login is kept) |
105
106
  | `peerband --version`, `help [command]` | Version and help |
@@ -150,6 +151,17 @@ peerband notify "Migration finished, 3 tests failing"
150
151
 
151
152
  The note goes to the machine owner only (never to people you shared the machine with). Control characters are removed and likely secrets are redacted, best effort, like agent output. It needs the Relay tab's helper to be running and connected; a note sent while it is offline fails with an error instead of being queued. The [agent skill](#agent-skill) tells agents when to use it. The wire format is in [protocol/](protocol/README.md).
152
153
 
154
+ ### Channels
155
+
156
+ A channel is one of your PeerBand webhooks, addressed by its name: for example a Slack or Discord incoming webhook, or your own endpoint. Add them in the PeerBand dashboard under Webhooks; the webhook's name is the channel name. A note always shows in the dashboard. Without a channel, it also goes to every webhook that takes notes; with one, it goes to that one webhook instead (the dashboard shows which channel it was sent to):
157
+
158
+ ```sh
159
+ peerband channels # channels this machine can use: name, format, state
160
+ peerband notify --channel deploys "Release 2.3 is live"
161
+ ```
162
+
163
+ `peerband notify --channel` first checks with PeerBand that the channel exists for this machine and is active, so a typo or a paused webhook is an error and nothing is sent. `peerband channels` never shows webhook URLs or secrets. Channels need a PeerBand server and a relay that support them: an older server answers "doesn't support channels yet", and an older relay is reported with a hint to run `peerband update`.
164
+
153
165
  ## Agent skill
154
166
 
155
167
  The PeerBand skill (`skills/peerband/SKILL.md`) does two things for your coding agents (Claude Code, Codex, Cursor, Gemini CLI, OpenCode and others):