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
↓ 10 callers
Function
unsubscribe
()
desktop/src/features/agents/lib/liveSwitchOutcome.ts:37
↓ 10 callers
Function
useAgentSessionTranscriptVariant
()
desktop/src/features/agents/ui/agentSessionTranscriptContext.ts:11
↓ 10 callers
Function
useRelayAgentsQuery
(options?: { enabled?: boolean })
desktop/src/features/agents/hooks.ts:203
↓ 10 callers
Function
useWorkspaces
()
desktop/src/features/workspaces/useWorkspaces.tsx:54
↓ 10 callers
Function
validate_persona_envelope
Validate the envelope of a kind:30175 persona event. Enforces: exactly one `d` tag with a non-empty value matching the slug grammar `^[a-z0-9][a-z0-9
crates/buzz-relay/src/handlers/ingest.rs:956
↓ 9 callers
Function
buildImetaTags
( imetaMedia: ReadonlyArray<ImetaMedia>, )
desktop/src/features/messages/lib/imetaMediaMarkdown.ts:86
↓ 9 callers
Function
buildMemoryGraph
(listing: AgentMemoryListing)
desktop/src/features/agent-memory/lib/buildMemoryGraph.ts:56
↓ 9 callers
Function
buildTimelineItems
( entries: MainTimelineEntry[], firstUnreadMessageId: string | null, )
desktop/src/features/messages/lib/timelineItems.ts:62
↓ 9 callers
Function
build_and_sign
Sign `build_set_event` output with a fresh key and return the event for tag inspection. `now` and signing key are local to the test; nothing about the
crates/buzz-cli/src/commands/notes.rs:1002
↓ 9 callers
Function
build_git_status
Build a git status event (kind:1630/1631/1632/1633, NIP-34). `content` is optional markdown context for the status change.
crates/buzz-sdk/src/builders.rs:1160
↓ 9 callers
Function
build_managed_agent_summary
( app: &AppHandle, record: &ManagedAgentRecord, runtimes: &HashMap<String, ManagedAgentProcess>,
desktop/src-tauri/src/managed_agents/runtime.rs:1451
↓ 9 callers
Function
build_message
Build a stream message (kind 9). - `channel_id`: target channel UUID - `content`: message text (max 64 KiB) - `thread_ref`: optional NIP-10 reply con
crates/buzz-sdk/src/builders.rs:216
↓ 9 callers
Function
build_repo_announcement
Build a git repository announcement event (kind:30617, NIP-34). Creates or updates a repository. The `repo_id` is the unique identifier (d-tag) — mus
crates/buzz-sdk/src/builders.rs:789
↓ 9 callers
Method
canonical_bytes
Serialize to canonical bytes suitable for `put_manifest`. Sorts `packs` defensively (writer is responsible for keeping them sorted, but a misuse shou
crates/buzz-relay/src/api/git/manifest.rs:249
↓ 9 callers
Function
channel_info_from_event
Convert a NIP-29 kind:39000 channel metadata event to [`ChannelInfo`]. Optionally merges with a kind:40901 channel summary sidecar event for `member_
desktop/src-tauri/src/nostr_convert.rs:96
↓ 9 callers
Function
classify_request_error
Classify a `send()` failure into a stable, URL-free error string. The returned string always starts with `"relay unreachable:"` so the frontend conne
desktop/src-tauri/src/relay.rs:152
↓ 9 callers
Function
clean_branch
Normalizes and validates a relay-supplied branch name. Strips a `refs/heads/` prefix, then rejects anything outside a conservative character allowlist
desktop/src-tauri/src/commands/project_git_exec.rs:143
↓ 9 callers
Function
compute_participant_hash
Compute a stable SHA-256 fingerprint for a set of participant pubkeys. Pubkeys are sorted lexicographically before hashing so that the same set of pa
crates/buzz-db/src/dm.rs:48
↓ 9 callers
Method
confirm_target_sas
(Target) User confirmed the SAS codes match. Transitions to [`SessionState::Transferring`] so payloads can be received.
crates/buzz-core/src/pairing/session.rs:376
↓ 9 callers
Function
context_for
Build observer context values from optional channel/session/turn IDs.
crates/buzz-acp/src/observer.rs:134
↓ 9 callers
Function
createPersona
(id)
desktop/src/features/agents/ui/teamDialogSelection.test.mjs:11
↓ 9 callers
Function
createPreview
( kind: SupportedLinkPreviewKind, parsed: URL, provider: SupportedLinkPreview["provider"], typeLabel:
desktop/src/shared/lib/linkPreview.ts:253
↓ 9 callers
Function
create_test_channel
( pool: &PgPool, name: &str, channel_type: ChannelType, visibility: ChannelVis
crates/buzz-db/src/thread.rs:854
↓ 9 callers
Function
detectMeshPresetOverrides
( current: { acpCommand: string; agentCommand: string; agentArgs: string[]; mcpCommand: stri
desktop/src/features/mesh-compute/applyMeshAgentPreset.ts:54
↓ 9 callers
Function
dispatch_persistent_event
Schedule post-commit delivery/side effects for a stored event. This intentionally returns after only the bounded audit enqueue has completed: NIP-01
crates/buzz-relay/src/handlers/event.rs:325
↓ 9 callers
Function
eText
(s)
desktop/src/features/messages/lib/plainTextProjection.test.mjs:293
↓ 9 callers
Function
extract_h_tag_channel
Extract channel UUID from `h` tag (NIP-29 group ID).
crates/buzz-relay/src/handlers/side_effects.rs:2170
↓ 9 callers
Function
feedItem
(id, category = "activity")
desktop/src/features/notifications/hooks.test.mjs:17
↓ 9 callers
Function
filters_match
Returns `true` if the event matches any of the provided NIP-01 filters.
crates/buzz-core/src/filter.rs:10
↓ 9 callers
Function
find_managed_agent_mut
( records: &'a mut [ManagedAgentRecord], pubkey: &str, )
desktop/src-tauri/src/managed_agents/runtime.rs:1566
↓ 9 callers
Function
fixture
()
desktop/src/features/channels/lib/threadReplyUnreadCounts.test.mjs:11
↓ 9 callers
Function
formatDurationMs
(ms: number)
desktop/src/features/agents/ui/agentSessionUtils.ts:163
↓ 9 callers
Function
formatUserName
(user: UserSearchResult)
desktop/src/features/sidebar/ui/NewDirectMessageDialog.tsx:60
↓ 9 callers
Function
getChannelIdFromTags
(tags: string[][])
desktop/src/features/messages/lib/threading.ts:12
↓ 9 callers
Function
getIdentity
()
desktop/src/shared/api/tauri.ts:456
↓ 9 callers
Function
getImportButtonLabel
({ isWindowFileDragOver, isImportDragOver, importErrorMessage, }: ImportButtonStateInput)
desktop/src/features/agents/ui/teamDialogImportState.ts:14
↓ 9 callers
Function
getTag
(event: RelayEvent, name: string)
desktop/src/features/projects/hooks.ts:112
↓ 9 callers
Function
getThemePair
(name: SyntaxThemeName)
desktop/src/shared/theme/theme-loader.ts:233
↓ 9 callers
Function
gotoApp
(page: import("@playwright/test").Page)
desktop/tests/e2e/agents.spec.ts:9
↓ 9 callers
Method
head
Check if an object exists. Returns false on 404.
crates/buzz-media/src/storage.rs:149
↓ 9 callers
Function
init
()
desktop/src/features/workspaces/useWorkspaceInit.ts:74
↓ 9 callers
Function
init_session
(h: &mut Harness, mcp_servers: Value)
crates/buzz-agent/tests/regressions.rs:215
↓ 9 callers
Function
insert_workflow_with_ids
Insert a workflow under `community` with a caller-chosen `id` and `channel_id`, so two communities can be given the *same* workflow UUID and channel U
crates/buzz-db/src/workflow.rs:2007
↓ 9 callers
Function
invalidateChannelState
( queryClient: ReturnType<typeof useQueryClient>, channelId: string | null | undefined, )
desktop/src/features/channels/hooks.ts:70
↓ 9 callers
Function
isConversationalUnreadKind
(kind: number | undefined)
desktop/src/shared/constants/kinds.ts:152
↓ 9 callers
Function
isInboxThreadContextEvent
( event: RelayEvent, selection: { selectedChannelId: string | null; selectedEventId: string; s
desktop/src/features/home/lib/inboxViewHelpers.ts:52
↓ 9 callers
Function
isMeaningfulItem
(item: TranscriptItem)
desktop/src/features/agents/ui/agentSessionTranscriptPresentation.ts:70
↓ 9 callers
Function
link
(href)
desktop/src/features/messages/lib/resolveLinkAt.test.mjs:23
↓ 9 callers
Function
load_hint_files_impl
(cwd: &Path, home: Option<&Path>)
crates/buzz-agent/src/hints.rs:40
↓ 9 callers
Function
make_test_event
Build a minimal signed Event with the given kind and tags. The pubkey will be randomly generated — sufficient for tag extraction tests.
crates/buzz-relay/src/handlers/relay_admin.rs:354
↓ 9 callers
Function
message
(id, overrides = {})
desktop/src/features/messages/lib/formatTimelineMessages.test.mjs:408
↓ 9 callers
Function
migrate_legacy_nest_at
Copy the [`LEGACY_NEST_KNOWLEDGE`] entries from `legacy` to `current`. Each entry is copied independently with its own log-and-continue, so a failure
desktop/src-tauri/src/migration.rs:260
↓ 9 callers
Function
navigateToWorkflows
(page: import("@playwright/test").Page)
desktop/tests/e2e/workflows.spec.ts:9
↓ 9 callers
Function
oldestRenderedIndex
()
desktop/tests/e2e/scroll-history.spec.ts:150
↓ 9 callers
Function
parseCustomDateTime
(date: string, time: string)
desktop/src/features/reminders/lib/timePresets.ts:60
↓ 9 callers
Function
parse_auth_tag
Parse a NIP-OA `auth` tag JSON string into a [`Tag`] without verifying the signature. Validates structure only: - Exactly 4 elements - First element
crates/buzz-sdk/src/nip_oa.rs:252
↓ 9 callers
Function
parse_goose_config
(yaml_str: &str)
desktop/src-tauri/src/managed_agents/config_bridge/goose.rs:16
↓ 9 callers
Function
pointer_key
The canonical pointer key for a repo: `repos/<community>/<owner>/<repo>/pointer`. Single source of truth shared by `cas_publish` (write side) and `hy
crates/buzz-relay/src/api/git/manifest.rs:175
↓ 9 callers
Method
post_openai
POST to an OpenAI-family endpoint. For OpenAI-compat this is just `{base_url}{path}` with the body untouched. For Databricks the URL becomes `{base_ur
crates/buzz-agent/src/llm.rs:311
↓ 9 callers
Function
pr_repo
()
crates/buzz-sdk/src/builders.rs:2986
↓ 9 callers
Function
preprocess_for_tts
Prepare `text` for TTS synthesis. Applies in order: 1. Fenced code blocks → "code block omitted" 2. Inline code → bare content (backticks stripped) 3
desktop/src-tauri/src/huddle/preprocessing.rs:109
↓ 9 callers
Method
publish
()
desktop/src/features/channels/readState/readStateManager.ts:633
↓ 9 callers
Function
reactionEmojiUrl
( emoji: string, set: ReadonlyArray<CustomEmoji> | undefined, )
desktop/src/shared/api/customEmoji.ts:35
↓ 9 callers
Function
read_or_stdin
Read content from a string value or stdin if the value is "-".
crates/buzz-cli/src/validate.rs:168
↓ 9 callers
Function
recordMockMessage
(channelId: string, event: RelayEvent)
desktop/src/testing/e2eBridge.ts:3220
↓ 9 callers
Method
recv
(&mut self)
crates/buzz-agent/tests/regressions.rs:148
↓ 9 callers
Method
recv_until
(&mut self, mut pred: F)
crates/buzz-agent/tests/hints_integration.rs:146
↓ 9 callers
Function
refs_with
(pairs: &[(&str, &str)])
crates/buzz-relay/src/api/git/manifest_event.rs:151
↓ 9 callers
Function
relay_api_base_url_with_override
Returns the relay HTTP API base URL, checking the workspace override first. Precedence: workspace override > env vars > build-time vars > default.
desktop/src-tauri/src/relay.rs:50
↓ 9 callers
Function
relay_keys
()
crates/buzz-relay/src/api/git/manifest_event.rs:138
↓ 9 callers
Function
resolveLinkAt
( state: EditorState, pos: number, )
desktop/src/features/messages/lib/resolveLinkAt.ts:22
↓ 9 callers
Function
resolver_with
(host: &str, id: u128)
crates/buzz-relay/src/tenant.rs:174
↓ 9 callers
Function
run
(args: argparse.Namespace)
perf/relay_bus_scaling.py:501
↓ 9 callers
Function
runPlugin
(tree)
desktop/src/shared/ui/markdown.test.mjs:530
↓ 9 callers
Function
save_teams
(app: &AppHandle, records: &[TeamRecord])
desktop/src-tauri/src/managed_agents/teams.rs:147
↓ 9 callers
Function
scoreUserCandidate
({ allowEmptyQuery = false, label, query, user, }: ScoreUserCandidateInput)
desktop/src/features/profile/lib/userCandidateSearch.ts:25
↓ 9 callers
Function
selectDeferredListRenderState
( deferredCount: number, liveCount: number, )
desktop/src/features/messages/lib/timelineSnapshot.ts:171
↓ 9 callers
Method
sendRaw
(payload: unknown[])
desktop/src/shared/api/relayClientSession.ts:600
↓ 9 callers
Function
setup_pool
()
crates/buzz-db/src/event.rs:1434
↓ 9 callers
Method
shutdown
(mut self)
crates/buzz-agent/tests/hints_integration.rs:155
↓ 9 callers
Function
sign_request
(req: &mut HookCallbackRequest, secret: &[u8])
crates/buzz-relay/src/api/git/policy.rs:445
↓ 9 callers
Function
splitOutgoingTags
(tags: string[][] | undefined)
desktop/src/features/messages/lib/imetaMediaMarkdown.ts:309
↓ 9 callers
Function
split_model
Split `"provider:model-id"` into `(Some("provider"), "model-id")`. If there is no colon, returns `(None, full_string)`.
crates/buzz-persona/src/persona.rs:324
↓ 9 callers
Method
start
(request: StartMeshNodeRequest)
desktop/src-tauri/src/mesh_llm/mod.rs:226
↓ 9 callers
Function
str_field
(v: &Value, key: &str)
crates/buzz-agent/src/llm.rs:848
↓ 9 callers
Function
string_field
(value: &Value, key: &str)
crates/buzz-relay/src/mesh_status_publisher.rs:251
↓ 9 callers
Function
stub_persona
( model: Option<&str>, temperature: Option<f64>, max_context_tokens: Option<u64>,
crates/buzz-persona/src/resolve.rs:891
↓ 9 callers
Function
tiny_jpeg
()
crates/buzz-test-client/tests/e2e_media_extended.rs:62
↓ 9 callers
Method
update_workflow_run
Update a workflow run's status.
crates/buzz-db/src/lib.rs:1895
↓ 9 callers
Function
useAvailableAcpRuntimes
(options?: { enabled?: boolean })
desktop/src/features/agents/hooks.ts:139
↓ 9 callers
Function
usePersonasQuery
()
desktop/src/features/agents/hooks.ts:170
↓ 9 callers
Function
useProfileQuery
(enabled = true)
desktop/src/features/profile/hooks.ts:81
↓ 9 callers
Function
useTheme
()
desktop/src/shared/theme/ThemeProvider.tsx:371
↓ 9 callers
Function
validate_allowlist
Validate and deduplicate allowlist entries: each must be exactly 64 hex chars.
crates/buzz-acp/src/config.rs:502
↓ 9 callers
Function
validate_download_url
Validate that a URL is a legitimate relay media URL. Ensures: - URL scheme is `https` (or `http` for localhost dev) - URL origin matches the relay ba
desktop/src-tauri/src/commands/media_download.rs:22
↓ 9 callers
Function
waitForTimelineSettled
(page: import("@playwright/test").Page)
desktop/tests/e2e/mentions.spec.ts:144
↓ 9 callers
Function
write_base_personas
Helper: write a `personas.json` directly in `base_dir` (the migration reads `base_dir/personas.json`, where `base_dir` is the `agents` dir).
desktop/src-tauri/src/migration_tests.rs:1113
↓ 9 callers
Function
yaml_string
( map: &std::collections::HashMap<String, serde_yaml::Value>, key: &str, )
desktop/src-tauri/src/managed_agents/config_bridge/goose.rs:132
↓ 8 callers
Function
EMOJI
(shortcode, url)
desktop/src/features/messages/lib/applyEditTagOverlay.test.mjs:107
↓ 8 callers
Function
assert_closed
Assert the connection is closed (stream ends) within 2 seconds.
crates/buzz-pair-relay/tests/integration.rs:78
← previous
next →
601–700 of 12,195, ranked by callers