MCPcopy Index your code

hub / github.com/block/buzz / functions

Functions12,195 in github.com/block/buzz

↓ 23 callersFunctionopts
(overrides = {})
desktop/src/features/notifications/lib/shouldNotify.test.mjs:35
↓ 23 callersMethodsubscribe
( filter: RelaySubscriptionFilter, onEvent: (event: RelayEvent) => void, )
desktop/src/shared/api/relayClientSession.ts:550
↓ 22 callersFunctionev
(kind: u16, content: &str, tags: Vec<Vec<&str>>)
desktop/src-tauri/src/nostr_convert/user_search.rs:204
↓ 22 callersFunctionfirst_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 callersMethodparse
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 callersMethodput
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 callersFunctionreplaceNewestChannelWindow
( current: ChannelWindowStore, page: ChannelWindowPage, )
desktop/src/features/messages/lib/channelWindowStore.ts:103
↓ 22 callersFunctionsession_secret
session_secret = 0xa1b2c3d4…
crates/buzz-core/src/pairing/crypto.rs:136
↓ 22 callersFunctionspawn_capturing_llm
(responses: Vec<Value>)
crates/buzz-agent/tests/regressions.rs:23
↓ 22 callersFunctionuseUsersBatchQuery
( pubkeys: string[], options?: { enabled?: boolean; }, )
desktop/src/features/profile/hooks.ts:303
↓ 21 callersFunctionbox_wrap
(fourcc: &[u8; 4], payload: &[u8])
crates/buzz-test-client/tests/e2e_media_video.rs:55
↓ 21 callersFunctioncurrent_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 callersFunctionensure_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 callersFunctionevent
(id, kind, overrides = {})
desktop/src/features/messages/lib/auxBackfill.test.mjs:12
↓ 21 callersFunctionmake_queued_at
Build a QueuedEvent with a specific `received_at` offset from now.
crates/buzz-acp/src/queue.rs:1574
↓ 21 callersFunctionmake_stream_event
(keys: &Keys, content: &str)
crates/buzz-db/src/thread.rs:831
↓ 21 callersFunctionmerged_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 callersFunctionread_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 callersFunctionuseAppNavigation
()
desktop/src/app/navigation/useAppNavigation.ts:18
↓ 21 callersMethodwrite
(&mut self, msg: Value)
crates/buzz-agent/tests/fake_llm.rs:184
↓ 20 callersFunctioncreate_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 callersFunctionextract_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 callersFunctionmakeTool
(overrides = {})
desktop/src/features/agents/ui/agentSessionToolSummary.test.mjs:8
↓ 20 callersFunctionmsg
(id, parentId, createdAt = 100, pubkey = "author", rootId)
desktop/src/features/channels/lib/threadBadgeCollapseOnOpen.test.mjs:17
↓ 20 callersFunctionparse_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 callersMethodpublishEvent
( event: RelayEvent, timeoutMessage: string, sendErrorMessage: string, )
desktop/src/shared/api/relayClientSession.ts:659
↓ 20 callersFunctionreadCommandLog
(page: import("@playwright/test").Page)
desktop/tests/e2e/mentions.spec.ts:38
↓ 20 callersFunctionresolve_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 callersFunctionruntimeSupportsLlmProviderSelection
(runtimeId: string)
desktop/src/features/agents/ui/personaDialogPickers.tsx:78
↓ 20 callersMethodsend
(&mut self, method: &str, params: Value)
crates/buzz-agent/tests/golden_transcripts.rs:46
↓ 20 callersFunctionsignRelayEvent
(input: { kind: number; content: string; createdAt?: number; tags: string[][]; })
desktop/src/shared/api/tauri.ts:938
↓ 20 callersFunctionsub_id
(name: &str)
crates/buzz-test-client/tests/e2e_relay.rs:30
↓ 20 callersFunctiontest_record
()
desktop/src-tauri/src/managed_agents/config_bridge/reader_tests.rs:42
↓ 20 callersFunctionuseIdentityQuery
()
desktop/src/shared/api/hooks.ts:5
↓ 19 callersFunctionbind_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 callersFunctionconnect_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 callersFunctioncreatePersona
(id, displayName, overrides = {})
desktop/src/features/agents/lib/catalog.test.mjs:13
↓ 19 callersFunctiongetMockMemberPubkey
(config: E2eConfig | undefined)
desktop/src/testing/e2eBridge.ts:1836
↓ 19 callersFunctioninvalid_params
(msg: String)
crates/buzz-dev-mcp/src/view_image.rs:106
↓ 19 callersFunctionmk_community
Insert a community row, return its id.
crates/buzz-search/tests/fts_integration.rs:70
↓ 19 callersMethodon_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 callersFunctionparseReminderContent
( plaintext: string, )
desktop/src/features/reminders/lib/reminderService.ts:58
↓ 19 callersFunctionpill
(emoji, count, reactedByCurrentUser = false)
desktop/src/features/messages/ui/useReactionHandler.test.mjs:18
↓ 19 callersFunctionrelay_url
()
crates/buzz-test-client/tests/e2e_human_edit_agent_content.rs:25
↓ 19 callersFunctionrewrite_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 callersFunctionsample_event
()
desktop/src-tauri/src/managed_agents/retention.rs:323
↓ 19 callersFunctionsend
(wire: &WireSender, msg: Value)
crates/buzz-agent/src/wire.rs:158
↓ 19 callersFunctionsend_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 callersFunctiont
(text, marks = [])
desktop/src/features/messages/lib/spoilerFormatting.test.mjs:24
↓ 19 callersFunctiontag
(parts: Vec<&str>)
desktop/src-tauri/src/events.rs:29
↓ 19 callersFunctionteardown
(pool: PgPool, schema: &str)
crates/buzz-search/tests/fts_integration.rs:52
↓ 19 callersFunctiontest_config
()
crates/buzz-media/src/validation.rs:413
↓ 18 callersMethodcancel
* 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 callersFunctionchannelIdsOf
Channel-id Set view of the summary array — keeps legacy assertions terse.
desktop/src/features/agents/activeAgentTurnsStore.test.mjs:19
↓ 18 callersFunctionensure_repos_symlink
(nest_root: &Path, repos_dir: Option<&str>)
desktop/src-tauri/src/managed_agents/repos.rs:73
↓ 18 callersFunctionfindHighlightMatches
( text: string, patterns: RegExp[], )
desktop/src/features/messages/lib/mentionHighlightExtension.ts:136
↓ 18 callersFunctionfn
()
desktop/src/features/channels/refreshChannelsWhenIdle.test.mjs:7
↓ 18 callersFunctionhome_dir
()
crates/buzz-agent/src/hints.rs:10
↓ 18 callersFunctionhttp_client
()
crates/buzz-test-client/tests/e2e_media_extended.rs:22
↓ 18 callersMethodload
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 callersFunctionmakeDeps
Build a minimal deps object with controllable preconnect behaviour.
desktop/src/shared/api/relayReconnectController.test.mjs:17
↓ 18 callersFunctionmanaged_agents_base_dir
(app: &AppHandle)
desktop/src-tauri/src/managed_agents/storage.rs:32
↓ 18 callersFunctionmergeStores
( local: ChannelStarStore, remote: ChannelStarStore, )
desktop/src/features/sidebar/lib/channelStarsStorage.ts:79
↓ 18 callersFunctionparse_env
(key: &str, default: T)
crates/buzz-agent/src/config.rs:961
↓ 18 callersFunctionparse_relay_message
(text: &str)
crates/buzz-acp/src/relay.rs:2622
↓ 18 callersFunctionread_agents_json
(dir: &Path)
desktop/src-tauri/src/migration_test_support.rs:35
↓ 18 callersFunctionsetup
()
crates/buzz-search/tests/fts_integration.rs:23
↓ 18 callersFunctionsignerFor
(name: IdentityName)
desktop/tests/helpers/seedRelay.ts:74
↓ 18 callersFunctionwriteChannelSectionsStore
( pubkey: string, store: ChannelSectionStore, relayUrl?: string, )
desktop/src/features/sidebar/lib/channelSectionsStorage.ts:156
↓ 17 callersFunctioncheck_pubkey_hex
(s: &str, field: &str)
crates/buzz-sdk/src/builders.rs:66
↓ 17 callersMethodclear
(&self)
desktop/src-tauri/src/commands/pairing.rs:56
↓ 17 callersFunctioncomputeChannelUnreadMarker
( messages: TimelineMessage[], frontierSeconds: number | null, suppressed = false, currentPubkey?: str
desktop/src/features/messages/lib/unreadMarker.ts:36
↓ 17 callersFunctioncomputeThreadUnreadMarker
( replies: Pick<TimelineMessage, "id" | "createdAt" | "pubkey">[], getReadAt: (messageId: string) => numbe
desktop/src/features/messages/lib/unreadMarker.ts:113
↓ 17 callersFunctionentry
(slug, body, outgoingRefs = [])
desktop/src/features/agent-memory/lib/buildMemoryGraph.test.mjs:6
↓ 17 callersFunctionenv
(k: &str)
crates/buzz-agent/src/config.rs:874
↓ 17 callersFunctionevent_created_at
(event: &nostr::Event)
crates/buzz-db/src/thread.rs:837
↓ 17 callersFunctionextract_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 callersFunctionformatTimelineMessages
( events: RelayEvent[], channel: Channel | null, currentPubkey: string | undefined, currentUserAvatarU
desktop/src/features/messages/lib/formatTimelineMessages.ts:180
↓ 17 callersMethodget_channel
Fetches a channel record by ID.
crates/buzz-db/src/lib.rs:725
↓ 17 callersFunctionhsl
(vars: ThemePreviewVars | null, key: string)
desktop/src/shared/theme/ThemePreviewFrame.tsx:28
↓ 17 callersFunctioninsert_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 callersFunctionisBroadcastReply
(tags: string[][])
desktop/src/features/messages/lib/threading.ts:16
↓ 17 callersFunctionmakeEvent
(overrides = {})
desktop/src/features/messages/lib/messageSnapshot.test.mjs:27
↓ 17 callersFunctionmake_event_with_tags
Build an event with specific tags for thread testing.
crates/buzz-acp/src/queue.rs:2757
↓ 17 callersFunctionopenChannelBrowser
(page: Page)
desktop/tests/helpers/bridge.ts:534
↓ 17 callersFunctionparseSelfProfileCache
(json: unknown)
desktop/src/features/profile/lib/selfProfileStorage.ts:71
↓ 17 callersFunctionparseTtlDuration
(input: string)
desktop/src/features/channels/lib/ephemeralChannel.ts:186
↓ 17 callersFunctionpersona
Build a minimal PersonaRecord with the fields that `rewrite_persona_md` reads.
desktop/src-tauri/src/commands/personas/writeback.rs:240
↓ 17 callersMethodpubkey
The authenticated public key.
crates/buzz-relay/src/handlers/ingest.rs:87
↓ 17 callersFunctionreadChannelSectionsStore
( pubkey: string, relayUrl?: string, )
desktop/src/features/sidebar/lib/channelSectionsStorage.ts:118
↓ 17 callersMethodrecord
(&self, step: TraceStep)
crates/buzz-relay/src/conformance/mod.rs:368
↓ 17 callersFunctionsample
()
crates/buzz-relay/src/api/git/manifest.rs:277
↓ 17 callersMethodshutdown
(mut self)
crates/buzz-agent/tests/fake_llm.rs:211
↓ 17 callersMethodtick
(&mut self)
crates/buzz-pair-relay/src/lib.rs:249
↓ 16 callersFunctionanthropic_body
( cfg: &Config, system_prompt: &str, history: &[HistoryItem], tools: &[ToolDef], effective
crates/buzz-agent/src/llm.rs:376
↓ 16 callersFunctionbuildMessage
( signer: Signer, channelId: string, content: string, createdAt: number, extraTags: string[][] = [],
desktop/tests/helpers/seedRelay.ts:145
↓ 16 callersFunctionbuildThreadPanelData
( messages: TimelineMessage[], openThreadHeadId: string | null, threadReplyTargetId: string | null, ex
desktop/src/features/messages/lib/threadPanel.ts:525
↓ 16 callersFunctioncompute_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 callersFunctioncreateMockEvent
( kind: number, content: string, tags: string[][], pubkey = DEFAULT_MOCK_IDENTITY.pubkey, createdAt
desktop/src/testing/e2eBridge.ts:4310
↓ 16 callersFunctiondispatch
(cmd: crate::PrCmd, client: &BuzzClient)
crates/buzz-cli/src/commands/pr.rs:214
← previousnext →201–300 of 12,195, ranked by callers