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
↓ 7 callers
Function
workflow_from_event
Convert a kind:30620 workflow definition event into a [`WorkflowWire`].
desktop/src-tauri/src/commands/workflows.rs:325
↓ 7 callers
Method
write_ndjson
Serialize `value` as a single NDJSON line and flush to the agent's stdin. Bounded by a 30-second write timeout. If the agent stops reading stdin (e.g
crates/buzz-acp/src/acp.rs:654
↓ 6 callers
Function
agentTs
(desktopMs, skew)
desktop/src/features/agents/activeAgentTurnsStore.test.mjs:857
↓ 6 callers
Function
agents_from_events
Convert kind:10100 agent profile events to the agent discovery format. Returns a JSON array of `{pubkey, name, ...}` objects parsed from each event's
desktop/src-tauri/src/nostr_convert.rs:443
↓ 6 callers
Function
apply
(tr, oldDecorations)
desktop/src/features/messages/lib/mentionHighlightExtension.ts:40
↓ 6 callers
Function
applyLegacyWorkspaceStorage
( legacyStorage: LegacyWorkspaceStorageSnapshot, storage: Storage = window.localStorage, )
desktop/src/features/workspaces/legacyWorkspaceStorage.ts:75
↓ 6 callers
Function
applyReactionState
( current: | Map<string, { count: number; reactedByCurrentUser: boolean }> | undefined, noteId: st
desktop/src/features/pulse/lib/noteActions.ts:26
↓ 6 callers
Method
as_str
Stable string representation used in hash computation and DB storage.
crates/buzz-audit/src/action.rs:35
↓ 6 callers
Function
assistantChunk
(seq, messageId, text, overrides = {})
desktop/src/features/agents/ui/agentSessionTranscript.test.mjs:253
↓ 6 callers
Function
attachManagedAgentToChannel
( channelId: string, input: AttachManagedAgentToChannelInput, )
desktop/src/features/agents/channelAgents.ts:99
↓ 6 callers
Function
buf
Build a `SamplesBuffer` of length `n` samples filled with `value`.
desktop/src-tauri/tests/rodio_mixer_diagnostic.rs:39
↓ 6 callers
Function
buildKnownShortcodeAlternation
( shortcodes: string[], )
desktop/src/features/messages/lib/customEmojiNode.ts:40
↓ 6 callers
Function
buildMainTimelineEntries
( messages: TimelineMessage[], unreadReplyIds: ReadonlySet<string> = new Set(), relaySummaries: Readonly
desktop/src/features/messages/lib/threadPanel.ts:424
↓ 6 callers
Function
buildReplyMessageTags
( channelId: string, authorPubkey: string, parentEventId: string, rootEventId: string, mentionPubkey
desktop/src/testing/e2eBridge.ts:2861
↓ 6 callers
Function
build_30023
( keys: &Keys, ts: u64, slug: &str, title: &str, extra: Vec<Tag>,
crates/buzz-cli/src/commands/notes.rs:877
↓ 6 callers
Function
build_env_map
Assemble a build-time env map from optional raw bake-in values. Separated from `baked_build_env` so the assembly logic can be exercised in unit tests
desktop/src-tauri/src/managed_agents/agent_env.rs:34
↓ 6 callers
Function
build_nip98_auth_header_for_keys
( keys: &Keys, method: &Method, url: &str, body: &[u8], )
desktop/src-tauri/src/relay.rs:112
↓ 6 callers
Function
build_note
Build a global text note (kind:1, NIP-01). `reply_to_event_id`: adds a single `["e", <id>, "", "reply"]` tag. This is intentionally simpler than the
crates/buzz-sdk/src/builders.rs:693
↓ 6 callers
Function
build_persona_event
Build a kind:30175 event from a `PersonaRecord`. Returns an unsigned `EventBuilder` — the caller signs and submits.
desktop/src-tauri/src/managed_agents/persona_events.rs:118
↓ 6 callers
Function
build_user_status_event
Build a kind:30315 event with a d-tag and content.
crates/buzz-test-client/tests/e2e_user_status.rs:37
↓ 6 callers
Function
buzz_agent_runtime
()
desktop/src-tauri/src/managed_agents/config_bridge/reader_tests.rs:508
↓ 6 callers
Function
cache_path_for
Cache key construction matches the auth module: sha256(discovery|client|scopes).
crates/buzz-agent/tests/databricks_oauth.rs:84
↓ 6 callers
Function
cache_with_sibling
Owner + a known sibling, none of them on the explicit allowlist.
crates/buzz-acp/src/lib.rs:3560
↓ 6 callers
Function
channel
(overrides = {})
desktop/src/features/channels/lib/huddleAvailability.test.mjs:9
↓ 6 callers
Function
channelEvent
(id, tags = [])
desktop/src/features/home/lib/inboxViewHelpers.test.mjs:189
↓ 6 callers
Function
channelWindowThreadSummaries
(store: ChannelWindowStore)
desktop/src/features/messages/lib/channelWindowStore.ts:250
↓ 6 callers
Function
channel_event
(channel_id: Option<Uuid>)
crates/buzz-relay/src/handlers/event.rs:1984
↓ 6 callers
Function
channel_label
Map a UUID channel id into a [`ChannelLabel`]. Channels are not secret — they appear in event `h` tags — so this is a direct wrap.
crates/buzz-relay/src/conformance/mod.rs:89
↓ 6 callers
Function
check_hex_exact
Validate an exact-length hex string (event ids), returning it lowercased.
crates/buzz-sdk/src/builders.rs:76
↓ 6 callers
Function
claimUnhydratedRenderScopedReactionIds
( channelId: string, messageIds: readonly string[], )
desktop/src/features/messages/lib/renderScopedReactions.ts:70
↓ 6 callers
Function
classify_runtime
( adapter_result: Option<(&str, PathBuf)>, underlying_cli: Option<&str>, underlying_cli_found: boo
desktop/src-tauri/src/managed_agents/discovery.rs:629
↓ 6 callers
Function
clearFeedback
()
desktop/src/features/agents/ui/useManagedAgentActions.ts:154
↓ 6 callers
Function
clear_presence
Removes the presence entry for `pubkey`. Call on clean disconnect.
crates/buzz-pubsub/src/presence.rs:47
↓ 6 callers
Function
collect_members_by_channel
Build a `channel_id → membership` map from a batch of kind:39002 events. Events without a `d` tag are skipped; member dedupe is delegated to [`nostr_c
desktop/src-tauri/src/commands/channels.rs:283
↓ 6 callers
Method
command
(self, *parts: object)
perf/relay_bus_scaling.py:173
↓ 6 callers
Function
compactDate
(createdAt: number)
desktop/src/features/projects/ui/ProjectPullRequestsPanel.tsx:23
↓ 6 callers
Method
connect
()
desktop/src/shared/api/relayClientSession.ts:506
↓ 6 callers
Method
connect
Connect to relay and authenticate via NIP-42. `auth_tag` is an optional NIP-OA owner attestation included in the AUTH event for relay membership dele
crates/buzz-acp/src/relay.rs:514
↓ 6 callers
Function
content
(overrides = {})
desktop/src/features/reminders/lib/reminderService.test.mjs:13
↓ 6 callers
Function
countTopLevelTimelineRows
(events: RelayEvent[])
desktop/src/features/messages/lib/formatTimelineMessages.ts:89
↓ 6 callers
Function
createPlan
(overrides = {})
desktop/src/features/agents/ui/teamImportUpdateState.test.mjs:10
↓ 6 callers
Function
create_private_agent_owned_channel
Create a fresh **private** channel owned by `agent_keys`, return the channel UUID string.
crates/buzz-test-client/tests/e2e_human_edit_agent_content.rs:591
↓ 6 callers
Function
ctx
(id: u128, host: &str)
crates/buzz-pubsub/src/presence.rs:108
↓ 6 callers
Function
ctx
(id: u128, host: &str)
crates/buzz-pubsub/src/lib.rs:354
↓ 6 callers
Function
customEmojiFromEvent
(event: RelayEvent | null)
desktop/src/shared/api/customEmoji.ts:100
↓ 6 callers
Function
db_lock
()
crates/buzz-audit/src/service.rs:261
↓ 6 callers
Function
decode_core_body
Pure decoder: given the relay's JSON array, decide whether we have a readable core, confirmed absence, or an ambiguous unreadable-state. - Empty arra
crates/buzz-acp/src/engram_fetch.rs:103
↓ 6 callers
Function
dedup_personas
Deduplicate `PersonaRecord`s that share a `(source_team, source_team_persona_slug)` pair — the result of repeated imports before the matching predicat
desktop/src-tauri/src/managed_agents/team_repair.rs:96
↓ 6 callers
Function
discovery_failure_fallback
Returns the discovery-failure fallback catalog for a Databricks provider. This is the list of models advertised by `session/new` when `discover_datab
crates/buzz-agent/src/catalog.rs:48
↓ 6 callers
Function
dpk_opts
(service: &str, key: &str)
desktop/src-tauri/src/secret_store.rs:294
↓ 6 callers
Function
draw
(timeMs: number)
desktop/src/shared/ui/SpoilerParticles.tsx:116
↓ 6 callers
Function
encrypt_observer_payload
Serialize and NIP-44 encrypt an observer payload for `recipient`.
crates/buzz-core/src/observer.rs:55
↓ 6 callers
Function
ensureWelcomeChannel
( client: WelcomeChannelClient, options: WelcomeChannelOptions = {}, )
desktop/src/features/onboarding/welcome.ts:144
↓ 6 callers
Function
entry
(message)
desktop/src/features/messages/lib/renderScopedReactions.test.mjs:33
↓ 6 callers
Function
env_flag
(k: &str)
crates/buzz-agent/tests/bin/fake_mcp.rs:41
↓ 6 callers
Function
expectAgentProfileMessageOnly
( profilePopover: import("@playwright/test").Locator, pubkey: string, )
desktop/tests/e2e/mentions.spec.ts:148
↓ 6 callers
Function
expectSmoothCorners
( locator: Locator, expectedSmoothing = 0.6, )
desktop/tests/helpers/css.ts:77
↓ 6 callers
Function
extractPromptText
(payload: Record<string, unknown>)
desktop/src/features/agents/ui/agentSessionTranscriptHelpers.ts:9
↓ 6 callers
Function
extract_d_tag
Extract the first `d` tag value from an event.
crates/buzz-relay/src/handlers/command_executor.rs:251
↓ 6 callers
Function
fan_out_pubsub_event
(state: &Arc<AppState>, channel_event: buzz_pubsub::ChannelEvent)
crates/buzz-relay/src/handlers/event.rs:258
↓ 6 callers
Function
fetch_channel_members
Fetch channel members, optionally filtered by role (e.g., "bot" for agents).
desktop/src-tauri/src/huddle/relay_api.rs:392
↓ 6 callers
Function
find_team_for_persona_source
Find the team whose `team_persona_key` equals `source_team`. This matches the same key that `sync_team_from_dir` uses, covering both modern teams (whe
desktop/src-tauri/src/commands/personas/writeback.rs:11
↓ 6 callers
Method
finish
(onSuccess: () => void, success: boolean)
desktop/src/shared/api/relayReconnectController.ts:259
↓ 6 callers
Function
fixture
()
desktop/src-tauri/src/managed_agents/relay_mesh.rs:63
↓ 6 callers
Function
fixture_ctx
()
crates/buzz-auth/src/access.rs:159
↓ 6 callers
Function
getContextMessageDepth
( event: RelayEvent, eventById: ReadonlyMap<string, RelayEvent>, )
desktop/src/features/home/lib/inboxViewHelpers.ts:35
↓ 6 callers
Function
getFlagValue
(tokens: string[], start: number, flag: string)
desktop/src/features/agents/ui/agentSessionToolClassifier.ts:572
↓ 6 callers
Function
getInboxTypeLabel
(item: InboxItem)
desktop/src/features/home/lib/inbox.ts:220
↓ 6 callers
Function
getMediaState
(element: HTMLMediaElement)
desktop/tests/e2e/video-attachment.spec.ts:85
↓ 6 callers
Function
getMockManagedAgent
(pubkey: string)
desktop/src/testing/e2eBridge.ts:6603
↓ 6 callers
Function
getMockUserNotes
(pubkey: string)
desktop/src/testing/e2eBridge.ts:3972
↓ 6 callers
Function
getPromptPreview
( prompt: string, emptyFallback: string, maxLength = 240, )
desktop/src/features/agents/ui/TeamImportUpdateDialog.tsx:191
↓ 6 callers
Function
getTag
(name: string)
desktop/src/features/messages/ui/MessageRow.tsx:268
↓ 6 callers
Function
getTag
(event: NostrEvent, name: string)
web/src/features/repos/use-repos.ts:18
↓ 6 callers
Function
getThreadReplyAvatarCenterRem
(depth: number)
desktop/src/features/messages/lib/threadTreeLayout.ts:54
↓ 6 callers
Function
getThreadReplyConnectorLayout
(depth: number)
desktop/src/features/messages/lib/threadTreeLayout.ts:77
↓ 6 callers
Function
get_channel_window
Fetch one channel window: top-level rows (depth = 0, missing metadata, or broadcast depth-1 replies) in `(created_at DESC, id ASC)` keyset order, with
crates/buzz-db/src/thread.rs:565
↓ 6 callers
Method
get_pointer
GET the pointer object, returning its ETag and bytes *from the same response* — atomic snapshot. Returns `Ok(None)` if the pointer does not exist (fi
crates/buzz-relay/src/api/git/store.rs:435
↓ 6 callers
Function
get_thread_replies
Fetch all replies under a root event, ordered chronologically. - `depth_limit` -- if `Some(n)`, only returns replies at depth <= n. - `cursor` -- key
crates/buzz-db/src/thread.rs:345
↓ 6 callers
Method
get_verified
GET an object and verify its bytes hash to `expected_digest` (hex SHA-256). This is the read-side enforcement of A1 — any deviation from the content-
crates/buzz-relay/src/api/git/store.rs:356
↓ 6 callers
Function
git_expected_url
Construct the repo-root NIP-98 `u` URL expected for a git HTTP request. The host is always the server-resolved tenant host. `config_relay_url` only c
crates/buzz-relay/src/api/git/transport.rs:217
↓ 6 callers
Function
good_diff_meta
()
crates/buzz-sdk/src/builders.rs:1743
↓ 6 callers
Function
hasEnsuredWelcomeChannel
( pubkey: string | null | undefined, workspaceScope: string | null | undefined, )
desktop/src/features/onboarding/welcome.ts:172
↓ 6 callers
Function
has_tag
Return true if the event has a tag with the given name (any value).
desktop/src-tauri/src/nostr_convert.rs:39
↓ 6 callers
Function
id_lookup
Lookup with HUMAN as a human and AGENT_A / AGENT_B as agents.
crates/buzz-acp/src/queue.rs:3133
↓ 6 callers
Function
inbound_for
An inbound persona as `persona_from_event` would produce it: id = d-tag, slug = Some(d-tag), empty env_vars, source_team None.
desktop/src-tauri/src/commands/personas/inbound_tests.rs:33
↓ 6 callers
Function
inflightCount
()
desktop/tests/e2e/scroll-history.spec.ts:201
↓ 6 callers
Method
initialize
Send the `initialize` request and return the agent's response result value. Must be called exactly once, before any other ACP method. The caller may
crates/buzz-acp/src/acp.rs:301
↓ 6 callers
Function
insert_mentions
Extract p-tag mentions from an event and insert into the `event_mentions` table. Called after event insertion. Failures are logged but do not block e
crates/buzz-db/src/lib.rs:58
↓ 6 callers
Function
insert_reaction_event_with_thread_metadata
( pool: &PgPool, community_id: CommunityId, reaction_event: &Event, channel_id: Option<Uuid>,
crates/buzz-db/src/event.rs:1200
↓ 6 callers
Function
insert_test_channel
(pool: &PgPool, community: CommunityId)
crates/buzz-db/src/feed.rs:279
↓ 6 callers
Function
install
Install the global metrics recorder and spawn the Prometheus HTTP exporter. `build()` returns the recorder + exporter future and internally spawns th
crates/buzz-relay/src/metrics.rs:44
↓ 6 callers
Function
installSpoilerBridge
( page: Page, mock: Parameters<typeof installMockBridge>[1] = {}, )
desktop/tests/e2e/spoiler.spec.ts:37
↓ 6 callers
Method
install_steer_rx
Install a per-turn steer request channel for goose-native non-cancelling mid-turn delivery. Called by the dispatch path immediately before [`session_
crates/buzz-acp/src/acp.rs:518
↓ 6 callers
Function
interval_prefilter_should_fire
Interval prefilter decision + cold-start anchor seed. See the [`WorkflowEngine::interval_prefilter_should_fire`] wrapper for the liveness rationale. F
crates/buzz-workflow/src/lib.rs:784
↓ 6 callers
Function
isCommandSeparator
(token: string)
desktop/src/features/agents/ui/agentSessionToolClassifier.ts:568
↓ 6 callers
Function
isInlineImageData
(source: string)
desktop/src/features/agents/ui/agentSessionUtils.ts:114
↓ 6 callers
Function
isTimelineContentEvent
(event: RelayEvent)
desktop/src/features/messages/lib/formatTimelineMessages.ts:46
↓ 6 callers
Function
isWelcomeUnreadSuppressed
( suppressedChannelIds: ReadonlySet<string>, activeChannelId: string | null, )
desktop/src/features/channels/ui/useWelcomeInitialUnreadSuppression.ts:44
↓ 6 callers
Method
is_elevated
Elevated roles that only existing owners/admins may grant.
crates/buzz-core/src/channel.rs:124
← previous
next →
1,001–1,100 of 12,195, ranked by callers