Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/block/buzz
/ functions
Functions
12,195 in github.com/block/buzz
⨍
Functions
12,195
◇
Types & classes
799
↓ 23 callers
Function
opts
(overrides = {})
desktop/src/features/notifications/lib/shouldNotify.test.mjs:35
↓ 23 callers
Method
subscribe
( filter: RelaySubscriptionFilter, onEvent: (event: RelayEvent) => void, )
desktop/src/shared/api/relayClientSession.ts:550
↓ 22 callers
Function
ev
(kind: u16, content: &str, tags: Vec<Vec<&str>>)
desktop/src-tauri/src/nostr_convert/user_search.rs:204
↓ 22 callers
Function
first_tag_value
Find the first tag whose name matches `name` and return its first value. e.g. for tag `["name", "general"]` with `name="name"` returns `Some("general
desktop/src-tauri/src/nostr_convert.rs:28
↓ 22 callers
Method
parse
Parse a v2 header from the leading 8 bytes of `bytes`. Returns the header and the remaining payload slice (the opaque Opus body the relay forwards). O
crates/buzz-relay/src/audio/wire.rs:64
↓ 22 callers
Method
put
Store an object from a byte slice. Used for images, sidecars, and thumbnails. For large video files use [`put_file`] to avoid loading the entire blob
crates/buzz-media/src/storage.rs:73
↓ 22 callers
Function
replaceNewestChannelWindow
( current: ChannelWindowStore, page: ChannelWindowPage, )
desktop/src/features/messages/lib/channelWindowStore.ts:103
↓ 22 callers
Function
session_secret
session_secret = 0xa1b2c3d4…
crates/buzz-core/src/pairing/crypto.rs:136
↓ 22 callers
Function
spawn_capturing_llm
(responses: Vec<Value>)
crates/buzz-agent/tests/regressions.rs:23
↓ 22 callers
Function
useUsersBatchQuery
( pubkeys: string[], options?: { enabled?: boolean; }, )
desktop/src/features/profile/hooks.ts:303
↓ 21 callers
Function
box_wrap
(fourcc: &[u8; 4], payload: &[u8])
crates/buzz-test-client/tests/e2e_media_video.rs:55
↓ 21 callers
Function
current_instance_id
The value stamped into the `BUZZ_MANAGED_AGENT` env var of every agent we spawn, identifying *which* desktop instance owns it. We use the app's bundle
desktop/src-tauri/src/managed_agents/runtime.rs:154
↓ 21 callers
Function
ensure_user
Ensure a user record exists for the given pubkey (upsert). Creates with minimal fields if not present; no-op if already exists.
crates/buzz-db/src/user.rs:38
↓ 21 callers
Function
event
(id, kind, overrides = {})
desktop/src/features/messages/lib/auxBackfill.test.mjs:12
↓ 21 callers
Function
make_queued_at
Build a QueuedEvent with a specific `received_at` offset from now.
crates/buzz-acp/src/queue.rs:1574
↓ 21 callers
Function
make_stream_event
(keys: &Keys, content: &str)
crates/buzz-db/src/thread.rs:831
↓ 21 callers
Function
merged_user_env
Merge persona env vars and per-agent env vars. Precedence: persona env first, then agent overrides, last-wins on key collision. Returns a `BTreeMap`
desktop/src-tauri/src/managed_agents/env_vars.rs:252
↓ 21 callers
Function
read_config_surface
Build the full config surface for an agent, merging all four tiers. Pre-spawn (no session cache): tiers 2a (env vars / record) and 2b (config files).
desktop/src-tauri/src/managed_agents/config_bridge/reader.rs:10
↓ 21 callers
Function
useAppNavigation
()
desktop/src/app/navigation/useAppNavigation.ts:18
↓ 21 callers
Method
write
(&mut self, msg: Value)
crates/buzz-agent/tests/fake_llm.rs:184
↓ 20 callers
Function
create_test_channel
Create a real channel via a signed kind:9007 event submitted to POST /events.
crates/buzz-test-client/tests/e2e_relay.rs:43
↓ 20 callers
Function
extract_config_fields
Walk a config JSON object and extract every key that is present, returning a flat `BTreeMap<String, String>` suitable for `RuntimeFileConfig::extra`.
desktop/src-tauri/src/managed_agents/config_bridge/schema_walker.rs:17
↓ 20 callers
Function
makeTool
(overrides = {})
desktop/src/features/agents/ui/agentSessionToolSummary.test.mjs:8
↓ 20 callers
Function
msg
(id, parentId, createdAt = 100, pubkey = "author", rootId)
desktop/src/features/channels/lib/threadBadgeCollapseOnOpen.test.mjs:17
↓ 20 callers
Function
parse_uuid
Parse a UUID string into a `uuid::Uuid`. Returns `CliError::Usage` on failure. Note: `validate_uuid` (below) returns `()` for validation only; this f
crates/buzz-cli/src/validate.rs:18
↓ 20 callers
Method
publishEvent
( event: RelayEvent, timeoutMessage: string, sendErrorMessage: string, )
desktop/src/shared/api/relayClientSession.ts:659
↓ 20 callers
Function
readCommandLog
(page: import("@playwright/test").Page)
desktop/tests/e2e/mentions.spec.ts:38
↓ 20 callers
Function
resolve_pack
Load, validate, merge, and resolve a pack directory. Returns a `ResolvedPack` with fully typed, ACP-ready output for each persona. All merge policy (
crates/buzz-persona/src/resolve.rs:106
↓ 20 callers
Function
runtimeSupportsLlmProviderSelection
(runtimeId: string)
desktop/src/features/agents/ui/personaDialogPickers.tsx:78
↓ 20 callers
Method
send
(&mut self, method: &str, params: Value)
crates/buzz-agent/tests/golden_transcripts.rs:46
↓ 20 callers
Function
signRelayEvent
(input: { kind: number; content: string; createdAt?: number; tags: string[][]; })
desktop/src/shared/api/tauri.ts:938
↓ 20 callers
Function
sub_id
(name: &str)
crates/buzz-test-client/tests/e2e_relay.rs:30
↓ 20 callers
Function
test_record
()
desktop/src-tauri/src/managed_agents/config_bridge/reader_tests.rs:42
↓ 20 callers
Function
useIdentityQuery
()
desktop/src/shared/api/hooks.ts:5
↓ 19 callers
Function
bind_community
Bind a raw connection host to a [`TenantContext`], failing closed. This is the single row-zero entry point. It normalizes the host with the one share
crates/buzz-relay/src/tenant.rs:71
↓ 19 callers
Function
connect_agent_with_owner
Connect `agent_keys` to the relay with NIP-OA, establishing owner→agent in the DB. Returns the connected (authenticated) client for the agent.
crates/buzz-test-client/tests/e2e_human_edit_agent_content.rs:82
↓ 19 callers
Function
createPersona
(id, displayName, overrides = {})
desktop/src/features/agents/lib/catalog.test.mjs:13
↓ 19 callers
Function
getMockMemberPubkey
(config: E2eConfig | undefined)
desktop/src/testing/e2eBridge.ts:1836
↓ 19 callers
Function
invalid_params
(msg: String)
crates/buzz-dev-mcp/src/view_image.rs:106
↓ 19 callers
Function
mk_community
Insert a community row, return its id.
crates/buzz-search/tests/fts_integration.rs:70
↓ 19 callers
Method
on_frame
Called when a successfully-decoded audio frame arrives from a remote peer. Mirrors the production logic in relay_api.rs: 1. Check tts_active — skip if
desktop/src-tauri/src/huddle/tts_tests.rs:61
↓ 19 callers
Function
parseReminderContent
( plaintext: string, )
desktop/src/features/reminders/lib/reminderService.ts:58
↓ 19 callers
Function
pill
(emoji, count, reactedByCurrentUser = false)
desktop/src/features/messages/ui/useReactionHandler.test.mjs:18
↓ 19 callers
Function
relay_url
()
crates/buzz-test-client/tests/e2e_human_edit_agent_content.rs:25
↓ 19 callers
Function
rewrite_persona_md
Rewrite a `.persona.md` file with updated frontmatter fields and, when safe, an updated body (system prompt). Returns the full rewritten file content,
desktop/src-tauri/src/commands/personas/writeback.rs:131
↓ 19 callers
Function
sample_event
()
desktop/src-tauri/src/managed_agents/retention.rs:323
↓ 19 callers
Function
send
(wire: &WireSender, msg: Value)
crates/buzz-agent/src/wire.rs:158
↓ 19 callers
Function
send_prompt_result
Return `agent` to the pool via `result_tx`, clearing any steer receiver first. Every path that returns an `OwnedAgent` to the pool via `PromptResult`
crates/buzz-acp/src/pool.rs:1012
↓ 19 callers
Function
t
(text, marks = [])
desktop/src/features/messages/lib/spoilerFormatting.test.mjs:24
↓ 19 callers
Function
tag
(parts: Vec<&str>)
desktop/src-tauri/src/events.rs:29
↓ 19 callers
Function
teardown
(pool: PgPool, schema: &str)
crates/buzz-search/tests/fts_integration.rs:52
↓ 19 callers
Function
test_config
()
crates/buzz-media/src/validation.rs:413
↓ 18 callers
Method
cancel
* Cancel the active attempt. Safe to call without a running attempt. * Bumps the cancellation token so any in-flight async continuations * (incl
desktop/src/shared/api/relayReconnectController.ts:249
↓ 18 callers
Function
channelIdsOf
Channel-id Set view of the summary array — keeps legacy assertions terse.
desktop/src/features/agents/activeAgentTurnsStore.test.mjs:19
↓ 18 callers
Function
ensure_repos_symlink
(nest_root: &Path, repos_dir: Option<&str>)
desktop/src-tauri/src/managed_agents/repos.rs:73
↓ 18 callers
Function
findHighlightMatches
( text: string, patterns: RegExp[], )
desktop/src/features/messages/lib/mentionHighlightExtension.ts:136
↓ 18 callers
Function
fn
()
desktop/src/features/channels/refreshChannelsWhenIdle.test.mjs:7
↓ 18 callers
Function
home_dir
()
crates/buzz-agent/src/hints.rs:10
↓ 18 callers
Function
http_client
()
crates/buzz-test-client/tests/e2e_media_extended.rs:22
↓ 18 callers
Method
load
Load the secret for `key`. `Ok(None)` when there is no entry; `Err` only when the backend errored in a way that is not "missing". On first launch aft
desktop/src-tauri/src/secret_store.rs:549
↓ 18 callers
Function
makeDeps
Build a minimal deps object with controllable preconnect behaviour.
desktop/src/shared/api/relayReconnectController.test.mjs:17
↓ 18 callers
Function
managed_agents_base_dir
(app: &AppHandle)
desktop/src-tauri/src/managed_agents/storage.rs:32
↓ 18 callers
Function
mergeStores
( local: ChannelStarStore, remote: ChannelStarStore, )
desktop/src/features/sidebar/lib/channelStarsStorage.ts:79
↓ 18 callers
Function
parse_env
(key: &str, default: T)
crates/buzz-agent/src/config.rs:961
↓ 18 callers
Function
parse_relay_message
(text: &str)
crates/buzz-acp/src/relay.rs:2622
↓ 18 callers
Function
read_agents_json
(dir: &Path)
desktop/src-tauri/src/migration_test_support.rs:35
↓ 18 callers
Function
setup
()
crates/buzz-search/tests/fts_integration.rs:23
↓ 18 callers
Function
signerFor
(name: IdentityName)
desktop/tests/helpers/seedRelay.ts:74
↓ 18 callers
Function
writeChannelSectionsStore
( pubkey: string, store: ChannelSectionStore, relayUrl?: string, )
desktop/src/features/sidebar/lib/channelSectionsStorage.ts:156
↓ 17 callers
Function
check_pubkey_hex
(s: &str, field: &str)
crates/buzz-sdk/src/builders.rs:66
↓ 17 callers
Method
clear
(&self)
desktop/src-tauri/src/commands/pairing.rs:56
↓ 17 callers
Function
computeChannelUnreadMarker
( messages: TimelineMessage[], frontierSeconds: number | null, suppressed = false, currentPubkey?: str
desktop/src/features/messages/lib/unreadMarker.ts:36
↓ 17 callers
Function
computeThreadUnreadMarker
( replies: Pick<TimelineMessage, "id" | "createdAt" | "pubkey">[], getReadAt: (messageId: string) => numbe
desktop/src/features/messages/lib/unreadMarker.ts:113
↓ 17 callers
Function
entry
(slug, body, outgoingRefs = [])
desktop/src/features/agent-memory/lib/buildMemoryGraph.test.mjs:6
↓ 17 callers
Function
env
(k: &str)
crates/buzz-agent/src/config.rs:874
↓ 17 callers
Function
event_created_at
(event: &nostr::Event)
crates/buzz-db/src/thread.rs:837
↓ 17 callers
Function
extract_at_mentions_with_known
Extract `@mention` names from message content using known member names. At each `@` preceded by whitespace or start-of-string, tries known names long
crates/buzz-sdk/src/mentions.rs:107
↓ 17 callers
Function
formatTimelineMessages
( events: RelayEvent[], channel: Channel | null, currentPubkey: string | undefined, currentUserAvatarU
desktop/src/features/messages/lib/formatTimelineMessages.ts:180
↓ 17 callers
Method
get_channel
Fetches a channel record by ID.
crates/buzz-db/src/lib.rs:725
↓ 17 callers
Function
hsl
(vars: ThemePreviewVars | null, key: string)
desktop/src/shared/theme/ThemePreviewFrame.tsx:28
↓ 17 callers
Function
insert_event_with_thread_metadata
Atomically insert an event and its optional thread metadata. `insert_event` and `insert_thread_metadata` calls could leave reply counters inconsisten
crates/buzz-db/src/event.rs:1179
↓ 17 callers
Function
isBroadcastReply
(tags: string[][])
desktop/src/features/messages/lib/threading.ts:16
↓ 17 callers
Function
makeEvent
(overrides = {})
desktop/src/features/messages/lib/messageSnapshot.test.mjs:27
↓ 17 callers
Function
make_event_with_tags
Build an event with specific tags for thread testing.
crates/buzz-acp/src/queue.rs:2757
↓ 17 callers
Function
openChannelBrowser
(page: Page)
desktop/tests/helpers/bridge.ts:534
↓ 17 callers
Function
parseSelfProfileCache
(json: unknown)
desktop/src/features/profile/lib/selfProfileStorage.ts:71
↓ 17 callers
Function
parseTtlDuration
(input: string)
desktop/src/features/channels/lib/ephemeralChannel.ts:186
↓ 17 callers
Function
persona
Build a minimal PersonaRecord with the fields that `rewrite_persona_md` reads.
desktop/src-tauri/src/commands/personas/writeback.rs:240
↓ 17 callers
Method
pubkey
The authenticated public key.
crates/buzz-relay/src/handlers/ingest.rs:87
↓ 17 callers
Function
readChannelSectionsStore
( pubkey: string, relayUrl?: string, )
desktop/src/features/sidebar/lib/channelSectionsStorage.ts:118
↓ 17 callers
Method
record
(&self, step: TraceStep)
crates/buzz-relay/src/conformance/mod.rs:368
↓ 17 callers
Function
sample
()
crates/buzz-relay/src/api/git/manifest.rs:277
↓ 17 callers
Method
shutdown
(mut self)
crates/buzz-agent/tests/fake_llm.rs:211
↓ 17 callers
Method
tick
(&mut self)
crates/buzz-pair-relay/src/lib.rs:249
↓ 16 callers
Function
anthropic_body
( cfg: &Config, system_prompt: &str, history: &[HistoryItem], tools: &[ToolDef], effective
crates/buzz-agent/src/llm.rs:376
↓ 16 callers
Function
buildMessage
( signer: Signer, channelId: string, content: string, createdAt: number, extraTags: string[][] = [],
desktop/tests/helpers/seedRelay.ts:145
↓ 16 callers
Function
buildThreadPanelData
( messages: TimelineMessage[], openThreadHeadId: string | null, threadReplyTargetId: string | null, ex
desktop/src/features/messages/lib/threadPanel.ts:525
↓ 16 callers
Function
compute_auth_tag
Compute a NIP-OA `auth` tag authorizing `agent_pubkey` under `conditions`. Signs the preimage with `owner_keys` using BIP-340 Schnorr. Returns a JSO
crates/buzz-sdk/src/nip_oa.rs:146
↓ 16 callers
Function
createMockEvent
( kind: number, content: string, tags: string[][], pubkey = DEFAULT_MOCK_IDENTITY.pubkey, createdAt
desktop/src/testing/e2eBridge.ts:4310
↓ 16 callers
Function
dispatch
(cmd: crate::PrCmd, client: &BuzzClient)
crates/buzz-cli/src/commands/pr.rs:214
← previous
next →
201–300 of 12,195, ranked by callers