MCPcopy Index your code

hub / github.com/block/buzz / functions

Functions12,195 in github.com/block/buzz

↓ 16 callersFunctionevent
(overrides = {})
desktop/src/features/workspaces/workspaceUnreadObserver.test.mjs:16
↓ 16 callersFunctionevent
(id, kind, createdAt, content = "", tags = [])
desktop/src/features/messages/lib/channelWindowResponse.test.mjs:8
↓ 16 callersFunctionisDmNotifiableKind
(kind: number)
desktop/src/features/channels/isDmNotifiableKind.ts:17
↓ 16 callersFunctionisEmojiOnlyMessage
( content: string, customEmoji: CustomEmoji[] = [], )
desktop/src/shared/lib/emojiOnly.ts:93
↓ 16 callersFunctionisManagedAgentActive
(agent: Pick<ManagedAgent, "status">)
desktop/src/features/agents/lib/managedAgentControlActions.ts:34
↓ 16 callersFunctionmakeSection
(id, name, order)
desktop/src/features/sidebar/lib/channelSectionsHelpers.test.mjs:10
↓ 16 callersFunctionmake_event_with_kind_and_tags
(kind: u16, tags: Vec<Tag>)
crates/buzz-db/src/event.rs:1502
↓ 16 callersFunctionparse_manifest
Parse a `plugin.json` string into a [`PackManifest`].
crates/buzz-persona/src/manifest.rs:152
↓ 16 callersFunctionresolve_persona_config
Resolve a single persona's effective config from raw frontmatter + pack defaults.
crates/buzz-persona/src/merge.rs:85
↓ 16 callersFunctionrootTag
(id)
desktop/src/features/notifications/lib/shouldNotify.test.mjs:30
↓ 16 callersMethodshutdown
(mut self)
crates/buzz-agent/tests/golden_transcripts.rs:103
↓ 16 callersFunctionsubmitSignedEvent
( config: E2eConfig | undefined, template: { kind: number; content: string; tags: string[][] }, )
desktop/src/testing/e2eBridge.ts:4419
↓ 16 callersFunctiontest_db
()
desktop/src-tauri/src/managed_agents/retention.rs:319
↓ 16 callersFunctionurl_a
Host A's base URL (community A). Defaults to a local two-host relay.
crates/buzz-test-client/tests/conformance_multitenant.rs:45
↓ 16 callersFunctionurl_b
Host B's base URL (community B), same relay process, different host.
crates/buzz-test-client/tests/conformance_multitenant.rs:50
↓ 16 callersFunctionuseManagedAgentsQuery
(options?: { enabled?: boolean })
desktop/src/features/agents/hooks.ts:213
↓ 16 callersFunctionverify_nip98_event
Verify a NIP-98 HTTP Auth event (kind:27235). # Parameters - `event_json` — the raw JSON string of the Nostr event (decoded from base64 by the calle
crates/buzz-auth/src/nip98.rs:55
↓ 15 callersFunctionbuildPersonaImportPlan
({ persona, preview, }: BuildPersonaImportPlanInput)
desktop/src/features/agents/ui/personaImportPlan.ts:109
↓ 15 callersFunctionchannelMessagesKey
(channelId: string)
desktop/src/features/messages/lib/messageQueryKeys.ts:3
↓ 15 callersFunctioncheck_trace
Check one scenario. Returns `Ok(())` on conformance; returns the first transition error on any failure. Stages: 1. **Bootstrap.** Read the first step
crates/buzz-conformance/src/checker.rs:74
↓ 15 callersMethodclose
(self)
perf/relay_bus_scaling.py:178
↓ 15 callersFunctioncreateMockChannel
( seed: Omit< MockChannel, | "created_at" | "member_count" | "members" | "updated_at"
desktop/src/testing/e2eBridge.ts:898
↓ 15 callersFunctionemit_system_message
Emit a system message (kind 40099) signed by the relay keypair.
crates/buzz-relay/src/handlers/side_effects.rs:656
↓ 15 callersFunctionflattenChannelWindowEvents
(store: ChannelWindowStore)
desktop/src/features/messages/lib/channelWindowStore.ts:219
↓ 15 callersMethodhandle_todo
Replace-or-read. Returns the rendered list, with a warning appended if open items were silently removed. Mutation, warning computation, and rendering
crates/buzz-dev-mcp/src/todo.rs:71
↓ 15 callersFunctionknown_acp_runtime
(command: &str)
desktop/src-tauri/src/managed_agents/discovery.rs:256
↓ 15 callersFunctionlocalUnixSeconds
(year, monthIndex, day)
desktop/src/features/messages/lib/dateFormatters.test.mjs:12
↓ 15 callersFunctionmake_test_event
Build a real signed Nostr event for testing BgState. Uses `custom_created_at` so tests can control the timestamp. The event ID is determined by the n
crates/buzz-acp/src/relay.rs:3207
↓ 15 callersFunctionmessage
(overrides)
desktop/src/features/messages/lib/videoReviewContext.test.mjs:11
↓ 15 callersFunctiononChange
()
desktop/src/shared/hooks/use-mobile.tsx:18
↓ 15 callersFunctionopenMembersSidebar
( page: import("@playwright/test").Page, channelName: string, )
desktop/tests/e2e/channels.spec.ts:62
↓ 15 callersFunctionparseAnimatedAvatarUrl
( url: string | null | undefined, )
desktop/src/shared/lib/animatedAvatar.ts:31
↓ 15 callersFunctionparseChannelSectionPayload
( json: unknown, )
desktop/src/features/sidebar/lib/channelSectionsStorage.ts:52
↓ 15 callersFunctionrank_user_search_results
Rank and truncate kind:0 events from a NIP-50 search response for the member-picker / DM-recipient autocomplete. The relay returns results scored by
desktop/src-tauri/src/nostr_convert/user_search.rs:103
↓ 15 callersFunctionreadAtFor
(channelMarker, threadMarkers, messageMarkers = new Map())
desktop/src/features/channels/unreadReadMarker.test.mjs:222
↓ 15 callersFunctionresolve_command
Resolve a command to an absolute path, caching results for the app lifetime. The cache eliminates redundant login-shell spawns when multiple agents sh
desktop/src-tauri/src/managed_agents/discovery.rs:500
↓ 15 callersFunctionround
(value: number)
desktop/src/shared/ui/smoothCorners.ts:67
↓ 15 callersMethodshutdown
Kill the agent subprocess and wait for it to exit (no zombies). `Drop` only calls `start_kill()` (sends SIGKILL but doesn't reap). Call this when you
crates/buzz-acp/src/acp.rs:178
↓ 15 callersFunctionspawn_script
(script: &str)
crates/buzz-acp/src/acp.rs:2222
↓ 15 callersMethodstop
Idempotent. Clears the passive idle check interval.
desktop/src/shared/api/relayStallWatchdog.ts:48
↓ 15 callersFunctionstorageKey
(pubkey: string)
desktop/src/features/sidebar/lib/channelStarsStorage.ts:18
↓ 15 callersFunctiontruncatePubkey
(pubkey: string)
desktop/src/features/profile/lib/identity.ts:6
↓ 15 callersFunctionvalidate_user_env_keys
Validate user-supplied env var keys at save time. Returns an error listing problems so the GUI can surface them in one go. Rules: - Keys must match `
desktop/src-tauri/src/managed_agents/env_vars.rs:170
↓ 15 callersFunctionverify_auth_tag
Verify a NIP-OA `auth` tag JSON string against the given `agent_pubkey`. Reconstructs the preimage, hashes it, and verifies the Schnorr signature aga
crates/buzz-sdk/src/nip_oa.rs:179
↓ 15 callersFunctionwaitForAnimations
( page: Page, timeoutMs = 1000, )
desktop/tests/helpers/animations.ts:18
↓ 15 callersFunctionwrite_errsig
Emit ERRSIG status line (signature could not be processed). Format: ERRSIG <keyid> <pkalgo> <hashalgo> <class> <timestamp> <rc>
crates/git-sign-nostr/src/lib.rs:1693
↓ 14 callersFunctionclearFeedback
( surface: PersonaFeedbackSurface = personaFeedbackSurface, )
desktop/src/features/agents/ui/usePersonaActions.ts:149
↓ 14 callersFunctioncounts
(messages, getReadAt, isNotified = countAll, currentPubkey)
desktop/src/features/channels/lib/threadBadgeCounts.test.mjs:43
↓ 14 callersFunctioncustom_persona
(id: &str, display_name: &str)
desktop/src-tauri/src/managed_agents/personas/tests.rs:9
↓ 14 callersFunctionderive_sas
Derive the Short Authentication String (SAS) code and the raw SAS input. ```text sas_input = HKDF-SHA256(IKM=ecdh_shared, salt=session_secret, info="
crates/buzz-core/src/pairing/crypto.rs:70
↓ 14 callersFunctionencode_qr
Encode a [`QrPayload`] as a `nostrpair://` URI. Relay URLs are percent-encoded (`:` → `%3A`, `/` → `%2F`) so they can safely appear as query paramete
crates/buzz-core/src/pairing/qr.rs:79
↓ 14 callersFunctionestimateRowHeight
( message: TimelineMessage, { isContinuation = false }: { isContinuation?: boolean } = {}, )
desktop/src/features/messages/lib/rowHeightEstimate.ts:111
↓ 14 callersFunctionexpandReply
( page: import("@playwright/test").Page, replyId: string, )
desktop/tests/e2e/thread-unread.spec.ts:100
↓ 14 callersFunctionexpectHashSearchParam
( page: Page, name: string, value: string | null, )
desktop/tests/e2e/profile.spec.ts:67
↓ 14 callersFunctionfixture
Construct a minimal record fixture for env-building tests. Only the fields read by `build_respond_to_env` matter here.
desktop/src-tauri/src/managed_agents/runtime/tests.rs:120
↓ 14 callersFunctionfresh_tenant
(host: &str)
crates/buzz-relay/src/api/bridge.rs:1615
↓ 14 callersMethodget_members
Returns all active members of a channel.
crates/buzz-db/src/lib.rs:794
↓ 14 callersFunctiongpt5_token_matches
Returns true if `lower_model` contains `token` as a bounded family segment — i.e., the token is immediately followed by end-of-string or a `-` separat
crates/buzz-agent/src/config.rs:204
↓ 14 callersMethodhandle_offer
(Source) Process an incoming offer event from the target. Validates the session ID, computes ECDH + SAS, and returns the formatted SAS code to displa
crates/buzz-core/src/pairing/session.rs:149
↓ 14 callersFunctionhastP
(...children)
desktop/src/shared/ui/markdown.test.mjs:327
↓ 14 callersFunctionhex64
(char)
desktop/src/features/messages/lib/formatTimelineMessages.test.mjs:404
↓ 14 callersFunctionimetaMediaFromTags
( tags: ReadonlyArray<ReadonlyArray<string>> | undefined, )
desktop/src/features/messages/lib/imetaMediaMarkdown.ts:49
↓ 14 callersFunctioninsert_event
Insert a Nostr event. Rejects AUTH and ephemeral kinds. Returns `(StoredEvent, was_inserted)` — `was_inserted` is `false` on duplicate.
crates/buzz-db/src/event.rs:239
↓ 14 callersMethodinvalidate_all
Invalidate all sessions and turn counters (e.g. after agent exit).
crates/buzz-acp/src/pool.rs:117
↓ 14 callersFunctionload_teams
(app: &AppHandle)
desktop/src-tauri/src/managed_agents/teams.rs:124
↓ 14 callersFunctionmakeAgent
(overrides = {})
desktop/src/features/agents/lib/agentAutocompleteEligibility.test.mjs:27
↓ 14 callersMethodonTransition
* Call on every connection-state change. Fires `onHeal` (immediately or * deferred) when the transition is degraded→connected.
desktop/src/shared/api/useRelayAutoHeal.ts:48
↓ 14 callersFunctionopenai_efforts_for_model
Returns the set of `reasoning.effort` values supported by a given OpenAI model family. Doc-verified availability (OpenAI model pages, July 2025): |
crates/buzz-agent/src/config.rs:296
↓ 14 callersFunctionparse_codex_config
(toml_str: &str)
desktop/src-tauri/src/managed_agents/config_bridge/codex.rs:10
↓ 14 callersMethodpath
(&self)
crates/buzz-test-client/tests/e2e_git.rs:456
↓ 14 callersFunctionprepare_pocket_prompt
Mirror of the *text-preparation* half of upstream `pocket_tts.models.tts_model.prepare_text_prompt`. Sherpa-onnx's C++ Pocket TTS impl does not run th
desktop/src-tauri/src/huddle/pocket.rs:291
↓ 14 callersMethodpublish_event
Publish a signed event through the relay background task.
crates/buzz-acp/src/relay.rs:499
↓ 14 callersMethodread_until_response_with_idle_timeout
Idle-aware message loop: like [`read_until_response`] but resets an idle deadline on every stdout line. Fires [`AcpError::IdleTimeout`] on silence or
crates/buzz-acp/src/acp.rs:898
↓ 14 callersFunctionreconcile_team_dirs_in_file
(path: &Path, target_dir: &Path)
desktop/src-tauri/src/migration.rs:703
↓ 14 callersMethodrecv_for
(&mut self, want_id: i64)
crates/buzz-agent/tests/databricks_oauth.rs:508
↓ 14 callersFunctionrequeue_batch_if_queue
(ctx: &PromptContext, batch: Option<FlushBatch>)
crates/buzz-acp/src/pool.rs:2360
↓ 14 callersMethodsend
(&mut self, method: &str, params: serde_json::Value)
crates/buzz-agent/tests/databricks_oauth.rs:495
↓ 14 callersFunctionsetRelayConnectionState
( page: Page, state: RelayConnectionState, )
desktop/tests/e2e/sidebar-relay-card.spec.ts:38
↓ 14 callersFunctionsub_id
(name: &str)
crates/buzz-test-client/tests/e2e_nostr_interop.rs:39
↓ 14 callersFunctiontest_runtime
()
desktop/src-tauri/src/managed_agents/config_bridge/reader_tests.rs:11
↓ 14 callersFunctionto_http
Convert any base form to `http(s)://` for REST.
crates/buzz-test-client/tests/conformance_multitenant.rs:884
↓ 14 callersFunctiontry_regenerate_nest
Convenience wrapper: regenerates nest context, logging a warning on failure. All call sites treat regeneration as fire-and-forget — agents run fine w
desktop/src-tauri/src/managed_agents/nest.rs:647
↓ 14 callersFunctionuseChannelsQuery
(options?: { enabled?: boolean })
desktop/src/features/channels/hooks.ts:109
↓ 14 callersFunctionwrite_persisted_repos_dir
Persist the active workspace's `repos_dir` to `nest_root/.repos-dir`. Writes the trimmed value (one line). A `None`/empty value clears the override b
desktop/src-tauri/src/managed_agents/repos.rs:216
↓ 13 callersFunctionIMETA
(url)
desktop/src/features/messages/lib/applyEditTagOverlay.test.mjs:9
↓ 13 callersMethodadd_peer
Add a peer. Returns `(peer_id, peer_index, audio_rx, ctrl_rx)` on success, or an [`AdmissionError`] explaining why the peer was rejected. `requested_
crates/buzz-relay/src/audio/room.rs:187
↓ 13 callersFunctionchannel_sub_id
Build the subscription ID for a channel: `ch-<uuid>`.
crates/buzz-acp/src/relay.rs:2567
↓ 13 callersFunctioncheck_content
Validate content byte length.
crates/buzz-sdk/src/builders.rs:32
↓ 13 callersFunctioncommands
Ordered command names the bridge recorded so far.
desktop/tests/e2e/mesh-compute.spec.ts:47
↓ 13 callersFunctioncompute_signing_hash
Compute the NIP-GS signing hash. ```text hash = SHA-256("nostr:git:v1:" || decimal(t) || ":" || oa_binding || payload) ``` Where `oa_binding` is: -
crates/git-sign-nostr/src/lib.rs:895
↓ 13 callersFunctioncountUnreadObservedEvents
( eventsById: ReadonlyMap<string, ObservedUnreadEvent> | undefined, getReadAt: (event: ObservedUnreadEvent
desktop/src/features/channels/unreadChannelCounts.ts:68
↓ 13 callersFunctioncreatePersona
(overrides = {})
desktop/src/features/agents/ui/personaImportPlan.test.mjs:9
↓ 13 callersFunctioncreatePreview
(overrides = {})
desktop/src/features/agents/ui/personaImportPlan.test.mjs:27
↓ 13 callersFunctioncreate_agent_owned_channel
Create a fresh channel owned by `owner_keys`, return the channel UUID string.
crates/buzz-test-client/tests/e2e_human_edit_agent_content.rs:38
↓ 13 callersFunctionemit
( page: import("@playwright/test").Page, input: { content: string; parentEventId?: string | null;
desktop/tests/e2e/live-broadcast-reply-timeline.spec.ts:55
↓ 13 callersFunctionevent_kind_u32
Extract the kind from a nostr Event as u32. NIP-01 specifies kind as an unsigned integer; u32 covers the full range.
crates/buzz-core/src/kind.rs:638
↓ 13 callersFunctionformatPubkey
(pubkey: string)
desktop/src/features/channels/lib/memberUtils.ts:11
↓ 13 callersFunctionformatShortMonthDayOrdinal
(unixSeconds: number)
desktop/src/features/messages/lib/dateFormatters.ts:101
↓ 13 callersFunctiongen_keypair
Generate a random keypair; returns `(SecretKey, pubkey_hex)`.
crates/buzz-pair-relay/tests/integration.rs:90
↓ 13 callersFunctiongetTimelineMetrics
(page: Page)
desktop/tests/e2e/stream.spec.ts:17
← previousnext →301–400 of 12,195, ranked by callers