Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/block/buzz
/ functions
Functions
12,195 in github.com/block/buzz
⨍
Functions
12,195
◇
Types & classes
799
↓ 11 callers
Function
formatTimecode
( seconds: number, options: { fractionalDigits?: number; trimZeroFraction?: boolean } = {}, )
desktop/src/shared/ui/VideoPlayer.tsx:131
↓ 11 callers
Function
formatTtlDuration
(ttlSeconds: number)
desktop/src/features/channels/lib/ephemeralChannel.ts:222
↓ 11 callers
Function
generate_challenge
Generate a random NIP-42 challenge (32 CSPRNG bytes, hex-encoded).
crates/buzz-auth/src/nip42.rs:38
↓ 11 callers
Function
getMockChannel
(channelId: string)
desktop/src/testing/e2eBridge.ts:1827
↓ 11 callers
Function
getTag
(event, name)
desktop/src/features/projects/projectIssues.mjs:14
↓ 11 callers
Function
global_model_manager
Return a reference to the process-global `ModelManager`.
desktop/src-tauri/src/huddle/models.rs:865
↓ 11 callers
Method
host
The host that resolved to this community. Authoritative for the NIP-05 domain and audit labelling; never re-derive the community from it downstream —
crates/buzz-core/src/tenant.rs:95
↓ 11 callers
Function
isMessageLink
(href: string | undefined | null)
desktop/src/features/messages/lib/messageLink.ts:101
↓ 11 callers
Function
li
(...c)
desktop/src/features/messages/lib/plainTextProjection.test.mjs:26
↓ 11 callers
Function
makeSection
(overrides = {})
desktop/src/features/sidebar/lib/channelSectionsStorage.test.mjs:34
↓ 11 callers
Function
make_community
Insert a community with a unique host. Returns its `CommunityId`.
crates/buzz-db/src/workflow.rs:1710
↓ 11 callers
Function
make_payload
(relays: Vec<String>)
crates/buzz-core/src/pairing/qr.rs:250
↓ 11 callers
Method
mark_local_event
Record an event ID as locally-published for dedup, scoped to the community it was fanned out in. Called before Redis publish so the multi-node consume
crates/buzz-relay/src/state.rs:471
↓ 11 callers
Function
mergeLiveChannelWindowEvent
( current: ChannelWindowStore, event: RelayEvent, isTimelineRow = true, )
desktop/src/features/messages/lib/channelWindowStore.ts:183
↓ 11 callers
Function
openObserverFeedPanel
( page: import("@playwright/test").Page, agentPubkey: string, )
desktop/tests/e2e/observer-feed-screenshots.spec.ts:33
↓ 11 callers
Function
pTag
(pubkey)
desktop/src/features/notifications/lib/shouldNotify.test.mjs:32
↓ 11 callers
Function
parseChannelWindowResponse
( events: RelayEvent[], channelId: string, startCursor: ChannelWindowCursor | null, )
desktop/src/features/messages/lib/channelWindowResponse.ts:85
↓ 11 callers
Function
parseMessageLink
(url: string)
desktop/src/features/messages/lib/messageLink.ts:62
↓ 11 callers
Function
parseSupportedLinkPreview
( href: string, )
desktop/src/shared/lib/linkPreview.ts:417
↓ 11 callers
Function
parse_channel_uuid
(channel_id: &str)
desktop/src-tauri/src/commands/channels.rs:401
↓ 11 callers
Function
parse_png_persona
(png_bytes: &[u8])
desktop/src-tauri/src/managed_agents/persona_card.rs:36
↓ 11 callers
Function
parse_thread_tags
Parse NIP-10 thread tags from a Nostr event. Detection logic (per research doc §4c): - Find an `e` tag with `root` marker → its value is `root_event_
crates/buzz-acp/src/queue.rs:789
↓ 11 callers
Function
post
(http: &Client, url: &str, body: &Value, apply: F)
crates/buzz-agent/src/llm.rs:1009
↓ 11 callers
Function
post_signed_event
Submit a signed command event via REST and assert it was accepted.
crates/buzz-test-client/tests/e2e_nostr_interop.rs:150
↓ 11 callers
Function
process_belongs_to_us
(pid: u32)
desktop/src-tauri/src/managed_agents/runtime.rs:91
↓ 11 callers
Method
put_pointer
Write the pointer under a precondition (§Push step 7 — the CAS). Returns `CasOutcome::LostRace` on 412 (the standard losing outcome). On `CasOutcome:
crates/buzz-relay/src/api/git/store.rs:461
↓ 11 callers
Method
query
Query events via the HTTP bridge: `POST /query` with NIP-98 auth. Accepts a slice of `nostr::Filter` (serialized as JSON array). Returns the events a
crates/buzz-acp/src/relay.rs:333
↓ 11 callers
Function
random_pubkey
()
crates/buzz-db/src/channel.rs:1382
↓ 11 callers
Function
random_pubkey
()
crates/buzz-db/src/user.rs:412
↓ 11 callers
Function
readMessageSnapshot
( relayUrl: string, channelId: string, )
desktop/src/features/messages/lib/messageSnapshot.ts:55
↓ 11 callers
Function
relay_url
()
crates/buzz-test-client/tests/e2e_persona.rs:23
↓ 11 callers
Function
relay_ws_url_with_override
Returns the relay WebSocket URL, checking the workspace override first. Precedence: workspace override > env vars > build-time vars > default.
desktop/src-tauri/src/relay.rs:44
↓ 11 callers
Function
render
(element)
desktop/src/shared/layout/auxiliaryPanelContext.test.mjs:18
↓ 11 callers
Function
resolve_identity_with_store
Identity resolution over an [`IdentityKeyStore`] seam. Split from [`load_or_create_identity`] so the probe/recover branches are testable without the l
desktop/src-tauri/src/app_state.rs:248
↓ 11 callers
Function
save_personas
(app: &AppHandle, records: &[PersonaRecord])
desktop/src-tauri/src/managed_agents/personas.rs:482
↓ 11 callers
Function
seedObserverEvents
( page: import("@playwright/test").Page, agentPubkey: string, events: Array<{ seq: number; times
desktop/tests/e2e/observer-feed-screenshots.spec.ts:66
↓ 11 callers
Function
selectTimelineLoadingState
( status: TimelineQueryStatus, hasSettled = true, )
desktop/src/features/messages/lib/timelineLoadingState.ts:18
↓ 11 callers
Method
send_payload
(Source) Build the payload event carrying the secret.
crates/buzz-core/src/pairing/session.rs:227
↓ 11 callers
Function
settleAnimations
(panel: import("@playwright/test").Locator)
desktop/tests/e2e/observer-feed-screenshots.spec.ts:93
↓ 11 callers
Function
subscribe
Send a REQ for the given sub_id and p_hex, then consume the EOSE.
crates/buzz-pair-relay/tests/integration.rs:194
↓ 11 callers
Function
text_content
(result: &ToolResult)
crates/buzz-agent/src/builtin.rs:246
↓ 11 callers
Function
toRow
(e: NostrEvent)
desktop/tests/helpers/seedRelay.ts:207
↓ 11 callers
Function
touchMockChannel
(channel: MockChannel)
desktop/src/testing/e2eBridge.ts:947
↓ 11 callers
Function
upload
(client: &Client, keys: &Keys, body: &[u8])
crates/buzz-test-client/tests/e2e_media_extended.rs:49
↓ 11 callers
Function
upsert_managed_section
(file_path: &Path, new_section_content: &str)
desktop/src-tauri/src/managed_agents/nest.rs:581
↓ 11 callers
Function
validate_uuid
Validate UUID string. Returns CliError::Usage on failure.
crates/buzz-cli/src/validate.rs:23
↓ 11 callers
Function
ws_send_timeout
Send a WebSocket message with a hard timeout. All `ws.send()` calls go through here so a stalled TCP socket can't wedge the background task. On timeo
crates/buzz-acp/src/relay.rs:2483
↓ 10 callers
Function
appendOlderChannelWindow
( current: ChannelWindowStore, page: ChannelWindowPage, )
desktop/src/features/messages/lib/channelWindowStore.ts:125
↓ 10 callers
Function
buildDayGroupBoundaries
( messages: readonly TimelineMessage[], )
desktop/src/features/messages/lib/timelineSnapshot.ts:110
↓ 10 callers
Function
build_git_patch
Build a git patch event (kind:1617, NIP-34). `content` is the verbatim output of `git format-patch` — not truncated. NIP-34 says patches SHOULD be us
crates/buzz-sdk/src/builders.rs:951
↓ 10 callers
Function
check_content
(content: &str)
desktop/src-tauri/src/events.rs:33
↓ 10 callers
Function
classifyChildren
(childArray)
desktop/src/shared/ui/markdown.test.mjs:38
↓ 10 callers
Function
classifyModelRef
(raw: string)
desktop/src/features/mesh-compute/classifyModelRef.ts:25
↓ 10 callers
Function
cleanup
()
desktop/src/features/messages/lib/useMediaUpload.ts:57
↓ 10 callers
Function
cn
(...inputs: ClassValue[])
web/src/shared/lib/cn.ts:4
↓ 10 callers
Function
create_dm
Create a DM via a signed kind:41010 (DM open) command event and return the channel_id UUID string parsed from the relay's `response:{...}` message.
crates/buzz-test-client/tests/e2e_nostr_interop.rs:110
↓ 10 callers
Function
derive_transcript_hash
Derive the transcript hash that binds all session parameters together. ```text transcript = session_id ‖ source_pubkey ‖ target_pubkey ‖ sas_inpu
crates/buzz-core/src/pairing/crypto.rs:89
↓ 10 callers
Function
dispatchWheelPrevented
( page: import("@playwright/test").Page, selector: string, deltas: { deltaX?: number; deltaY?: number },
desktop/tests/e2e/overscroll-boundary.spec.ts:5
↓ 10 callers
Function
emit_group_discovery_events
Emit NIP-29 group discovery events (39000, 39001, 39002) signed by the relay keypair. Called after group creation, metadata changes, or membership cha
crates/buzz-relay/src/handlers/side_effects.rs:941
↓ 10 callers
Method
ensureConnected
()
desktop/src/shared/api/relayClientSession.ts:471
↓ 10 callers
Function
entry
(emoji)
desktop/src/features/messages/ui/useQuickReactionEmojis.test.mjs:6
↓ 10 callers
Function
fan_out_event_to_local_subscribers
Deliver one event to this relay's local subscribers through the access gate. This is the single guarded send path for relay-local EVENT delivery. It
crates/buzz-relay/src/handlers/event.rs:217
↓ 10 callers
Function
feedItem
(overrides)
desktop/src/features/home/useHomeInboxReadState.test.mjs:13
↓ 10 callers
Function
findReusableGenericAgent
( agents: ManagedAgent[], command: string, channelMemberPubkeys: ReadonlySet<string>, )
desktop/src/features/agents/agentReuse.ts:62
↓ 10 callers
Function
formatThreadSummaryLastReplyTime
( unixSeconds: number, nowSeconds = Date.now() / 1_000, )
desktop/src/features/messages/lib/dateFormatters.ts:112
↓ 10 callers
Function
frame
(status, overrides = {})
desktop/src/features/agents/lib/liveSwitchOutcome.test.mjs:8
↓ 10 callers
Function
getImportErrorLabel
(errorMessage: string | null)
desktop/src/features/agents/ui/teamDialogImportState.ts:9
↓ 10 callers
Method
getState
Current state snapshot — synchronous read.
desktop/src/shared/api/relayReconnectController.ts:112
↓ 10 callers
Function
getThreadReferenceFromTags
(tags: string[][])
desktop/src/testing/e2eBridge.ts:2780
↓ 10 callers
Function
getTimelineMetrics
(page: import("@playwright/test").Page)
desktop/tests/e2e/scroll-history.spec.ts:12
↓ 10 callers
Method
handle_session_update
Log a `session/update` notification via tracing. The discriminator field is `sessionUpdate` (not `type`) per the ACP schema. Returns `true` if the up
crates/buzz-acp/src/acp.rs:1210
↓ 10 callers
Function
handshake
(h: &mut Harness)
crates/buzz-agent/tests/golden_transcripts.rs:180
↓ 10 callers
Function
isMacPlatform
()
desktop/src/shared/lib/platform.ts:7
↓ 10 callers
Function
lifecycle
(id, title, acpSource, turnId, text = "")
desktop/src/features/agents/ui/agentSessionTranscriptGrouping.test.mjs:12
↓ 10 callers
Function
makeChannelKey
(n)
desktop/src/features/channels/readState/readStateManager.test.mjs:348
↓ 10 callers
Function
make_config_for_validation
Build a minimal Config with the given provider and thinking_effort, bypassing from_env(). Uses `Config::for_discovery` as a base and patches the field
crates/buzz-agent/src/config.rs:1717
↓ 10 callers
Function
make_dummy_event
()
crates/buzz-relay/src/handlers/ingest.rs:2495
↓ 10 callers
Function
make_ok
(id: &str, ok: bool, msg: &str)
crates/buzz-pair-relay/src/lib.rs:263
↓ 10 callers
Function
make_reminder
(tags: &[&[&str]])
crates/buzz-relay/src/handlers/ingest.rs:2733
↓ 10 callers
Function
make_state
()
crates/buzz-acp/src/pool.rs:3279
↓ 10 callers
Function
make_test_persona_png
Helper: build a PNG with a buzz_persona_pkg tEXt chunk for the given name/prompt.
desktop/src-tauri/src/managed_agents/persona_card.rs:553
↓ 10 callers
Function
matchesInboxFilter
( item: { categories: readonly string[]; groupItems?: readonly FeedItem[]; item?: FeedItem; },
desktop/src/features/home/lib/inboxViewHelpers.ts:14
↓ 10 callers
Function
openai_body
( cfg: &Config, system_prompt: &str, history: &[HistoryItem], tools: &[ToolDef], effective
crates/buzz-agent/src/llm.rs:461
↓ 10 callers
Function
parsePromptText
(text: string)
desktop/src/features/agents/ui/agentSessionTranscriptHelpers.ts:16
↓ 10 callers
Function
parse_settings
Parse a settings JSON string into a RuntimeFileConfig using the same logic as read_config_file but without touching the filesystem.
desktop/src-tauri/src/managed_agents/config_bridge/claude.rs:66
↓ 10 callers
Function
parse_zip_personas
(zip_bytes: &[u8])
desktop/src-tauri/src/managed_agents/persona_card.rs:407
↓ 10 callers
Function
patch_json_records
Read a JSON array of objects from `path`, apply `f` to each object, and write back if any mutation returned `true`. Writes back via [`crate::managed_
desktop/src-tauri/src/migration.rs:436
↓ 10 callers
Function
pickPreferredManagedAgent
(agents: ManagedAgent[])
desktop/src/features/agents/agentReuse.ts:35
↓ 10 callers
Method
recv_until
Read messages until one matches `pred`.
crates/buzz-agent/tests/fake_llm.rs:202
↓ 10 callers
Method
remove_subscription
Remove a single subscription and clean up its index entries.
crates/buzz-relay/src/subscription.rs:162
↓ 10 callers
Method
replace_addressable_event
Atomically replace a replaceable event: NIP-16 kinds (0, 3, 41, 10000–19999) and NIP-29 discovery state (39000–39002, called from side_effects.rs). K
crates/buzz-db/src/lib.rs:2289
↓ 10 callers
Method
requeue
Re-queue a batch of events that failed to process. Events are pushed back to the **front** of the channel's queue so they are processed first on the
crates/buzz-acp/src/queue.rs:385
↓ 10 callers
Function
resolveFileCard
( entry: FileCardImetaEntry | undefined, href: string | undefined, childText: string, )
desktop/src/shared/ui/markdownFileCard.ts:26
↓ 10 callers
Function
run_git
Run `git <args>` in `cwd`, fail on non-zero exit.
crates/buzz-relay/src/api/git/hydrate.rs:380
↓ 10 callers
Function
runtime_env_vars
Project persona config into agent subprocess env vars. Pure function — does NOT read the current process env. ACP is responsible for filtering based
crates/buzz-persona/src/resolve.rs:368
↓ 10 callers
Method
send
(&mut self, method: &str, params: Value)
crates/buzz-agent/tests/hints_integration.rs:121
↓ 10 callers
Function
send_rest_message
Send a message via a signed kind:9 event and return the event_id hex.
crates/buzz-test-client/tests/e2e_nostr_interop.rs:84
↓ 10 callers
Function
setup_pool
()
crates/buzz-db/src/thread.rs:821
↓ 10 callers
Function
swapSectionOrder
( prev: ChannelSectionStore, sectionId: string, direction: "up" | "down", )
desktop/src/features/sidebar/lib/channelSectionsHelpers.ts:3
↓ 10 callers
Function
to_ws
Convert any base form to `ws(s)://` for WS connect.
crates/buzz-test-client/tests/conformance_multitenant.rs:924
← previous
next →
501–600 of 12,195, ranked by callers