MCPcopy Create free account

hub / github.com/block/buzz / functions

Functions12,195 in github.com/block/buzz

↓ 6 callersFunctionis_expired
(t: &CachedToken)
crates/buzz-agent/src/auth.rs:434
↓ 6 callersFunctionis_lower_hex
(s: &str, len: usize)
crates/buzz-pair-relay/src/lib.rs:294
↓ 6 callersFunctionitem
(overrides)
desktop/src/features/home/lib/inbox.test.mjs:32
↓ 6 callersFunctionkeys
()
crates/buzz-sdk/src/builders.rs:1519
↓ 6 callersFunctionload_auth_tag
Load the NIP-OA auth tag from env or git config. Priority per NIP-GS spec: `BUZZ_AUTH_TAG` env var > `nostr.authtag` git config. The env var takes pr
crates/git-sign-nostr/src/lib.rs:463
↓ 6 callersFunctionload_key_file
(path: &std::path::Path)
desktop/src-tauri/src/app_state.rs:532
↓ 6 callersFunctionlocal_ref_exists
(repo_dir: &std::path::Path, auth: &GitAuthConfig, ref_name: &str)
desktop/src-tauri/src/commands/project_git_diff.rs:191
↓ 6 callersFunctionmakeChannel
(id)
desktop/src/features/messages/lib/sendChannelBinding.test.mjs:36
↓ 6 callersFunctionmakeTool
(overrides = {})
desktop/src/features/agents/ui/agentSessionFileRead.test.mjs:16
↓ 6 callersFunctionmakeWatchdog
(overrides = {})
desktop/src/shared/api/relayStallWatchdog.test.mjs:18
↓ 6 callersFunctionmake_closed
(sub_id: &str, msg: &str)
crates/buzz-pair-relay/src/lib.rs:272
↓ 6 callersFunctionmake_png_with_text
Helper: build a minimal valid PNG with a custom tEXt chunk.
desktop/src-tauri/src/managed_agents/persona_card.rs:538
↓ 6 callersFunctionmake_state
(cwd: &std::path::Path)
crates/buzz-dev-mcp/src/str_replace.rs:231
↓ 6 callersFunctionmake_test_community
(pool: &PgPool)
crates/buzz-db/src/feed.rs:267
↓ 6 callersFunctionmake_test_event
(kind: u16, tags: Vec<Vec<&'static str>>)
crates/buzz-relay/src/handlers/identity_archive.rs:364
↓ 6 callersFunctionmaxReadAt
(...markers: Array<number | null>)
desktop/src/features/channels/readState/readStateFormat.ts:40
↓ 6 callersFunctionmerge_mcp_servers
Merge pack-level shared MCP servers with per-persona servers. Pack shared servers come from `.mcp.json` (a map of `name → config`). Per-persona serve
crates/buzz-persona/src/resolve.rs:280
↓ 6 callersFunctionmerge_teams
Add missing built-in teams, demote stale built-ins, and preserve any user customizations to existing built-in teams (name, description, persona member
desktop/src-tauri/src/managed_agents/teams.rs:82
↓ 6 callersFunctionmeshNodeStatus
( state: "off" | "running", mode: "serve" | "client" | null, )
desktop/src/testing/e2eBridge.ts:7842
↓ 6 callersFunctionmessageSnapshotKey
(relayUrl: string, channelId: string)
desktop/src/features/messages/lib/messageSnapshot.ts:30
↓ 6 callersFunctionmockReminderEvent
(opts: { id: string; dTag: string; content: string; notBefore: number; createdAt?: number; })
desktop/tests/e2e/reminders.spec.ts:41
↓ 6 callersFunctionnormalizeOptionalText
(value: string | null | undefined)
desktop/src/features/agents/ui/teamImportPlan.ts:51
↓ 6 callersFunctionnormalize_agent_args
(command: &str, agent_args: Vec<String>)
desktop/src-tauri/src/managed_agents/discovery.rs:405
↓ 6 callersFunctionnormalize_cron
Normalize a cron expression to the 7-field format required by the `cron` crate. - 5 fields (`min hour dom month dow`) → prepend `0` (sec), append `*`
crates/buzz-workflow/src/schema.rs:250
↓ 6 callersFunctionnormalize_relay_url
Normalize a relay URL for comparison. Uses the `url` crate for proper parsing rather than string manipulation. Normalizes localhost variants to 127.0
crates/buzz-auth/src/nip42.rs:19
↓ 6 callersFunctionnote
(tags)
desktop/src/features/pulse/lib/replies.test.mjs:6
↓ 6 callersFunctionnotifyListeners
()
desktop/src/features/agents/activeAgentTurnsStore.ts:103
↓ 6 callersFunctionopenChannelManagement
( page: import("@playwright/test").Page, channelName: string, )
desktop/tests/e2e/channels.spec.ts:40
↓ 6 callersFunctionopenMarksRevealed
(messages, revealedIds)
desktop/src/features/channels/lib/threadBadgeCollapseOnOpen.test.mjs:32
↓ 6 callersFunctionparseImetaTags
(tags: string[][])
desktop/src/features/messages/lib/parseImeta.ts:15
↓ 6 callersFunctionparseProfilePanelTab
(value: unknown)
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:76
↓ 6 callersFunctionparse_envelope
(json_str: &str)
crates/git-sign-nostr/src/lib.rs:1345
↓ 6 callersFunctionparse_hook_servers
Pure parser exposed for unit tests. `None` (env unset) and `Some("")` (env set but empty) both yield `HookServers::None`.
crates/buzz-agent/src/config.rs:1003
↓ 6 callersMethodpersistLocalState
()
desktop/src/features/channels/readState/readStateManager.ts:932
↓ 6 callersFunctionpersonaManagedAgentUpdate
( agent: ManagedAgent, persona: AgentPersona, options: { previousPersona?: AgentPersona; runtime
desktop/src/features/profile/ui/UserProfilePanelUtils.ts:260
↓ 6 callersFunctionpin_persona
Apply a persona snapshot onto a record, mirroring `create_managed_agent`: snapshotted prompt/model/provider/env_vars/source_version are pinned, with t
desktop/src-tauri/src/managed_agents/runtime/tests.rs:299
↓ 6 callersFunctionpkt
(payload: &[u8])
crates/buzz-relay/src/api/git/transport.rs:1578
↓ 6 callersFunctionpkt_line
Encode one pkt-line: 4-char lowercase-hex length prefix (counting itself) followed by `payload`. Appends to `out`. The 4-hex prefix can only express
crates/buzz-relay/src/api/git/transport.rs:412
↓ 6 callersFunctionpost_kind9
Post a kind:9 group message `#h`-tagging `channel` to the community bound to `base_url`'s host. Returns `(status, body)` so callers can assert on the
crates/buzz-test-client/tests/conformance_multitenant.rs:383
↓ 6 callersMethodpreconnect
()
desktop/src/shared/api/relayClientSession.ts:441
↓ 6 callersFunctionprofile
(name: Option<&str>, picture: Option<&str>)
desktop/src-tauri/src/commands/agents_tests.rs:73
↓ 6 callersFunctionreadCommandLog
(page: import("@playwright/test").Page)
desktop/tests/e2e/channels.spec.ts:208
↓ 6 callersFunctionreadCommandPayloadLog
(page: import("@playwright/test").Page)
desktop/tests/e2e/channels.spec.ts:217
↓ 6 callersFunctionread_cache
(path: &PathBuf)
crates/buzz-agent/src/auth.rs:469
↓ 6 callersFunctionread_hidden_dms
Helper: the set of hidden DM channel ids from the viewer's latest snapshot.
crates/buzz-test-client/tests/e2e_nostr_interop.rs:1235
↓ 6 callersFunctionread_snapshot_event
Helper: read the viewer's latest relay-signed NIP-DV snapshot event (kind:30622, queried by `#p` since snapshots are `#p`-gated to their owner). Retur
crates/buzz-test-client/tests/e2e_nostr_interop.rs:1208
↓ 6 callersFunctionrecordObservedUnreadEvent
( eventsByChannel: Map<string, Map<string, ObservedUnreadEvent>>, channelId: string, event: ObservedUnre
desktop/src/features/channels/unreadChannelCounts.ts:43
↓ 6 callersFunctionrecord_with_key
(nsec: &str)
desktop/src-tauri/src/managed_agents/storage.rs:548
↓ 6 callersFunctionregister_call_me_now_sub
( state: &AppState, recipient_hex: &str, sub_id: &str, )
crates/buzz-relay/src/handlers/mesh_signaling.rs:556
↓ 6 callersFunctionrehypeImageGallery
()
desktop/src/shared/ui/markdown.test.mjs:80
↓ 6 callersFunctionrelayAgentIsSharedWithUser
( agent: Pick<RelayAgent, "channelIds" | "respondTo" | "respondToAllowlist">, sharedChannelIds: ReadonlySe
desktop/src/features/agents/lib/agentAutocompleteEligibility.ts:12
↓ 6 callersFunctionrelay_http_base_url
(relay_url: &str)
desktop/src-tauri/src/relay.rs:74
↓ 6 callersFunctionrename_provider_to_runtime_in_personas
(path: &Path)
desktop/src-tauri/src/migration.rs:1279
↓ 6 callersFunctionrenderSlotText
(value: string)
desktop/src/shared/ui/AnimatedCount.tsx:32
↓ 6 callersFunctionrender_dynamic_section
( personas: &[PersonaRecord], agents: &[ManagedAgentRecord], relay_url: &str, )
desktop/src-tauri/src/managed_agents/nest.rs:502
↓ 6 callersFunctionresolveEnabled
( featureId: string, overrides: Record<string, boolean>, )
desktop/src/shared/features/resolveEnabled.ts:12
↓ 6 callersFunctionresolveReminderDestination
( target: ReminderTarget | undefined, fetchEvent: typeof getEventById = getEventById, )
desktop/src/features/reminders/lib/reminderNavigation.ts:44
↓ 6 callersFunctionresolve_config_surface
Resolve the config surface with persona values applied. The pipeline: resolve the linked persona's prompt/model/provider, inject each into the record
desktop/src-tauri/src/commands/agent_config.rs:30
↓ 6 callersFunctionresolve_model
Returns the first present value. `explicit_override` (BUZZ_AGENT_MODEL, set by the desktop from the persona/record) wins over `provider_default` (prov
crates/buzz-agent/src/config.rs:891
↓ 6 callersFunctionresolve_pgids_and_kill
(candidate_pids: &[i32])
desktop/src-tauri/src/managed_agents/runtime.rs:367
↓ 6 callersFunctionruleRegex
(shortcodes)
desktop/src/features/messages/lib/customEmojiNode.test.mjs:11
↓ 6 callersFunctionrun
(state: &SharedState, p: StrReplaceParams)
crates/buzz-dev-mcp/src/str_replace.rs:25
↓ 6 callersFunctionrun_helper
Spawn the binary, write `input` to stdin, collect output. `env_vars` are added on top of the inherited environment. `NOSTR_PRIVATE_KEY` is always clea
crates/git-credential-nostr/tests/integration.rs:15
↓ 6 callersFunctionsample_agent
()
desktop/src-tauri/src/managed_agents/agent_events.rs:137
↓ 6 callersFunctionsample_persona
()
desktop/src-tauri/src/managed_agents/persona_events.rs:336
↓ 6 callersFunctionsealOpenMessages
(d: TranscriptDraft)
desktop/src/features/agents/ui/agentSessionTranscript.ts:123
↓ 6 callersFunctionseedActiveTurns
( page: import("@playwright/test").Page, turns: { channelId: string; turnId: string }[], )
desktop/tests/e2e/profile-active-turn.spec.ts:47
↓ 6 callersFunctionseedWorkspaces
( page: import("@playwright/test").Page, workspaces: Array<Record<string, unknown>>, activeId: string, )
desktop/tests/e2e/workspace-rail.spec.ts:20
↓ 6 callersFunctionseed_cache
Write a token file the engine should pick up on construction.
crates/buzz-agent/tests/databricks_oauth.rs:99
↓ 6 callersFunctionselectTimelineIntroSurface
({ hasChannelIntro, hasDirectMessageIntro, hasReachedChannelStart, isSkeletonVisible, }: { hasChanne
desktop/src/features/messages/lib/timelineSnapshot.ts:277
↓ 6 callersFunctionsessionUpdate
(seq, update, overrides = {})
desktop/src/features/agents/ui/agentSessionTranscript.test.mjs:237
↓ 6 callersFunctionsession_update
(sid: &str, update: Value)
crates/buzz-agent/src/wire.rs:131
↓ 6 callersFunctionsetRelayConnectivitySuccess
( relayUrl: string | null | undefined, next: boolean, )
desktop/src/features/sidebar/ui/useSidebarRelayConnectionCard.ts:28
↓ 6 callersMethodset_authenticated_pubkey
Record the authenticated pubkey for a connection after NIP-42 succeeds.
crates/buzz-relay/src/state.rs:97
↓ 6 callersFunctionsetup_pool
()
crates/buzz-db/src/channel.rs:1376
↓ 6 callersFunctionshouldClearKnownModelForSelectionScope
({ model, provider, runtime, }: { model: string; provider: string | null | undefined; runtime: str
desktop/src/features/agents/ui/personaDialogPickers.tsx:224
↓ 6 callersFunctionshouldRenderUnreadDivider
( index: number, messageId: string, firstUnreadMessageId: string | null, )
desktop/src/features/messages/lib/threadPanel.ts:467
↓ 6 callersFunctionsimulate_cancel_consumption
Simulate the TTS worker's cancel-handling logic (from handle_cancel_or_shutdown). Returns true if cancel was processed (mirrors the real function's re
desktop/src-tauri/src/huddle/tts_tests.rs:95
↓ 6 callersFunctionsingleLineChanges
( existing: string, imported: string, )
desktop/src/features/agents/ui/personaImportPlan.ts:95
↓ 6 callersFunctionsortChannels
(channels: Channel[])
desktop/src/features/channels/hooks.ts:51
↓ 6 callersFunctionsortMessages
(messages: RelayEvent[])
desktop/src/features/messages/lib/messageQueryKeys.ts:33
↓ 6 callersFunctionsort_channel_templates
(records: &mut [ChannelTemplateRecord])
desktop/src-tauri/src/templates/storage.rs:22
↓ 6 callersFunctionspawn_oidc
Boot a stub OIDC server that: - serves discovery at `/.well-known/oauth-authorization-server` - issues a fresh access token for every `refresh_token`
crates/buzz-agent/tests/databricks_oauth.rs:36
↓ 6 callersFunctionsplitContextsIntoBudgetedSlots
(args: { channelEntries: [string, number][]; threadMsgEntries: [string, number][]; clientId: string; i
desktop/src/features/channels/readState/readStateManager.ts:171
↓ 6 callersFunctionsplit_frontmatter
Split content into `(frontmatter_str, body_str)`. Expects the file to begin with `---\n` and contain a second `---` line. The closing `---` must be o
crates/buzz-persona/src/persona.rs:277
↓ 6 callersFunctionspy
()
desktop/src/features/channels/refreshChannelsWhenIdle.test.mjs:6
↓ 6 callersFunctionstartManagedAgentWithRules
({ agent, startManagedAgent, }: { agent: ManagedAgent; startManagedAgent: StartManagedAgent; })
desktop/src/features/agents/lib/managedAgentControlActions.ts:78
↓ 6 callersFunctionstateFromParagraph
(nodes)
desktop/src/features/messages/lib/resolveLinkAt.test.mjs:26
↓ 6 callersMethodstop
(self)
desktop/src-tauri/src/mesh_llm/mod.rs:328
↓ 6 callersFunctionstreamMessage
(overrides = {})
desktop/src/features/messages/lib/formatTimelineMessages.test.mjs:26
↓ 6 callersFunctionsummary
(agentNames, agentCount = agentNames.length)
desktop/src/features/sidebar/ui/SidebarSection.test.mjs:6
↓ 6 callersFunctiontest_community
()
crates/buzz-relay/src/subscription.rs:554
↓ 6 callersFunctiontest_payload
Spec test payload: minimal git commit object (170 bytes)
crates/git-sign-nostr/src/lib.rs:1799
↓ 6 callersFunctiontest_pool
()
crates/buzz-audit/src/service.rs:265
↓ 6 callersFunctiontoPercent
(value: number)
desktop/src/features/profile/ui/MaskedAvatarBadgeFrame.tsx:151
↓ 6 callersFunctiontombstone_retention_d_tag
Build the retention `d_tag` column value for a kind:5 tombstone row. Tombstones for all target kinds share `kind = 5` in the retention table, so keyi
desktop/src-tauri/src/managed_agents/retention.rs:63
↓ 6 callersFunctiontoml_string
(table: &toml::Table, key: &str)
desktop/src-tauri/src/managed_agents/config_bridge/codex.rs:116
↓ 6 callersFunctiontool_result_content
Assemble tool-result content under two budgets: `max_bytes` bounds the whole result (text + images), `max_text_bytes` bounds the text portion alone. I
crates/buzz-agent/src/mcp.rs:898
↓ 6 callersFunctiontopLevel
(id, createdAt)
desktop/src/features/channels/unreadReadMarker.test.mjs:26
↓ 6 callersFunctiontruncate_at_boundary
(s: &str, max: usize)
crates/buzz-agent/src/mcp.rs:851
← previousnext →1,101–1,200 of 12,195, ranked by callers