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
↓ 8 callers
Function
assert_key_eq
(a: &Keys, b: &Keys)
desktop/src-tauri/src/app_state.rs:579
↓ 8 callers
Function
br
()
desktop/src/features/messages/lib/plainTextProjection.test.mjs:25
↓ 8 callers
Function
buildMessageLink
(input: MessageLinkInput)
desktop/src/features/messages/lib/messageLink.ts:41
↓ 8 callers
Function
build_long_form_event
Build a kind:30023 event with standard NIP-23 tags.
crates/buzz-test-client/tests/e2e_long_form.rs:37
↓ 8 callers
Function
build_sentence_append_buffer
Build the single buffer appended to the rodio `Player` for one synthesised sentence. Every sentence chunk gets a short lead-in pad immediately before
desktop/src-tauri/src/huddle/tts.rs:697
↓ 8 callers
Function
build_trigger_context
Build a [`executor::TriggerContext`] from a [`buzz_core::StoredEvent`]. - `text` — event content (message body or reaction emoji character) - `author
crates/buzz-workflow/src/lib.rs:884
↓ 8 callers
Function
canStartHuddleInChannel
({ channel, currentPubkey, selfMember, }: CanStartHuddleInput)
desktop/src/features/channels/lib/huddleAvailability.ts:10
↓ 8 callers
Function
channel
(overrides = {})
desktop/src/features/huddle/lib/huddleChannelName.test.mjs:10
↓ 8 callers
Function
channelSnapshotKey
(relayUrl: string)
desktop/src/features/channels/channelSnapshot.ts:19
↓ 8 callers
Method
check_expired
Check that the session hasn't expired.
crates/buzz-core/src/pairing/session.rs:698
↓ 8 callers
Function
classify_intercepted_response
Detect responses that were intercepted by a captive portal or auth proxy. Returns `Some(msg)` when the response clearly did not come from the relay:
desktop/src-tauri/src/relay.rs:173
↓ 8 callers
Function
clearRelay
(relayUrl = RELAY)
desktop/src/features/messages/lib/messageSnapshot.test.mjs:42
↓ 8 callers
Function
codex_network_args
Build `-c` flag pairs that enable network access and allowlist the relay hostname in Codex's network sandbox. Codex sandboxes MCP subprocesses (inclu
crates/buzz-acp/src/config.rs:591
↓ 8 callers
Function
copyTextToClipboard
( text: string, successMessage = "Copied to clipboard", )
desktop/src/shared/lib/clipboard.ts:8
↓ 8 callers
Method
count
Format a COUNT response (NIP-45).
crates/buzz-relay/src/protocol.rs:214
↓ 8 callers
Function
createPanelReturnTargetStore
()
desktop/src/shared/lib/panelReturnTarget.ts:34
↓ 8 callers
Function
discover_skills_impl
(cwd: &Path, home: Option<&Path>)
crates/buzz-agent/src/hints.rs:204
↓ 8 callers
Method
drain
Signal the audit worker to drain and wait up to `timeout` for it to finish.
crates/buzz-relay/src/state.rs:705
↓ 8 callers
Function
dueSince
( reminders: readonly Reminder[], watermark: number, now: number, )
desktop/src/features/reminders/lib/reminderFilters.ts:32
↓ 8 callers
Function
editPersonaDialogState
( persona: AgentPersona, )
desktop/src/features/agents/ui/personaDialogState.ts:110
↓ 8 callers
Method
emit_huddle_state_changed
Emit the current huddle state to the frontend via Tauri event. Acquires both locks (app_handle + huddle_state), clones a snapshot, releases both, the
desktop/src-tauri/src/app_state.rs:145
↓ 8 callers
Function
emit_membership_notification
Emit a relay-signed membership notification event stored globally (channel_id = None). kind:44100 = member added, kind:44101 = member removed. The p
crates/buzz-relay/src/handlers/side_effects.rs:796
↓ 8 callers
Function
event
(id, parentId)
desktop/src/features/home/lib/inboxViewHelpers.test.mjs:131
↓ 8 callers
Function
event
(seq)
desktop/src/features/agents/preventSleepActivity.test.mjs:9
↓ 8 callers
Function
eventToProjectPullRequest
( pullRequest, updateEvents = [], commentEvents = [], statusEvents = [], )
desktop/src/features/projects/projectPullRequests.mjs:84
↓ 8 callers
Function
expectCornerRadiusPx
( locator: Locator, expectedRadiusPx: number, )
desktop/tests/helpers/css.ts:3
↓ 8 callers
Function
expectGenericReconnectCard
(page: Page)
desktop/tests/e2e/sidebar-relay-card.spec.ts:87
↓ 8 callers
Function
expectHomeView
(page: Page)
desktop/tests/e2e/onboarding.spec.ts:148
↓ 8 callers
Function
expectTimelineToContain
(page: Page, text: string)
desktop/tests/e2e/stream.spec.ts:13
↓ 8 callers
Method
expect_role
Check that we're playing the expected role.
crates/buzz-core/src/pairing/session.rs:717
↓ 8 callers
Method
expect_state
Check that we're in the expected state.
crates/buzz-core/src/pairing/session.rs:706
↓ 8 callers
Function
extract_tag_value
Extract value of a named tag.
crates/buzz-relay/src/handlers/side_effects.rs:2258
↓ 8 callers
Function
fit_observer_event_to_budget
Trim an oversized observer telemetry frame so its SERIALIZED form fits under `OBSERVER_MAX_PLAINTEXT_LEN`, instead of dropping the whole frame (silent
crates/buzz-acp/src/lib.rs:493
↓ 8 callers
Function
formatImetaMediaLine
( { url, type, filename }: ImetaMedia, options: { spoiler?: boolean } = {}, )
desktop/src/features/messages/lib/imetaMediaMarkdown.ts:240
↓ 8 callers
Function
getAllTags
(event, name)
desktop/src/features/projects/projectIssues.mjs:19
↓ 8 callers
Function
getFieldPreview
( value: string, emptyFallback: string, maxLength = 240, )
desktop/src/features/agents/ui/personaImportUpdateState.ts:11
↓ 8 callers
Function
getProviderApiKeyEnvVar
(providerId: string)
desktop/src/features/agents/ui/personaDialogPickers.tsx:220
↓ 8 callers
Function
get_agent_channel_policy
Get the channel_add_policy and agent_owner_pubkey for a user. Returns None if the pubkey is not in the users table. Returns Some((policy_str, owner_by
crates/buzz-db/src/user.rs:326
↓ 8 callers
Method
get_event_by_id
Fetches a single non-deleted event by its raw ID bytes. Returns `None` if the event does not exist or has been soft-deleted.
crates/buzz-db/src/lib.rs:529
↓ 8 callers
Function
get_presence
Returns the current presence status for `pubkey`, or `None` if not set or expired.
crates/buzz-pubsub/src/presence.rs:62
↓ 8 callers
Function
get_retained_personas
( conn: &Connection, pubkey: &str, )
desktop/src-tauri/src/managed_agents/retention.rs:169
↓ 8 callers
Method
get_sidecar
Read community-scoped sidecar JSON for a given sha256 (bare hash).
crates/buzz-media/src/storage.rs:193
↓ 8 callers
Function
groupReminders
( reminders: Reminder[], includeDone = false, )
desktop/src/features/reminders/lib/reminderFilters.ts:56
↓ 8 callers
Function
hTag
(channelId)
desktop/src/features/notifications/lib/shouldNotifyChannelMutes.test.mjs:32
↓ 8 callers
Function
hasBlockMedia
(childArray)
desktop/src/shared/ui/markdown.test.mjs:54
↓ 8 callers
Function
hasMentionClipboardHtml
(html: string)
desktop/src/features/messages/lib/normalizeMentionClipboard.ts:5
↓ 8 callers
Function
hasMentionForEvent
( event: RelayEvent, currentPubkey: string, )
desktop/src/features/notifications/lib/shouldNotify.ts:7
↓ 8 callers
Function
hasNavigableTarget
( target: ReminderTarget | undefined, )
desktop/src/features/reminders/lib/reminderNavigation.ts:23
↓ 8 callers
Function
importPersonaDialogState
( persona: ParsedPersonaPreview, )
desktop/src/features/agents/ui/personaDialogState.ts:135
↓ 8 callers
Function
inboxItem
(groupItems, item = groupItems.at(-1))
desktop/src/features/home/useHomeInboxReadState.test.mjs:27
↓ 8 callers
Function
init_session
(h: &mut Harness, cwd: &str)
crates/buzz-agent/tests/hints_integration.rs:173
↓ 8 callers
Function
init_session_with_fake_mcp
Helper: spawn a session with a fake MCP server exposing one regular tool plus an optional `_Stop` hook controlled by env vars.
crates/buzz-agent/tests/regressions.rs:715
↓ 8 callers
Method
invalidate_membership
Invalidate caches after a membership change (add/remove member). Drops the local moka entries AND fire-and-forget publishes the same drop to every ot
crates/buzz-relay/src/state.rs:500
↓ 8 callers
Function
isCatalogPersonaSelected
(persona: AgentPersona)
desktop/src/features/agents/lib/catalog.ts:45
↓ 8 callers
Function
isHighPriorityEventForUser
( event: RelayEvent, currentPubkey: string, )
desktop/src/features/notifications/lib/shouldNotify.ts:78
↓ 8 callers
Function
isRelayConnectionDegraded
(state: ConnectionState)
desktop/src/shared/api/relayClientShared.ts:26
↓ 8 callers
Method
is_agent_owner
Check whether `actor_pubkey` is the agent owner of `target_pubkey`.
crates/buzz-db/src/lib.rs:1095
↓ 8 callers
Function
is_author_only_event
Returns `true` if the event is an author-only kind and the requester is NOT the author. Used as a per-event filter during historical delivery and fan-
crates/buzz-relay/src/handlers/req.rs:1103
↓ 8 callers
Function
kids
(tree)
desktop/src/shared/lib/remarkCustomEmoji.test.mjs:22
↓ 8 callers
Function
killpg
(pgid: u32, name: &str, stage: &str)
crates/buzz-agent/src/mcp.rs:830
↓ 8 callers
Function
load_rules
(path: &std::path::Path)
crates/buzz-acp/src/config.rs:1039
↓ 8 callers
Function
makeAgent
(overrides = {})
desktop/src/features/onboarding/welcomeGuide.test.mjs:18
↓ 8 callers
Function
makeCache
Minimal SelfProfileCache fixture for policy helper tests.
desktop/src/features/profile/lib/selfProfileStorage.test.mjs:204
↓ 8 callers
Function
makePermissionRequest
(seq, requestId, turnId = "turn-1")
desktop/src/features/agents/ui/agentSessionTranscript.test.mjs:649
↓ 8 callers
Function
makePermissionResponse
(seq, requestId, outcome, optionId = null)
desktop/src/features/agents/ui/agentSessionTranscript.test.mjs:674
↓ 8 callers
Function
makeStore
(sections, assignments = {})
desktop/src/features/sidebar/lib/channelSectionsHelpers.test.mjs:6
↓ 8 callers
Function
makeTool
(overrides = {})
desktop/src/features/agents/ui/agentSessionTranscriptPresentation.test.mjs:13
↓ 8 callers
Function
makeUser
(overrides = {})
desktop/src/features/profile/lib/userCandidateSearch.test.mjs:10
↓ 8 callers
Function
make_community
(pool: &PgPool)
crates/buzz-db/src/user.rs:416
↓ 8 callers
Function
make_community
A `community_id` known to exist in `communities` (FK target). Inserts a throwaway community row with a unique host and returns its id.
crates/buzz-audit/src/service.rs:273
↓ 8 callers
Function
make_state
(cwd: &std::path::Path)
crates/buzz-dev-mcp/src/read_file.rs:74
↓ 8 callers
Function
make_test_community
(pool: &PgPool)
crates/buzz-db/src/channel.rs:1386
↓ 8 callers
Function
make_test_zip
Helper: create a ZIP from name→data pairs.
desktop/src-tauri/src/managed_agents/persona_card.rs:577
↓ 8 callers
Function
match_event
Match a Nostr event against an ordered list of subscription rules. Rules are evaluated in order; the first rule whose conditions all pass wins. Retur
crates/buzz-acp/src/filter.rs:368
↓ 8 callers
Function
mergeLiveThreadSummary
( current: ChannelWindowStore, rootId: string, incoming: LiveThreadSummary, )
desktop/src/features/messages/lib/channelWindowStore.ts:166
↓ 8 callers
Function
merge_behavioral_config
Merge pack defaults with per-persona values. Rules: - Persona field present (non-null) → use persona value - Persona field absent or null → use p
crates/buzz-persona/src/merge.rs:47
↓ 8 callers
Function
merge_personas
(mut stored: Vec<PersonaRecord>, now: &str)
desktop/src-tauri/src/managed_agents/personas.rs:281
↓ 8 callers
Function
mix
(hex1: string, hex2: string, factor: number)
desktop/src/shared/theme/adaptive-theme.ts:59
↓ 8 callers
Function
monotonic_created_at
Compute the NIP-AP monotonic `created_at` for a write (`docs/nips/NIP-AP.md:117` step 3): `max(now, T + 1)` where `T` is the retained head's `created_
desktop/src-tauri/src/managed_agents/persona_events.rs:109
↓ 8 callers
Function
nip44EncryptToSelf
(plaintext: string)
desktop/src/shared/api/tauri.ts:1294
↓ 8 callers
Function
nip98_expected_url
Construct the NIP-98 `u`-tag expected URL for a request bound to `tenant`. Conformance row 44 obligation: "NIP-98 `u` URL host must match `req.commun
crates/buzz-relay/src/api/bridge.rs:138
↓ 8 callers
Function
normalize_effort_for_openai_route
Normalize the effort value for an OpenAI-shaped request body (Chat Completions or Responses). Two normalizations are applied in order: 1. **`max` →
crates/buzz-agent/src/config.rs:440
↓ 8 callers
Function
normalize_sql
(sql: &str)
crates/buzz-db/src/migration.rs:67
↓ 8 callers
Function
observedUnreadEventReadAt
( event: ObservedUnreadEvent, channelReadAt: number | null, getThreadOwnMarker: (rootId: string) => numb
desktop/src/features/channels/unreadChannelCounts.ts:123
↓ 8 callers
Function
one_persona
()
desktop/src-tauri/src/migration_tests.rs:1121
↓ 8 callers
Function
openManagementSheet
(page: import("@playwright/test").Page)
desktop/tests/e2e/channel-controls.spec.ts:7
↓ 8 callers
Function
owner_hex
()
crates/buzz-relay/src/api/git/manifest_event.rs:146
↓ 8 callers
Function
paragraph
(...children)
desktop/src/shared/lib/remarkCustomEmoji.test.mjs:16
↓ 8 callers
Function
paragraph
(...children)
desktop/src/shared/ui/markdown.test.mjs:535
↓ 8 callers
Function
parsePubkeyInput
(raw: string)
desktop/src/features/agents/lib/respondToAllowlist.ts:29
↓ 8 callers
Function
parseSystemPromptSections
( systemPrompt: string, )
desktop/src/features/agents/ui/agentSessionTranscriptHelpers.ts:70
↓ 8 callers
Function
parse_agent_env_lines
Parse newline-delimited `KEY=VALUE` lines from a baked env blob. Blank lines are skipped. Each non-blank line must contain `=`; the key is everything
desktop/src-tauri/src/managed_agents/agent_env.rs:91
↓ 8 callers
Function
pending_lane
(lane: &str, obligation: &str)
crates/buzz-test-client/tests/conformance_multitenant.rs:67
↓ 8 callers
Method
permission_level
Numeric permission level for authorization comparisons. Higher = more privileged. Bot returns 0 (must use explicit grants). Use `role.permission_leve
crates/buzz-core/src/channel.rs:132
↓ 8 callers
Function
persona_event
Build a minimal persona event with the given d-tag and content.
crates/buzz-test-client/tests/e2e_persona.rs:32
↓ 8 callers
Function
prior_snapshot
( ts: u64, slug: &str, title: &str, summary: Option<&str>, tags: &[&st
crates/buzz-cli/src/commands/notes.rs:1033
↓ 8 callers
Function
pushItem
(d: TranscriptDraft, item: TranscriptItem)
desktop/src/features/agents/ui/agentSessionTranscript.ts:117
↓ 8 callers
Method
record_event
Record a received event for dedup and `since` tracking. Returns `true` if the event is new (not a duplicate).
crates/buzz-acp/src/relay.rs:954
↓ 8 callers
Method
recv
(&mut self)
crates/buzz-agent/tests/golden_transcripts.rs:75
↓ 8 callers
Function
redact_secrets_with
Like the (test-only) prefix-only `redact_secrets`, but also redacts every occurrence of each `extras` entry verbatim. Used to scrub user-supplied env
desktop/src-tauri/src/managed_agents/backend.rs:288
← previous
next →
701–800 of 12,195, ranked by callers