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
↓ 3 callers
Function
expectUnknownModelError
(provider: string, id: string)
src/agents/pi-embedded-runner/model.test.ts:58
↓ 3 callers
Function
expectWsRejected
( url: string, headers: Record<string, string>, expectedStatus = 401, )
src/gateway/server.canvas-auth.test.ts:37
↓ 3 callers
Method
expire
(recordId: string, resolvedBy?: string | null)
src/gateway/exec-approval-manager.ts:129
↓ 3 callers
Function
extractBoomDetails
(err: unknown)
src/web/session.ts:227
↓ 3 callers
Function
extractConfigAllowlist
(account: { config?: { allowFrom?: Array<string | number>; groupAllowFrom?: Array<string | number>;
src/auto-reply/reply/commands-allowlist.ts:189
↓ 3 callers
Function
extractConfigSummary
(snapshotUnknown: unknown)
src/commands/gateway-status/helpers.ts:251
↓ 3 callers
Function
extractContentFromMessage
(message: unknown)
src/tui/tui-formatters.ts:267
↓ 3 callers
Function
extractDiscordChannelId
(sessionKey?: string | null)
src/discord/monitor/exec-approvals.ts:38
↓ 3 callers
Function
extractErrorField
(value: unknown)
src/agents/pi-embedded-subscribe.tools.ts:67
↓ 3 callers
Function
extractExecDirective
(body?: string)
src/auto-reply/reply/exec/directive.ts:163
↓ 3 callers
Function
extractFileContentFromSource
(params: { source: InputFileSource; limits: InputFileLimits; })
src/media/input-files.ts:322
↓ 3 callers
Function
extractHostname
* Safely extract hostname from a host header value. * Handles IPv6 addresses and prevents injection via malformed values.
extensions/voice-call/src/webhook-security.ts:186
↓ 3 callers
Function
extractLine
(lines: string[], prefix: string)
src/commands/docs.ts:57
↓ 3 callers
Function
extractMessageText
(message: AgentMessage)
src/agents/pi-extensions/compaction-safeguard.ts:206
↓ 3 callers
Function
extractNonEmptyAssistantText
( content: Array<{ type?: string; text?: string; }>, )
src/agents/live-test-helpers.ts:13
↓ 3 callers
Function
extractQueueDirective
(body?: string)
src/auto-reply/reply/queue/directive.ts:124
↓ 3 callers
Function
extractSelections
(value: unknown)
extensions/msteams/src/polls.ts:64
↓ 3 callers
Function
extractStatusDirective
(body?: string)
src/auto-reply/reply/directives.ts:181
↓ 3 callers
Function
extractTag
(item: string, tag: string)
scripts/release-check.ts:269
↓ 3 callers
Function
extractTextContent
(content: unknown)
src/agents/ollama-stream.ts:226
↓ 3 callers
Function
extractThinking
(message: unknown)
ui/src/ui/chat/message-extract.ts:41
↓ 3 callers
Function
extractTimeoutDelays
(timeoutSpy: ReturnType<typeof vi.spyOn>)
src/cron/service.armtimer-tight-loop.test.ts:42
↓ 3 callers
Function
extractToolCallsFromAssistant
( msg: Extract<AgentMessage, { role: "assistant" }>, )
src/agents/tool-call-id.ts:44
↓ 3 callers
Function
extractToolResultText
(content: unknown)
src/agents/subagent-announce.ts:189
↓ 3 callers
Function
fail
(err: unknown)
src/infra/push-apns.ts:321
↓ 3 callers
Function
fail
(reason: string)
src/agents/pi-embedded-runner/compact.ts:304
↓ 3 callers
Method
failAll
(err: Error)
src/imessage/client.ts:238
↓ 3 callers
Function
failListener
(error: Error)
extensions/zalouser/src/zalo-js.ts:1505
↓ 3 callers
Function
failedResult
(text: string)
src/agents/bash-tools.process.ts:241
↓ 3 callers
Method
fallback
apps/android/app/src/main/java/ai/openclaw/app/voice/TalkModeGatewayConfig.kt:82
↓ 3 callers
Function
fetchAllChannels
( api: { scry: (path: string) => Promise<unknown> }, runtime: RuntimeEnv, )
extensions/tlon/src/monitor/discovery.ts:80
↓ 3 callers
Function
fetchBotIdentityForMonitor
( account: ResolvedFeishuAccount, options: FetchBotOpenIdOptions = {}, )
extensions/feishu/src/monitor.startup.ts:28
↓ 3 callers
Function
fetchCanvasHtml
(port: number)
src/canvas-host/server.test.ts:81
↓ 3 callers
Function
fetchCdpChecked
( url: string, timeoutMs = CDP_HTTP_REQUEST_TIMEOUT_MS, init?: RequestInit, )
src/browser/cdp.helpers.ts:163
↓ 3 callers
Function
fetchCopilotUsage
( token: string, timeoutMs: number, fetchFn: typeof fetch, )
src/infra/provider-usage.fetch.copilot.ts:13
↓ 3 callers
Function
fetchFirecrawlContent
(params: { url: string; extractMode: ExtractMode; apiKey: string; baseUrl: string; onlyMainContent:
src/agents/tools/web-fetch.ts:357
↓ 3 callers
Function
fetchGeminiUsage
( token: string, timeoutMs: number, fetchFn: typeof fetch, provider: UsageProviderId, )
src/infra/provider-usage.fetch.gemini.ts:13
↓ 3 callers
Function
fetchMemberGuildPermissionsDiscord
( guildId: string, userId: string, opts: DiscordReactOpts = {}, )
src/discord/send.permissions.ts:60
↓ 3 callers
Function
fetchOk
( url: string, timeoutMs = CDP_HTTP_REQUEST_TIMEOUT_MS, init?: RequestInit, )
src/browser/cdp.helpers.ts:188
↓ 3 callers
Function
fetchWithGuard
(params: { url: string; maxBytes: number; timeoutMs: number; maxRedirects: number; policy?: SsrFPoli
src/media/input-files.ts:175
↓ 3 callers
Function
fetcher
(input, init)
extensions/zalo/src/proxy.ts:17
↓ 3 callers
Function
fileExists
(filePath: string)
src/agents/skills-install.download.test.ts:28
↓ 3 callers
Function
fileNameFromPathLike
(pathLike: string)
src/agents/tool-images.ts:90
↓ 3 callers
Function
filterSkillEntries
( entries: SkillEntry[], config?: OpenClawConfig, skillFilter?: string[], eligibility?: SkillEligibili
src/agents/skills/workspace.ts:68
↓ 3 callers
Function
filterToolsByPolicy
(tools: AnyAgentTool[], policy?: SandboxToolPolicy)
src/agents/pi-tools.policy.ts:150
↓ 3 callers
Function
finalizeOnboardingWizard
( options: FinalizeOnboardingOptions, )
src/wizard/onboarding.finalize.ts:49
↓ 3 callers
Function
finalizeRebuiltShellCommand
( rebuilt: ReturnType<typeof rebuildShellCommandFromSource>, expectedSegmentCount?: number, )
src/infra/exec-approvals-analysis.ts:643
↓ 3 callers
Function
finalizeRun
(params: { runId: string; wasActiveRun: boolean; status: "idle" | "error"; })
src/tui/tui-event-handlers.ts:104
↓ 3 callers
Function
findAcpUserFacingChannelNameViolations
(content, fileName = "source.ts")
scripts/check-channel-agnostic-boundaries.mjs:240
↓ 3 callers
Function
findAgentConfigEntryIndex
( config: Record<string, unknown> | null, agentId: string, )
ui/src/ui/controllers/config.ts:221
↓ 3 callers
Function
findChannelCoreReverseDependencyViolations
(content, fileName = "source.ts")
scripts/check-channel-agnostic-boundaries.mjs:230
↓ 3 callers
Function
findChromeExecutableMac
()
src/browser/chrome.executables.ts:456
↓ 3 callers
Function
findExactDirectoryMatches
( matches: ChannelDirectoryEntry[], query: string, )
extensions/matrix/src/resolve-targets.ts:10
↓ 3 callers
Function
findFirstExecutable
(candidates: Array<BrowserExecutable>)
src/browser/chrome.executables.ts:446
↓ 3 callers
Function
findGatewayRequest
(method: string)
src/agents/openclaw-tools.subagents.sessions-spawn.test-harness.ts:43
↓ 3 callers
Function
findJobOrThrow
(state: CronServiceState, id: string)
src/cron/service/jobs.ts:224
↓ 3 callers
Function
findMatchingPluginHttpRoutes
( registry: PluginRegistry, context: PluginRoutePathContext, )
src/gateway/server/plugins-http/route-match.ts:22
↓ 3 callers
Function
findSystemMarkLiteralViolations
(content, fileName = "source.ts")
scripts/check-channel-agnostic-boundaries.mjs:259
↓ 3 callers
Function
findTailscaleBinary
()
src/infra/tailscale.ts:29
↓ 3 callers
Function
findWizardSessionOrRespond
(params: { context: GatewayRequestContext; respond: RespondFn; sessionId: string; })
src/gateway/server-methods/wizard.ts:23
↓ 3 callers
Function
finish
(result: boolean)
src/infra/gateway-lock.ts:79
↓ 3 callers
Function
finish
(value: T | null)
src/infra/jsonl-socket.ts:15
↓ 3 callers
Function
finish
(err: Error)
src/gateway/client.watchdog.test.ts:156
↓ 3 callers
Function
finish
(snapshot: AgentWaitTerminalSnapshot | null)
src/gateway/server-methods/agent-wait-dedupe.ts:176
↓ 3 callers
Method
finishPrompt
( sessionId: string, pending: PendingPrompt, stopReason: StopReason, )
src/acp/translator.ts:847
↓ 3 callers
Function
finishReject
(error: unknown)
src/telegram/webhook.test.ts:121
↓ 3 callers
Function
firecrawlResponse
(markdown: string, url = "https://example.com/")
src/agents/tools/web-tools.fetch.test.ts:34
↓ 3 callers
Function
firstHeader
(value: string | string[] | undefined)
src/browser/csrf.ts:4
↓ 3 callers
Function
firstLoggedJson
(log: ReturnType<typeof vi.spyOn>)
src/cli/memory-cli.test.ts:59
↓ 3 callers
Function
firstNonEmpty
(...values: Array<string | undefined>)
src/version.ts:47
↓ 3 callers
Function
fitsCallbackData
(value: string)
src/telegram/approval-buttons.ts:6
↓ 3 callers
Function
flatten_field
Flatten nested list to 1D array of floats.
skills/post-processing/scripts/statistical_analyzer.py:41
↓ 3 callers
Function
flush
(force = false)
src/auto-reply/reply/acp-projector.ts:286
↓ 3 callers
Function
flush
()
extensions/voice-call/src/media-stream.test.ts:27
↓ 3 callers
Function
flushAt
(breakAt: number | null)
src/terminal/table.ts:152
↓ 3 callers
Function
flushExtensionReconnectWaiters
(connected: boolean)
src/browser/extension-relay.ts:274
↓ 3 callers
Function
flushLiveBuffer
(opts?: { force?: boolean; idle?: boolean })
src/auto-reply/reply/acp-projector.ts:229
↓ 3 callers
Function
flushLogBuffer
()
src/agents/acp-spawn-parent-stream.ts:121
↓ 3 callers
Function
flushMicrotasks
()
src/utils/run-with-concurrency.test.ts:6
↓ 3 callers
Function
flushPending
()
src/tui/tui.ts:138
↓ 3 callers
Function
flushPendingToolResults
()
src/agents/session-tool-result-guard.ts:146
↓ 3 callers
Function
fmtTick
(v, range)
skills/data-extractor/web/app.js:714
↓ 3 callers
Function
forEachDescendantRun
( runs: Map<string, SubagentRunRecord>, rootSessionKey: string, visitor: (runId: string, entry: Subagent
src/agents/subagent-registry-queries.ts:155
↓ 3 callers
Function
formatApprovalConfirmation
( approval: PendingApproval, action: "approve" | "deny" | "block", )
extensions/tlon/src/monitor/approval.ts:182
↓ 3 callers
Function
formatAuditList
(items: string[] | undefined)
src/gateway/server/ws-connection/message-handler.ts:792
↓ 3 callers
Function
formatAuthChoiceChoicesForCli
(params?: { includeSkip?: boolean; includeLegacyAliases?: boolean; })
src/commands/auth-choice-options.ts:324
↓ 3 callers
Function
formatBootstrapTruncationWarningLines
(params: { analysis: BootstrapBudgetAnalysis; maxFiles?: number; })
src/agents/bootstrap-budget.ts:256
↓ 3 callers
Function
formatChannelAccountLabel
(params: { provider: ChannelId; accountId: string; name?: string; })
src/commands/agents.providers.ts:25
↓ 3 callers
Function
formatChannelAccountLabel
(params: { channel: ChatChannel; accountId: string; name?: string; channelStyle?: (value: string) => s
src/commands/channels/shared.ts:52
↓ 3 callers
Function
formatChannelStatusJoined
(channelAccounts: Record<string, unknown>)
src/commands/channels.adds-non-default-telegram-account.test.ts:28
↓ 3 callers
Function
formatCliChannelOptions
(extra: string[] = [])
src/cli/channel-options.ts:66
↓ 3 callers
Function
formatCliError
(err: unknown)
src/cli/exec-approvals-cli.ts:145
↓ 3 callers
Function
formatCompletionSourceLine
( shell: CompletionShell, binName: string, cachePath: string, )
src/cli/completion-cli.ts:99
↓ 3 callers
Function
formatConfigWriteDeniedMessage
(params: { result: Exclude<ConfigWriteAuthorizationResult, { allowed: true }>; fallbackChannelId?: Channel
src/channels/plugins/config-writes.ts:155
↓ 3 callers
Function
formatDoctorNonInteractiveHint
( env: Record<string, string | undefined> = process.env as Record<string, string | undefined>, )
src/infra/restart-sentinel.ts:55
↓ 3 callers
Function
formatDuplicateTelegramTokenReason
(params: { accountId: string; ownerAccountId: string; })
extensions/telegram/src/channel.ts:71
↓ 3 callers
Function
formatError
(err: unknown)
extensions/diagnostics-otel/src/service.ts:50
↓ 3 callers
Function
formatErrorWithStack
(err: unknown)
src/commands/models/list.errors.ts:3
↓ 3 callers
Function
formatGatewaySummary
(params: { action?: string; channel?: string; messageId?: string | null; })
src/infra/outbound/format.ts:112
↓ 3 callers
Function
formatImageMatch
(matches: boolean)
src/commands/sandbox-formatters.ts:13
← previous
next →
7,601–7,700 of 26,379, ranked by callers