MCPcopy Index your code

hub / github.com/block/buzz / functions

Functions12,195 in github.com/block/buzz

↓ 37 callersFunctionresolveUserLabel
(input: { pubkey: string; currentPubkey?: string; fallbackName?: string | null; profiles?: UserProfile
desktop/src/features/profile/lib/identity.ts:45
↓ 36 callersFunctionbuildTranscript
(events: ObserverEvent[])
desktop/src/features/agents/ui/agentSessionTranscript.ts:1161
↓ 36 callersFunctionformat_prompt
Format a [`FlushBatch`] into the per-section prompt blocks for the agent. Produces a stable prompt with these sections (in order): 0. `[Base]` — base
crates/buzz-acp/src/queue.rs:1337
↓ 36 callersFunctioninternal_error
(msg: &str)
crates/buzz-relay/src/api/mod.rs:19
↓ 36 callersFunctionload_managed_agents
(app: &AppHandle)
desktop/src-tauri/src/managed_agents/storage.rs:150
↓ 35 callersMethodfetchEvents
(filter: RelaySubscriptionFilter)
desktop/src/shared/api/relayClientSession.ts:197
↓ 35 callersFunctioninstallRelayBridge
( page: Page, user: keyof typeof TEST_IDENTITIES = "tyler", options?: { seedPreviewFeatures?: boolean },
desktop/tests/helpers/bridge.ts:515
↓ 35 callersFunctionreject
(wire_tx: &WireSender, id: Value, code: i32, message: &str)
crates/buzz-agent/src/lib.rs:461
↓ 34 callersFunctionanthropic_thinking_config
Build the Anthropic thinking/effort request fields for the given model and effort level. API shape selection (per Anthropic extended-thinking support
crates/buzz-agent/src/config.rs:97
↓ 34 callersFunctionbuildPlainTextProjection
( doc: ProseMirrorNode, )
desktop/src/features/messages/lib/plainTextProjection.ts:90
↓ 34 callersMethoddisconnect
* Cleanly tear down the connection without scheduling a reconnect. * Used during workspace switches to reset the singleton before the * new work
desktop/src/shared/api/relayClientSession.ts:103
↓ 34 callersFunctiongetIdentity
(config: E2eConfig | undefined)
desktop/src/testing/e2eBridge.ts:2690
↓ 34 callersFunctionmake_stored_event
(kind: Kind, channel_id: Option<Uuid>)
crates/buzz-relay/src/subscription.rs:565
↓ 34 callersMethodrecv_until
(&mut self, mut pred: F)
crates/buzz-agent/tests/regressions.rs:158
↓ 34 callersFunctionrelay_url
()
crates/buzz-test-client/tests/e2e_relay.rs:26
↓ 33 callersFunctiongit
Run `git` with the Buzz credential helper and isolated config. Asserts the command succeeds; returns stdout.
crates/buzz-test-client/tests/e2e_git.rs:95
↓ 33 callersMethodparse
Parse `<id>`, `<id>:<relay-url>`, or `<id>:<relay-url>:<pubkey>`. The relay-url segment may itself contain `:` (e.g. `wss://host:port`), so splitting
crates/buzz-sdk/src/builders.rs:1087
↓ 33 callersMethodsend
(&mut self, method: &str, params: Value)
crates/buzz-agent/tests/fake_llm.rs:176
↓ 33 callersMethodstart
Idempotent. Safe to call from `connect()` completion.
desktop/src/shared/api/relayStallWatchdog.ts:36
↓ 32 callersMethodclose
()
desktop/tests/helpers/bridge.ts:441
↓ 32 callersFunctioncreateMockMember
( pubkey: string, role: RawChannelMember["role"], joinedMinutesAgo: number, )
desktop/src/testing/e2eBridge.ts:884
↓ 32 callersFunctionfakeElement
(type, props = {})
desktop/src/shared/ui/markdown.test.mjs:30
↓ 32 callersFunctioninsert_event
( pool: &PgPool, community: CommunityId, id: [u8; 32], pubkey: [u8; 32], kind: i32, co
crates/buzz-search/tests/fts_integration.rs:84
↓ 32 callersMethodload
(&self, name: &str)
desktop/src-tauri/src/managed_agents/storage.rs:73
↓ 32 callersMethodrun
(&mut self, prompt: Vec<ContentBlock>)
crates/buzz-agent/src/agent.rs:60
↓ 32 callersFunctionshouldNotifyForEvent
( event: RelayEvent, currentPubkey: string, options: NotifyOptions, )
desktop/src/features/notifications/lib/shouldNotify.ts:28
↓ 31 callersFunctionasRecord
(value: unknown)
desktop/src/features/agents/ui/agentSessionUtils.ts:101
↓ 31 callersFunctionthreadReplyLength
(valueRem: number)
desktop/src/features/messages/lib/threadTreeLayout.ts:28
↓ 30 callersFunctionhex
(char)
desktop/src/features/messages/lib/auxBackfill.test.mjs:25
↓ 30 callersFunctionmap
(pairs: &[(&str, &str)])
desktop/src-tauri/src/managed_agents/env_vars/tests.rs:9
↓ 30 callersFunctionparse_persona_md
Parse a `.persona.md` file into a [`PersonaConfig`]. Expects YAML frontmatter between `---` delimiters followed by a markdown body. The body becomes
crates/buzz-persona/src/persona.rs:208
↓ 30 callersMethodrecv_event
Receives the next relay message, waiting up to `timeout_dur`.
crates/buzz-test-client/src/lib.rs:171
↓ 30 callersFunctionsubmit_event_http
Submit an event via the HTTP bridge and return (accepted, message).
crates/buzz-test-client/tests/e2e_event_reminder.rs:92
↓ 30 callersMethodwarn
(&mut self, msg: impl Into<String>)
crates/buzz-persona/src/validate.rs:45
↓ 29 callersFunctionat
(ms)
desktop/src/features/agents/activeAgentTurnsStore.test.mjs:663
↓ 29 callersMethodfan_out
(&self, event: &StoredEvent)
crates/buzz-relay/src/subscription.rs:333
↓ 29 callersFunctionhttp_client
()
crates/buzz-test-client/tests/e2e_event_reminder.rs:44
↓ 29 callersFunctionmakeAgent
(overrides = {})
desktop/src/features/agents/agentReuse.test.mjs:17
↓ 29 callersFunctionmakeEvent
Returns a minimal RelayEvent with the given tags.
desktop/src/features/notifications/lib/shouldNotify.test.mjs:17
↓ 29 callersFunctionretain_event
Upsert a persona event into the retention store. Only replaces if the new event has a newer or equal `created_at` (NIP-33 semantics).
desktop/src-tauri/src/managed_agents/retention.rs:70
↓ 29 callersFunctionsave_managed_agents
(app: &AppHandle, records: &[ManagedAgentRecord])
desktop/src-tauri/src/managed_agents/storage.rs:223
↓ 29 callersMethodsend
Send the result and disarm the guard. Uses `try_send` (sync) so there is no await boundary between marking `sent` and actually enqueueing — cancellati
crates/buzz-acp/src/lib.rs:1020
↓ 29 callersFunctionsendWsText
(handler: WsHandler, payload: unknown[])
desktop/src/testing/e2eBridge.ts:2763
↓ 29 callersMethodspawn
Spawn the agent binary as a subprocess and connect to its stdio pipes. After spawning, call [`initialize`](Self::initialize) before any other method.
crates/buzz-acp/src/acp.rs:205
↓ 29 callersFunctiontopLevel
(id, createdAt)
desktop/src/features/messages/lib/unreadMarker.test.mjs:9
↓ 28 callersFunctionacpToolUpdate
(seq, update)
desktop/src/features/agents/ui/agentSessionTranscript.test.mjs:22
↓ 28 callersFunctionautocomplete
Locator scoped to the mention autocomplete dropdown inside the composer.
desktop/tests/e2e/mentions.spec.ts:32
↓ 28 callersFunctioncfg
(provider: Provider)
crates/buzz-agent/src/llm.rs:1151
↓ 28 callersFunctionchannel
(i: u128)
crates/buzz-conformance/tests/proptest_checker.rs:59
↓ 28 callersFunctionensure_nest_at
Creates a Buzz nest at the given `root` path. - Creates the root directory and all subdirectories. - Writes `AGENTS.md` only if it doesn't already ex
desktop/src-tauri/src/managed_agents/nest.rs:135
↓ 28 callersFunctionget
()
desktop/tests/e2e/video-attachment.spec.ts:117
↓ 28 callersFunctionhexToHsl
(hex: string)
desktop/src/shared/theme/adaptive-theme.ts:141
↓ 28 callersFunctionmake_event
Build a test event with the given content and kind.
crates/buzz-acp/src/queue.rs:1555
↓ 28 callersFunctionpage
(startCursor, rows, { aux = [], hasMore = true } = {})
desktop/src/features/messages/lib/channelWindowStore.test.mjs:25
↓ 28 callersFunctionwrite_agents_json
(dir: &Path, records: &serde_json::Value)
desktop/src-tauri/src/migration_test_support.rs:26
↓ 27 callersMethodabort
Build an abort event. Returns `None` if no peer is known yet (nothing to encrypt to), but still transitions to [`SessionState::Aborted`]. Rejects cal
crates/buzz-core/src/pairing/session.rs:430
↓ 27 callersFunctionemptyChannelWindowStore
()
desktop/src/features/messages/lib/channelWindowStore.ts:39
↓ 27 callersFunctionev
Build a signed event for testing with the given kind, content, and tags.
desktop/src-tauri/src/nostr_convert.rs:583
↓ 27 callersMethodflush
(&mut self)
crates/buzz-acp/src/lib.rs:406
↓ 27 callersFunctiongetTag
(name: string)
desktop/src/testing/e2eBridge.ts:4488
↓ 27 callersFunctionread
(pubkey: string)
desktop/src/features/channels/unreadRootIdStore.ts:6
↓ 27 callersMethodrecv
(&mut self)
crates/buzz-agent/tests/fake_llm.rs:191
↓ 27 callersFunctionreminder
* Build a Reminder fixture. `notBefore` and `status` are the only fields the * filters read besides `createdAt` (for done-group ordering).
desktop/src/features/reminders/lib/reminderFilters.test.mjs:15
↓ 27 callersFunctionresolve_template
Resolve `{{trigger.X}}` and `{{steps.ID.output.X}}` placeholders in a string. Supports filters: - `| truncate(N)` — truncate to N characters - `| tru
crates/buzz-workflow/src/executor.rs:68
↓ 27 callersMethodsend_text_message
Builds and sends a text message event to `channel_id` using the given `kind`.
crates/buzz-test-client/src/lib.rs:127
↓ 26 callersFunctioncommandCount
(commands: string[], command: string)
desktop/tests/e2e/mentions.spec.ts:62
↓ 26 callersFunctiondoc
(...content)
desktop/src/features/messages/lib/plainTextProjection.test.mjs:29
↓ 26 callersFunctiongetToolString
( record: Record<string, unknown>, keys: string[], )
desktop/src/features/agents/ui/agentSessionUtils.ts:3
↓ 26 callersFunctionhasMention
(text: string, name: string)
desktop/src/features/messages/lib/hasMention.ts:19
↓ 26 callersMethodparse
Parse a raw JSON WebSocket frame into a [`ClientMessage`].
crates/buzz-relay/src/protocol.rs:41
↓ 26 callersFunctionresolve
(specifier, context, nextResolve)
desktop/test-loader-hooks.mjs:54
↓ 26 callersFunctionrewriteRelayUrl
(url: string)
desktop/src/shared/lib/mediaUrl.ts:99
↓ 26 callersFunctionseedActiveIdentity
(page: Page, identity: TestIdentity)
desktop/tests/e2e/onboarding.spec.ts:89
↓ 26 callersFunctionsymlink
(src: &Path, dst: &Path)
desktop/src-tauri/src/migration.rs:45
↓ 25 callersFunctionbuild_reminder
Build a valid kind:30300 reminder event with the given tags.
crates/buzz-test-client/tests/e2e_event_reminder.rs:52
↓ 25 callersFunctiondayAt
(year, month, day, hour = 12)
desktop/src/features/messages/lib/timelineSnapshot.test.mjs:21
↓ 25 callersFunctiondayAt
(year, month, day, hour = 12)
desktop/src/features/messages/lib/timelineItems.test.mjs:11
↓ 25 callersFunctionevaluate_condition
Evaluate a boolean `if:` expression against the current execution context. Returns `true` if the step should run, `false` if it should be skipped. T
crates/buzz-workflow/src/executor.rs:364
↓ 25 callersFunctionevent_id
()
crates/buzz-sdk/src/builders.rs:1527
↓ 25 callersFunctionopen_retention_db
Open (or create) the retention database at the given path. Sets WAL journaling and a `busy_timeout` on every connection so the flush-loop connection
desktop/src-tauri/src/managed_agents/retention.rs:29
↓ 25 callersFunctionrelay_url
()
crates/buzz-test-client/tests/e2e_nostr_interop.rs:27
↓ 25 callersFunctionreplyTag
(id)
desktop/src/features/notifications/lib/shouldNotify.test.mjs:31
↓ 25 callersFunctiontest_config
Build a minimal Config for testing without CLI parsing.
crates/buzz-acp/src/config.rs:1317
↓ 25 callersFunctionvalidate_pack
Validate a persona pack directory. Step 1: delegate all structural validation to `load_pack()`. If loading fails, the pack is broken — report the err
crates/buzz-persona/src/validate.rs:143
↓ 24 callersFunctionbuildHighlightPatterns
( names: string[], channelNames: string[], )
desktop/src/features/messages/lib/mentionHighlightExtension.ts:97
↓ 24 callersFunctiondecode_qr
Decode a `nostrpair://` URI into a [`QrPayload`]. # Errors Returns [`PairingError::InvalidQr`] if: - The scheme is not `nostrpair` - The public key
crates/buzz-core/src/pairing/qr.rs:104
↓ 24 callersFunctionentry
(overrides)
desktop/src/features/messages/lib/timelineItems.test.mjs:34
↓ 24 callersMethodinvalidate
Invalidate the session (and turn counter) for a specific prompt source.
crates/buzz-acp/src/pool.rs:96
↓ 24 callersFunctionobserved
( id, createdAt, rootId = null, highPriority = false, countsTowardBadge = true, countsTowardAppBad
desktop/src/features/channels/unreadReadMarker.test.mjs:204
↓ 24 callersFunctionrelayQuery
* Query the relay via POST /query (pure Nostr HTTP bridge). * Returns an array of raw Nostr events matching the filters.
desktop/src/testing/e2eBridge.ts:4394
↓ 24 callersFunctionresolvePersonaRuntime
( personaRuntimeId: string | undefined | null, runtimes: readonly AcpRuntime[], defaultRuntime: AcpRunti
desktop/src/features/agents/lib/resolvePersonaRuntime.ts:33
↓ 24 callersMethodshutdown
(mut self)
crates/buzz-agent/tests/regressions.rs:167
↓ 23 callersFunctionbuildCompactToolSummary
(item: ToolItem)
desktop/src/features/agents/ui/agentSessionToolSummary.ts:62
↓ 23 callersMethoddecode
(&mut self, encoded: &[u8])
desktop/src-tauri/src/huddle/jitter.rs:115
↓ 23 callersMethodemit
Emit a local observer event.
crates/buzz-acp/src/observer.rs:99
↓ 23 callersFunctionget_retained_event
Look up a single retained event by its coordinate.
desktop/src-tauri/src/managed_agents/retention.rs:288
↓ 23 callersFunctionhex
(char)
desktop/src/features/messages/lib/renderScopedReactions.test.mjs:16
↓ 23 callersFunctionisoMinutesAgo
(minutesAgo: number)
desktop/src/testing/e2eBridge.ts:829
↓ 23 callersFunctionmsg
(id, parentId, rootId, createdAt = 100, pubkey = "author")
desktop/src/features/channels/lib/threadBadgeInvariants.test.mjs:23
↓ 23 callersFunctionopenSettings
(page: Page, section?: SettingsSection)
desktop/tests/helpers/settings.ts:22
← previousnext →101–200 of 12,195, ranked by callers