Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beita6969/ScienceClaw
/ functions
Functions
26,379 in github.com/beita6969/ScienceClaw
⨍
Functions
26,379
◇
Types & classes
983
↳
Endpoints
10
↓ 21 callers
Function
buildApiErrorObservationFields
(rawError?: string)
src/agents/pi-embedded-error-observation.ts:131
↓ 21 callers
Function
buildCtx
()
src/gateway/server-node-events.test.ts:73
↓ 21 callers
Function
buildInboundUserContextPrefix
(ctx: TemplateContext)
src/auto-reply/reply/inbound-meta.ts:84
↓ 21 callers
Function
buildManager
(opts?: ConstructorParameters<typeof OpenAIWebSocketManager>[0])
src/agents/openai-ws-connection.test.ts:166
↓ 21 callers
Function
buildProfileQuery
(profile?: string)
src/browser/client.ts:91
↓ 21 callers
Function
coerceSecretRef
(value: unknown, defaults?: SecretDefaults)
src/config/types.secrets.ts:82
↓ 21 callers
Function
createAcpConnection
()
src/acp/translator.test-helpers.ts:9
↓ 21 callers
Function
createAcpGateway
( request: GatewayClient["request"] = vi.fn(async () => ({ ok: true })) as GatewayClient["request"], )
src/acp/translator.test-helpers.ts:17
↓ 21 callers
Function
createBrowserRouteContext
(opts: ContextOptions)
src/browser/server-context.ts:118
↓ 21 callers
Function
createContext
(overrides?: { dmEnabled?: boolean; dmPolicy?: "open" | "allowlist" | "pairing" | "disabled"; allowFrom?
src/slack/monitor/events/interactions.test.ts:62
↓ 21 callers
Function
createMockPluginRegistry
( hooks: Array<{ hookName: string; handler: (...args: unknown[]) => unknown }>, )
src/plugins/hooks.test-helpers.ts:4
↓ 21 callers
Function
createPluginRuntimeStore
(errorMessage: string)
src/plugin-sdk/runtime-store.ts:1
↓ 21 callers
Function
createRun
(params?: { provider?: string; model?: string; opts?: { runId?: string; onAgentRunStar
src/auto-reply/reply/agent-runner.misc.runreplyagent.test.ts:113
↓ 21 callers
Function
delay
(ms: number)
extensions/zalouser/src/zalo-js.ts:123
↓ 21 callers
Function
deliverDiscordReply
(params: { cfg: OpenClawConfig; replies: ReplyPayload[]; target: string; token: string; accountId?:
src/discord/monitor/reply-delivery.ts:237
↓ 21 callers
Method
dispose
* Dispose of any resources held by the engine.
src/context-engine/types.ts:167
↓ 21 callers
Function
formatAssistantErrorText
( msg: AssistantMessage, opts?: { cfg?: OpenClawConfig; sessionKey?: string; provider?: string; model?: st
src/agents/pi-embedded-helpers/errors.ts:630
↓ 21 callers
Function
generateInteractionToken
( context: Record<string, unknown>, accountId?: string, )
extensions/mattermost/src/mattermost/interactions.ts:211
↓ 21 callers
Function
getNodesTheme
()
src/cli/nodes-cli/cli-utils.ts:6
↓ 21 callers
Function
isHeartbeatContentEffectivelyEmpty
(content: string | undefined | null)
src/auto-reply/heartbeat.ts:23
↓ 21 callers
Function
issuePairingChallenge
( params: PairingChallengeParams, )
src/pairing/pairing-challenge.ts:24
↓ 21 callers
Function
makeSlackMessageEvent
(overrides: Partial<SlackMessageEvent> = {})
src/slack/monitor.tool-result.test.ts:49
↓ 21 callers
Function
mockConfig
( home: string, storePath: string, agentOverrides?: Partial<NonNullable<NonNullable<OpenClawConfig["agen
src/commands/agent.test.ts:64
↓ 21 callers
Function
normalize
(value: string | undefined)
src/infra/home-dir.ts:4
↓ 21 callers
Function
normalizeMainKey
(value: string | undefined | null)
src/routing/session-key.ts:40
↓ 21 callers
Function
normalizeModelCompat
(model: Model<Api>)
src/agents/model-compat.ts:39
↓ 21 callers
Function
normalizeProfile
(profile?: string | null)
extensions/zalouser/src/zalo-js.ts:127
↓ 21 callers
Function
normalizeUsage
(raw?: UsageLike | null)
src/agents/usage.ts:88
↓ 21 callers
Function
recordChannelActivity
(params: { channel: ChannelId; accountId?: string | null; direction: ChannelDirection; at?: number; })
src/infra/channel-activity.ts:26
↓ 21 callers
Function
registerAgentRunContext
(runId: string, context: AgentRunContext)
src/infra/agent-events.ts:27
↓ 21 callers
Function
replyText
(res: ReplyPayloadText | ReplyPayloadText[])
src/auto-reply/reply.directive.directive-behavior.e2e-harness.ts:25
↓ 21 callers
Function
resolveAccountEntry
( accounts: Record<string, T> | undefined, accountId: string, )
src/routing/account-lookup.ts:1
↓ 21 callers
Function
resolveSubagentLabel
(entry: SubagentRunRecord, fallback = "subagent")
src/auto-reply/reply/subagents-utils.ts:4
↓ 21 callers
Function
runMemoryCli
(args: string[])
src/cli/memory-cli.test.ts:109
↓ 21 callers
Function
runStep
(opts: RunStepOptions)
src/infra/update-runner.ts:256
↓ 21 callers
Function
sendJson
(res: ServerResponse, status: number, body: unknown)
extensions/nostr/src/nostr-profile-http.ts:154
↓ 21 callers
Function
step
( name: string, argv: string[], cwd: string, env?: NodeJS.ProcessEnv, )
src/infra/update-runner.ts:336
↓ 21 callers
Method
stop
()
src/imessage/client.ts:121
↓ 21 callers
Function
unregister
()
src/plugin-sdk/webhook-targets.ts:79
↓ 21 callers
Function
validateAnthropicTurns
(messages: AgentMessage[])
src/agents/pi-embedded-helpers/turns.ts:192
↓ 21 callers
Function
withTelegramApiErrorLogging
({ operation, fn, runtime, logger, shouldLog, }: TelegramApiLoggingParams<T>)
src/telegram/api-logging.ts:28
↓ 21 callers
Function
wrapFileReferencesInHtml
(html: string)
src/telegram/format.ts:179
↓ 20 callers
Function
buildDiscordSystemEvent
(message: Message, location: string, action: string)
src/discord/monitor/system-events.ts:51
↓ 20 callers
Function
coerceFormValues
(value: unknown, schema: JsonSchema)
ui/src/ui/controllers/config/form-coerce.ts:40
↓ 20 callers
Function
createContext
(rawBody: string, query?: WebhookContext["query"])
extensions/voice-call/src/providers/twilio.test.ts:14
↓ 20 callers
Function
createIsolatedRegressionJob
(params: { id: string; name: string; scheduledAt: number; schedule: CronJob["schedule"]; payload: Cr
src/cron/service.issue-regressions.test-helpers.ts:108
↓ 20 callers
Function
createMockDraftApi
(sendMessageImpl?: () => Promise<{ message_id: number }>)
src/telegram/draft-stream.test.ts:7
↓ 20 callers
Function
createNostrProfileHttpHandler
( ctx: NostrProfileHttpContext, )
extensions/nostr/src/nostr-profile-http.ts:322
↓ 20 callers
Function
createRuntime
()
src/line/bot-handlers.test.ts:71
↓ 20 callers
Function
detectImageReferences
(prompt: string)
src/agents/pi-embedded-runner/run/images.ts:94
↓ 20 callers
Function
detectMime
(opts: { buffer?: Buffer; headerMime?: string | null; filePath?: string; })
src/media/mime.ts:100
↓ 20 callers
Function
errorIdForField
(key: CronFieldKey)
ui/src/ui/views/cron.ts:221
↓ 20 callers
Function
findGatewayPidsOnPortSync
( port: number, spawnTimeoutMs = SPAWN_TIMEOUT_MS, )
src/infra/restart-stale-pids.ts:85
↓ 20 callers
Function
formatError
(err: unknown)
src/web/session.ts:258
↓ 20 callers
Function
isDeliverableMessageChannel
(value: string)
src/utils/message-channel.ts:121
↓ 20 callers
Function
isEnabled
(key: keyof DiscordActionConfig, defaultValue = true)
src/channels/plugins/actions/discord.ts:20
↓ 20 callers
Function
isNodeRuntime
(execPath: string)
src/daemon/runtime-binary.ts:10
↓ 20 callers
Function
isNotFoundPathError
(value: unknown)
src/infra/path-guards.ts:27
↓ 20 callers
Function
listDevicePairing
(baseDir?: string)
src/infra/device-pairing.ts:255
↓ 20 callers
Function
logVerbose
(core: ZalouserCoreRuntime, runtime: RuntimeEnv, message: string)
extensions/zalouser/src/monitor.ts:191
↓ 20 callers
Function
makeCall
(method: keyof typeof agentsHandlers, params: Record<string, unknown>)
src/gateway/server-methods/agents-mutate.test.ts:119
↓ 20 callers
Function
optionalStringEnum
( values: T, options: StringEnumOptions<T> = {}, )
src/agents/schema/typebox.ts:26
↓ 20 callers
Function
pad
(value: string, size: number)
src/commands/models/list.format.ts:7
↓ 20 callers
Function
prefixSystemMessage
(text: string)
src/infra/system-message.ts:11
↓ 20 callers
Function
processDiscordMessage
(ctx: DiscordMessagePreflightContext)
src/discord/monitor/message-handler.process.ts:68
↓ 20 callers
Function
readTrimmedString
(record: Record<string, unknown>, key: string)
src/channels/account-snapshot-fields.ts:24
↓ 20 callers
Function
resolve
(opts: { channel?: string; account?: string })
src/cli/directory-cli.ts:98
↓ 20 callers
Function
resolveApiKeyForProfile
( params: ResolveApiKeyForProfileParams, )
src/agents/auth-profiles/oauth.ts:305
↓ 20 callers
Function
resolveStream
Resolve a StreamFn return value (which may be a Promise) to an AsyncIterable.
src/agents/openai-ws-stream.test.ts:212
↓ 20 callers
Function
resolveSubagentToolPolicy
(cfg?: OpenClawConfig, depth?: number)
src/agents/pi-tools.policy.ts:103
↓ 20 callers
Function
resolveTelegramFetchOrThrow
( proxyFetch?: typeof fetch, options?: { network?: { autoSelectFamily?: boolean; dnsResultOrder?: "ipv4fir
src/telegram/fetch.test.ts:59
↓ 20 callers
Function
restoreGatewayToken
(prevToken: string | undefined)
src/gateway/server.auth.shared.ts:94
↓ 20 callers
Function
run
(params)
src/infra/heartbeat-runner.ts:1118
↓ 20 callers
Function
runDrySend
(params: { cfg: OpenClawConfig; actionParams: Record<string, unknown>; toolContext?: Record<string, unkn
src/infra/outbound/message-action-runner.test.ts:70
↓ 20 callers
Function
runResponsesPayloadMutationCase
(params: { applyProvider: string; applyModelId: string; model: | Model<"openai-responses">
src/agents/pi-embedded-runner-extraparams.test.ts:198
↓ 20 callers
Function
setPwToolsCoreCurrentPage
(page: Record<string, unknown> | null)
src/browser/pw-tools-core.test-harness.ts:43
↓ 20 callers
Function
setVerbose
(v: boolean)
src/globals.ts:7
↓ 20 callers
Method
shouldHandle
(request: ExecApprovalRequest)
src/discord/monitor/exec-approvals.ts:365
↓ 20 callers
Function
stat
(dev: number | bigint, ino: number | bigint)
src/infra/file-identity.test.ts:4
↓ 20 callers
Function
stripInboundMetadata
(text: string)
src/auto-reply/reply/strip-inbound-meta.ts:123
↓ 20 callers
Function
wrapWebContent
( content: string, source: "web_search" | "web_fetch" = "web_search", )
src/security/external-content.ts:338
↓ 19 callers
Method
_log
Log message if verbose mode is enabled.
skills/scientific-slides/scripts/generate_slide_image_ai.py:201
↓ 19 callers
Method
append
apps/android/app/src/main/java/ai/openclaw/app/voice/StreamingMediaDataSource.kt:16
↓ 19 callers
Function
asRecord
(value: unknown)
src/providers/google-shared.test-helpers.ts:5
↓ 19 callers
Function
baseConfig
()
src/discord/monitor/provider.test.ts:320
↓ 19 callers
Function
clampPercent
(value: number)
src/infra/provider-usage.shared.ts:44
↓ 19 callers
Function
clearConfigCache
()
src/config/io.ts:1350
↓ 19 callers
Function
createHandler
(config: DiscordExecApprovalConfig, accountId = "default")
src/discord/monitor/exec-approvals.test.ts:110
↓ 19 callers
Function
createMockContext
(overrides?: Partial<NostrProfileHttpContext>)
extensions/nostr/src/nostr-profile-http.test.ts:101
↓ 19 callers
Function
createMockRequest
( method: string, url: string, body?: unknown, opts?: { headers?: Record<string, string>; remoteAddres
extensions/nostr/src/nostr-profile-http.test.ts:35
↓ 19 callers
Function
createMockResponse
()
extensions/nostr/src/nostr-profile-http.test.ts:66
↓ 19 callers
Method
createSession
* Create a new realtime transcription session.
extensions/voice-call/src/providers/stt-openai-realtime.ts:72
↓ 19 callers
Function
createSessionStoreDir
()
src/gateway/server.sessions.gateway-server-sessions-a.test.ts:155
↓ 19 callers
Function
createSessionsSpawnTool
( opts?: { agentSessionKey?: string; agentChannel?: GatewayMessageChannel; agentAccountId?: stri
src/agents/tools/sessions-spawn-tool.ts:68
↓ 19 callers
Function
createSnapshotManager
( accounts: Record<string, Record<string, Partial<ChannelAccountSnapshot>>>, overrides?: Partial<ChannelMa
src/gateway/channel-health-monitor.test.ts:41
↓ 19 callers
Function
createState
()
src/agents/tool-loop-detection.test.ts:16
↓ 19 callers
Function
ensureChromeExtensionRelayServer
(opts: { cdpUrl: string; bindHost?: string; })
src/browser/extension-relay.ts:225
↓ 19 callers
Function
escapeRegExp
(value: string)
src/utils.ts:43
↓ 19 callers
Function
getChildLogger
( bindings?: Record<string, unknown>, opts?: { level?: LogLevel }, )
src/logging/logger.ts:221
↓ 19 callers
Function
hasFinding
( report: Awaited<ReturnType<typeof runSecretsAudit>>, predicate: (entry: { code: string; file: string; js
src/secrets/audit.test.ts:32
← previous
next →
601–700 of 26,379, ranked by callers