Files
buzz/desktop/src-tauri
Blake McAnally 22a12bf079 feat(cli): manage sidebar sections with buzz sidebar sections
Sidebar sections were desktop-only: they live in the encrypted
kind:30078 `channel-sections` preference, and the CLI had no way to
read or write it. Agents that mirror a team's channels could create the
channels but not group them.

Add `buzz sidebar sections list|create|update|delete|reorder|move|unassign`.
The commands port desktop's per-field LWW register document
(channelSectionsSync.ts / sidebarLwwMap.ts) so CLI writes merge with
desktop edits field by field, and they import the flat format mobile
writes. Each command is one head read and one publish, so a
multi-channel `move` lands atomically. A head the CLI cannot decrypt,
verify, or decode is never overwritten, and a dominated write exits 5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Blake McAnally <bmcanally@squareup.com>
2026-11-06 11:02:10 -06:00
..