MCPcopy Create free account

hub / github.com/block/buzz / functions

Functions12,195 in github.com/block/buzz

↓ 7 callersFunctiongetToolDurationDisplay
(item: { startedAt?: string | null; completedAt?: string | null; result: string; })
desktop/src/features/agents/ui/agentSessionUtils.ts:207
↓ 7 callersFunctionget_channel
Fetches a channel record by `(community_id, id)`. Returns `ChannelNotFound` if missing or deleted.
crates/buzz-db/src/channel.rs:261
↓ 7 callersFunctiongotoApp
(page: import("@playwright/test").Page)
desktop/tests/e2e/mesh-compute.spec.ts:38
↓ 7 callersFunctiongotoInboxHome
(page: import("@playwright/test").Page)
desktop/tests/e2e/reminders.spec.ts:10
↓ 7 callersMethodhandle_complete
(Source) Process the `complete` event from the target.
crates/buzz-core/src/pairing/session.rs:254
↓ 7 callersFunctionharden_git_env
Apply hardened environment to a git subprocess command. Clears all inherited env vars, then sets only the minimum required: - `PATH` — so git can fin
crates/buzz-relay/src/api/git/transport.rs:284
↓ 7 callersFunctionharness
* A controllable test harness mirroring the real wiring: a single-listener * pub/sub whose unsubscribe genuinely detaches (so post-unsubscribe pushes
desktop/src/features/agents/lib/liveSwitchOutcome.test.mjs:18
↓ 7 callersFunctionhasAnyImportChanges
( plan: TeamImportPlan | null, teamLineChanges: LineChangeCounts, )
desktop/src/features/agents/ui/teamImportUpdateState.ts:8
↓ 7 callersFunctionhasPrimaryShortcutModifier
( event: ModifierKeyboardEvent, )
desktop/src/shared/lib/platform.ts:34
↓ 7 callersFunctionhex_to_32
(s: &str)
crates/buzz-core/src/pairing/crypto.rs:150
↓ 7 callersFunctionhttp_client
()
crates/buzz-test-client/tests/e2e_media_video.rs:22
↓ 7 callersFunctionhttp_client
()
crates/buzz-test-client/tests/e2e_media.rs:29
↓ 7 callersFunctioninit_session
(h: &mut Harness)
crates/buzz-agent/tests/fake_llm.rs:246
↓ 7 callersMethodinsert_event
Inserts an event. Returns `(StoredEvent, was_inserted)` — `false` on duplicate.
crates/buzz-db/src/lib.rs:468
↓ 7 callersFunctionisImageOnlyParagraph
(childArray)
desktop/src/shared/ui/markdown.test.mjs:49
↓ 7 callersFunctionisMsgContextKey
(value: string)
desktop/src/features/channels/readState/readStateFormat.ts:59
↓ 7 callersFunctionisRenderedTimelineBehindHistoryPrepend
( rendered: TimelineMessage[], live: TimelineMessage[], )
desktop/src/features/messages/lib/timelineSnapshot.ts:262
↓ 7 callersFunctionjson_to_context_message
Extract a `ContextMessage` from a JSON message object. Works with both thread reply objects and channel message objects.
crates/buzz-acp/src/pool.rs:2248
↓ 7 callersFunctionkeyring_entry
(service: &str, key: &str)
desktop/src-tauri/src/secret_store.rs:264
↓ 7 callersFunctionlive
(replyCount, createdAt)
desktop/src/features/messages/lib/channelWindowStore.test.mjs:281
↓ 7 callersFunctionmakeDm
(id, name)
desktop/src/features/sidebar/lib/dmSidebarSort.test.mjs:6
↓ 7 callersFunctionmakeScheduler
({ minIntervalMs = 100, now: initialNow = 0 } = {})
desktop/src/shared/api/useRelayAutoHeal.test.mjs:15
↓ 7 callersFunctionmake_notice
(msg: &str)
crates/buzz-pair-relay/src/lib.rs:287
↓ 7 callersFunctionmake_pubkey
()
crates/buzz-pubsub/src/presence.rs:104
↓ 7 callersFunctionmake_state
(cwd: &std::path::Path)
crates/buzz-dev-mcp/src/view_image.rs:564
↓ 7 callersFunctionmake_test_pool
()
crates/buzz-pubsub/src/lib.rs:330
↓ 7 callersFunctionmergePresenceUpdate
( old: PresenceLookup | undefined, pubkey: string, status: PresenceStatus, )
desktop/src/features/presence/lib/presence.ts:29
↓ 7 callersFunctionnip42_expected_relay_url
Construct the NIP-42 expected `relay` URL for a connection bound to `tenant`. NIP-42 (WebSocket AUTH) sibling of [`nip98_expected_url`]. Conformance
crates/buzz-relay/src/api/bridge.rs:164
↓ 7 callersFunctionnormalizeRelayUrl
(relayUrl: string)
desktop/src/features/profile/lib/selfProfileStorage.ts:21
↓ 7 callersFunctionnormalizeToolNameText
(value: string)
desktop/src/features/agents/ui/agentSessionToolCatalog.ts:216
↓ 7 callersFunctionopenEditDialog
(page: import("@playwright/test").Page)
desktop/tests/e2e/channel-controls.spec.ts:15
↓ 7 callersFunctionopenMemberMenu
( page: import("@playwright/test").Page, pubkey: string, )
desktop/tests/e2e/channels.spec.ts:123
↓ 7 callersFunctionopenPersonaCatalog
(page: import("@playwright/test").Page)
desktop/tests/e2e/agents.spec.ts:32
↓ 7 callersFunctionpack_dir
Native-separator `<base>/agents/packs/<id>` — the pre-migration layout used as reconcile input. See [`team_dir`] for why per-component join matters.
desktop/src-tauri/src/migration_test_support.rs:18
↓ 7 callersFunctionparseProfilePanelView
(value: unknown)
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:60
↓ 7 callersFunctionparseTimestamp
(value: string | null | undefined)
desktop/src/features/agents/agentReuse.ts:26
↓ 7 callersFunctionparse_team_json
Parse a team JSON file. Returns the team name, description, and embedded persona previews.
desktop/src-tauri/src/managed_agents/teams.rs:652
↓ 7 callersFunctionpersist_command_event
Persist a command event inside a transaction. Returns the OPEN transaction as an idempotency guard — if the event was already stored, `Duplicate` is r
crates/buzz-relay/src/handlers/command_executor.rs:90
↓ 7 callersFunctionpersona
(overrides = {})
desktop/src/features/profile/ui/UserProfilePanelUtils.test.mjs:49
↓ 7 callersFunctionpersona_v
(id: &str, prompt: &str, env: &[(&str, &str)])
desktop/src-tauri/src/managed_agents/runtime/tests.rs:309
↓ 7 callersFunctionpk
()
crates/buzz-db/src/git_repo.rs:210
↓ 7 callersFunctionprepend_base_for_legacy
Prepend the `[Base]` section to a user-message body for legacy agents. Legacy agents (`protocol_version < 2`) don't receive `base_prompt` via the sys
crates/buzz-acp/src/pool.rs:914
↓ 7 callersFunctionpresence_key
Returns the Redis key for the presence entry of `pubkey` under `ctx`.
crates/buzz-pubsub/src/presence.rs:19
↓ 7 callersFunctionprocess_has_buzz_marker
(pid: u32, instance_id: &str)
desktop/src-tauri/src/managed_agents/runtime.rs:170
↓ 7 callersFunctionprofilePanelTabFromSearch
(value: unknown)
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:88
↓ 7 callersFunctionprofilePanelViewFromSearch
(value: unknown)
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:72
↓ 7 callersFunctionpublish_event
Publish a Nostr event to the relay.
crates/buzz-pairing-cli/src/main.rs:490
↓ 7 callersFunctionpullRequestEvent
(overrides = {})
desktop/src/features/projects/projectPullRequests.test.mjs:11
↓ 7 callersFunctionreadChannelSnapshot
(relayUrl: string)
desktop/src/features/channels/channelSnapshot.ts:33
↓ 7 callersFunctionrelay_error_message
(response: reqwest::Response)
desktop/src-tauri/src/relay.rs:234
↓ 7 callersFunctionrenderMarkdown
(content)
desktop/src/shared/ui/markdown.test.mjs:442
↓ 7 callersMethodrequire_pointer
(&self, owner: &str, repo: &str)
crates/buzz-test-client/tests/e2e_git.rs:172
↓ 7 callersMethodresetConnection
( error: Error, options?: { reconnect?: boolean; }, )
desktop/src/shared/api/relayClientSession.ts:951
↓ 7 callersFunctionresolveEffectiveChannel
( capturedChannelId: string | null | undefined, channelsCache: Channel[] | undefined, fallbackChannel: C
desktop/src/features/messages/hooks.ts:200
↓ 7 callersFunctionresolveMentionNames
( tags: string[][] | undefined, profiles: Record<string, UserProfileSummary> | undefined, )
desktop/src/shared/lib/resolveMentionNames.ts:20
↓ 7 callersFunctionresolveTeamPersonas
( team: Pick<AgentTeam, "personaIds">, personas: AgentPersona[], )
desktop/src/features/agents/lib/teamPersonas.ts:40
↓ 7 callersFunctionresolveThreadReplyTarget
( threadContext: | { parentEventId: string | null; threadHeadId: string | null } | null | undefi
desktop/src/features/messages/hooks.ts:224
↓ 7 callersFunctionresolveTimelineLoadingLatch
( settledChannelId: string | null, activeChannelId: string | null, loadingNow: boolean, )
desktop/src/features/messages/lib/timelineLoadingState.ts:49
↓ 7 callersFunctionresolve_provider
( requested: Option<&str>, anthropic_key: Option<&str>, openai_key: Option<&str>, )
crates/buzz-agent/src/config.rs:902
↓ 7 callersFunctionresolve_reader
Resolve the read perspective for `mem ls/get/hash`. Normal agent-side reads use the CLI identity as the agent and resolve the owner from `--owner` /
crates/buzz-cli/src/commands/mem.rs:54
↓ 7 callersFunctionrun
(state: &SharedState, p: ViewImageParams)
crates/buzz-dev-mcp/src/view_image.rs:85
↓ 7 callersFunctionrunPlugin
(tree)
desktop/src/shared/lib/remarkSpoilers.test.mjs:6
↓ 7 callersFunctionsafe_resolve
Verify a path resolves within the pack root. Defense-in-depth: 1. Reject any `..` path component before canonicalization. 2. Canonicalize the joined
crates/buzz-persona/src/pack.rs:323
↓ 7 callersFunctionselectCatalogPersona
( page: import("@playwright/test").Page, personaId: string, )
desktop/tests/e2e/agents.spec.ts:45
↓ 7 callersFunctionselectLatestMessageKey
( messages: readonly TimelineMessage[], )
desktop/src/features/messages/lib/timelineSnapshot.ts:51
↓ 7 callersFunctionselectTimelineBodySurface
({ deferredCount, isLoading, liveCount, }: { deferredCount: number; isLoading: boolean; liveCount:
desktop/src/features/messages/lib/timelineSnapshot.ts:186
↓ 7 callersFunctionsendChannelMessage
( channelId: string, content: string, parentEventId?: string | null, mediaTags?: string[][], mention
desktop/src/shared/api/tauri.ts:825
↓ 7 callersFunctionsetConnectionState
( nextState: ConnectionState, nextErrorMessage: string | null = errorMessage, )
desktop/src/features/agents/observerRelayStore.ts:117
↓ 7 callersFunctionset_agent_owner
Set the owner pubkey for an agent user. The owner pubkey must already exist in the users table (FK constraint). Returns an error if the agent pubkey i
crates/buzz-db/src/user.rs:287
↓ 7 callersFunctionset_channel_add_policy
Set the channel_add_policy for a user. Returns an error if the pubkey is not found (rows_affected == 0). Returns an error if `policy` is not one of th
crates/buzz-db/src/user.rs:370
↓ 7 callersFunctionset_presence
Sets presence status for `pubkey` with a [`PRESENCE_TTL_SECS`]-second TTL.
crates/buzz-pubsub/src/presence.rs:28
↓ 7 callersFunctionsettle
(page: import("@playwright/test").Page)
desktop/tests/e2e/channel-controls.spec.ts:22
↓ 7 callersFunctionsetup_pool
()
crates/buzz-db/src/workflow.rs:1699
↓ 7 callersFunctionshouldCountTowardHomeBadgeSubtotal
( item: Pick<FeedItem, "channelId" | "channelType" | "tags">, highPriorityChannelIds: ReadonlySet<string>,
desktop/src/features/notifications/lib/homeBadge.ts:43
↓ 7 callersFunctionshouldShowTranscriptRowTimestamp
( item: TranscriptItem, options: { enabled: boolean; variant: string }, )
desktop/src/features/agents/ui/agentSessionTranscriptPresentation.ts:10
↓ 7 callersFunctionsign_blossom_auth
(keys: &Keys, sha256: &str)
crates/buzz-test-client/tests/e2e_media_video.rs:29
↓ 7 callersFunctionsign_custom_auth
(keys: &Keys, kind: u16, content: &str, tags: Vec<Tag>)
crates/buzz-test-client/tests/e2e_media_extended.rs:126
↓ 7 callersMethodspawn
(base_url: &str)
crates/buzz-agent/tests/fake_llm.rs:151
↓ 7 callersFunctionsub_id
(name: &str)
crates/buzz-test-client/tests/e2e_event_reminder.rs:40
↓ 7 callersMethodsubscribe
Subscribe to live observer events.
crates/buzz-acp/src/observer.rs:83
↓ 7 callersFunctionsubscribeActiveAgentTurns
(listener: () => void)
desktop/src/features/agents/activeAgentTurnsStore.ts:387
↓ 7 callersFunctionsyncMockChannel
(channel: MockChannel)
desktop/src/testing/e2eBridge.ts:934
↓ 7 callersMethodtask_map_mut
(&mut self)
crates/buzz-acp/src/pool.rs:482
↓ 7 callersFunctionteam
(id: &str, name: &str)
desktop/src-tauri/src/managed_agents/teams.rs:731
↓ 7 callersFunctiontest_config
()
crates/buzz-acp/src/lib.rs:3778
↓ 7 callersFunctiontest_state
()
crates/buzz-relay/src/handlers/mesh_signaling.rs:521
↓ 7 callersFunctiontest_tenant
Synthetic tenant for the in-memory mesh signaling tests. These exercise the sub-registry fan-out path (lazy PG pool, dead Redis), so they never touch
crates/buzz-relay/src/handlers/mesh_signaling.rs:517
↓ 7 callersFunctionthread_tags
(root: Option<&str>, mentions: &[&str])
crates/buzz-acp/src/queue.rs:3141
↓ 7 callersFunctiontoolItems
(events)
desktop/src/features/agents/ui/agentSessionTranscript.test.mjs:37
↓ 7 callersFunctionunionCustomEmoji
( events: ReadonlyArray<RelayEvent>, )
desktop/src/shared/api/customEmoji.ts:114
↓ 7 callersFunctionuniqueNormalizedPubkeys
(pubkeys: Iterable<string>)
desktop/src/features/messages/ui/useMentionSendFlow.ts:109
↓ 7 callersFunctionupload_with_auth
( client: &Client, auth_event: &nostr::Event, sha256: &str, body: &[u8], )
crates/buzz-test-client/tests/e2e_media_extended.rs:133
↓ 7 callersFunctionupsertLifecycleItem
( d: TranscriptDraft, id: string, renderClass: Extract< AgentActivityRenderClass, "status" | "pe
desktop/src/features/agents/ui/agentSessionTranscript.ts:396
↓ 7 callersFunctionuseAcpRuntimesQuery
(options?: { enabled?: boolean })
desktop/src/features/agents/hooks.ts:130
↓ 7 callersFunctionuseIsArchivedPredicate
()
desktop/src/features/identity-archive/hooks.ts:50
↓ 7 callersFunctionusePresenceQuery
( pubkeys: string[], options?: { enabled?: boolean; }, )
desktop/src/features/presence/hooks.ts:77
↓ 7 callersFunctionuseSidebar
()
desktop/src/shared/ui/sidebar.tsx:58
↓ 7 callersFunctionvalidate_and_decrypt
Validate an event against *Head selection* rules (1) and (5) and return the decoded body. Caller must verify the signature beforehand (NIP-44 requires
crates/buzz-core/src/engram.rs:488
↓ 7 callersFunctionvalidate_respond_to_allowlist
Validate and normalize a respond-to allowlist. Rules mirror `buzz-acp/src/config.rs::validate_allowlist`: - Each entry is exactly 64 hex chars (any c
desktop/src-tauri/src/managed_agents/types.rs:677
↓ 7 callersFunctionverify_event
Verifies the event ID hash and Schnorr signature. CPU-bound — call via `tokio::task::spawn_blocking` in async contexts.
crates/buzz-core/src/verification.rs:11
← previousnext →901–1,000 of 12,195, ranked by callers