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
↓ 6 callers
Function
is_expired
(t: &CachedToken)
crates/buzz-agent/src/auth.rs:434
↓ 6 callers
Function
is_lower_hex
(s: &str, len: usize)
crates/buzz-pair-relay/src/lib.rs:294
↓ 6 callers
Function
item
(overrides)
desktop/src/features/home/lib/inbox.test.mjs:32
↓ 6 callers
Function
keys
()
crates/buzz-sdk/src/builders.rs:1519
↓ 6 callers
Function
load_auth_tag
Load the NIP-OA auth tag from env or git config. Priority per NIP-GS spec: `BUZZ_AUTH_TAG` env var > `nostr.authtag` git config. The env var takes pr
crates/git-sign-nostr/src/lib.rs:463
↓ 6 callers
Function
load_key_file
(path: &std::path::Path)
desktop/src-tauri/src/app_state.rs:532
↓ 6 callers
Function
local_ref_exists
(repo_dir: &std::path::Path, auth: &GitAuthConfig, ref_name: &str)
desktop/src-tauri/src/commands/project_git_diff.rs:191
↓ 6 callers
Function
makeChannel
(id)
desktop/src/features/messages/lib/sendChannelBinding.test.mjs:36
↓ 6 callers
Function
makeTool
(overrides = {})
desktop/src/features/agents/ui/agentSessionFileRead.test.mjs:16
↓ 6 callers
Function
makeWatchdog
(overrides = {})
desktop/src/shared/api/relayStallWatchdog.test.mjs:18
↓ 6 callers
Function
make_closed
(sub_id: &str, msg: &str)
crates/buzz-pair-relay/src/lib.rs:272
↓ 6 callers
Function
make_png_with_text
Helper: build a minimal valid PNG with a custom tEXt chunk.
desktop/src-tauri/src/managed_agents/persona_card.rs:538
↓ 6 callers
Function
make_state
(cwd: &std::path::Path)
crates/buzz-dev-mcp/src/str_replace.rs:231
↓ 6 callers
Function
make_test_community
(pool: &PgPool)
crates/buzz-db/src/feed.rs:267
↓ 6 callers
Function
make_test_event
(kind: u16, tags: Vec<Vec<&'static str>>)
crates/buzz-relay/src/handlers/identity_archive.rs:364
↓ 6 callers
Function
maxReadAt
(...markers: Array<number | null>)
desktop/src/features/channels/readState/readStateFormat.ts:40
↓ 6 callers
Function
merge_mcp_servers
Merge pack-level shared MCP servers with per-persona servers. Pack shared servers come from `.mcp.json` (a map of `name → config`). Per-persona serve
crates/buzz-persona/src/resolve.rs:280
↓ 6 callers
Function
merge_teams
Add missing built-in teams, demote stale built-ins, and preserve any user customizations to existing built-in teams (name, description, persona member
desktop/src-tauri/src/managed_agents/teams.rs:82
↓ 6 callers
Function
meshNodeStatus
( state: "off" | "running", mode: "serve" | "client" | null, )
desktop/src/testing/e2eBridge.ts:7842
↓ 6 callers
Function
messageSnapshotKey
(relayUrl: string, channelId: string)
desktop/src/features/messages/lib/messageSnapshot.ts:30
↓ 6 callers
Function
mockReminderEvent
(opts: { id: string; dTag: string; content: string; notBefore: number; createdAt?: number; })
desktop/tests/e2e/reminders.spec.ts:41
↓ 6 callers
Function
normalizeOptionalText
(value: string | null | undefined)
desktop/src/features/agents/ui/teamImportPlan.ts:51
↓ 6 callers
Function
normalize_agent_args
(command: &str, agent_args: Vec<String>)
desktop/src-tauri/src/managed_agents/discovery.rs:405
↓ 6 callers
Function
normalize_cron
Normalize a cron expression to the 7-field format required by the `cron` crate. - 5 fields (`min hour dom month dow`) → prepend `0` (sec), append `*`
crates/buzz-workflow/src/schema.rs:250
↓ 6 callers
Function
normalize_relay_url
Normalize a relay URL for comparison. Uses the `url` crate for proper parsing rather than string manipulation. Normalizes localhost variants to 127.0
crates/buzz-auth/src/nip42.rs:19
↓ 6 callers
Function
note
(tags)
desktop/src/features/pulse/lib/replies.test.mjs:6
↓ 6 callers
Function
notifyListeners
()
desktop/src/features/agents/activeAgentTurnsStore.ts:103
↓ 6 callers
Function
openChannelManagement
( page: import("@playwright/test").Page, channelName: string, )
desktop/tests/e2e/channels.spec.ts:40
↓ 6 callers
Function
openMarksRevealed
(messages, revealedIds)
desktop/src/features/channels/lib/threadBadgeCollapseOnOpen.test.mjs:32
↓ 6 callers
Function
parseImetaTags
(tags: string[][])
desktop/src/features/messages/lib/parseImeta.ts:15
↓ 6 callers
Function
parseProfilePanelTab
(value: unknown)
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:76
↓ 6 callers
Function
parse_envelope
(json_str: &str)
crates/git-sign-nostr/src/lib.rs:1345
↓ 6 callers
Function
parse_hook_servers
Pure parser exposed for unit tests. `None` (env unset) and `Some("")` (env set but empty) both yield `HookServers::None`.
crates/buzz-agent/src/config.rs:1003
↓ 6 callers
Method
persistLocalState
()
desktop/src/features/channels/readState/readStateManager.ts:932
↓ 6 callers
Function
personaManagedAgentUpdate
( agent: ManagedAgent, persona: AgentPersona, options: { previousPersona?: AgentPersona; runtime
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:260
↓ 6 callers
Function
pin_persona
Apply a persona snapshot onto a record, mirroring `create_managed_agent`: snapshotted prompt/model/provider/env_vars/source_version are pinned, with t
desktop/src-tauri/src/managed_agents/runtime/tests.rs:299
↓ 6 callers
Function
pkt
(payload: &[u8])
crates/buzz-relay/src/api/git/transport.rs:1578
↓ 6 callers
Function
pkt_line
Encode one pkt-line: 4-char lowercase-hex length prefix (counting itself) followed by `payload`. Appends to `out`. The 4-hex prefix can only express
crates/buzz-relay/src/api/git/transport.rs:412
↓ 6 callers
Function
post_kind9
Post a kind:9 group message `#h`-tagging `channel` to the community bound to `base_url`'s host. Returns `(status, body)` so callers can assert on the
crates/buzz-test-client/tests/conformance_multitenant.rs:383
↓ 6 callers
Method
preconnect
()
desktop/src/shared/api/relayClientSession.ts:441
↓ 6 callers
Function
profile
(name: Option<&str>, picture: Option<&str>)
desktop/src-tauri/src/commands/agents_tests.rs:73
↓ 6 callers
Function
readCommandLog
(page: import("@playwright/test").Page)
desktop/tests/e2e/channels.spec.ts:208
↓ 6 callers
Function
readCommandPayloadLog
(page: import("@playwright/test").Page)
desktop/tests/e2e/channels.spec.ts:217
↓ 6 callers
Function
read_cache
(path: &PathBuf)
crates/buzz-agent/src/auth.rs:469
↓ 6 callers
Function
read_hidden_dms
Helper: the set of hidden DM channel ids from the viewer's latest snapshot.
crates/buzz-test-client/tests/e2e_nostr_interop.rs:1235
↓ 6 callers
Function
read_snapshot_event
Helper: read the viewer's latest relay-signed NIP-DV snapshot event (kind:30622, queried by `#p` since snapshots are `#p`-gated to their owner). Retur
crates/buzz-test-client/tests/e2e_nostr_interop.rs:1208
↓ 6 callers
Function
recordObservedUnreadEvent
( eventsByChannel: Map<string, Map<string, ObservedUnreadEvent>>, channelId: string, event: ObservedUnre
desktop/src/features/channels/unreadChannelCounts.ts:43
↓ 6 callers
Function
record_with_key
(nsec: &str)
desktop/src-tauri/src/managed_agents/storage.rs:548
↓ 6 callers
Function
register_call_me_now_sub
( state: &AppState, recipient_hex: &str, sub_id: &str, )
crates/buzz-relay/src/handlers/mesh_signaling.rs:556
↓ 6 callers
Function
rehypeImageGallery
()
desktop/src/shared/ui/markdown.test.mjs:80
↓ 6 callers
Function
relayAgentIsSharedWithUser
( agent: Pick<RelayAgent, "channelIds" | "respondTo" | "respondToAllowlist">, sharedChannelIds: ReadonlySe
desktop/src/features/agents/lib/agentAutocompleteEligibility.ts:12
↓ 6 callers
Function
relay_http_base_url
(relay_url: &str)
desktop/src-tauri/src/relay.rs:74
↓ 6 callers
Function
rename_provider_to_runtime_in_personas
(path: &Path)
desktop/src-tauri/src/migration.rs:1279
↓ 6 callers
Function
renderSlotText
(value: string)
desktop/src/shared/ui/AnimatedCount.tsx:32
↓ 6 callers
Function
render_dynamic_section
( personas: &[PersonaRecord], agents: &[ManagedAgentRecord], relay_url: &str, )
desktop/src-tauri/src/managed_agents/nest.rs:502
↓ 6 callers
Function
resolveEnabled
( featureId: string, overrides: Record<string, boolean>, )
desktop/src/shared/features/resolveEnabled.ts:12
↓ 6 callers
Function
resolveReminderDestination
( target: ReminderTarget | undefined, fetchEvent: typeof getEventById = getEventById, )
desktop/src/features/reminders/lib/reminderNavigation.ts:44
↓ 6 callers
Function
resolve_config_surface
Resolve the config surface with persona values applied. The pipeline: resolve the linked persona's prompt/model/provider, inject each into the record
desktop/src-tauri/src/commands/agent_config.rs:30
↓ 6 callers
Function
resolve_model
Returns the first present value. `explicit_override` (BUZZ_AGENT_MODEL, set by the desktop from the persona/record) wins over `provider_default` (prov
crates/buzz-agent/src/config.rs:891
↓ 6 callers
Function
resolve_pgids_and_kill
(candidate_pids: &[i32])
desktop/src-tauri/src/managed_agents/runtime.rs:367
↓ 6 callers
Function
ruleRegex
(shortcodes)
desktop/src/features/messages/lib/customEmojiNode.test.mjs:11
↓ 6 callers
Function
run
(state: &SharedState, p: StrReplaceParams)
crates/buzz-dev-mcp/src/str_replace.rs:25
↓ 6 callers
Function
run_helper
Spawn the binary, write `input` to stdin, collect output. `env_vars` are added on top of the inherited environment. `NOSTR_PRIVATE_KEY` is always clea
crates/git-credential-nostr/tests/integration.rs:15
↓ 6 callers
Function
sample_agent
()
desktop/src-tauri/src/managed_agents/agent_events.rs:137
↓ 6 callers
Function
sample_persona
()
desktop/src-tauri/src/managed_agents/persona_events.rs:336
↓ 6 callers
Function
sealOpenMessages
(d: TranscriptDraft)
desktop/src/features/agents/ui/agentSessionTranscript.ts:123
↓ 6 callers
Function
seedActiveTurns
( page: import("@playwright/test").Page, turns: { channelId: string; turnId: string }[], )
desktop/tests/e2e/profile-active-turn.spec.ts:47
↓ 6 callers
Function
seedWorkspaces
( page: import("@playwright/test").Page, workspaces: Array<Record<string, unknown>>, activeId: string, )
desktop/tests/e2e/workspace-rail.spec.ts:20
↓ 6 callers
Function
seed_cache
Write a token file the engine should pick up on construction.
crates/buzz-agent/tests/databricks_oauth.rs:99
↓ 6 callers
Function
selectTimelineIntroSurface
({ hasChannelIntro, hasDirectMessageIntro, hasReachedChannelStart, isSkeletonVisible, }: { hasChanne
desktop/src/features/messages/lib/timelineSnapshot.ts:277
↓ 6 callers
Function
sessionUpdate
(seq, update, overrides = {})
desktop/src/features/agents/ui/agentSessionTranscript.test.mjs:237
↓ 6 callers
Function
session_update
(sid: &str, update: Value)
crates/buzz-agent/src/wire.rs:131
↓ 6 callers
Function
setRelayConnectivitySuccess
( relayUrl: string | null | undefined, next: boolean, )
desktop/src/features/sidebar/ui/useSidebarRelayConnectionCard.ts:28
↓ 6 callers
Method
set_authenticated_pubkey
Record the authenticated pubkey for a connection after NIP-42 succeeds.
crates/buzz-relay/src/state.rs:97
↓ 6 callers
Function
setup_pool
()
crates/buzz-db/src/channel.rs:1376
↓ 6 callers
Function
shouldClearKnownModelForSelectionScope
({ model, provider, runtime, }: { model: string; provider: string | null | undefined; runtime: str
desktop/src/features/agents/ui/personaDialogPickers.tsx:224
↓ 6 callers
Function
shouldRenderUnreadDivider
( index: number, messageId: string, firstUnreadMessageId: string | null, )
desktop/src/features/messages/lib/threadPanel.ts:467
↓ 6 callers
Function
simulate_cancel_consumption
Simulate the TTS worker's cancel-handling logic (from handle_cancel_or_shutdown). Returns true if cancel was processed (mirrors the real function's re
desktop/src-tauri/src/huddle/tts_tests.rs:95
↓ 6 callers
Function
singleLineChanges
( existing: string, imported: string, )
desktop/src/features/agents/ui/personaImportPlan.ts:95
↓ 6 callers
Function
sortChannels
(channels: Channel[])
desktop/src/features/channels/hooks.ts:51
↓ 6 callers
Function
sortMessages
(messages: RelayEvent[])
desktop/src/features/messages/lib/messageQueryKeys.ts:33
↓ 6 callers
Function
sort_channel_templates
(records: &mut [ChannelTemplateRecord])
desktop/src-tauri/src/templates/storage.rs:22
↓ 6 callers
Function
spawn_oidc
Boot a stub OIDC server that: - serves discovery at `/.well-known/oauth-authorization-server` - issues a fresh access token for every `refresh_token`
crates/buzz-agent/tests/databricks_oauth.rs:36
↓ 6 callers
Function
splitContextsIntoBudgetedSlots
(args: { channelEntries: [string, number][]; threadMsgEntries: [string, number][]; clientId: string; i
desktop/src/features/channels/readState/readStateManager.ts:171
↓ 6 callers
Function
split_frontmatter
Split content into `(frontmatter_str, body_str)`. Expects the file to begin with `---\n` and contain a second `---` line. The closing `---` must be o
crates/buzz-persona/src/persona.rs:277
↓ 6 callers
Function
spy
()
desktop/src/features/channels/refreshChannelsWhenIdle.test.mjs:6
↓ 6 callers
Function
startManagedAgentWithRules
({ agent, startManagedAgent, }: { agent: ManagedAgent; startManagedAgent: StartManagedAgent; })
desktop/src/features/agents/lib/managedAgentControlActions.ts:78
↓ 6 callers
Function
stateFromParagraph
(nodes)
desktop/src/features/messages/lib/resolveLinkAt.test.mjs:26
↓ 6 callers
Method
stop
(self)
desktop/src-tauri/src/mesh_llm/mod.rs:328
↓ 6 callers
Function
streamMessage
(overrides = {})
desktop/src/features/messages/lib/formatTimelineMessages.test.mjs:26
↓ 6 callers
Function
summary
(agentNames, agentCount = agentNames.length)
desktop/src/features/sidebar/ui/SidebarSection.test.mjs:6
↓ 6 callers
Function
test_community
()
crates/buzz-relay/src/subscription.rs:554
↓ 6 callers
Function
test_payload
Spec test payload: minimal git commit object (170 bytes)
crates/git-sign-nostr/src/lib.rs:1799
↓ 6 callers
Function
test_pool
()
crates/buzz-audit/src/service.rs:265
↓ 6 callers
Function
toPercent
(value: number)
desktop/src/features/profile/ui/MaskedAvatarBadgeFrame.tsx:151
↓ 6 callers
Function
tombstone_retention_d_tag
Build the retention `d_tag` column value for a kind:5 tombstone row. Tombstones for all target kinds share `kind = 5` in the retention table, so keyi
desktop/src-tauri/src/managed_agents/retention.rs:63
↓ 6 callers
Function
toml_string
(table: &toml::Table, key: &str)
desktop/src-tauri/src/managed_agents/config_bridge/codex.rs:116
↓ 6 callers
Function
tool_result_content
Assemble tool-result content under two budgets: `max_bytes` bounds the whole result (text + images), `max_text_bytes` bounds the text portion alone. I
crates/buzz-agent/src/mcp.rs:898
↓ 6 callers
Function
topLevel
(id, createdAt)
desktop/src/features/channels/unreadReadMarker.test.mjs:26
↓ 6 callers
Function
truncate_at_boundary
(s: &str, max: usize)
crates/buzz-agent/src/mcp.rs:851
← previous
next →
1,101–1,200 of 12,195, ranked by callers