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
↓ 61 callers
Function
ensureAuthProfileStore
( agentDir?: string, options?: { allowKeychainPrompt?: boolean }, )
src/agents/auth-profiles/store.ts:319
↓ 61 callers
Function
getChannelPlugin
(id: ChannelId)
src/channels/plugins/index.ts:45
↓ 61 callers
Function
shouldLogVerbose
()
src/globals.ts:15
↓ 60 callers
Function
emptyClasses
()
src/canvas-host/a2ui/a2ui.bundle.js:19375
↓ 60 callers
Function
isActionEnabled
(key: string, defaultValue = true)
src/slack/message-actions.ts:14
↓ 60 callers
Function
resolveAgentRoute
(input: ResolveAgentRouteInput)
src/routing/resolve-route.ts:295
↓ 59 callers
Method
get
(key: string, cfg: BitterbotConfig)
src/infra/outbound/directory-cache.ts:34
↓ 59 callers
Function
normalizeProviderId
(provider: string)
src/agents/model-selection.ts:34
↓ 57 callers
Function
formatValidationErrors
(errors: ErrorObject[] | null | undefined)
src/gateway/protocol/index.ts:402
↓ 57 callers
Function
isRecord
(value: unknown)
src/commands/doctor-legacy-config.ts:9
↓ 57 callers
Function
normalizeAccountId
(accountId: string | undefined)
src/line/accounts.ts:175
↓ 57 callers
Method
upsertEntity
(entity: { name: string; type: string })
benchmarks/biomemeval/adapter.ts:66
↓ 56 callers
Method
get
(nodeId: string)
src/gateway/node-registry.ts:103
↓ 56 callers
Method
recordUsage
* Upsert a lifecycle row from execution telemetry. Increments usage / success / * error counts and bumps `last_used_at`. If the row does not yet ex
src/memory/skill-lifecycle.ts:103
↓ 55 callers
Method
get
(self, game_id: str)
benchmarks/arc-agi-3/kaggle/bitterbot_memory_py/bitterbot_memory/epistemic.py:48
↓ 55 callers
Function
label
(text: string)
src/cli/memory-cli.ts:359
↓ 55 callers
Function
resetSubagentRegistryForTests
(opts?: { persist?: boolean })
src/agents/subagent-registry.ts:522
↓ 55 callers
Function
updateSessionStore
( storePath: string, mutator: (store: Record<string, SessionEntry>) => Promise<T> | T, opts?: SaveSessio
src/config/sessions/store.ts:590
↓ 54 callers
Method
check
Check whether `ip` is currently allowed to attempt authentication.
src/gateway/auth-rate-limit.ts:58
↓ 54 callers
Function
createBitterbotTools
(options?: { sandboxBrowserBridgeUrl?: string; allowHostBrowserControl?: boolean; agentSessionKey?: stri
src/agents/bitterbot-tools.ts:63
↓ 54 callers
Function
ensurePageState
(page: Page)
src/browser/pw-session.ts:195
↓ 54 callers
Function
logDebug
(message: string)
src/logger.ts:57
↓ 53 callers
Function
captureEnv
(keys: string[])
src/test-utils/env.ts:1
↓ 53 callers
Method
status
()
src/memory/types.ts:93
↓ 52 callers
Function
getRunEmbeddedPiAgentMock
()
src/auto-reply/reply.triggers.trigger-handling.test-harness.ts:29
↓ 52 callers
Function
makeResponse
(status: number, body: unknown)
src/infra/provider-usage.fetch.antigravity.test.ts:4
↓ 51 callers
Function
applyAuthProfileConfig
( cfg: BitterbotConfig, params: { profileId: string; provider: string; mode: "api_key" | "oaut
src/commands/onboard-auth.config-core.ts:437
↓ 51 callers
Function
makeCfg
(params: { storePath: string; allowFrom: string[] })
src/auto-reply/reply/session.test.ts:551
↓ 51 callers
Function
normalizeE164
(number: string)
src/utils.ts:97
↓ 49 callers
Function
formatErrorMessage
(err: unknown)
src/infra/errors.ts:31
↓ 49 callers
Function
normalizeProviderId
(provider?: string | null)
src/auto-reply/thinking.ts:9
↓ 49 callers
Method
upsertRelationship
(params: { sourceName: string; sourceType: string; targetName: string; targetType: string;
benchmarks/biomemeval/adapter.ts:67
↓ 48 callers
Method
has
(scope: string, text: string)
src/imessage/monitor/monitor-provider.ts:90
↓ 48 callers
Function
markdownToTelegramHtml
( markdown: string, options: { tableMode?: MarkdownTableMode; wrapFileRefs?: boolean } = {}, )
src/telegram/format.ts:110
↓ 48 callers
Function
resolveStorageRoots
(opts: SkillStorageRoots = {})
src/agents/skills/skill-storage.ts:71
↓ 48 callers
Function
runCommandWithTimeout
( argv: string[], optionsOrTimeout: number | CommandOptions, )
src/process/exec.ts:98
↓ 47 callers
Function
handleCommands
(params: HandleCommandsParams)
src/auto-reply/reply/commands-core.ts:40
↓ 47 callers
Function
redactConfigSnapshot
( snapshot: ConfigFileSnapshot, uiHints?: ConfigUiHints, )
src/config/redact-snapshot.ts:277
↓ 47 callers
Method
set
(key: string, value: T, cfg: BitterbotConfig)
src/infra/outbound/directory-cache.ts:44
↓ 46 callers
Function
buildAgentSystemPrompt
(params: { workspaceDir: string; defaultThinkLevel?: ThinkLevel; reasoningLevel?: ReasoningLevel; extr
src/agents/system-prompt.ts:618
↓ 46 callers
Function
callGateway
( opts: CallGatewayOptions, )
src/gateway/call.ts:156
↓ 46 callers
Function
enqueueSystemEvent
(text: string, options: SystemEventOptions)
src/infra/system-events.ts:51
↓ 46 callers
Function
getActiveTaskStore
()
src/tasks/store.ts:564
↓ 46 callers
Function
getPageForTargetId
(opts: { cdpUrl: string; targetId?: string; })
src/browser/pw-session.ts:449
↓ 46 callers
Function
makeDiscordRest
()
src/discord/send.test-harness.ts:35
↓ 46 callers
Method
register
(typeName, constructor, tagName)
src/canvas-host/a2ui/a2ui.bundle.js:4984
↓ 45 callers
Function
listChannelPlugins
()
src/channels/plugins/index.ts:31
↓ 45 callers
Function
makeEntry
(updatedAt: number)
src/config/sessions/store.pruning.test.ts:42
↓ 45 callers
Function
modelKey
(provider: string, model: string)
src/agents/model-selection.ts:30
↓ 45 callers
Method
sendMessage
* Send a message to a channel
extensions/twitch/src/twitch-client.ts:235
↓ 45 callers
Method
set
* Record an operator decision. UPSERT semantics: re-running with the same * (hash, capability) overwrites the previous decision and updates the
src/agents/skills/capability-grants.ts:73
↓ 44 callers
Method
forEach
(fn)
src/canvas-host/a2ui/a2ui.bundle.js:3504
↓ 44 callers
Function
makeSnapshot
(config: Record<string, unknown>, raw?: string)
src/config/redact-snapshot.test.ts:14
↓ 44 callers
Function
n$6
(t)
src/canvas-host/a2ui/a2ui.bundle.js:4519
↓ 44 callers
Function
normalizeChannelId
(raw?: string | null)
src/channels/registry.ts:124
↓ 43 callers
Function
parentOpts
(cmd: Command)
src/cli/browser-cli.ts:46
↓ 43 callers
Function
withBaseUrl
(baseUrl: string | undefined, path: string)
src/browser/client.ts:93
↓ 42 callers
Method
evaluate
* Evaluate a proposed skill mutation against the original. Runs the * faithfulness gate first; on failure, short-circuits before the * performan
src/memory/experiment-sandbox.ts:131
↓ 42 callers
Function
getMemorySearchManager
(params: { cfg: BitterbotConfig; agentId: string; purpose?: "default" | "status"; })
src/memory/search-manager.ts:9
↓ 42 callers
Function
getRecord
(value: unknown)
src/config/legacy.shared.ts:17
↓ 42 callers
Function
readString
(value: unknown)
src/cron/normalize.ts:367
↓ 42 callers
Function
resolveStorePath
(agentId: string, raw?: string)
src/agents/memory-search.ts:129
↓ 41 callers
Function
sanitizeBashCommand
(command: string, opts: SanitizeOptions = {})
src/agents/bash-tools.command-sanitize.ts:238
↓ 41 callers
Method
stimulate
(text: string)
benchmarks/dream-ablation/bridge.ts:53
↓ 41 callers
Function
stripReasoningTagsFromText
( text: string, options?: { mode?: ReasoningTagMode; trim?: ReasoningTagTrim; }, )
src/shared/text/reasoning-tags.ts:50
↓ 41 callers
Function
wrapFileReferencesInHtml
(html: string)
src/telegram/format.ts:179
↓ 40 callers
Function
generateKeyPair
()
src/commerce/envelope.ts:67
↓ 40 callers
Function
isPlainObject
(value: unknown)
src/config/io.ts:157
↓ 40 callers
Function
loadConfig
()
src/cli/program/register.subclis.ts:29
↓ 40 callers
Function
resolve
(obj: unknown, files: Record<string, unknown> = {}, basePath = DEFAULT_BASE_PATH)
src/config/includes.test.ts:41
↓ 40 callers
Function
resolveAgentIdFromSessionKey
(sessionKey: string | undefined | null)
src/routing/session-key.ts:60
↓ 39 callers
Function
logProgress
(message: string)
src/gateway/gateway-models.profiles.live.test.ts:57
↓ 39 callers
Function
runEmbeddedPiAgent
( params: RunEmbeddedPiAgentParams, )
src/agents/pi-embedded-runner/run.ts:162
↓ 39 callers
Function
sleep
(ms: number)
src/telegram/bot.media.downloads-media-file-path-no-file-download.e2e.test.ts:16
↓ 39 callers
Function
writeSessionStore
(params: { entries: Record<string, Partial<SessionEntry>>; storePath?: string; agentId?: string; mainK
src/gateway/test-helpers.server.ts:61
↓ 38 callers
Function
emit
(event: SkillsChangeEvent)
src/agents/skills/refresh.ts:49
↓ 38 callers
Function
handleDiscordAction
( params: Record<string, unknown>, cfg: BitterbotConfig, )
src/agents/tools/discord-actions.ts:57
↓ 38 callers
Function
normalizeApiKeyInput
(raw: string)
src/commands/auth-choice.api-key.ts:3
↓ 38 callers
Function
normalizeDiscordSlug
(value: string)
src/discord/monitor/allow-list.ts:92
↓ 38 callers
Function
resolveEnvApiKey
(provider: string)
src/agents/model-auth.ts:238
↓ 38 callers
Function
resolveMainSessionKey
(cfg?: { session?: { scope?: SessionScope; mainKey?: string }; agents?: { list?: Array<{ id?: string; defa
src/config/sessions/main-session.ts:11
↓ 38 callers
Function
scanSkillForInjection
(content: string)
src/security/skill-injection-scanner.ts:181
↓ 38 callers
Function
withTempHome
(fn: (home: string) => Promise<T>)
src/config/test-helpers.ts:3
↓ 37 callers
Function
buildParams
( commandBody: string, cfg: BitterbotConfig, ctxOverrides?: Partial<MsgContext>, )
src/auto-reply/reply/commands.test.ts:132
↓ 37 callers
Function
createTaskCreateTool
(options: { agentSessionKey?: string })
src/agents/tools/task-tool.ts:232
↓ 37 callers
Method
encode
Return an array of shape (len(texts), self.dim). L2-normalized.
benchmarks/arc-agi-3/kaggle/bitterbot_memory_py/bitterbot_memory/embedder.py:34
↓ 37 callers
Function
handleSlackAction
( params: Record<string, unknown>, cfg: BitterbotConfig, context?: SlackActionContext, )
src/agents/tools/slack-actions.ts:87
↓ 37 callers
Function
loadWebMedia
( mediaUrl: string, maxBytesOrOptions?: number | WebMediaOptions, options?: { ssrfPolicy?: SsrFPolicy; l
src/web/media.ts:327
↓ 37 callers
Function
resolveConfigEnvVars
(obj: unknown, env: NodeJS.ProcessEnv = process.env)
src/config/env-substitution.ts:168
↓ 37 callers
Function
saveSessionStore
( storePath: string, store: Record<string, SessionEntry>, opts?: SaveSessionStoreOptions, )
src/config/sessions/store.ts:580
↓ 37 callers
Method
select
(params: { message: string; options: Array<{ value: T; label: string; hint?: string }>; initialVal
src/wizard/session.ts:72
↓ 37 callers
Function
sendJson
(res: ServerResponse, status: number, body: unknown)
src/gateway/server-http.ts:83
↓ 37 callers
Function
sendMessageTelegram
( to: string, text: string, opts: TelegramSendOpts = {}, )
src/telegram/send.ts:240
↓ 36 callers
Function
authorizeGatewayConnect
(params: { auth: ResolvedGatewayAuth; connectAuth?: ConnectAuth | null; req?: IncomingMessage; trusted
src/gateway/auth.ts:284
↓ 36 callers
Function
callTool
( tool: ReturnType<typeof createTaskCreateTool>, params: Record<string, unknown>, )
src/agents/tools/task-tool.test.ts:31
↓ 36 callers
Function
getInterceptorRegistry
()
src/agents/skills/interceptor-registry.ts:163
↓ 36 callers
Function
hasControlCommand
( text?: string, cfg?: BitterbotConfig, options?: CommandNormalizeOptions, )
src/auto-reply/command-detection.ts:10
↓ 36 callers
Method
list
()
src/agents/skills/interceptor-strikes-store.ts:34
↓ 36 callers
Function
renderTable
(opts: RenderTableOptions)
src/terminal/table.ts:234
↓ 36 callers
Function
resolveAuthProfileOrder
(params: { cfg?: BitterbotConfig; store: AuthProfileStore; provider: string; preferredProfile?: string
src/agents/auth-profiles/order.ts:20
← previous
next →
101–200 of 14,466, ranked by callers