MCPcopy Create free account

hub / github.com/block/buzz / functions

Functions12,195 in github.com/block/buzz

↓ 7 callersFunctionworkflow_from_event
Convert a kind:30620 workflow definition event into a [`WorkflowWire`].
desktop/src-tauri/src/commands/workflows.rs:325
↓ 7 callersMethodwrite_ndjson
Serialize `value` as a single NDJSON line and flush to the agent's stdin. Bounded by a 30-second write timeout. If the agent stops reading stdin (e.g
crates/buzz-acp/src/acp.rs:654
↓ 6 callersFunctionagentTs
(desktopMs, skew)
desktop/src/features/agents/activeAgentTurnsStore.test.mjs:857
↓ 6 callersFunctionagents_from_events
Convert kind:10100 agent profile events to the agent discovery format. Returns a JSON array of `{pubkey, name, ...}` objects parsed from each event's
desktop/src-tauri/src/nostr_convert.rs:443
↓ 6 callersFunctionapply
(tr, oldDecorations)
desktop/src/features/messages/lib/mentionHighlightExtension.ts:40
↓ 6 callersFunctionapplyLegacyWorkspaceStorage
( legacyStorage: LegacyWorkspaceStorageSnapshot, storage: Storage = window.localStorage, )
desktop/src/features/workspaces/legacyWorkspaceStorage.ts:75
↓ 6 callersFunctionapplyReactionState
( current: | Map<string, { count: number; reactedByCurrentUser: boolean }> | undefined, noteId: st
desktop/src/features/pulse/lib/noteActions.ts:26
↓ 6 callersMethodas_str
Stable string representation used in hash computation and DB storage.
crates/buzz-audit/src/action.rs:35
↓ 6 callersFunctionassistantChunk
(seq, messageId, text, overrides = {})
desktop/src/features/agents/ui/agentSessionTranscript.test.mjs:253
↓ 6 callersFunctionattachManagedAgentToChannel
( channelId: string, input: AttachManagedAgentToChannelInput, )
desktop/src/features/agents/channelAgents.ts:99
↓ 6 callersFunctionbuf
Build a `SamplesBuffer` of length `n` samples filled with `value`.
desktop/src-tauri/tests/rodio_mixer_diagnostic.rs:39
↓ 6 callersFunctionbuildKnownShortcodeAlternation
( shortcodes: string[], )
desktop/src/features/messages/lib/customEmojiNode.ts:40
↓ 6 callersFunctionbuildMainTimelineEntries
( messages: TimelineMessage[], unreadReplyIds: ReadonlySet<string> = new Set(), relaySummaries: Readonly
desktop/src/features/messages/lib/threadPanel.ts:424
↓ 6 callersFunctionbuildReplyMessageTags
( channelId: string, authorPubkey: string, parentEventId: string, rootEventId: string, mentionPubkey
desktop/src/testing/e2eBridge.ts:2861
↓ 6 callersFunctionbuild_30023
( keys: &Keys, ts: u64, slug: &str, title: &str, extra: Vec<Tag>,
crates/buzz-cli/src/commands/notes.rs:877
↓ 6 callersFunctionbuild_env_map
Assemble a build-time env map from optional raw bake-in values. Separated from `baked_build_env` so the assembly logic can be exercised in unit tests
desktop/src-tauri/src/managed_agents/agent_env.rs:34
↓ 6 callersFunctionbuild_nip98_auth_header_for_keys
( keys: &Keys, method: &Method, url: &str, body: &[u8], )
desktop/src-tauri/src/relay.rs:112
↓ 6 callersFunctionbuild_note
Build a global text note (kind:1, NIP-01). `reply_to_event_id`: adds a single `["e", <id>, "", "reply"]` tag. This is intentionally simpler than the
crates/buzz-sdk/src/builders.rs:693
↓ 6 callersFunctionbuild_persona_event
Build a kind:30175 event from a `PersonaRecord`. Returns an unsigned `EventBuilder` — the caller signs and submits.
desktop/src-tauri/src/managed_agents/persona_events.rs:118
↓ 6 callersFunctionbuild_user_status_event
Build a kind:30315 event with a d-tag and content.
crates/buzz-test-client/tests/e2e_user_status.rs:37
↓ 6 callersFunctionbuzz_agent_runtime
()
desktop/src-tauri/src/managed_agents/config_bridge/reader_tests.rs:508
↓ 6 callersFunctioncache_path_for
Cache key construction matches the auth module: sha256(discovery|client|scopes).
crates/buzz-agent/tests/databricks_oauth.rs:84
↓ 6 callersFunctioncache_with_sibling
Owner + a known sibling, none of them on the explicit allowlist.
crates/buzz-acp/src/lib.rs:3560
↓ 6 callersFunctionchannel
(overrides = {})
desktop/src/features/channels/lib/huddleAvailability.test.mjs:9
↓ 6 callersFunctionchannelEvent
(id, tags = [])
desktop/src/features/home/lib/inboxViewHelpers.test.mjs:189
↓ 6 callersFunctionchannelWindowThreadSummaries
(store: ChannelWindowStore)
desktop/src/features/messages/lib/channelWindowStore.ts:250
↓ 6 callersFunctionchannel_event
(channel_id: Option<Uuid>)
crates/buzz-relay/src/handlers/event.rs:1984
↓ 6 callersFunctionchannel_label
Map a UUID channel id into a [`ChannelLabel`]. Channels are not secret — they appear in event `h` tags — so this is a direct wrap.
crates/buzz-relay/src/conformance/mod.rs:89
↓ 6 callersFunctioncheck_hex_exact
Validate an exact-length hex string (event ids), returning it lowercased.
crates/buzz-sdk/src/builders.rs:76
↓ 6 callersFunctionclaimUnhydratedRenderScopedReactionIds
( channelId: string, messageIds: readonly string[], )
desktop/src/features/messages/lib/renderScopedReactions.ts:70
↓ 6 callersFunctionclassify_runtime
( adapter_result: Option<(&str, PathBuf)>, underlying_cli: Option<&str>, underlying_cli_found: boo
desktop/src-tauri/src/managed_agents/discovery.rs:629
↓ 6 callersFunctionclearFeedback
()
desktop/src/features/agents/ui/useManagedAgentActions.ts:154
↓ 6 callersFunctionclear_presence
Removes the presence entry for `pubkey`. Call on clean disconnect.
crates/buzz-pubsub/src/presence.rs:47
↓ 6 callersFunctioncollect_members_by_channel
Build a `channel_id → membership` map from a batch of kind:39002 events. Events without a `d` tag are skipped; member dedupe is delegated to [`nostr_c
desktop/src-tauri/src/commands/channels.rs:283
↓ 6 callersMethodcommand
(self, *parts: object)
perf/relay_bus_scaling.py:173
↓ 6 callersFunctioncompactDate
(createdAt: number)
desktop/src/features/projects/ui/ProjectPullRequestsPanel.tsx:23
↓ 6 callersMethodconnect
()
desktop/src/shared/api/relayClientSession.ts:506
↓ 6 callersMethodconnect
Connect to relay and authenticate via NIP-42. `auth_tag` is an optional NIP-OA owner attestation included in the AUTH event for relay membership dele
crates/buzz-acp/src/relay.rs:514
↓ 6 callersFunctioncontent
(overrides = {})
desktop/src/features/reminders/lib/reminderService.test.mjs:13
↓ 6 callersFunctioncountTopLevelTimelineRows
(events: RelayEvent[])
desktop/src/features/messages/lib/formatTimelineMessages.ts:89
↓ 6 callersFunctioncreatePlan
(overrides = {})
desktop/src/features/agents/ui/teamImportUpdateState.test.mjs:10
↓ 6 callersFunctioncreate_private_agent_owned_channel
Create a fresh **private** channel owned by `agent_keys`, return the channel UUID string.
crates/buzz-test-client/tests/e2e_human_edit_agent_content.rs:591
↓ 6 callersFunctionctx
(id: u128, host: &str)
crates/buzz-pubsub/src/presence.rs:108
↓ 6 callersFunctionctx
(id: u128, host: &str)
crates/buzz-pubsub/src/lib.rs:354
↓ 6 callersFunctioncustomEmojiFromEvent
(event: RelayEvent | null)
desktop/src/shared/api/customEmoji.ts:100
↓ 6 callersFunctiondb_lock
()
crates/buzz-audit/src/service.rs:261
↓ 6 callersFunctiondecode_core_body
Pure decoder: given the relay's JSON array, decide whether we have a readable core, confirmed absence, or an ambiguous unreadable-state. - Empty arra
crates/buzz-acp/src/engram_fetch.rs:103
↓ 6 callersFunctiondedup_personas
Deduplicate `PersonaRecord`s that share a `(source_team, source_team_persona_slug)` pair — the result of repeated imports before the matching predicat
desktop/src-tauri/src/managed_agents/team_repair.rs:96
↓ 6 callersFunctiondiscovery_failure_fallback
Returns the discovery-failure fallback catalog for a Databricks provider. This is the list of models advertised by `session/new` when `discover_datab
crates/buzz-agent/src/catalog.rs:48
↓ 6 callersFunctiondpk_opts
(service: &str, key: &str)
desktop/src-tauri/src/secret_store.rs:294
↓ 6 callersFunctiondraw
(timeMs: number)
desktop/src/shared/ui/SpoilerParticles.tsx:116
↓ 6 callersFunctionencrypt_observer_payload
Serialize and NIP-44 encrypt an observer payload for `recipient`.
crates/buzz-core/src/observer.rs:55
↓ 6 callersFunctionensureWelcomeChannel
( client: WelcomeChannelClient, options: WelcomeChannelOptions = {}, )
desktop/src/features/onboarding/welcome.ts:144
↓ 6 callersFunctionentry
(message)
desktop/src/features/messages/lib/renderScopedReactions.test.mjs:33
↓ 6 callersFunctionenv_flag
(k: &str)
crates/buzz-agent/tests/bin/fake_mcp.rs:41
↓ 6 callersFunctionexpectAgentProfileMessageOnly
( profilePopover: import("@playwright/test").Locator, pubkey: string, )
desktop/tests/e2e/mentions.spec.ts:148
↓ 6 callersFunctionexpectSmoothCorners
( locator: Locator, expectedSmoothing = 0.6, )
desktop/tests/helpers/css.ts:77
↓ 6 callersFunctionextractPromptText
(payload: Record<string, unknown>)
desktop/src/features/agents/ui/agentSessionTranscriptHelpers.ts:9
↓ 6 callersFunctionextract_d_tag
Extract the first `d` tag value from an event.
crates/buzz-relay/src/handlers/command_executor.rs:251
↓ 6 callersFunctionfan_out_pubsub_event
(state: &Arc<AppState>, channel_event: buzz_pubsub::ChannelEvent)
crates/buzz-relay/src/handlers/event.rs:258
↓ 6 callersFunctionfetch_channel_members
Fetch channel members, optionally filtered by role (e.g., "bot" for agents).
desktop/src-tauri/src/huddle/relay_api.rs:392
↓ 6 callersFunctionfind_team_for_persona_source
Find the team whose `team_persona_key` equals `source_team`. This matches the same key that `sync_team_from_dir` uses, covering both modern teams (whe
desktop/src-tauri/src/commands/personas/writeback.rs:11
↓ 6 callersMethodfinish
(onSuccess: () => void, success: boolean)
desktop/src/shared/api/relayReconnectController.ts:259
↓ 6 callersFunctionfixture
()
desktop/src-tauri/src/managed_agents/relay_mesh.rs:63
↓ 6 callersFunctionfixture_ctx
()
crates/buzz-auth/src/access.rs:159
↓ 6 callersFunctiongetContextMessageDepth
( event: RelayEvent, eventById: ReadonlyMap<string, RelayEvent>, )
desktop/src/features/home/lib/inboxViewHelpers.ts:35
↓ 6 callersFunctiongetFlagValue
(tokens: string[], start: number, flag: string)
desktop/src/features/agents/ui/agentSessionToolClassifier.ts:572
↓ 6 callersFunctiongetInboxTypeLabel
(item: InboxItem)
desktop/src/features/home/lib/inbox.ts:220
↓ 6 callersFunctiongetMediaState
(element: HTMLMediaElement)
desktop/tests/e2e/video-attachment.spec.ts:85
↓ 6 callersFunctiongetMockManagedAgent
(pubkey: string)
desktop/src/testing/e2eBridge.ts:6603
↓ 6 callersFunctiongetMockUserNotes
(pubkey: string)
desktop/src/testing/e2eBridge.ts:3972
↓ 6 callersFunctiongetPromptPreview
( prompt: string, emptyFallback: string, maxLength = 240, )
desktop/src/features/agents/ui/TeamImportUpdateDialog.tsx:191
↓ 6 callersFunctiongetTag
(name: string)
desktop/src/features/messages/ui/MessageRow.tsx:268
↓ 6 callersFunctiongetTag
(event: NostrEvent, name: string)
web/src/features/repos/use-repos.ts:18
↓ 6 callersFunctiongetThreadReplyAvatarCenterRem
(depth: number)
desktop/src/features/messages/lib/threadTreeLayout.ts:54
↓ 6 callersFunctiongetThreadReplyConnectorLayout
(depth: number)
desktop/src/features/messages/lib/threadTreeLayout.ts:77
↓ 6 callersFunctionget_channel_window
Fetch one channel window: top-level rows (depth = 0, missing metadata, or broadcast depth-1 replies) in `(created_at DESC, id ASC)` keyset order, with
crates/buzz-db/src/thread.rs:565
↓ 6 callersMethodget_pointer
GET the pointer object, returning its ETag and bytes *from the same response* — atomic snapshot. Returns `Ok(None)` if the pointer does not exist (fi
crates/buzz-relay/src/api/git/store.rs:435
↓ 6 callersFunctionget_thread_replies
Fetch all replies under a root event, ordered chronologically. - `depth_limit` -- if `Some(n)`, only returns replies at depth <= n. - `cursor` -- key
crates/buzz-db/src/thread.rs:345
↓ 6 callersMethodget_verified
GET an object and verify its bytes hash to `expected_digest` (hex SHA-256). This is the read-side enforcement of A1 — any deviation from the content-
crates/buzz-relay/src/api/git/store.rs:356
↓ 6 callersFunctiongit_expected_url
Construct the repo-root NIP-98 `u` URL expected for a git HTTP request. The host is always the server-resolved tenant host. `config_relay_url` only c
crates/buzz-relay/src/api/git/transport.rs:217
↓ 6 callersFunctiongood_diff_meta
()
crates/buzz-sdk/src/builders.rs:1743
↓ 6 callersFunctionhasEnsuredWelcomeChannel
( pubkey: string | null | undefined, workspaceScope: string | null | undefined, )
desktop/src/features/onboarding/welcome.ts:172
↓ 6 callersFunctionhas_tag
Return true if the event has a tag with the given name (any value).
desktop/src-tauri/src/nostr_convert.rs:39
↓ 6 callersFunctionid_lookup
Lookup with HUMAN as a human and AGENT_A / AGENT_B as agents.
crates/buzz-acp/src/queue.rs:3133
↓ 6 callersFunctioninbound_for
An inbound persona as `persona_from_event` would produce it: id = d-tag, slug = Some(d-tag), empty env_vars, source_team None.
desktop/src-tauri/src/commands/personas/inbound_tests.rs:33
↓ 6 callersFunctioninflightCount
()
desktop/tests/e2e/scroll-history.spec.ts:201
↓ 6 callersMethodinitialize
Send the `initialize` request and return the agent's response result value. Must be called exactly once, before any other ACP method. The caller may
crates/buzz-acp/src/acp.rs:301
↓ 6 callersFunctioninsert_mentions
Extract p-tag mentions from an event and insert into the `event_mentions` table. Called after event insertion. Failures are logged but do not block e
crates/buzz-db/src/lib.rs:58
↓ 6 callersFunctioninsert_reaction_event_with_thread_metadata
( pool: &PgPool, community_id: CommunityId, reaction_event: &Event, channel_id: Option<Uuid>,
crates/buzz-db/src/event.rs:1200
↓ 6 callersFunctioninsert_test_channel
(pool: &PgPool, community: CommunityId)
crates/buzz-db/src/feed.rs:279
↓ 6 callersFunctioninstall
Install the global metrics recorder and spawn the Prometheus HTTP exporter. `build()` returns the recorder + exporter future and internally spawns th
crates/buzz-relay/src/metrics.rs:44
↓ 6 callersFunctioninstallSpoilerBridge
( page: Page, mock: Parameters<typeof installMockBridge>[1] = {}, )
desktop/tests/e2e/spoiler.spec.ts:37
↓ 6 callersMethodinstall_steer_rx
Install a per-turn steer request channel for goose-native non-cancelling mid-turn delivery. Called by the dispatch path immediately before [`session_
crates/buzz-acp/src/acp.rs:518
↓ 6 callersFunctioninterval_prefilter_should_fire
Interval prefilter decision + cold-start anchor seed. See the [`WorkflowEngine::interval_prefilter_should_fire`] wrapper for the liveness rationale. F
crates/buzz-workflow/src/lib.rs:784
↓ 6 callersFunctionisCommandSeparator
(token: string)
desktop/src/features/agents/ui/agentSessionToolClassifier.ts:568
↓ 6 callersFunctionisInlineImageData
(source: string)
desktop/src/features/agents/ui/agentSessionUtils.ts:114
↓ 6 callersFunctionisTimelineContentEvent
(event: RelayEvent)
desktop/src/features/messages/lib/formatTimelineMessages.ts:46
↓ 6 callersFunctionisWelcomeUnreadSuppressed
( suppressedChannelIds: ReadonlySet<string>, activeChannelId: string | null, )
desktop/src/features/channels/ui/useWelcomeInitialUnreadSuppression.ts:44
↓ 6 callersMethodis_elevated
Elevated roles that only existing owners/admins may grant.
crates/buzz-core/src/channel.rs:124
← previousnext →1,001–1,100 of 12,195, ranked by callers