Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bitterbot-AI/bitterbot-desktop
/ functions
Functions
14,466 in github.com/Bitterbot-AI/bitterbot-desktop
⨍
Functions
14,466
◇
Types & classes
889
↓ 21 callers
Method
listSkill
* List a skill on the marketplace.
src/memory/skill-marketplace.ts:49
↓ 21 callers
Function
makeTempDir
()
src/plugins/install.e2e.test.ts:16
↓ 21 callers
Function
normalizeExecApprovals
(file: ExecApprovalsFile)
src/infra/exec-approvals.ts:210
↓ 21 callers
Function
normalizeSecretInput
(value: unknown)
src/utils/normalize-secret-input.ts:10
↓ 21 callers
Function
normalizeThinkLevel
(raw?: string | null)
src/auto-reply/thinking.ts:42
↓ 21 callers
Function
pick
(envVar: string)
src/agents/model-auth.ts:241
↓ 21 callers
Function
requireNodeSqlite
()
src/memory/sqlite.ts:6
↓ 21 callers
Method
reset
Reset the rate-limit state for `ip` (e.g. after a successful login).
src/gateway/auth-rate-limit.ts:62
↓ 21 callers
Function
resolveCapabilityProfile
(input: ResolveProfileInput)
src/agents/skills/capability-profile.ts:117
↓ 21 callers
Function
resolveChannelDefaultAccountId
(params: { plugin: ChannelPlugin<ResolvedAccount>; cfg: BitterbotConfig; accountIds?: string[]; })
src/channels/plugins/helpers.ts:7
↓ 21 callers
Function
resolveGatewaySystemdServiceName
(profile?: string)
src/daemon/constants.ts:43
↓ 21 callers
Function
resolveNonInteractiveApiKey
(params: { provider: string; cfg: BitterbotConfig; flagValue?: string; flagName: string; envVar: str
src/commands/onboard-non-interactive/api-keys.ts:42
↓ 21 callers
Method
run
* Hook 3: Periodic consolidation -- rebuild regions, detect gaps, generate targets.
src/memory/curiosity-engine.ts:291
↓ 21 callers
Function
runNonInteractive
( options: Record<string, unknown>, runtime: RuntimeMock, )
src/commands/onboard-non-interactive.provider-auth.e2e.test.ts:88
↓ 21 callers
Function
setPwToolsCoreCurrentPage
(page: Record<string, unknown> | null)
src/browser/pw-tools-core.test-harness.ts:41
↓ 21 callers
Function
setVerbose
(v: boolean)
src/globals.ts:7
↓ 21 callers
Method
shouldHandle
(request: ExecApprovalRequest)
src/discord/monitor/exec-approvals.ts:325
↓ 21 callers
Function
stringEnum
( values: T, options: StringEnumOptions<T> = {}, )
src/agents/schema/typebox.ts:15
↓ 21 callers
Function
withOnboardEnv
( prefix: string, run: (ctx: OnboardEnv) => Promise<void>, )
src/commands/onboard-non-interactive.provider-auth.e2e.test.ts:37
↓ 21 callers
Function
withProgress
( options: ProgressOptions, work: (progress: ProgressReporter) => Promise<T>, )
src/cli/progress.ts:202
↓ 20 callers
Function
buildDiscordSystemEvent
(message: Message, location: string, action: string)
src/discord/monitor/system-events.ts:51
↓ 20 callers
Function
buildPayloads
(overrides: Partial<BuildPayloadParams> = {})
src/agents/pi-embedded-runner/run/payloads.e2e.test.ts:45
↓ 20 callers
Function
buildWorkspaceSkillStatus
( workspaceDir: string, opts?: { config?: BitterbotConfig; managedSkillsDir?: string; entries?
src/agents/skills-status.ts:330
↓ 20 callers
Function
buildWorkspaceSkillsPrompt
( workspaceDir: string, opts?: { config?: BitterbotConfig; managedSkillsDir?: string; bundledS
src/agents/skills/workspace.ts:377
↓ 20 callers
Function
close
(code = 1000, reason?: string)
src/gateway/server/ws-connection.ts:168
↓ 20 callers
Function
createHandler
(config: DiscordExecApprovalConfig, accountId = "default")
src/discord/monitor/exec-approvals.test.ts:73
↓ 20 callers
Function
createMinimalRun
(params?: { opts?: GetReplyOptions; resolvedVerboseLevel?: "off" | "on"; sessionStore?: Record<string, S
src/auto-reply/reply/agent-runner.runreplyagent.test.ts:85
↓ 20 callers
Function
createTestDb
()
src/memory/neuroscience-harvest.test.ts:16
↓ 20 callers
Function
createWebSearchTool
(options?: { config?: BitterbotConfig; sandboxed?: boolean; })
src/agents/tools/web-search.ts:849
↓ 20 callers
Function
detectImageReferences
(prompt: string)
src/agents/pi-embedded-runner/run/images.ts:72
↓ 20 callers
Function
formatError
(err: unknown)
src/web/session.ts:258
↓ 20 callers
Function
formatInboundEnvelope
(params: { channel: string; from: string; body: string; timestamp?: number | Date; chatType?: string
src/auto-reply/envelope.ts:190
↓ 20 callers
Function
getNodesTheme
()
src/cli/nodes-cli/cli-utils.ts:6
↓ 20 callers
Function
getSlackRuntime
()
extensions/slack/src/runtime.ts:9
↓ 20 callers
Method
handle
(data: DiscordMessageEvent, client: Client)
src/discord/monitor/listeners.ts:86
↓ 20 callers
Function
hasBinary
(bin: string)
src/shared/config-eval.ts:59
↓ 20 callers
Method
insert
(rec: InterventionRecord)
src/agents/skills/intervention-record.ts:100
↓ 20 callers
Function
installGatewayTestHooks
(options?: { scope?: "test" | "suite" })
src/gateway/test-helpers.server.ts:252
↓ 20 callers
Function
isRecoverableTelegramNetworkError
( err: unknown, options: { context?: TelegramNetworkErrorContext; allowMessageMatch?: boolean } = {}, )
src/telegram/network-errors.ts:118
↓ 20 callers
Function
makeEnvelope
(overrides: Partial<SkillEnvelope> = {})
src/memory/skill-seekers-reconciler.test.ts:8
↓ 20 callers
Function
migrateLegacyConfig
(raw: unknown)
src/config/legacy-migrate.ts:5
↓ 20 callers
Function
normalizeIMessageHandle
(raw: string)
src/imessage/targets.ts:32
↓ 20 callers
Function
normalizeTestText
(input: string)
test/helpers/normalize-text.ts:3
↓ 20 callers
Function
normalizeTextForComparison
(text: string)
src/agents/pi-embedded-helpers/messaging-dedupe.ts:10
↓ 20 callers
Function
pad
(value: string, size: number)
src/commands/models/scan.ts:27
↓ 20 callers
Function
readLive
(roots: StorageRoots, name: string)
src/agents/skills/skill-storage.ts:169
↓ 20 callers
Method
request
()
src/gateway/call.test.ts:58
↓ 20 callers
Function
resolveAuthAgentDir
(agentDir?: string)
src/commands/onboard-auth.credentials.ts:7
↓ 20 callers
Function
resolveCommandAuthorization
(params: { ctx: MsgContext; cfg: BitterbotConfig; commandAuthorized: boolean; })
src/auto-reply/command-auth.ts:203
↓ 20 callers
Function
resolveGatewayLaunchAgentLabel
(profile?: string)
src/daemon/constants.ts:30
↓ 20 callers
Function
resolveModel
( provider: string, modelId: string, agentDir?: string, cfg?: BitterbotConfig, )
src/agents/pi-embedded-runner/model.ts:43
↓ 20 callers
Function
runSlackMessageOnce
( monitorSlackProvider: SlackProviderMonitor, args: unknown, opts?: { botToken?: string; appToken?: stri
src/slack/monitor.test-helpers.ts:94
↓ 20 callers
Method
save
* Save a checkpoint. Returns the row as written, including the * auto-assigned id. Idempotent on (thread_id, step_id): re-saving * the same step
src/checkpoints/store.ts:128
↓ 20 callers
Function
sendInvokeResult
( client: GatewayClient, frame: NodeInvokeRequestPayload, result: { ok: boolean; payload?: unkno
src/node-host/invoke.ts:852
↓ 20 callers
Function
t$1
(t)
src/canvas-host/a2ui/a2ui.bundle.js:4471
↓ 20 callers
Function
task
(over: Partial<ZeigarnikTask> = {})
src/tasks/zeigarnik.test.ts:13
↓ 20 callers
Function
warn
(msg)
scripts/preinstall-check.mjs:34
↓ 20 callers
Function
withTempHome
(fn: (home: string) => Promise<T>)
src/commands/agent.e2e.test.ts:38
↓ 19 callers
Function
_clearGraphReaderCache
()
src/memory/graph-reader.ts:511
↓ 19 callers
Function
asRecord
(value: unknown)
src/providers/google-shared.test-helpers.ts:4
↓ 19 callers
Function
buildBaseSessionKey
(params: { cfg: BitterbotConfig; agentId: string; channel: ChannelId; accountId?: string | null; pee
src/infra/outbound/outbound-session.ts:115
↓ 19 callers
Function
buildTestCtx
(overrides: Partial<MsgContext> = {})
src/auto-reply/reply/test-ctx.ts:4
↓ 19 callers
Function
classifyNativeSource
(url: string)
src/memory/skill-seekers-native.ts:66
↓ 19 callers
Function
create
()
src/canvas-host/a2ui/a2ui.bundle.js:3697
↓ 19 callers
Function
createAuthRateLimiter
(config?: RateLimitConfig)
src/gateway/auth-rate-limit.ts:84
↓ 19 callers
Method
delete
(key)
src/canvas-host/a2ui/a2ui.bundle.js:3525
↓ 19 callers
Function
execLaunchctl
( args: string[], )
src/daemon/launchd.ts:95
↓ 19 callers
Function
extractToolResultMediaPaths
(result: unknown)
src/agents/pi-embedded-subscribe.tools.ts:133
↓ 19 callers
Function
fetchAntigravityUsage
( token: string, timeoutMs: number, fetchFn: typeof fetch, )
src/infra/provider-usage.fetch.antigravity.ts:197
↓ 19 callers
Function
formatApiKeyPreview
( raw: string, opts: { head?: number; tail?: number } = {}, )
src/commands/auth-choice.api-key.ts:29
↓ 19 callers
Function
handleDiscordPresenceAction
( action: string, params: Record<string, unknown>, isActionEnabled: ActionGate<DiscordActionConfig>, )
src/agents/tools/discord-actions-presence.ts:18
↓ 19 callers
Function
isPrivateIpAddress
(address: string)
src/infra/net/ssrf.ts:186
↓ 19 callers
Function
log
(msg)
scripts/preinstall-check.mjs:31
↓ 19 callers
Function
makeCfg
(overrides: Partial<BitterbotConfig> = {})
src/agents/model-fallback.e2e.test.ts:12
↓ 19 callers
Function
normalizeMainKey
(value: string | undefined | null)
src/routing/session-key.ts:28
↓ 19 callers
Function
readStringArrayParam
( params: Record<string, unknown>, key: string, options: StringParamOptions = {}, )
src/agents/tools/common.ts:145
↓ 19 callers
Function
resolve
(id: string)
src/agents/tool-call-id.ts:227
↓ 19 callers
Function
resolveSessionStoreKey
(params: { cfg: BitterbotConfig; sessionKey: string; })
src/gateway/session-utils.ts:424
↓ 19 callers
Function
resolveTtsConfig
(cfg: BitterbotConfig)
src/tts/tts.ts:253
↓ 19 callers
Function
runStep
(opts: RunStepOptions)
src/infra/update-runner.ts:249
↓ 19 callers
Function
startServerWithClient
( token?: string, opts?: GatewayServerOptions & { wsHeaders?: Record<string, string> }, )
src/gateway/test-helpers.server.ts:370
↓ 19 callers
Function
stopTaskStore
()
src/tasks/store.ts:558
↓ 19 callers
Function
upsertChannelPairingRequest
(params: { channel: PairingChannel; id: string | number; accountId?: string; meta?: Record<string, str
src/pairing/pairing-store.ts:428
↓ 19 callers
Function
verifyX402Payment
(params: { paymentToken: string; expectedRecipient: string; minimumAmount: number; network?: "base" |
src/services/x402-verify.ts:86
↓ 18 callers
Function
buildMessagingTarget
( kind: MessagingTargetKind, id: string, raw: string, )
src/channels/targets.ts:22
↓ 18 callers
Function
buildStatusMessage
(args: StatusArgs)
src/auto-reply/status.ts:327
↓ 18 callers
Function
callTool
(name: string, args: Record<string, unknown>)
benchmarks/arc-agi-3/tests/mcp-server.test.ts:69
↓ 18 callers
Function
clampPercent
(value: number)
src/infra/provider-usage.shared.ts:46
↓ 18 callers
Function
classifySessionKeyShape
(sessionKey: string | undefined | null)
src/routing/session-key.ts:65
↓ 18 callers
Function
createBrowserTool
(opts?: { sandboxBridgeUrl?: string; allowHostControl?: boolean; })
src/agents/tools/browser-tool.ts:221
↓ 18 callers
Function
createContainer
(overrides: Partial<SandboxContainerInfo> = {})
src/commands/sandbox.e2e.test.ts:31
↓ 18 callers
Function
createDefaultGate
(seed = 1)
src/memory/structural-gate.ts:63
↓ 18 callers
Function
detectMime
(opts: { buffer?: Buffer; headerMime?: string | null; filePath?: string; })
src/media/mime.ts:99
↓ 18 callers
Function
drainSystemEvents
(sessionKey: string)
src/infra/system-events.ts:98
↓ 18 callers
Function
emitHeartbeatEvent
(evt: Omit<HeartbeatEventPayload, "ts">)
src/infra/heartbeat-events.ts:39
↓ 18 callers
Function
escapeRegExp
(value: string)
src/utils.ts:42
↓ 18 callers
Method
flush
* Signal end-of-stream. Returns any final emit. If we're mid-span at * EOS we DISCARD the held buffer — leaking a partial memory-context * is wo
src/agents/streaming-context-scrubber.ts:157
↓ 18 callers
Function
formatArgs
(key: keyof typeof COMMAND_ARG_FORMATTERS, values: Record<string, unknown>)
src/auto-reply/commands-args.test.ts:5
↓ 18 callers
Function
formatAssistantErrorText
( msg: AssistantMessage, opts?: { cfg?: BitterbotConfig; sessionKey?: string; provider?: string }, )
src/agents/pi-embedded-helpers/errors.ts:433
↓ 18 callers
Function
handleDiscordGuildAction
( action: string, params: Record<string, unknown>, isActionEnabled: ActionGate<DiscordActionConfig>, )
src/agents/tools/discord-actions-guild.ts:42
← previous
next →
401–500 of 14,466, ranked by callers