mirror of
https://github.com/block/buzz.git
synced 2026-11-28 20:22:39 +00:00
feat(sdk,cli): set channel labels and find channels by label or creator
build_create_channel takes labels and build_update_channel can replace or clear them, validated with the relay's rules. buzz_sdk::ChannelIdentity reads the channel type, labels and creator from group-state tags. buzz channels create/update take --label (update also --no-labels), and buzz channels list takes --label and --creator <npub|hex>, sent to the relay as #t and #P. List, get and search output now include labels and created_by. Signed-off-by: Logan Johnson <loganj@squareup.com> Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -46,6 +46,9 @@ buzz messages send-diff --channel <uuid> --diff - --repo https://github.com/org/
|
||||
# Channels
|
||||
buzz channels list
|
||||
buzz channels create --name "my-channel" --type stream --visibility open
|
||||
buzz channels create --name "notes" --type stream --visibility private --label agent-attention
|
||||
buzz channels list --label agent-attention --creator <npub>
|
||||
buzz channels update --channel <uuid> --label workspace # replace labels; --no-labels clears them
|
||||
buzz channels join --channel <uuid>
|
||||
buzz channels topic --channel <uuid> --topic "New topic"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user