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
↓ 1,543 callers
Method
filter
* Filter crystals by a predicate function.
src/memory/pipeline.ts:52
↓ 831 callers
Method
has
(key)
src/canvas-host/a2ui/a2ui.bundle.js:3488
↓ 724 callers
Method
error
(msg: string)
src/infra/outbound/delivery-queue.ts:207
↓ 687 callers
Method
find
(provider: string, id: string)
src/commands/models.list.test.ts:56
↓ 594 callers
Method
from
* Creates an array from an iterable object. * @param iterable An iterable object to convert to an array. * @param mapfn A mapping function to ca
src/canvas-host/a2ui/a2ui.bundle.js:3374
↓ 572 callers
Method
add
(value)
src/canvas-host/a2ui/a2ui.bundle.js:3678
↓ 561 callers
Method
warn
(msg: string)
src/infra/outbound/delivery-queue.ts:206
↓ 561 callers
Method
writeFile
(params: { filePath: string; cwd?: string; data: Buffer | string; encoding?: BufferEncoding;
src/agents/sandbox/fs-bridge.ts:90
↓ 559 callers
Method
get
(params: { cfg: BitterbotConfig; agentId: string; purpose?: "default" | "status"; })
src/memory/manager.ts:356
↓ 547 callers
Method
resolve
(recordId: string, decision: ExecApprovalDecision, resolvedBy?: string | null)
src/gateway/exec-approval-manager.ts:116
↓ 489 callers
Function
respond
(ok, payload, error)
src/gateway/server-methods/agent.ts:90
↓ 467 callers
Function
readStringParam
( params: Record<string, unknown>, key: string, options: StringParamOptions = {}, )
src/agents/tools/common.ts:52
↓ 434 callers
Method
close
()
src/memory/types.ts:101
↓ 419 callers
Method
run
(opts?: { modes?: DreamMode[] })
src/memory/dream-engine.ts:454
↓ 408 callers
Method
set
Store a tool result in the cache.
src/agents/tool-cache.ts:99
↓ 393 callers
Method
keys
()
src/canvas-host/a2ui/a2ui.bundle.js:3496
↓ 390 callers
Method
execute
* Execute a code block in the sandbox. * The code is wrapped in an async IIFE so `await` works for llm_query calls. * Uses Promise.race with a h
src/agents/rlm/sandbox.ts:210
↓ 361 callers
Method
readFile
(params: { relPath: string; from?: number; lines?: number; })
src/memory/types.ts:83
↓ 357 callers
Method
command
()
src/slack/monitor.test-helpers.ts:201
↓ 354 callers
Method
entries
()
src/canvas-host/a2ui/a2ui.bundle.js:3492
↓ 352 callers
Method
toString
()
src/canvas-host/a2ui/a2ui.bundle.js:46
↓ 350 callers
Method
info
(msg: string)
src/infra/outbound/delivery-queue.ts:205
↓ 338 callers
Function
jsonResult
(payload: unknown)
src/agents/tools/common.ts:208
↓ 333 callers
Function
logVerbose
(message: string)
src/globals.ts:19
↓ 317 callers
Function
cn
(...inputs: ClassValue[])
desktop/renderer/src/lib/utils.ts:4
↓ 317 callers
Method
description
()
src/canvas-host/a2ui/a2ui.bundle.js:8225
↓ 302 callers
Function
errorShape
( code: ErrorCode, message: string, opts?: { details?: unknown; retryable?: boolean; retryAfterMs?: numb
src/gateway/protocol/schema/error-codes.ts:13
↓ 301 callers
Method
get
(id: string)
src/tasks/store.ts:198
↓ 273 callers
Method
action
()
src/canvas-host/a2ui/a2ui.bundle.js:6170
↓ 244 callers
Function
loadConfig
()
src/config/io.ts:532
↓ 220 callers
Method
delete
Hard delete; used by tests and operator-driven purges.
src/tasks/store.ts:336
↓ 202 callers
Function
createSubsystemLogger
(subsystem: string)
src/logging/subsystem.ts:230
↓ 195 callers
Method
note
(message: string, title?: string)
src/wizard/session.ts:68
↓ 193 callers
Method
get
()
src/canvas-host/a2ui/a2ui.bundle.js:173
↓ 192 callers
Method
indexOf
(haystack: string, needleCompare: string)
src/agents/streaming-context-scrubber.ts:94
↓ 188 callers
Method
values
()
src/canvas-host/a2ui/a2ui.bundle.js:3500
↓ 178 callers
Function
formatCliCommand
( command: string, env: Record<string, string | undefined> = process.env as Record<string, string | undefi
src/cli/command-format.ts:9
↓ 167 callers
Function
fetch
(url, init)
src/memory/forage-client.test.ts:54
↓ 161 callers
Method
text
()
src/canvas-host/a2ui/a2ui.bundle.js:10002
↓ 160 callers
Method
clear
(interceptorId: string)
src/agents/skills/interceptor-strikes-store.ts:33
↓ 158 callers
Function
set
(t)
src/canvas-host/a2ui/a2ui.bundle.js:1265
↓ 151 callers
Function
handler
(...args: unknown[])
src/web/session.ts:170
↓ 145 callers
Function
resolve
(enabledBit: number, limitedBit: number)
src/discord/probe.ts:64
↓ 143 callers
Method
get
Retrieve a cached result. Returns undefined on miss or expiry.
src/agents/tool-cache.ts:76
↓ 141 callers
Function
colorize
(rich: boolean, color: (value: string) => string, value: string)
src/terminal/theme.ts:29
↓ 140 callers
Function
getReplyFromConfig
( ctx: MsgContext, opts?: GetReplyOptions, configOverride?: BitterbotConfig, )
src/auto-reply/reply/get-reply.ts:53
↓ 128 callers
Function
withTempHome
(fn: (home: string) => Promise<T>)
src/auto-reply/reply.test-harness.ts:53
↓ 126 callers
Function
ensureColumn
( db: DatabaseSync, table: string, column: string, definition: string, )
src/memory/memory-schema.ts:126
↓ 126 callers
Function
handler
()
src/agents/session-write-lock.ts:108
↓ 124 callers
Function
resolveUserPath
( input: string, env: NodeJS.ProcessEnv = process.env, homedir: () => string = envHomedir(env), )
src/config/paths.ts:57
↓ 122 callers
Function
normalizeAgentId
(value: string | undefined | null)
src/routing/session-key.ts:76
↓ 120 callers
Method
end
* Signal to the parser that the end of the input was reached. * * Remaining data will be emitted and relevant errors will be produced. * *
src/canvas-host/a2ui/a2ui.bundle.js:10929
↓ 116 callers
Function
note
(message: string, title?: string)
src/terminal/note.ts:132
↓ 112 callers
Function
loadSessionStore
( storePath: string, opts: LoadSessionStoreOptions = {}, )
src/config/sessions/store.ts:147
↓ 107 callers
Method
stat
(params: { filePath: string; cwd?: string; signal?: AbortSignal; })
src/agents/sandbox/fs-bridge.ts:161
↓ 105 callers
Method
set
(t)
src/canvas-host/a2ui/a2ui.bundle.js:176
↓ 103 callers
Method
update
(id: string, input: TaskUpdateInput)
src/tasks/store.ts:213
↓ 102 callers
Function
accept
(f)
src/canvas-host/a2ui/a2ui.bundle.js:5021
↓ 99 callers
Function
createSkillChunk
( db: DatabaseSync, text: string, overrides: Partial<Parameters<typeof insertChunk>[1]> = {}, )
src/memory/p2p-skill-propagation.test.ts:162
↓ 98 callers
Method
get
* Look up a single grant. Returns null if no decision has been recorded.
src/agents/skills/capability-grants.ts:41
↓ 97 callers
Function
createTelegramBot
(opts: TelegramBotOptions)
src/telegram/bot.ts:114
↓ 97 callers
Function
resolveDefaultAgentId
(cfg: BitterbotConfig)
src/agents/agent-scope.ts:61
↓ 93 callers
Function
validateConfigObject
( raw: unknown, )
src/config/validation.ts:135
↓ 91 callers
Method
write
* Write an entity to the decoder. This can be called multiple times with partial entities. * If the entity is incomplete, the decoder will return -
src/canvas-host/a2ui/a2ui.bundle.js:10709
↓ 89 callers
Method
emit
(evt: TaskStoreEvent)
src/tasks/store.ts:124
↓ 89 callers
Function
shortenHomePath
(input: string)
src/utils.ts:347
↓ 86 callers
Function
jsonError
(res: BrowserResponse, status: number, message: string)
src/browser/routes/utils.ts:35
↓ 85 callers
Method
score
Award points if condition is true. Returns earned points.
benchmarks/biomemeval/scoring.ts:56
↓ 85 callers
Function
setActivePluginRegistry
(registry: PluginRegistry, cacheKey?: string)
src/plugins/runtime.ts:23
↓ 85 callers
Function
toStringOrEmpty
(value: unknown)
src/browser/routes/utils.ts:39
↓ 84 callers
Function
readNumberParam
( params: Record<string, unknown>, key: string, options: { required?: boolean; label?: string; integer?:
src/agents/tools/common.ts:107
↓ 82 callers
Function
request
(action: GatewayRunSignalAction, signal: string)
src/cli/gateway-cli/run-loop.ts:40
↓ 81 callers
Method
record
Feed one retrieval's per-layer contribution counts.
src/memory/retrieval-trace.ts:146
↓ 81 callers
Method
set
Cache `value` under `key` for this cache's TTL.
src/gateway/server-methods/ttl-cache.ts:44
↓ 79 callers
Method
delete
* Drop a single grant. Used when an operator revokes consent or when a * skill is removed from the active set.
src/agents/skills/capability-grants.ts:139
↓ 79 callers
Function
ensureMemoryIndexSchema
(params: { db: DatabaseSync; embeddingCacheTable: string; ftsTable: string; ftsEnabled: boolean; })
src/memory/memory-schema.ts:6
↓ 78 callers
Method
getState
()
src/gateway/server-methods/dream.ts:13
↓ 78 callers
Function
resolveStateDir
( env: NodeJS.ProcessEnv = process.env, homedir: () => string = envHomedir(env), )
src/config/paths.ts:45
↓ 70 callers
Method
create
(input: TaskCreateInput)
src/tasks/store.ts:134
↓ 70 callers
Method
run
(prompter: WizardPrompter)
src/wizard/session.ts:221
↓ 69 callers
Function
insertChunk
Insert a chunk with all required columns for test convenience.
src/memory/knowledge-crystal-system.test.ts:53
↓ 69 callers
Method
stop
()
src/gateway/call.test.ts:68
↓ 68 callers
Method
append
(evt: AgentEventPayload)
src/infra/event-journal.ts:102
↓ 68 callers
Method
confirm
(params: { message: string; initialValue?: boolean })
src/wizard/session.ts:138
↓ 68 callers
Function
formatDocsLink
( path: string, label?: string, opts?: { fallback?: string; force?: boolean }, )
src/terminal/links.ts:5
↓ 68 callers
Function
markdownToIR
(markdown: string, options: MarkdownParseOptions = {})
src/markdown/ir.ts:830
↓ 68 callers
Method
name
()
src/canvas-host/a2ui/a2ui.bundle.js:7475
↓ 68 callers
Function
rpcReq
( ws: WebSocket, method: string, params?: unknown, timeoutMs?: number, )
src/gateway/test-helpers.server.ts:565
↓ 67 callers
Function
emitAgentEvent
(event: Omit<AgentEventPayload, "seq" | "ts">)
src/infra/agent-events.ts:64
↓ 67 callers
Function
getOnHandler
(event: string)
src/telegram/bot.create-telegram-bot.test-harness.ts:200
↓ 67 callers
Function
runSecurityAudit
(opts: SecurityAuditOptions)
src/security/audit.ts:606
↓ 66 callers
Function
createBitterbotCodingTools
(options?: { exec?: ExecToolDefaults & ProcessToolDefaults; messageProvider?: string; agentAccountId?: s
src/agents/pi-tools.ts:142
↓ 66 callers
Method
get
Return the cached value for `key` if present and unexpired, else undefined.
src/gateway/server-methods/ttl-cache.ts:31
↓ 66 callers
Function
writeConfigFile
(cfg: BitterbotConfig, options: ConfigWriteOptions = {})
src/config/io.ts:837
↓ 65 callers
Function
isTruthyEnvValue
(value?: string)
src/infra/env.ts:46
↓ 65 callers
Function
subscribeEmbeddedPiSession
(params: SubscribeEmbeddedPiSessionParams)
src/agents/pi-embedded-subscribe.ts:36
↓ 64 callers
Function
messageAction
(label: string, text?: string)
src/line/actions.ts:8
↓ 63 callers
Function
resolveAgentWorkspaceDir
(cfg: BitterbotConfig, agentId: string)
src/agents/agent-scope.ts:181
↓ 62 callers
Function
createTestRegistry
(channels: PluginRegistry["channels"] = [])
src/test-utils/channel-plugins.ts:9
↓ 62 callers
Function
runMigrations
( db: DatabaseSync, migrations: Migration[] = MIGRATIONS, )
src/memory/migrations.ts:1145
next →
1–100 of 14,466, ranked by callers