MCPcopy Create free account

hub / github.com/Bitterbot-AI/bitterbot-desktop / functions

Functions14,466 in github.com/Bitterbot-AI/bitterbot-desktop

↓ 1,543 callersMethodfilter
* Filter crystals by a predicate function.
src/memory/pipeline.ts:52
↓ 831 callersMethodhas
(key)
src/canvas-host/a2ui/a2ui.bundle.js:3488
↓ 724 callersMethoderror
(msg: string)
src/infra/outbound/delivery-queue.ts:207
↓ 687 callersMethodfind
(provider: string, id: string)
src/commands/models.list.test.ts:56
↓ 594 callersMethodfrom
* 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 callersMethodadd
(value)
src/canvas-host/a2ui/a2ui.bundle.js:3678
↓ 561 callersMethodwarn
(msg: string)
src/infra/outbound/delivery-queue.ts:206
↓ 561 callersMethodwriteFile
(params: { filePath: string; cwd?: string; data: Buffer | string; encoding?: BufferEncoding;
src/agents/sandbox/fs-bridge.ts:90
↓ 559 callersMethodget
(params: { cfg: BitterbotConfig; agentId: string; purpose?: "default" | "status"; })
src/memory/manager.ts:356
↓ 547 callersMethodresolve
(recordId: string, decision: ExecApprovalDecision, resolvedBy?: string | null)
src/gateway/exec-approval-manager.ts:116
↓ 489 callersFunctionrespond
(ok, payload, error)
src/gateway/server-methods/agent.ts:90
↓ 467 callersFunctionreadStringParam
( params: Record<string, unknown>, key: string, options: StringParamOptions = {}, )
src/agents/tools/common.ts:52
↓ 434 callersMethodclose
()
src/memory/types.ts:101
↓ 419 callersMethodrun
(opts?: { modes?: DreamMode[] })
src/memory/dream-engine.ts:454
↓ 408 callersMethodset
Store a tool result in the cache.
src/agents/tool-cache.ts:99
↓ 393 callersMethodkeys
()
src/canvas-host/a2ui/a2ui.bundle.js:3496
↓ 390 callersMethodexecute
* 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 callersMethodreadFile
(params: { relPath: string; from?: number; lines?: number; })
src/memory/types.ts:83
↓ 357 callersMethodcommand
()
src/slack/monitor.test-helpers.ts:201
↓ 354 callersMethodentries
()
src/canvas-host/a2ui/a2ui.bundle.js:3492
↓ 352 callersMethodtoString
()
src/canvas-host/a2ui/a2ui.bundle.js:46
↓ 350 callersMethodinfo
(msg: string)
src/infra/outbound/delivery-queue.ts:205
↓ 338 callersFunctionjsonResult
(payload: unknown)
src/agents/tools/common.ts:208
↓ 333 callersFunctionlogVerbose
(message: string)
src/globals.ts:19
↓ 317 callersFunctioncn
(...inputs: ClassValue[])
desktop/renderer/src/lib/utils.ts:4
↓ 317 callersMethoddescription
()
src/canvas-host/a2ui/a2ui.bundle.js:8225
↓ 302 callersFunctionerrorShape
( code: ErrorCode, message: string, opts?: { details?: unknown; retryable?: boolean; retryAfterMs?: numb
src/gateway/protocol/schema/error-codes.ts:13
↓ 301 callersMethodget
(id: string)
src/tasks/store.ts:198
↓ 273 callersMethodaction
()
src/canvas-host/a2ui/a2ui.bundle.js:6170
↓ 244 callersFunctionloadConfig
()
src/config/io.ts:532
↓ 220 callersMethoddelete
Hard delete; used by tests and operator-driven purges.
src/tasks/store.ts:336
↓ 202 callersFunctioncreateSubsystemLogger
(subsystem: string)
src/logging/subsystem.ts:230
↓ 195 callersMethodnote
(message: string, title?: string)
src/wizard/session.ts:68
↓ 193 callersMethodget
()
src/canvas-host/a2ui/a2ui.bundle.js:173
↓ 192 callersMethodindexOf
(haystack: string, needleCompare: string)
src/agents/streaming-context-scrubber.ts:94
↓ 188 callersMethodvalues
()
src/canvas-host/a2ui/a2ui.bundle.js:3500
↓ 178 callersFunctionformatCliCommand
( command: string, env: Record<string, string | undefined> = process.env as Record<string, string | undefi
src/cli/command-format.ts:9
↓ 167 callersFunctionfetch
(url, init)
src/memory/forage-client.test.ts:54
↓ 161 callersMethodtext
()
src/canvas-host/a2ui/a2ui.bundle.js:10002
↓ 160 callersMethodclear
(interceptorId: string)
src/agents/skills/interceptor-strikes-store.ts:33
↓ 158 callersFunctionset
(t)
src/canvas-host/a2ui/a2ui.bundle.js:1265
↓ 151 callersFunctionhandler
(...args: unknown[])
src/web/session.ts:170
↓ 145 callersFunctionresolve
(enabledBit: number, limitedBit: number)
src/discord/probe.ts:64
↓ 143 callersMethodget
Retrieve a cached result. Returns undefined on miss or expiry.
src/agents/tool-cache.ts:76
↓ 141 callersFunctioncolorize
(rich: boolean, color: (value: string) => string, value: string)
src/terminal/theme.ts:29
↓ 140 callersFunctiongetReplyFromConfig
( ctx: MsgContext, opts?: GetReplyOptions, configOverride?: BitterbotConfig, )
src/auto-reply/reply/get-reply.ts:53
↓ 128 callersFunctionwithTempHome
(fn: (home: string) => Promise<T>)
src/auto-reply/reply.test-harness.ts:53
↓ 126 callersFunctionensureColumn
( db: DatabaseSync, table: string, column: string, definition: string, )
src/memory/memory-schema.ts:126
↓ 126 callersFunctionhandler
()
src/agents/session-write-lock.ts:108
↓ 124 callersFunctionresolveUserPath
( input: string, env: NodeJS.ProcessEnv = process.env, homedir: () => string = envHomedir(env), )
src/config/paths.ts:57
↓ 122 callersFunctionnormalizeAgentId
(value: string | undefined | null)
src/routing/session-key.ts:76
↓ 120 callersMethodend
* 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 callersFunctionnote
(message: string, title?: string)
src/terminal/note.ts:132
↓ 112 callersFunctionloadSessionStore
( storePath: string, opts: LoadSessionStoreOptions = {}, )
src/config/sessions/store.ts:147
↓ 107 callersMethodstat
(params: { filePath: string; cwd?: string; signal?: AbortSignal; })
src/agents/sandbox/fs-bridge.ts:161
↓ 105 callersMethodset
(t)
src/canvas-host/a2ui/a2ui.bundle.js:176
↓ 103 callersMethodupdate
(id: string, input: TaskUpdateInput)
src/tasks/store.ts:213
↓ 102 callersFunctionaccept
(f)
src/canvas-host/a2ui/a2ui.bundle.js:5021
↓ 99 callersFunctioncreateSkillChunk
( db: DatabaseSync, text: string, overrides: Partial<Parameters<typeof insertChunk>[1]> = {}, )
src/memory/p2p-skill-propagation.test.ts:162
↓ 98 callersMethodget
* Look up a single grant. Returns null if no decision has been recorded.
src/agents/skills/capability-grants.ts:41
↓ 97 callersFunctioncreateTelegramBot
(opts: TelegramBotOptions)
src/telegram/bot.ts:114
↓ 97 callersFunctionresolveDefaultAgentId
(cfg: BitterbotConfig)
src/agents/agent-scope.ts:61
↓ 93 callersFunctionvalidateConfigObject
( raw: unknown, )
src/config/validation.ts:135
↓ 91 callersMethodwrite
* 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 callersMethodemit
(evt: TaskStoreEvent)
src/tasks/store.ts:124
↓ 89 callersFunctionshortenHomePath
(input: string)
src/utils.ts:347
↓ 86 callersFunctionjsonError
(res: BrowserResponse, status: number, message: string)
src/browser/routes/utils.ts:35
↓ 85 callersMethodscore
Award points if condition is true. Returns earned points.
benchmarks/biomemeval/scoring.ts:56
↓ 85 callersFunctionsetActivePluginRegistry
(registry: PluginRegistry, cacheKey?: string)
src/plugins/runtime.ts:23
↓ 85 callersFunctiontoStringOrEmpty
(value: unknown)
src/browser/routes/utils.ts:39
↓ 84 callersFunctionreadNumberParam
( params: Record<string, unknown>, key: string, options: { required?: boolean; label?: string; integer?:
src/agents/tools/common.ts:107
↓ 82 callersFunctionrequest
(action: GatewayRunSignalAction, signal: string)
src/cli/gateway-cli/run-loop.ts:40
↓ 81 callersMethodrecord
Feed one retrieval's per-layer contribution counts.
src/memory/retrieval-trace.ts:146
↓ 81 callersMethodset
Cache `value` under `key` for this cache's TTL.
src/gateway/server-methods/ttl-cache.ts:44
↓ 79 callersMethoddelete
* 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 callersFunctionensureMemoryIndexSchema
(params: { db: DatabaseSync; embeddingCacheTable: string; ftsTable: string; ftsEnabled: boolean; })
src/memory/memory-schema.ts:6
↓ 78 callersMethodgetState
()
src/gateway/server-methods/dream.ts:13
↓ 78 callersFunctionresolveStateDir
( env: NodeJS.ProcessEnv = process.env, homedir: () => string = envHomedir(env), )
src/config/paths.ts:45
↓ 70 callersMethodcreate
(input: TaskCreateInput)
src/tasks/store.ts:134
↓ 70 callersMethodrun
(prompter: WizardPrompter)
src/wizard/session.ts:221
↓ 69 callersFunctioninsertChunk
Insert a chunk with all required columns for test convenience.
src/memory/knowledge-crystal-system.test.ts:53
↓ 69 callersMethodstop
()
src/gateway/call.test.ts:68
↓ 68 callersMethodappend
(evt: AgentEventPayload)
src/infra/event-journal.ts:102
↓ 68 callersMethodconfirm
(params: { message: string; initialValue?: boolean })
src/wizard/session.ts:138
↓ 68 callersFunctionformatDocsLink
( path: string, label?: string, opts?: { fallback?: string; force?: boolean }, )
src/terminal/links.ts:5
↓ 68 callersFunctionmarkdownToIR
(markdown: string, options: MarkdownParseOptions = {})
src/markdown/ir.ts:830
↓ 68 callersMethodname
()
src/canvas-host/a2ui/a2ui.bundle.js:7475
↓ 68 callersFunctionrpcReq
( ws: WebSocket, method: string, params?: unknown, timeoutMs?: number, )
src/gateway/test-helpers.server.ts:565
↓ 67 callersFunctionemitAgentEvent
(event: Omit<AgentEventPayload, "seq" | "ts">)
src/infra/agent-events.ts:64
↓ 67 callersFunctiongetOnHandler
(event: string)
src/telegram/bot.create-telegram-bot.test-harness.ts:200
↓ 67 callersFunctionrunSecurityAudit
(opts: SecurityAuditOptions)
src/security/audit.ts:606
↓ 66 callersFunctioncreateBitterbotCodingTools
(options?: { exec?: ExecToolDefaults & ProcessToolDefaults; messageProvider?: string; agentAccountId?: s
src/agents/pi-tools.ts:142
↓ 66 callersMethodget
Return the cached value for `key` if present and unexpired, else undefined.
src/gateway/server-methods/ttl-cache.ts:31
↓ 66 callersFunctionwriteConfigFile
(cfg: BitterbotConfig, options: ConfigWriteOptions = {})
src/config/io.ts:837
↓ 65 callersFunctionisTruthyEnvValue
(value?: string)
src/infra/env.ts:46
↓ 65 callersFunctionsubscribeEmbeddedPiSession
(params: SubscribeEmbeddedPiSessionParams)
src/agents/pi-embedded-subscribe.ts:36
↓ 64 callersFunctionmessageAction
(label: string, text?: string)
src/line/actions.ts:8
↓ 63 callersFunctionresolveAgentWorkspaceDir
(cfg: BitterbotConfig, agentId: string)
src/agents/agent-scope.ts:181
↓ 62 callersFunctioncreateTestRegistry
(channels: PluginRegistry["channels"] = [])
src/test-utils/channel-plugins.ts:9
↓ 62 callersFunctionrunMigrations
( db: DatabaseSync, migrations: Migration[] = MIGRATIONS, )
src/memory/migrations.ts:1145
next →1–100 of 14,466, ranked by callers