MCPcopy Index your code

hub / github.com/block/buzz / functions

Functions12,195 in github.com/block/buzz

↓ 1,296 callersMethodpush
Push an event into the queue for its channel. In [`DedupMode::Drop`], events for any currently in-flight channel are silently discarded (debug-logged
crates/buzz-acp/src/queue.rs:189
↓ 781 callersMethodclone
(&self)
crates/buzz-acp/src/filter.rs:132
↓ 605 callersFunctioncn
(...inputs: ClassValue[])
desktop/src/shared/lib/cn.ts:4
↓ 593 callersMethodpath
Path to the bare repository — pass this to `upload-pack`/`info-refs`.
crates/buzz-relay/src/api/git/hydrate.rs:61
↓ 592 callersMethodget
()
desktop/src/shared/api/relayConnectionStateEmitter.ts:23
↓ 505 callersMethodclone
(&self)
desktop/src-tauri/src/huddle/state.rs:141
↓ 462 callersMethodhas
(&self, qname: &str)
crates/buzz-agent/src/mcp.rs:259
↓ 448 callersMethodas_str
Return the canonical wire-format string for this scope (e.g. `"messages:read"`).
crates/buzz-auth/src/scope.rs:114
↓ 444 callersMethodis_empty
True if no peers remain in the room.
crates/buzz-relay/src/audio/room.rs:317
↓ 387 callersMethodinsert
Insert `id`. Returns `true` if it was new (not a duplicate).
crates/buzz-acp/src/relay.rs:871
↓ 296 callersMethodcontains
(&self, id: &str)
crates/buzz-acp/src/relay.rs:866
↓ 294 callersMethodok
Format an OK message acknowledging an EVENT submission.
crates/buzz-relay/src/protocol.rs:204
↓ 293 callersFunctionparse
(args: Vec<String>)
crates/buzz-dev-mcp/src/rg.rs:88
↓ 272 callersMethodok
()
desktop/src-tauri/src/mesh_llm/mod.rs:80
↓ 263 callersMethodis_empty
True when NetEq's buffer has no packets queued and the next `get_audio` call would emit expand/silence. Used by `huddle::playout` as part of the idle-
desktop/src-tauri/src/huddle/jitter.rs:197
↓ 255 callersMethodcommunity
The community every scoped operation under this request must use.
crates/buzz-core/src/tenant.rs:87
↓ 249 callersMethodsend
Sends a data message to this connection's outbound channel. On a full buffer, increments the backpressure counter. The first `grace_limit` occurrence
crates/buzz-relay/src/connection.rs:88
↓ 244 callersMethodset
(next: ConnectionState)
desktop/src/shared/api/relayConnectionStateEmitter.ts:27
↓ 243 callersMethodget
Return the cached owner pubkey.
crates/buzz-acp/src/lib.rs:130
↓ 237 callersMethodget
Retrieve an object's bytes.
crates/buzz-media/src/storage.rs:105
↓ 232 callersFunctionwrite
(s: &TodoState, items: &[(&str, bool)])
crates/buzz-dev-mcp/src/todo.rs:264
↓ 222 callersFunctionconnect
Connect a WebSocket client to the relay.
crates/buzz-pair-relay/tests/integration.rs:43
↓ 221 callersFunctioninstallMockBridge
( page: Page, mock?: MockBridgeOptions, options?: { relayWsUrl?: string; skipOnboardingSeed?: bo
desktop/tests/helpers/bridge.ts:495
↓ 220 callersFunctionnormalizePubkey
(pubkey: string)
desktop/src/shared/lib/pubkey.ts:7
↓ 218 callersFunctiontempdir
()
crates/buzz-test-client/tests/e2e_git.rs:465
↓ 211 callersMethodas_uuid
The underlying UUID, for DB binds and Redis key construction.
crates/buzz-core/src/tenant.rs:50
↓ 181 callersMethodnext
(&mut self)
crates/buzz-relay/src/api/git/transport.rs:1119
↓ 168 callersMethodkind
A short stable string identifying the action kind, for fixture declarations and error messages.
crates/buzz-conformance/src/lib.rs:266
↓ 166 callersMethodas_str
CLI/env wire string (matches `buzz-acp`'s `--respond-to`).
desktop/src-tauri/src/managed_agents/types.rs:659
↓ 155 callersMethoddisconnect
Closes the WebSocket connection gracefully.
crates/buzz-test-client/src/lib.rs:212
↓ 146 callersMethoderror
(&mut self, msg: impl Into<String>)
crates/buzz-persona/src/validate.rs:40
↓ 139 callersMethoddelete
Delete the secret for `key`. A missing entry is not an error.
desktop/src-tauri/src/secret_store.rs:675
↓ 124 callersMethodget
GET an object without digest verification. Prefer `get_verified` for pack/manifest reads — that is what enforces A1 detectability. This raw `get` exi
crates/buzz-relay/src/api/git/store.rs:343
↓ 114 callersMethodremove
Remove an ID (used to un-deduplicate a dropped event so it can be replayed after reconnect).
crates/buzz-acp/src/relay.rs:885
↓ 112 callersMethodsend_event
Sends a signed event to the relay and waits for the OK response.
crates/buzz-test-client/src/lib.rs:122
↓ 102 callersMethodparse
Parse a v2 header from the leading 8 bytes of `bytes`. Returns `(header, remainder)` so callers can pass the remainder straight to the Opus decoder.
desktop/src-tauri/src/huddle/wire.rs:91
↓ 99 callersMethodkeys
Get the keypair.
crates/buzz-cli/src/client.rs:143
↓ 97 callersFunctionsleep
(ms)
desktop/src/shared/api/relayStallWatchdog.test.mjs:16
↓ 92 callersFunctionmakeEvent
(overrides)
desktop/src/features/agents/activeAgentTurnsStore.test.mjs:23
↓ 90 callersMethodfrom
(e: nostr::event::builder::Error)
crates/buzz-acp/src/relay.rs:398
↓ 85 callersMethodinto_response
(self)
crates/buzz-media/src/error.rs:105
↓ 84 callersFunctionwrite
(pubkey: string, rootIds: Set<string>)
desktop/src/features/channels/unreadRootIdStore.ts:19
↓ 82 callersMethodas_str
Canonical string representation (matches DB enum and Nostr tags).
crates/buzz-core/src/channel.rs:21
↓ 80 callersMethodstatus
(&self)
desktop/src-tauri/src/mesh_llm/mod.rs:280
↓ 78 callersMethodas_str
(self)
crates/buzz-relay/src/handlers/identity_archive.rs:30
↓ 76 callersFunctiontag
Parse a tag slice, mapping errors to `SdkError::InvalidTag`.
crates/buzz-sdk/src/builders.rs:27
↓ 72 callersMethodsubscribe
Sends a REQ message to open a subscription with the given `sub_id` and `filters`.
crates/buzz-test-client/src/lib.rs:143
↓ 69 callersMethodlog
(&self, entry: NewAuditEntry)
crates/buzz-audit/src/service.rs:44
↓ 68 callersMethodflush_next
Try to flush the next batch. Returns `None` if all non-in-flight, non-throttled queues are empty. Otherwise picks the channel with the oldest pending
crates/buzz-acp/src/queue.rs:219
↓ 67 callersMethodstore
Store `value` for `key`. Reports `Err` on availability failures — callers decide whether to fall back to file storage.
desktop/src-tauri/src/secret_store.rs:660
↓ 66 callersFunctionsign
(b: EventBuilder)
crates/buzz-sdk/src/builders.rs:1523
↓ 66 callersFunctionsyncAgentTurnsFromEvents
( agentPubkey: string, events: ObserverEvent[], )
desktop/src/features/agents/activeAgentTurnsStore.ts:494
↓ 61 callersMethodcollect_until_eose
Collects all events for `sub_id` until EOSE is received, waiting up to `timeout_dur`.
crates/buzz-test-client/src/lib.rs:179
↓ 60 callersFunctionmake_queued
Build a QueuedEvent for the given channel.
crates/buzz-acp/src/queue.rs:1564
↓ 59 callersFunctioninvokeTauri
( command: string, args?: Record<string, unknown>, )
desktop/src/shared/api/tauri.ts:336
↓ 58 callersMethodbuild
Builds the relay's NIP-11 information document. `relay_self` is the relay's own signing pubkey (hex), advertised as the NIP-11 `self` field. NIP-11 d
crates/buzz-relay/src/nip11.rs:130
↓ 58 callersFunctionrand_bytes32
()
crates/buzz-search/tests/fts_integration.rs:111
↓ 58 callersFunctionsend
Send a JSON value as a text frame.
crates/buzz-pair-relay/tests/integration.rs:49
↓ 58 callersFunctionuuid
()
crates/buzz-sdk/src/builders.rs:1536
↓ 55 callersFunctionquery_relay
Execute a one-shot query via the relay's HTTP bridge (`POST /query`). Filters are serialized as a JSON array. The request is authenticated with a NIP
desktop/src-tauri/src/relay.rs:274
↓ 54 callersMethodtext
(&self)
crates/buzz-agent/src/types.rs:121
↓ 53 callersFunctiongetActiveTurnsForAgent
( agentPubkey: string | null | undefined, )
desktop/src/features/agents/activeAgentTurnsStore.ts:406
↓ 51 callersMethodclear
Drop all listeners. Called on workspace teardown to match the legacy * pattern used for the reconnect listener set.
desktop/src/shared/api/relayConnectionStateEmitter.ts:55
↓ 51 callersFunctionmake_trigger
()
crates/buzz-workflow/src/executor.rs:1235
↓ 51 callersFunctionvalidate_hex64
Validate 64-character lowercase hex string (event_id, pubkey).
crates/buzz-cli/src/validate.rs:29
↓ 50 callersMethodencode
Encode `self` into 8 bytes, network byte order. Suitable for direct concatenation onto an Opus payload.
desktop/src-tauri/src/huddle/wire.rs:74
↓ 50 callersFunctionstart_relay
Start a relay on a random port, return the WebSocket URL.
crates/buzz-pair-relay/tests/integration.rs:34
↓ 49 callersFunctiondecode
(params: Value, stage: &str)
crates/buzz-agent/src/lib.rs:457
↓ 49 callersFunctionmsg
(id, parentId, createdAt = 100, pubkey = "author", rootId)
desktop/src/features/channels/lib/threadBadgeCounts.test.mjs:16
↓ 49 callersFunctionrecv
Receive the next text frame and parse it as JSON. Panics if no message arrives within 2 seconds.
crates/buzz-pair-relay/tests/integration.rs:57
↓ 48 callersFunctioninvoke
( page: import("@playwright/test").Page, command: string, payload?: Record<string, unknown>, )
desktop/tests/e2e/human-edit-agent-content.spec.ts:17
↓ 48 callersFunctionsubmit_event
Build an `EventBuilder` from the events module, sign it with the user's keys, and POST the signed event to `/events` with NIP-98 auth.
desktop/src-tauri/src/relay.rs:481
↓ 47 callersFunctionevent
(id, createdAt, kind = 9)
desktop/src/features/messages/lib/channelWindowStore.test.mjs:13
↓ 47 callersMethodobserve
Emit a semantic event to the local observer feed, if enabled.
crates/buzz-acp/src/acp.rs:286
↓ 47 callersMethodsign_event
Sign an event builder, injecting the NIP-OA auth tag if configured. All event creation should go through this method to ensure consistent auth tag in
crates/buzz-cli/src/client.rs:169
↓ 46 callersFunctionmessage
(overrides)
desktop/src/features/messages/lib/threadPanel.test.mjs:16
↓ 46 callersFunctionpara
(...c)
desktop/src/features/messages/lib/plainTextProjection.test.mjs:23
↓ 46 callersFunctionrun_git
( args: &[&str], cwd: Option<&std::path::Path>, auth: &GitAuthConfig, )
desktop/src-tauri/src/commands/project_git_exec.rs:34
↓ 45 callersMethodmark_complete
Mark the prompt for `channel_id` as complete. Removes the channel from `in_flight_channels` and `in_flight_deadlines`. If the channel was NOT requeu
crates/buzz-acp/src/queue.rs:348
↓ 45 callersFunctionmessage
(overrides)
desktop/src/features/messages/lib/timelineSnapshot.test.mjs:27
↓ 45 callersMethodquery
Execute a one-shot query via the HTTP bridge. `filter` is a Nostr filter object (will be wrapped in an array). Returns the raw JSON response (array of
crates/buzz-cli/src/client.rs:207
↓ 45 callersMethodsearch
Execute a community-scoped FTS query.
crates/buzz-search/src/lib.rs:51
↓ 45 callersMethodsubmit_event
Submit a signed Nostr event via POST /events.
crates/buzz-cli/src/client.rs:249
↓ 44 callersMethodcount
(&self, filter: &serde_json::Value)
crates/buzz-cli/src/client.rs:231
↓ 44 callersFunctiont
(s)
desktop/src/features/messages/lib/plainTextProjection.test.mjs:24
↓ 43 callersMethodcreate
Open a new JSONL tracer writing to `path`. Truncates any existing file at that path so a fresh test run starts clean.
crates/buzz-relay/src/conformance/tracers.rs:37
↓ 43 callersFunctionnow_iso
()
desktop/src-tauri/src/util.rs:3
↓ 42 callersFunctionparse_yaml
Parse a YAML workflow definition, validate it, and return the canonical JSON. Returns `(WorkflowDef, canonical_json)` on success.
crates/buzz-workflow/src/schema.rs:262
↓ 41 callersFunctionasString
(value: unknown)
desktop/src/features/agents/ui/agentSessionUtils.ts:223
↓ 41 callersFunctiongetThreadReference
(tags: string[][])
desktop/src/features/messages/lib/threading.ts:25
↓ 41 callersMethodhuddle
Lock the huddle state mutex, converting a poisoned-lock error to a String. Convenience wrapper — replaces 15+ instances of `state.huddle_state.lock()
desktop/src-tauri/src/app_state.rs:120
↓ 41 callersFunctionload_personas
(app: &AppHandle)
desktop/src-tauri/src/managed_agents/personas.rs:461
↓ 41 callersFunctionok
(id: Value, result: Value)
crates/buzz-agent/src/wire.rs:123
↓ 40 callersFunctionapi_error
Standard error envelope.
crates/buzz-relay/src/api/mod.rs:15
↓ 40 callersMethodargs
(self, **overrides: object)
perf/test_relay_bus_scaling.py:13
↓ 40 callersMethodsend
(&mut self, method: &str, params: Value)
crates/buzz-agent/tests/regressions.rs:128
↓ 39 callersMethodregister
( &self, conn_id: ConnId, sub_id: SubId, filters: Vec<Filter>, channel
crates/buzz-relay/src/subscription.rs:151
↓ 37 callersFunctionbox_wrap
(fourcc: &[u8; 4], payload: &[u8])
crates/buzz-media/src/validation.rs:638
↓ 37 callersFunctionemitMockMessage
( page: import("@playwright/test").Page, channelName: string, content: string, options?: { parentE
desktop/tests/e2e/thread-unread.spec.ts:33
↓ 37 callersFunctionid
(prefix, index)
desktop/src/features/messages/lib/messageQueryKeys.test.mjs:24
next →1–100 of 12,195, ranked by callers