MCPcopy Index your code

hub / github.com/block/buzz / functions

Functions12,195 in github.com/block/buzz

↓ 13 callersFunctionhastImg
(src)
desktop/src/shared/ui/markdown.test.mjs:323
↓ 13 callersFunctionisRelayUnreachableError
(error: unknown)
desktop/src/shared/lib/relayError.ts:26
↓ 13 callersFunctionload_pack
Load a persona pack from a directory. 1. Read and parse `.plugin/plugin.json` 2. For each persona path in the manifest, read the `.persona.md` file 3
crates/buzz-persona/src/pack.rs:125
↓ 13 callersFunctionmake_test_community
(pool: &PgPool)
crates/buzz-db/src/event.rs:1444
↓ 13 callersFunctionmk
(items: &[(&str, bool)])
crates/buzz-dev-mcp/src/todo.rs:254
↓ 13 callersFunctionmsg
(over = {})
desktop/src/features/messages/lib/rowHeightEstimate.test.mjs:9
↓ 13 callersFunctionopenGeneral
(page: import("@playwright/test").Page)
desktop/tests/e2e/custom-emoji.spec.ts:20
↓ 13 callersFunctionparseMutePayload
(json: unknown)
desktop/src/features/sidebar/lib/channelMutesStorage.ts:22
↓ 13 callersFunctionparseStarPayload
(json: unknown)
desktop/src/features/sidebar/lib/channelStarsStorage.ts:22
↓ 13 callersFunctionparseToolResultValue
(result: string)
desktop/src/features/agents/ui/agentSessionUtils.ts:185
↓ 13 callersFunctionparse_json_persona
(json_bytes: &[u8])
desktop/src-tauri/src/managed_agents/persona_card.rs:221
↓ 13 callersFunctionprocess_is_running
(pid: u32)
desktop/src-tauri/src/managed_agents/runtime.rs:75
↓ 13 callersMethodpubkey
This session's ephemeral public key.
crates/buzz-core/src/pairing/session.rs:491
↓ 13 callersMethodpublishSections
(store: ChannelSectionStore)
desktop/src/features/sidebar/lib/channelSectionsSync.ts:83
↓ 13 callersMethodquery_events
Queries events matching the given filter parameters.
crates/buzz-db/src/lib.rs:484
↓ 13 callersFunctionreconcile_mcp_commands_in_file
(path: &Path)
desktop/src-tauri/src/migration.rs:991
↓ 13 callersMethodrecv_for_id
(&mut self, id: i64)
crates/buzz-agent/tests/golden_transcripts.rs:85
↓ 13 callersMethodregister
( &self, conn_id: Uuid, tx: mpsc::Sender<WsMessage>, cancel: CancellationToken
crates/buzz-relay/src/state.rs:67
↓ 13 callersFunctionregister_conn
(state: &AppState, pubkey: Option<Vec<u8>>)
crates/buzz-relay/src/handlers/event.rs:1966
↓ 13 callersFunctionresolve_channel_filters
Resolve per-channel NIP-01 filters from config + discovered channels.
crates/buzz-acp/src/config.rs:1117
↓ 13 callersFunctionresponses_body
( cfg: &Config, system_prompt: &str, history: &[HistoryItem], tools: &[ToolDef], effective
crates/buzz-agent/src/llm.rs:574
↓ 13 callersFunctionsave_key_file
Atomically write the key to disk. Uses `atomic-write-file` which: 1. Writes to a temp file in the same directory 2. Calls fsync on the file 3. Renames
desktop/src-tauri/src/app_state.rs:550
↓ 13 callersFunctionsetup_sync_layout
()
desktop/src-tauri/src/migration_tests.rs:69
↓ 13 callersFunctionthree_pubkeys
Three real x-only pubkeys (valid for `PublicKey::from_hex`). Distinct, so we can label them clearly in tests.
crates/buzz-relay/src/handlers/req.rs:1492
↓ 13 callersFunctionuniformReadAt
(seconds)
desktop/src/features/messages/lib/unreadMarker.test.mjs:20
↓ 13 callersFunctionurl_encode
Percent-encode a relay URL for use as a query parameter value. Uses `percent-encoding` crate's `NON_ALPHANUMERIC` set, which encodes everything excep
crates/buzz-core/src/pairing/qr.rs:228
↓ 13 callersFunctionwaitForMockLiveSubscription
( page: import("@playwright/test").Page, channelName: string, )
desktop/tests/e2e/thread-unread.spec.ts:11
↓ 12 callersFunctionany_channel
()
crates/buzz-acp/src/filter.rs:487
↓ 12 callersFunctionapplyEditTagOverlay
(originalTags, editTags)
desktop/src/features/messages/lib/applyEditTagOverlay.mjs:31
↓ 12 callersFunctionbuildTranscriptDisplayBlocks
( items: TranscriptItem[], )
desktop/src/features/agents/ui/agentSessionTranscriptGrouping.ts:199
↓ 12 callersFunctionbuild_contact_list
Build a contact list replacement event (kind:3, NIP-02). Each contact is `(pubkey_hex, relay_url, petname)`. `pubkey_hex` must be exactly 64 hex char
crates/buzz-sdk/src/builders.rs:719
↓ 12 callersFunctioncall_load_skill
Execute a `load_skill` call. Returns a `ToolResult` on success or a user-visible error result if the skill is not found or cannot be read.
crates/buzz-agent/src/builtin.rs:41
↓ 12 callersFunctionchannelWindowKey
(channelId: string)
desktop/src/features/messages/lib/messageQueryKeys.ts:7
↓ 12 callersFunctioncheck_commit_hex
Validate a git commit-like hex id (commit, parent-commit, euc, merge-commit, applied-as-commit). Git object ids are full SHA-1 (40 hex chars) or SHA-2
crates/buzz-sdk/src/builders.rs:56
↓ 12 callersFunctioncheck_pubkey
Validate a hex pubkey is exactly 64 hex characters.
desktop/src-tauri/src/events.rs:130
↓ 12 callersFunctioncid
(u: u128)
crates/buzz-conformance/src/checker.rs:144
↓ 12 callersMethodclear_session_cache
(&self, pubkey: &str)
desktop/src-tauri/src/app_state.rs:134
↓ 12 callersFunctioncommandsMatch
(left: string, right: string)
desktop/src/features/agents/agentReuse.ts:22
↓ 12 callersMethodconfirm_sas
(Source) User confirmed the SAS codes match. Build the `sas-confirm` event to publish.
crates/buzz-core/src/pairing/session.rs:200
↓ 12 callersFunctioncreate_test_channel
Create a real channel in the DB via REST so the relay accepts events for it.
crates/buzz-test-client/tests/e2e_nostr_interop.rs:44
↓ 12 callersFunctionderive_session_id
Derive the session ID from the session secret. ```text session_id = HKDF-SHA256(IKM=session_secret, salt=[], info="nostr-pair-session-id", L=32) ```
crates/buzz-core/src/pairing/crypto.rs:54
↓ 12 callersFunctionemitMockLiveEvent
(channelId: string, event: RelayEvent)
desktop/src/testing/e2eBridge.ts:3177
↓ 12 callersFunctionev
(tags, createdAt = 1)
desktop/src/shared/api/customEmoji.test.mjs:12
↓ 12 callersFunctionformatTranscriptTimestampTitle
( isoTimestamp: string, )
desktop/src/features/agents/ui/agentSessionUtils.ts:261
↓ 12 callersFunctionfriendlyAgentLastError
( raw: string | null, )
desktop/src/features/agents/lib/friendlyAgentLastError.ts:40
↓ 12 callersFunctiongetAngle
(circle: AvatarBadgeCircle, point: Point)
desktop/src/features/profile/ui/MaskedAvatarBadgeFrame.tsx:115
↓ 12 callersFunctiongetMockMessageStore
(channelId: string)
desktop/src/testing/e2eBridge.ts:2886
↓ 12 callersMethodhandle_payload
(Target) Process the payload event from the source. Only one payload is accepted per session — after this call the state advances to [`SessionState::
crates/buzz-core/src/pairing/session.rs:388
↓ 12 callersMethodhandle_sas_confirm
(Target) Process the `sas-confirm` event from the source. Verifies the transcript hash and returns the SAS code for the user to visually confirm. The
crates/buzz-core/src/pairing/session.rs:329
↓ 12 callersMethodis_member_cached
Check channel membership with a 10-second cache. Falls back to DB on miss.
crates/buzz-relay/src/state.rs:477
↓ 12 callersFunctionkeys_from_hex
(s: &str)
crates/buzz-core/src/engram.rs:611
↓ 12 callersFunctionmakeChannel
(overrides = {})
desktop/src/features/onboarding/welcome.test.mjs:15
↓ 12 callersFunctionmakeEvent
(tags = [], overrides = {})
desktop/src/features/notifications/lib/shouldNotifyChannelMutes.test.mjs:15
↓ 12 callersFunctionmakeStore
(overrides = {})
desktop/src/features/sidebar/lib/channelSectionsStorage.test.mjs:25
↓ 12 callersFunctionmake_engram
(tags: &[&[&str]], content: &str)
crates/buzz-relay/src/handlers/ingest.rs:2533
↓ 12 callersFunctionmake_event
Build a minimal test event with the given kind and content.
crates/buzz-acp/src/filter.rs:469
↓ 12 callersFunctionmake_event_with_tags
(kind: u32, content: &str, tags: &[&[&str]])
crates/buzz-relay/src/handlers/ingest.rs:2503
↓ 12 callersFunctionmake_nip98_event
( keys: &Keys, url: &str, method: &str, payload_hex: Option<&str>, cre
crates/buzz-auth/src/nip98.rs:163
↓ 12 callersFunctionmake_persona
(tags: &[&[&str]])
crates/buzz-relay/src/handlers/ingest.rs:2871
↓ 12 callersFunctionmake_request
()
crates/buzz-relay/src/api/git/policy.rs:425
↓ 12 callersFunctionnest_dir
Returns the nest root path (`~/.buzz` for prod, `~/.buzz-dev` for dev), or `None` if the home directory cannot be resolved. If [`init_nest_dir`] has
desktop/src-tauri/src/managed_agents/nest.rs:99
↓ 12 callersFunctionnew_entry
(community_id: Uuid, action: AuditAction)
crates/buzz-audit/src/service.rs:285
↓ 12 callersFunctionnormalizeOptionalText
(value: string | null | undefined)
desktop/src/features/agents/ui/personaImportPlan.ts:28
↓ 12 callersFunctionnormalizeShortcode
(raw: string)
desktop/src/shared/api/customEmoji.ts:51
↓ 12 callersFunctionparseNotBefore
(raw: string)
desktop/src/features/reminders/lib/reminderService.ts:46
↓ 12 callersFunctionpersona_d_tag
Derive the d-tag (persona slug) from a `PersonaRecord`. Uses `source_team_persona_slug` if available, otherwise falls back to `id`, then normalizes t
desktop/src-tauri/src/managed_agents/persona_events.rs:51
↓ 12 callersMethodrequeue_as_cancelled
Requeue a cancelled batch so its events appear as `cancelled_events` in the next `FlushBatch` for this channel (enabling the annotated merged-prompt f
crates/buzz-acp/src/queue.rs:498
↓ 12 callersFunctionsetLocalStorageItemWithRecovery
( key: string, value: string, )
desktop/src/shared/lib/localStorageQuota.ts:54
↓ 12 callersFunctionspawn_fake_llm
(responses: Vec<Value>)
crates/buzz-agent/tests/golden_transcripts.rs:110
↓ 12 callersFunctionstart
()
desktop/src/shared/ui/SpoilerParticles.tsx:138
↓ 12 callersFunctionstorageKey
(relayUrl: string, pubkey: string)
desktop/src/features/profile/lib/selfProfileStorage.ts:63
↓ 12 callersFunctionstripImetaMediaLines
( body: string, imetaMedia: ReadonlyArray<ImetaMedia>, )
desktop/src/features/messages/lib/imetaMediaMarkdown.ts:153
↓ 12 callersMethodsubscribeLive
( filter: RelaySubscriptionFilter, onEvent: (event: RelayEvent) => void, )
desktop/src/shared/api/relayClientSession.ts:423
↓ 12 callersMethodsummary
Human-readable summary (no secrets).
crates/buzz-acp/src/config.rs:991
↓ 12 callersFunctionsync_files
(canonical: &Path, worktree: &Path)
desktop/src-tauri/src/migration_tests.rs:102
↓ 12 callersFunctionsync_managed_agent_processes
( records: &mut [ManagedAgentRecord], runtimes: &mut HashMap<String, ManagedAgentProcess>, instanc
desktop/src-tauri/src/managed_agents/runtime.rs:1345
↓ 12 callersFunctiontest_state
()
crates/buzz-relay/src/handlers/event.rs:1320
↓ 12 callersFunctionunreadTimestamp
()
desktop/tests/e2e/thread-unread.spec.ts:85
↓ 12 callersFunctionvalidate_engram_envelope
Validate the public envelope of a NIP-AE `kind:30174` event before it reaches NIP-33 parameterized replacement. We deliberately do this here (not in
crates/buzz-relay/src/handlers/ingest.rs:894
↓ 12 callersFunctionvalidate_repo_id
Validate a git repo identifier: `[a-zA-Z0-9._-]{1,64}`, no leading dots, no `..`.
crates/buzz-cli/src/validate.rs:39
↓ 12 callersFunctionwrite_personas_json
(dir: &Path, records: &serde_json::Value)
desktop/src-tauri/src/migration_test_support.rs:40
↓ 11 callersFunctionassertMatchesTextBetween
(d, p)
desktop/src/features/messages/lib/plainTextProjection.test.mjs:35
↓ 11 callersFunctionbuild_event
Build a signed `kind:30174` event for a given body. `created_at` is the timestamp to sign — callers MUST supply a value respecting the *Writing* mono
crates/buzz-core/src/engram.rs:435
↓ 11 callersFunctionbuild_ref_state_event
Build & sign a kind:30618 event from the manifest's ref state. Signed with `relay_keys` — the relay is the authoritative source of ref state for repo
crates/buzz-relay/src/api/git/manifest_event.rs:70
↓ 11 callersFunctioncandidate
(overrides = {})
desktop/src/features/messages/lib/mentionRanking.test.mjs:9
↓ 11 callersFunctioncfg_responses
()
crates/buzz-agent/src/llm.rs:1226
↓ 11 callersFunctioncollectRuntimeWarnings
( personas: readonly { runtime: string | null }[], runtimes: readonly AcpRuntime[], fallbackRuntime: Acp
desktop/src/features/agents/lib/resolvePersonaRuntime.ts:97
↓ 11 callersFunctioncomputeThreadReplyUnreadCounts
(params: { timelineMessages: TimelineMessage[]; subtreeReplyIds: Iterable<string>; visibleReplyIds: Iter
desktop/src/features/channels/lib/threadReplyUnreadCounts.ts:28
↓ 11 callersFunctioneffective_agent_command
Resolve the agent command (harness) for a spawn/deploy/summary. The linked persona wins so persona harness edits propagate on the next spawn. An expli
desktop/src-tauri/src/managed_agents/discovery.rs:296
↓ 11 callersFunctionemitMockMessage
( page: import("@playwright/test").Page, channelName: string, content: string, options?: { parentE
desktop/tests/e2e/thread-reply-anchor-roleplay.spec.ts:37
↓ 11 callersFunctionemojiDisplayName
(emoji: string)
desktop/src/shared/lib/emojiName.ts:28
↓ 11 callersFunctionencode_persona_json
( display_name: &str, system_prompt: &str, avatar_url: Option<&str>, runtime: Option<&str>,
desktop/src-tauri/src/managed_agents/persona_card.rs:238
↓ 11 callersFunctionerror_result
(msg: &str)
crates/buzz-agent/src/builtin.rs:232
↓ 11 callersFunctionevent
({ id, kind = 9, createdAt, tags, content = "" })
desktop/src/features/messages/lib/messageQueryKeys.test.mjs:12
↓ 11 callersFunctionevent
(tags: serde_json::Value)
crates/buzz-cli/src/commands/channels.rs:676
↓ 11 callersFunctionextractSupportedLinkPreviews
( content: string, )
desktop/src/shared/lib/linkPreview.ts:475
↓ 11 callersFunctionextract_nostr_uris
Extract pubkeys from NIP-27 `nostr:npub1…` URIs in content. Scans `content` (which should already have code regions stripped via [`strip_code_regions
crates/buzz-sdk/src/mentions.rs:353
↓ 11 callersFunctionfilter_fanout_by_access
Drop recipients without access before fan-out on a private channel. Open and channel-less events skip membership filtering (open channel-scoped event
crates/buzz-relay/src/handlers/event.rs:114
↓ 11 callersFunctionfmt
(value: float)
perf/relay_bus_scaling.py:93
↓ 11 callersFunctionformatElapsed
(ms: number)
desktop/src/features/agents/ui/agentSessionUtils.ts:299
← previousnext →401–500 of 12,195, ranked by callers