MCPcopy Create free account

hub / github.com/block/buzz / functions

Functions12,195 in github.com/block/buzz

↓ 11 callersFunctionformatTimecode
( seconds: number, options: { fractionalDigits?: number; trimZeroFraction?: boolean } = {}, )
desktop/src/shared/ui/VideoPlayer.tsx:131
↓ 11 callersFunctionformatTtlDuration
(ttlSeconds: number)
desktop/src/features/channels/lib/ephemeralChannel.ts:222
↓ 11 callersFunctiongenerate_challenge
Generate a random NIP-42 challenge (32 CSPRNG bytes, hex-encoded).
crates/buzz-auth/src/nip42.rs:38
↓ 11 callersFunctiongetMockChannel
(channelId: string)
desktop/src/testing/e2eBridge.ts:1827
↓ 11 callersFunctiongetTag
(event, name)
desktop/src/features/projects/projectIssues.mjs:14
↓ 11 callersFunctionglobal_model_manager
Return a reference to the process-global `ModelManager`.
desktop/src-tauri/src/huddle/models.rs:865
↓ 11 callersMethodhost
The host that resolved to this community. Authoritative for the NIP-05 domain and audit labelling; never re-derive the community from it downstream —
crates/buzz-core/src/tenant.rs:95
↓ 11 callersFunctionisMessageLink
(href: string | undefined | null)
desktop/src/features/messages/lib/messageLink.ts:101
↓ 11 callersFunctionli
(...c)
desktop/src/features/messages/lib/plainTextProjection.test.mjs:26
↓ 11 callersFunctionmakeSection
(overrides = {})
desktop/src/features/sidebar/lib/channelSectionsStorage.test.mjs:34
↓ 11 callersFunctionmake_community
Insert a community with a unique host. Returns its `CommunityId`.
crates/buzz-db/src/workflow.rs:1710
↓ 11 callersFunctionmake_payload
(relays: Vec<String>)
crates/buzz-core/src/pairing/qr.rs:250
↓ 11 callersMethodmark_local_event
Record an event ID as locally-published for dedup, scoped to the community it was fanned out in. Called before Redis publish so the multi-node consume
crates/buzz-relay/src/state.rs:471
↓ 11 callersFunctionmergeLiveChannelWindowEvent
( current: ChannelWindowStore, event: RelayEvent, isTimelineRow = true, )
desktop/src/features/messages/lib/channelWindowStore.ts:183
↓ 11 callersFunctionopenObserverFeedPanel
( page: import("@playwright/test").Page, agentPubkey: string, )
desktop/tests/e2e/observer-feed-screenshots.spec.ts:33
↓ 11 callersFunctionpTag
(pubkey)
desktop/src/features/notifications/lib/shouldNotify.test.mjs:32
↓ 11 callersFunctionparseChannelWindowResponse
( events: RelayEvent[], channelId: string, startCursor: ChannelWindowCursor | null, )
desktop/src/features/messages/lib/channelWindowResponse.ts:85
↓ 11 callersFunctionparseMessageLink
(url: string)
desktop/src/features/messages/lib/messageLink.ts:62
↓ 11 callersFunctionparseSupportedLinkPreview
( href: string, )
desktop/src/shared/lib/linkPreview.ts:417
↓ 11 callersFunctionparse_channel_uuid
(channel_id: &str)
desktop/src-tauri/src/commands/channels.rs:401
↓ 11 callersFunctionparse_png_persona
(png_bytes: &[u8])
desktop/src-tauri/src/managed_agents/persona_card.rs:36
↓ 11 callersFunctionparse_thread_tags
Parse NIP-10 thread tags from a Nostr event. Detection logic (per research doc §4c): - Find an `e` tag with `root` marker → its value is `root_event_
crates/buzz-acp/src/queue.rs:789
↓ 11 callersFunctionpost
(http: &Client, url: &str, body: &Value, apply: F)
crates/buzz-agent/src/llm.rs:1009
↓ 11 callersFunctionpost_signed_event
Submit a signed command event via REST and assert it was accepted.
crates/buzz-test-client/tests/e2e_nostr_interop.rs:150
↓ 11 callersFunctionprocess_belongs_to_us
(pid: u32)
desktop/src-tauri/src/managed_agents/runtime.rs:91
↓ 11 callersMethodput_pointer
Write the pointer under a precondition (§Push step 7 — the CAS). Returns `CasOutcome::LostRace` on 412 (the standard losing outcome). On `CasOutcome:
crates/buzz-relay/src/api/git/store.rs:461
↓ 11 callersMethodquery
Query events via the HTTP bridge: `POST /query` with NIP-98 auth. Accepts a slice of `nostr::Filter` (serialized as JSON array). Returns the events a
crates/buzz-acp/src/relay.rs:333
↓ 11 callersFunctionrandom_pubkey
()
crates/buzz-db/src/channel.rs:1382
↓ 11 callersFunctionrandom_pubkey
()
crates/buzz-db/src/user.rs:412
↓ 11 callersFunctionreadMessageSnapshot
( relayUrl: string, channelId: string, )
desktop/src/features/messages/lib/messageSnapshot.ts:55
↓ 11 callersFunctionrelay_url
()
crates/buzz-test-client/tests/e2e_persona.rs:23
↓ 11 callersFunctionrelay_ws_url_with_override
Returns the relay WebSocket URL, checking the workspace override first. Precedence: workspace override > env vars > build-time vars > default.
desktop/src-tauri/src/relay.rs:44
↓ 11 callersFunctionrender
(element)
desktop/src/shared/layout/auxiliaryPanelContext.test.mjs:18
↓ 11 callersFunctionresolve_identity_with_store
Identity resolution over an [`IdentityKeyStore`] seam. Split from [`load_or_create_identity`] so the probe/recover branches are testable without the l
desktop/src-tauri/src/app_state.rs:248
↓ 11 callersFunctionsave_personas
(app: &AppHandle, records: &[PersonaRecord])
desktop/src-tauri/src/managed_agents/personas.rs:482
↓ 11 callersFunctionseedObserverEvents
( page: import("@playwright/test").Page, agentPubkey: string, events: Array<{ seq: number; times
desktop/tests/e2e/observer-feed-screenshots.spec.ts:66
↓ 11 callersFunctionselectTimelineLoadingState
( status: TimelineQueryStatus, hasSettled = true, )
desktop/src/features/messages/lib/timelineLoadingState.ts:18
↓ 11 callersMethodsend_payload
(Source) Build the payload event carrying the secret.
crates/buzz-core/src/pairing/session.rs:227
↓ 11 callersFunctionsettleAnimations
(panel: import("@playwright/test").Locator)
desktop/tests/e2e/observer-feed-screenshots.spec.ts:93
↓ 11 callersFunctionsubscribe
Send a REQ for the given sub_id and p_hex, then consume the EOSE.
crates/buzz-pair-relay/tests/integration.rs:194
↓ 11 callersFunctiontext_content
(result: &ToolResult)
crates/buzz-agent/src/builtin.rs:246
↓ 11 callersFunctiontoRow
(e: NostrEvent)
desktop/tests/helpers/seedRelay.ts:207
↓ 11 callersFunctiontouchMockChannel
(channel: MockChannel)
desktop/src/testing/e2eBridge.ts:947
↓ 11 callersFunctionupload
(client: &Client, keys: &Keys, body: &[u8])
crates/buzz-test-client/tests/e2e_media_extended.rs:49
↓ 11 callersFunctionupsert_managed_section
(file_path: &Path, new_section_content: &str)
desktop/src-tauri/src/managed_agents/nest.rs:581
↓ 11 callersFunctionvalidate_uuid
Validate UUID string. Returns CliError::Usage on failure.
crates/buzz-cli/src/validate.rs:23
↓ 11 callersFunctionws_send_timeout
Send a WebSocket message with a hard timeout. All `ws.send()` calls go through here so a stalled TCP socket can't wedge the background task. On timeo
crates/buzz-acp/src/relay.rs:2483
↓ 10 callersFunctionappendOlderChannelWindow
( current: ChannelWindowStore, page: ChannelWindowPage, )
desktop/src/features/messages/lib/channelWindowStore.ts:125
↓ 10 callersFunctionbuildDayGroupBoundaries
( messages: readonly TimelineMessage[], )
desktop/src/features/messages/lib/timelineSnapshot.ts:110
↓ 10 callersFunctionbuild_git_patch
Build a git patch event (kind:1617, NIP-34). `content` is the verbatim output of `git format-patch` — not truncated. NIP-34 says patches SHOULD be us
crates/buzz-sdk/src/builders.rs:951
↓ 10 callersFunctioncheck_content
(content: &str)
desktop/src-tauri/src/events.rs:33
↓ 10 callersFunctionclassifyChildren
(childArray)
desktop/src/shared/ui/markdown.test.mjs:38
↓ 10 callersFunctionclassifyModelRef
(raw: string)
desktop/src/features/mesh-compute/classifyModelRef.ts:25
↓ 10 callersFunctioncleanup
()
desktop/src/features/messages/lib/useMediaUpload.ts:57
↓ 10 callersFunctioncn
(...inputs: ClassValue[])
web/src/shared/lib/cn.ts:4
↓ 10 callersFunctioncreate_dm
Create a DM via a signed kind:41010 (DM open) command event and return the channel_id UUID string parsed from the relay's `response:{...}` message.
crates/buzz-test-client/tests/e2e_nostr_interop.rs:110
↓ 10 callersFunctionderive_transcript_hash
Derive the transcript hash that binds all session parameters together. ```text transcript = session_id ‖ source_pubkey ‖ target_pubkey ‖ sas_inpu
crates/buzz-core/src/pairing/crypto.rs:89
↓ 10 callersFunctiondispatchWheelPrevented
( page: import("@playwright/test").Page, selector: string, deltas: { deltaX?: number; deltaY?: number },
desktop/tests/e2e/overscroll-boundary.spec.ts:5
↓ 10 callersFunctionemit_group_discovery_events
Emit NIP-29 group discovery events (39000, 39001, 39002) signed by the relay keypair. Called after group creation, metadata changes, or membership cha
crates/buzz-relay/src/handlers/side_effects.rs:941
↓ 10 callersMethodensureConnected
()
desktop/src/shared/api/relayClientSession.ts:471
↓ 10 callersFunctionentry
(emoji)
desktop/src/features/messages/ui/useQuickReactionEmojis.test.mjs:6
↓ 10 callersFunctionfan_out_event_to_local_subscribers
Deliver one event to this relay's local subscribers through the access gate. This is the single guarded send path for relay-local EVENT delivery. It
crates/buzz-relay/src/handlers/event.rs:217
↓ 10 callersFunctionfeedItem
(overrides)
desktop/src/features/home/useHomeInboxReadState.test.mjs:13
↓ 10 callersFunctionfindReusableGenericAgent
( agents: ManagedAgent[], command: string, channelMemberPubkeys: ReadonlySet<string>, )
desktop/src/features/agents/agentReuse.ts:62
↓ 10 callersFunctionformatThreadSummaryLastReplyTime
( unixSeconds: number, nowSeconds = Date.now() / 1_000, )
desktop/src/features/messages/lib/dateFormatters.ts:112
↓ 10 callersFunctionframe
(status, overrides = {})
desktop/src/features/agents/lib/liveSwitchOutcome.test.mjs:8
↓ 10 callersFunctiongetImportErrorLabel
(errorMessage: string | null)
desktop/src/features/agents/ui/teamDialogImportState.ts:9
↓ 10 callersMethodgetState
Current state snapshot — synchronous read.
desktop/src/shared/api/relayReconnectController.ts:112
↓ 10 callersFunctiongetThreadReferenceFromTags
(tags: string[][])
desktop/src/testing/e2eBridge.ts:2780
↓ 10 callersFunctiongetTimelineMetrics
(page: import("@playwright/test").Page)
desktop/tests/e2e/scroll-history.spec.ts:12
↓ 10 callersMethodhandle_session_update
Log a `session/update` notification via tracing. The discriminator field is `sessionUpdate` (not `type`) per the ACP schema. Returns `true` if the up
crates/buzz-acp/src/acp.rs:1210
↓ 10 callersFunctionhandshake
(h: &mut Harness)
crates/buzz-agent/tests/golden_transcripts.rs:180
↓ 10 callersFunctionisMacPlatform
()
desktop/src/shared/lib/platform.ts:7
↓ 10 callersFunctionlifecycle
(id, title, acpSource, turnId, text = "")
desktop/src/features/agents/ui/agentSessionTranscriptGrouping.test.mjs:12
↓ 10 callersFunctionmakeChannelKey
(n)
desktop/src/features/channels/readState/readStateManager.test.mjs:348
↓ 10 callersFunctionmake_config_for_validation
Build a minimal Config with the given provider and thinking_effort, bypassing from_env(). Uses `Config::for_discovery` as a base and patches the field
crates/buzz-agent/src/config.rs:1717
↓ 10 callersFunctionmake_dummy_event
()
crates/buzz-relay/src/handlers/ingest.rs:2495
↓ 10 callersFunctionmake_ok
(id: &str, ok: bool, msg: &str)
crates/buzz-pair-relay/src/lib.rs:263
↓ 10 callersFunctionmake_reminder
(tags: &[&[&str]])
crates/buzz-relay/src/handlers/ingest.rs:2733
↓ 10 callersFunctionmake_state
()
crates/buzz-acp/src/pool.rs:3279
↓ 10 callersFunctionmake_test_persona_png
Helper: build a PNG with a buzz_persona_pkg tEXt chunk for the given name/prompt.
desktop/src-tauri/src/managed_agents/persona_card.rs:553
↓ 10 callersFunctionmatchesInboxFilter
( item: { categories: readonly string[]; groupItems?: readonly FeedItem[]; item?: FeedItem; },
desktop/src/features/home/lib/inboxViewHelpers.ts:14
↓ 10 callersFunctionopenai_body
( cfg: &Config, system_prompt: &str, history: &[HistoryItem], tools: &[ToolDef], effective
crates/buzz-agent/src/llm.rs:461
↓ 10 callersFunctionparsePromptText
(text: string)
desktop/src/features/agents/ui/agentSessionTranscriptHelpers.ts:16
↓ 10 callersFunctionparse_settings
Parse a settings JSON string into a RuntimeFileConfig using the same logic as read_config_file but without touching the filesystem.
desktop/src-tauri/src/managed_agents/config_bridge/claude.rs:66
↓ 10 callersFunctionparse_zip_personas
(zip_bytes: &[u8])
desktop/src-tauri/src/managed_agents/persona_card.rs:407
↓ 10 callersFunctionpatch_json_records
Read a JSON array of objects from `path`, apply `f` to each object, and write back if any mutation returned `true`. Writes back via [`crate::managed_
desktop/src-tauri/src/migration.rs:436
↓ 10 callersFunctionpickPreferredManagedAgent
(agents: ManagedAgent[])
desktop/src/features/agents/agentReuse.ts:35
↓ 10 callersMethodrecv_until
Read messages until one matches `pred`.
crates/buzz-agent/tests/fake_llm.rs:202
↓ 10 callersMethodremove_subscription
Remove a single subscription and clean up its index entries.
crates/buzz-relay/src/subscription.rs:162
↓ 10 callersMethodreplace_addressable_event
Atomically replace a replaceable event: NIP-16 kinds (0, 3, 41, 10000–19999) and NIP-29 discovery state (39000–39002, called from side_effects.rs). K
crates/buzz-db/src/lib.rs:2289
↓ 10 callersMethodrequeue
Re-queue a batch of events that failed to process. Events are pushed back to the **front** of the channel's queue so they are processed first on the
crates/buzz-acp/src/queue.rs:385
↓ 10 callersFunctionresolveFileCard
( entry: FileCardImetaEntry | undefined, href: string | undefined, childText: string, )
desktop/src/shared/ui/markdownFileCard.ts:26
↓ 10 callersFunctionrun_git
Run `git <args>` in `cwd`, fail on non-zero exit.
crates/buzz-relay/src/api/git/hydrate.rs:380
↓ 10 callersFunctionruntime_env_vars
Project persona config into agent subprocess env vars. Pure function — does NOT read the current process env. ACP is responsible for filtering based
crates/buzz-persona/src/resolve.rs:368
↓ 10 callersMethodsend
(&mut self, method: &str, params: Value)
crates/buzz-agent/tests/hints_integration.rs:121
↓ 10 callersFunctionsend_rest_message
Send a message via a signed kind:9 event and return the event_id hex.
crates/buzz-test-client/tests/e2e_nostr_interop.rs:84
↓ 10 callersFunctionsetup_pool
()
crates/buzz-db/src/thread.rs:821
↓ 10 callersFunctionswapSectionOrder
( prev: ChannelSectionStore, sectionId: string, direction: "up" | "down", )
desktop/src/features/sidebar/lib/channelSectionsHelpers.ts:3
↓ 10 callersFunctionto_ws
Convert any base form to `ws(s)://` for WS connect.
crates/buzz-test-client/tests/conformance_multitenant.rs:924
← previousnext →501–600 of 12,195, ranked by callers