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
getToolDurationDisplay
(item: { startedAt?: string | null; completedAt?: string | null; result: string; })
desktop/src/features/agents/ui/agentSessionUtils.ts:207
↓ 7 callers
Function
get_channel
Fetches a channel record by `(community_id, id)`. Returns `ChannelNotFound` if missing or deleted.
crates/buzz-db/src/channel.rs:261
↓ 7 callers
Function
gotoApp
(page: import("@playwright/test").Page)
desktop/tests/e2e/mesh-compute.spec.ts:38
↓ 7 callers
Function
gotoInboxHome
(page: import("@playwright/test").Page)
desktop/tests/e2e/reminders.spec.ts:10
↓ 7 callers
Method
handle_complete
(Source) Process the `complete` event from the target.
crates/buzz-core/src/pairing/session.rs:254
↓ 7 callers
Function
harden_git_env
Apply hardened environment to a git subprocess command. Clears all inherited env vars, then sets only the minimum required: - `PATH` — so git can fin
crates/buzz-relay/src/api/git/transport.rs:284
↓ 7 callers
Function
harness
* A controllable test harness mirroring the real wiring: a single-listener * pub/sub whose unsubscribe genuinely detaches (so post-unsubscribe pushes
desktop/src/features/agents/lib/liveSwitchOutcome.test.mjs:18
↓ 7 callers
Function
hasAnyImportChanges
( plan: TeamImportPlan | null, teamLineChanges: LineChangeCounts, )
desktop/src/features/agents/ui/teamImportUpdateState.ts:8
↓ 7 callers
Function
hasPrimaryShortcutModifier
( event: ModifierKeyboardEvent, )
desktop/src/shared/lib/platform.ts:34
↓ 7 callers
Function
hex_to_32
(s: &str)
crates/buzz-core/src/pairing/crypto.rs:150
↓ 7 callers
Function
http_client
()
crates/buzz-test-client/tests/e2e_media_video.rs:22
↓ 7 callers
Function
http_client
()
crates/buzz-test-client/tests/e2e_media.rs:29
↓ 7 callers
Function
init_session
(h: &mut Harness)
crates/buzz-agent/tests/fake_llm.rs:246
↓ 7 callers
Method
insert_event
Inserts an event. Returns `(StoredEvent, was_inserted)` — `false` on duplicate.
crates/buzz-db/src/lib.rs:468
↓ 7 callers
Function
isImageOnlyParagraph
(childArray)
desktop/src/shared/ui/markdown.test.mjs:49
↓ 7 callers
Function
isMsgContextKey
(value: string)
desktop/src/features/channels/readState/readStateFormat.ts:59
↓ 7 callers
Function
isRenderedTimelineBehindHistoryPrepend
( rendered: TimelineMessage[], live: TimelineMessage[], )
desktop/src/features/messages/lib/timelineSnapshot.ts:262
↓ 7 callers
Function
json_to_context_message
Extract a `ContextMessage` from a JSON message object. Works with both thread reply objects and channel message objects.
crates/buzz-acp/src/pool.rs:2248
↓ 7 callers
Function
keyring_entry
(service: &str, key: &str)
desktop/src-tauri/src/secret_store.rs:264
↓ 7 callers
Function
live
(replyCount, createdAt)
desktop/src/features/messages/lib/channelWindowStore.test.mjs:281
↓ 7 callers
Function
makeDm
(id, name)
desktop/src/features/sidebar/lib/dmSidebarSort.test.mjs:6
↓ 7 callers
Function
makeScheduler
({ minIntervalMs = 100, now: initialNow = 0 } = {})
desktop/src/shared/api/useRelayAutoHeal.test.mjs:15
↓ 7 callers
Function
make_notice
(msg: &str)
crates/buzz-pair-relay/src/lib.rs:287
↓ 7 callers
Function
make_pubkey
()
crates/buzz-pubsub/src/presence.rs:104
↓ 7 callers
Function
make_state
(cwd: &std::path::Path)
crates/buzz-dev-mcp/src/view_image.rs:564
↓ 7 callers
Function
make_test_pool
()
crates/buzz-pubsub/src/lib.rs:330
↓ 7 callers
Function
mergePresenceUpdate
( old: PresenceLookup | undefined, pubkey: string, status: PresenceStatus, )
desktop/src/features/presence/lib/presence.ts:29
↓ 7 callers
Function
nip42_expected_relay_url
Construct the NIP-42 expected `relay` URL for a connection bound to `tenant`. NIP-42 (WebSocket AUTH) sibling of [`nip98_expected_url`]. Conformance
crates/buzz-relay/src/api/bridge.rs:164
↓ 7 callers
Function
normalizeRelayUrl
(relayUrl: string)
desktop/src/features/profile/lib/selfProfileStorage.ts:21
↓ 7 callers
Function
normalizeToolNameText
(value: string)
desktop/src/features/agents/ui/agentSessionToolCatalog.ts:216
↓ 7 callers
Function
openEditDialog
(page: import("@playwright/test").Page)
desktop/tests/e2e/channel-controls.spec.ts:15
↓ 7 callers
Function
openMemberMenu
( page: import("@playwright/test").Page, pubkey: string, )
desktop/tests/e2e/channels.spec.ts:123
↓ 7 callers
Function
openPersonaCatalog
(page: import("@playwright/test").Page)
desktop/tests/e2e/agents.spec.ts:32
↓ 7 callers
Function
pack_dir
Native-separator `<base>/agents/packs/<id>` — the pre-migration layout used as reconcile input. See [`team_dir`] for why per-component join matters.
desktop/src-tauri/src/migration_test_support.rs:18
↓ 7 callers
Function
parseProfilePanelView
(value: unknown)
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:60
↓ 7 callers
Function
parseTimestamp
(value: string | null | undefined)
desktop/src/features/agents/agentReuse.ts:26
↓ 7 callers
Function
parse_team_json
Parse a team JSON file. Returns the team name, description, and embedded persona previews.
desktop/src-tauri/src/managed_agents/teams.rs:652
↓ 7 callers
Function
persist_command_event
Persist a command event inside a transaction. Returns the OPEN transaction as an idempotency guard — if the event was already stored, `Duplicate` is r
crates/buzz-relay/src/handlers/command_executor.rs:90
↓ 7 callers
Function
persona
(overrides = {})
desktop/src/features/profile/ui/UserProfilePanelUtils.test.mjs:49
↓ 7 callers
Function
persona_v
(id: &str, prompt: &str, env: &[(&str, &str)])
desktop/src-tauri/src/managed_agents/runtime/tests.rs:309
↓ 7 callers
Function
pk
()
crates/buzz-db/src/git_repo.rs:210
↓ 7 callers
Function
prepend_base_for_legacy
Prepend the `[Base]` section to a user-message body for legacy agents. Legacy agents (`protocol_version < 2`) don't receive `base_prompt` via the sys
crates/buzz-acp/src/pool.rs:914
↓ 7 callers
Function
presence_key
Returns the Redis key for the presence entry of `pubkey` under `ctx`.
crates/buzz-pubsub/src/presence.rs:19
↓ 7 callers
Function
process_has_buzz_marker
(pid: u32, instance_id: &str)
desktop/src-tauri/src/managed_agents/runtime.rs:170
↓ 7 callers
Function
profilePanelTabFromSearch
(value: unknown)
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:88
↓ 7 callers
Function
profilePanelViewFromSearch
(value: unknown)
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:72
↓ 7 callers
Function
publish_event
Publish a Nostr event to the relay.
crates/buzz-pairing-cli/src/main.rs:490
↓ 7 callers
Function
pullRequestEvent
(overrides = {})
desktop/src/features/projects/projectPullRequests.test.mjs:11
↓ 7 callers
Function
readChannelSnapshot
(relayUrl: string)
desktop/src/features/channels/channelSnapshot.ts:33
↓ 7 callers
Function
relay_error_message
(response: reqwest::Response)
desktop/src-tauri/src/relay.rs:234
↓ 7 callers
Function
renderMarkdown
(content)
desktop/src/shared/ui/markdown.test.mjs:442
↓ 7 callers
Method
require_pointer
(&self, owner: &str, repo: &str)
crates/buzz-test-client/tests/e2e_git.rs:172
↓ 7 callers
Method
resetConnection
( error: Error, options?: { reconnect?: boolean; }, )
desktop/src/shared/api/relayClientSession.ts:951
↓ 7 callers
Function
resolveEffectiveChannel
( capturedChannelId: string | null | undefined, channelsCache: Channel[] | undefined, fallbackChannel: C
desktop/src/features/messages/hooks.ts:200
↓ 7 callers
Function
resolveMentionNames
( tags: string[][] | undefined, profiles: Record<string, UserProfileSummary> | undefined, )
desktop/src/shared/lib/resolveMentionNames.ts:20
↓ 7 callers
Function
resolveTeamPersonas
( team: Pick<AgentTeam, "personaIds">, personas: AgentPersona[], )
desktop/src/features/agents/lib/teamPersonas.ts:40
↓ 7 callers
Function
resolveThreadReplyTarget
( threadContext: | { parentEventId: string | null; threadHeadId: string | null } | null | undefi
desktop/src/features/messages/hooks.ts:224
↓ 7 callers
Function
resolveTimelineLoadingLatch
( settledChannelId: string | null, activeChannelId: string | null, loadingNow: boolean, )
desktop/src/features/messages/lib/timelineLoadingState.ts:49
↓ 7 callers
Function
resolve_provider
( requested: Option<&str>, anthropic_key: Option<&str>, openai_key: Option<&str>, )
crates/buzz-agent/src/config.rs:902
↓ 7 callers
Function
resolve_reader
Resolve the read perspective for `mem ls/get/hash`. Normal agent-side reads use the CLI identity as the agent and resolve the owner from `--owner` /
crates/buzz-cli/src/commands/mem.rs:54
↓ 7 callers
Function
run
(state: &SharedState, p: ViewImageParams)
crates/buzz-dev-mcp/src/view_image.rs:85
↓ 7 callers
Function
runPlugin
(tree)
desktop/src/shared/lib/remarkSpoilers.test.mjs:6
↓ 7 callers
Function
safe_resolve
Verify a path resolves within the pack root. Defense-in-depth: 1. Reject any `..` path component before canonicalization. 2. Canonicalize the joined
crates/buzz-persona/src/pack.rs:323
↓ 7 callers
Function
selectCatalogPersona
( page: import("@playwright/test").Page, personaId: string, )
desktop/tests/e2e/agents.spec.ts:45
↓ 7 callers
Function
selectLatestMessageKey
( messages: readonly TimelineMessage[], )
desktop/src/features/messages/lib/timelineSnapshot.ts:51
↓ 7 callers
Function
selectTimelineBodySurface
({ deferredCount, isLoading, liveCount, }: { deferredCount: number; isLoading: boolean; liveCount:
desktop/src/features/messages/lib/timelineSnapshot.ts:186
↓ 7 callers
Function
sendChannelMessage
( channelId: string, content: string, parentEventId?: string | null, mediaTags?: string[][], mention
desktop/src/shared/api/tauri.ts:825
↓ 7 callers
Function
setConnectionState
( nextState: ConnectionState, nextErrorMessage: string | null = errorMessage, )
desktop/src/features/agents/observerRelayStore.ts:117
↓ 7 callers
Function
set_agent_owner
Set the owner pubkey for an agent user. The owner pubkey must already exist in the users table (FK constraint). Returns an error if the agent pubkey i
crates/buzz-db/src/user.rs:287
↓ 7 callers
Function
set_channel_add_policy
Set the channel_add_policy for a user. Returns an error if the pubkey is not found (rows_affected == 0). Returns an error if `policy` is not one of th
crates/buzz-db/src/user.rs:370
↓ 7 callers
Function
set_presence
Sets presence status for `pubkey` with a [`PRESENCE_TTL_SECS`]-second TTL.
crates/buzz-pubsub/src/presence.rs:28
↓ 7 callers
Function
settle
(page: import("@playwright/test").Page)
desktop/tests/e2e/channel-controls.spec.ts:22
↓ 7 callers
Function
setup_pool
()
crates/buzz-db/src/workflow.rs:1699
↓ 7 callers
Function
shouldCountTowardHomeBadgeSubtotal
( item: Pick<FeedItem, "channelId" | "channelType" | "tags">, highPriorityChannelIds: ReadonlySet<string>,
desktop/src/features/notifications/lib/homeBadge.ts:43
↓ 7 callers
Function
shouldShowTranscriptRowTimestamp
( item: TranscriptItem, options: { enabled: boolean; variant: string }, )
desktop/src/features/agents/ui/agentSessionTranscriptPresentation.ts:10
↓ 7 callers
Function
sign_blossom_auth
(keys: &Keys, sha256: &str)
crates/buzz-test-client/tests/e2e_media_video.rs:29
↓ 7 callers
Function
sign_custom_auth
(keys: &Keys, kind: u16, content: &str, tags: Vec<Tag>)
crates/buzz-test-client/tests/e2e_media_extended.rs:126
↓ 7 callers
Method
spawn
(base_url: &str)
crates/buzz-agent/tests/fake_llm.rs:151
↓ 7 callers
Function
sub_id
(name: &str)
crates/buzz-test-client/tests/e2e_event_reminder.rs:40
↓ 7 callers
Method
subscribe
Subscribe to live observer events.
crates/buzz-acp/src/observer.rs:83
↓ 7 callers
Function
subscribeActiveAgentTurns
(listener: () => void)
desktop/src/features/agents/activeAgentTurnsStore.ts:387
↓ 7 callers
Function
syncMockChannel
(channel: MockChannel)
desktop/src/testing/e2eBridge.ts:934
↓ 7 callers
Method
task_map_mut
(&mut self)
crates/buzz-acp/src/pool.rs:482
↓ 7 callers
Function
team
(id: &str, name: &str)
desktop/src-tauri/src/managed_agents/teams.rs:731
↓ 7 callers
Function
test_config
()
crates/buzz-acp/src/lib.rs:3778
↓ 7 callers
Function
test_state
()
crates/buzz-relay/src/handlers/mesh_signaling.rs:521
↓ 7 callers
Function
test_tenant
Synthetic tenant for the in-memory mesh signaling tests. These exercise the sub-registry fan-out path (lazy PG pool, dead Redis), so they never touch
crates/buzz-relay/src/handlers/mesh_signaling.rs:517
↓ 7 callers
Function
thread_tags
(root: Option<&str>, mentions: &[&str])
crates/buzz-acp/src/queue.rs:3141
↓ 7 callers
Function
toolItems
(events)
desktop/src/features/agents/ui/agentSessionTranscript.test.mjs:37
↓ 7 callers
Function
unionCustomEmoji
( events: ReadonlyArray<RelayEvent>, )
desktop/src/shared/api/customEmoji.ts:114
↓ 7 callers
Function
uniqueNormalizedPubkeys
(pubkeys: Iterable<string>)
desktop/src/features/messages/ui/useMentionSendFlow.ts:109
↓ 7 callers
Function
upload_with_auth
( client: &Client, auth_event: &nostr::Event, sha256: &str, body: &[u8], )
crates/buzz-test-client/tests/e2e_media_extended.rs:133
↓ 7 callers
Function
upsertLifecycleItem
( d: TranscriptDraft, id: string, renderClass: Extract< AgentActivityRenderClass, "status" | "pe
desktop/src/features/agents/ui/agentSessionTranscript.ts:396
↓ 7 callers
Function
useAcpRuntimesQuery
(options?: { enabled?: boolean })
desktop/src/features/agents/hooks.ts:130
↓ 7 callers
Function
useIsArchivedPredicate
()
desktop/src/features/identity-archive/hooks.ts:50
↓ 7 callers
Function
usePresenceQuery
( pubkeys: string[], options?: { enabled?: boolean; }, )
desktop/src/features/presence/hooks.ts:77
↓ 7 callers
Function
useSidebar
()
desktop/src/shared/ui/sidebar.tsx:58
↓ 7 callers
Function
validate_and_decrypt
Validate an event against *Head selection* rules (1) and (5) and return the decoded body. Caller must verify the signature beforehand (NIP-44 requires
crates/buzz-core/src/engram.rs:488
↓ 7 callers
Function
validate_respond_to_allowlist
Validate and normalize a respond-to allowlist. Rules mirror `buzz-acp/src/config.rs::validate_allowlist`: - Each entry is exactly 64 hex chars (any c
desktop/src-tauri/src/managed_agents/types.rs:677
↓ 7 callers
Function
verify_event
Verifies the event ID hash and Schnorr signature. CPU-bound — call via `tokio::task::spawn_blocking` in async contexts.
crates/buzz-core/src/verification.rs:11
← previous
next →
901–1,000 of 12,195, ranked by callers