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
↓ 4 callers
Function
waitForAgentJob
(params: { runId: string; timeoutMs: number; signal?: AbortSignal; ignoreCachedSnapshot?: boolean; })
src/gateway/server-methods/agent-job.ts:144
↓ 4 callers
Function
waitForGatewayHealthyRestart
(params: { service: GatewayService; port: number; attempts?: number; delayMs?: number; env?: NodeJS.
src/cli/daemon-cli/restart-health.ts:187
↓ 4 callers
Function
waitForMessage
(onMessage: ReturnType<typeof vi.fn>)
src/web/inbound.media.test.ts:98
↓ 4 callers
Function
waitForNodeReconnect
(params: { nodeId: string; context: { nodeRegistry: { get: (nodeId: string) => unknown } }; timeoutMs?:
src/gateway/server-methods/nodes.ts:365
↓ 4 callers
Function
waitForPortBindable
( port: number, opts: { timeoutMs?: number; intervalMs?: number; host?: string } = {}, )
src/cli/ports.ts:367
↓ 4 callers
Function
waitForWaConnection
(sock: ReturnType<typeof makeWASocket>)
src/web/session.ts:163
↓ 4 callers
Function
waitForZaloQrLogin
(params: { profile?: string | null; timeoutMs?: number; })
extensions/zalouser/src/zalo-js.ts:1368
↓ 4 callers
Function
waitUntilAbort
(signal?: AbortSignal, onAbort?: () => void)
extensions/synology-chat/src/channel.ts:25
↓ 4 callers
Function
warningLines
()
src/telegram/accounts.test.ts:16
↓ 4 callers
Function
withAcpConfig
(acp: OpenClawConfig["acp"])
src/auto-reply/reply/commands-acp/install-hints.test.ts:11
↓ 4 callers
Function
withAudioFixture
( filePrefix: string, run: (params: MediaFixtureParams) => Promise<void>, )
src/media-understanding/runner.test-utils.ts:44
↓ 4 callers
Function
withBrewRoot
(run: (tmp: string) => Promise<void>)
src/infra/brew.test.ts:8
↓ 4 callers
Function
withCanvasGatewayHarness
(params: { resolvedAuth: ResolvedGatewayAuth; listenHost?: string; rateLimiter?: ReturnType<typeof creat
src/gateway/server.canvas-auth.test.ts:116
↓ 4 callers
Function
withChannel
(cmd: Command)
src/cli/directory-cli.ts:92
↓ 4 callers
Function
withDefaultModel
(primary: string)
src/agents/tools/pdf-tool.test.ts:114
↓ 4 callers
Function
withFileLock
( filePath: string, fallback: unknown, fn: () => Promise<T>, )
src/pairing/pairing-store.ts:149
↓ 4 callers
Function
withFileLock
( filePath: string, options: FileLockOptions, fn: () => Promise<T>, )
src/plugin-sdk/file-lock.ts:150
↓ 4 callers
Function
withGatewayTempConfig
( prefix: string, run: () => Promise<void>, )
src/gateway/server-http.test-harness.ts:85
↓ 4 callers
Function
withLinuxProcessPlatform
(run: () => Promise<T>)
src/shared/pid-alive.test.ts:16
↓ 4 callers
Function
withMainSessionStore
(run: (dir: string) => Promise<T>)
src/gateway/server.chat.gateway-server-chat.test.ts:101
↓ 4 callers
Function
withPlatform
(platform: NodeJS.Platform, run: () => Promise<T> | T)
src/process/kill-tree.test.ts:12
↓ 4 callers
Function
withProgressTotals
( options: ProgressOptions, work: (update: (update: ProgressTotalsUpdate) => void, progress: ProgressRepor
src/cli/progress.ts:214
↓ 4 callers
Function
withReplyDispatcher
(params: { dispatcher: ReplyDispatcher; run: () => Promise<T>; onSettled?: () => void | Promise<void>; }
src/auto-reply/dispatch.ts:17
↓ 4 callers
Function
withStubbedStateDir
( name: string, run: (stateDir: string) => Promise<T>, )
src/agents/tools/sessions.test.ts:122
↓ 4 callers
Function
withTabsProfileRoute
(params: { req: BrowserRequest; res: BrowserResponse; ctx: BrowserRouteContext; mapTabError?: boolean;
src/browser/routes/tabs.ts:34
↓ 4 callers
Function
withTelegramThreadFallback
( params: Record<string, unknown> | undefined, label: string, verbose: boolean | undefined, attempt: (
src/telegram/send.ts:504
↓ 4 callers
Function
withTempDir
()
src/telegram/token.test.ts:10
↓ 4 callers
Function
withTempHome
(fn: (home: string) => Promise<T>)
src/cron/isolated-agent.delivers-response-has-heartbeat-ok-but-includes.test.ts:12
↓ 4 callers
Function
withTempRoot
(prefix: string, run: (root: string) => Promise<void>)
src/config/paths.test.ts:40
↓ 4 callers
Function
withTempStateDir
(run: (stateDir: string) => void)
src/agents/agent-paths.test.ts:9
↓ 4 callers
Function
withTempStore
( fn: (ctx: { dir: string; store: string }) => Promise<void>, overrides?: Partial<OpenClawConfig>, )
src/commands/agent-via-gateway.test.ts:46
↓ 4 callers
Function
withTimeout
(promise: Promise<T>, timeoutMs: number, label: string)
src/cron/service.read-ops-nonblocking.test.ts:21
↓ 4 callers
Function
withUnsafeMountedSandboxHarness
( run: (ctx: { sandboxRoot: string; agentRoot: string; sandbox: SandboxContext }) => Promise<void>, )
src/agents/test-helpers/unsafe-mounted-sandbox.ts:68
↓ 4 callers
Function
wrapBrowserExternalJson
(params: { kind: "snapshot" | "console" | "tabs"; payload: unknown; includeWarning?: boolean; })
src/agents/tools/browser-tool.actions.ts:18
↓ 4 callers
Function
wrapToolParamNormalization
( tool: AnyAgentTool, requiredParamGroups?: readonly RequiredParamGroup[], )
src/agents/pi-tools.params.ts:207
↓ 4 callers
Function
wrapUntrustedPromptDataBlock
(params: { label: string; text: string; maxChars?: number; })
src/agents/sanitize-for-prompt.ts:20
↓ 4 callers
Function
wrapWebFetchField
(value: string | undefined)
src/agents/tools/web-fetch.ts:304
↓ 4 callers
Function
writeCameraPayloadToFile
(params: { filePath: string; payload: { url?: string; base64?: string }; expectedHost?: string; invali
src/cli/nodes-camera.ts:193
↓ 4 callers
Function
writeChildSessionEntry
(params: { sessionKey: string; sessionId?: string; updatedAt?: number; })
src/agents/subagent-registry.persistence.test.ts:49
↓ 4 callers
Function
writeDone
(res: ServerResponse)
src/gateway/http-common.ts:98
↓ 4 callers
Function
writeExecutable
(filePath: string, body: string)
test/scripts/ios-team-id.test.ts:74
↓ 4 callers
Function
writeJsonFile
(filePath: string, value: unknown)
extensions/msteams/src/store-fs.ts:23
↓ 4 callers
Function
writeJsonFileAtomically
(filePath: string, value: unknown)
src/plugin-sdk/json-store.ts:25
↓ 4 callers
Function
writeJsonResponse
( res: ServerResponse, status: number, body?: Record<string, unknown>, )
extensions/nextcloud-talk/src/monitor.ts:73
↓ 4 callers
Function
writeLegacySessionsFixture
(params: { root: string; sessions: Record<string, { sessionId: string; updatedAt: number }>; transcripts
src/commands/doctor-state-migrations.test.ts:44
↓ 4 callers
Function
writeMainSessionTranscript
(sessionDir: string, lines: string[])
src/gateway/server.chat.gateway-server-chat-b.test.ts:71
↓ 4 callers
Function
writeMediaFile
(id: string, contents: string)
src/media/server.test.ts:42
↓ 4 callers
Method
writeMeta
(meta: DiffArtifactMeta)
extensions/diffs/src/store.ts:233
↓ 4 callers
Function
writeNotifyState
(filePath: string, state: NotifyStateFile)
extensions/device-pair/notify.ts:119
↓ 4 callers
Function
writePackageArchive
(params: { ext: "zip" | "tar"; workDir: string; archivePath: string; fileName: string; content: stri
src/infra/archive.test.ts:32
↓ 4 callers
Function
writePersistedRegistry
( persisted: Record<string, unknown>, opts?: { seedChildSessions?: boolean }, )
src/agents/subagent-registry.persistence.test.ts:103
↓ 4 callers
Function
writePluginFixture
(params: { dir: string; id: string; schema: Record<string, unknown>; channels?: string[]; })
src/config/config.plugin-validation.test.ts:8
↓ 4 callers
Function
writeRawStore
(store: Record<string, unknown>)
src/gateway/server.sessions.gateway-server-sessions-a.test.ts:678
↓ 4 callers
Function
writeRestartSentinel
( payload: RestartSentinelPayload, env: NodeJS.ProcessEnv = process.env, )
src/infra/restart-sentinel.ts:65
↓ 4 callers
Function
writeSessionStoreEntries
( home: string, entries: Record<string, Record<string, unknown>>, )
src/cron/isolated-agent.test-harness.ts:24
↓ 4 callers
Function
writeToStdin
(stdin: WritableStdin, data: string)
src/agents/bash-tools.process.ts:269
↓ 4 callers
Function
writeTranscriptLines
(sessionId: string, lines: string[])
src/gateway/session-utils.fs.test.ts:567
↓ 3 callers
Method
#syncSurfaces
()
apps/shared/OpenClawKit/Tools/CanvasA2UI/bootstrap.js:506
↓ 3 callers
Method
#waitBeforeRestart
(buildLine: (delay: string) => string)
src/telegram/polling-session.ts:77
↓ 3 callers
Function
GuideBlock
apps/android/app/src/main/java/ai/openclaw/app/ui/OnboardingFlow.kt:1190
↓ 3 callers
Function
PulseDot
apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt:266
↓ 3 callers
Function
ResolvedEndpoint
apps/android/app/src/main/java/ai/openclaw/app/ui/OnboardingFlow.kt:1270
↓ 3 callers
Function
SecondaryActionButton
apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatComposer.kt:213
↓ 3 callers
Function
SummaryField
apps/android/app/src/main/java/ai/openclaw/app/ui/OnboardingFlow.kt:1539
↓ 3 callers
Function
ThinkingDot
apps/android/app/src/main/java/ai/openclaw/app/ui/VoiceTabScreen.kt:392
↓ 3 callers
Method
Translate
(ctx context.Context, text, srcLang, tgtLang string)
scripts/docs-i18n/translator.go:43
↓ 3 callers
Function
__countTrackedSessionBrowserTabsForTests
(sessionKey?: string)
src/browser/session-tab-registry.ts:180
↓ 3 callers
Method
_check_script
(self, filename)
skills/open-notebook/scripts/test_open_notebook_skill.py:315
↓ 3 callers
Function
_find_elements
(root, tag: str)
skills/pptx/scripts/office/helpers/merge_runs.py:44
↓ 3 callers
Function
_find_elements
(root, tag: str)
skills/docx/scripts/office/helpers/merge_runs.py:44
↓ 3 callers
Function
_find_elements
(root, tag: str)
skills/xlsx/scripts/office/helpers/merge_runs.py:44
↓ 3 callers
Function
_is_run
(node)
skills/pptx/scripts/office/helpers/merge_runs.py:154
↓ 3 callers
Function
_is_run
(node)
skills/docx/scripts/office/helpers/merge_runs.py:154
↓ 3 callers
Function
_is_run
(node)
skills/xlsx/scripts/office/helpers/merge_runs.py:154
↓ 3 callers
Method
_safeEmitError
Emit an error only if there are listeners; prevents Node.js from crashing * with "unhandled 'error' event" when no one is listening.
src/agents/openai-ws-connection.ts:459
↓ 3 callers
Function
abortReason
()
src/cron/isolated-agent/run.ts:215
↓ 3 callers
Function
accent
(text: string)
src/cli/memory-cli.ts:435
↓ 3 callers
Function
acceptedResult
(overrides?: Partial<SpawnSubagentResult>)
src/auto-reply/reply/commands-subagents-spawn.test.ts:30
↓ 3 callers
Function
actionRequiresTarget
(action: ChannelMessageActionName)
src/infra/outbound/message-action-spec.ts:73
↓ 3 callers
Function
add
(t: GatewayStatusTarget)
src/commands/gateway-status/helpers.ts:96
↓ 3 callers
Function
add
(dir: string)
src/daemon/service-env.ts:203
↓ 3 callers
Function
add
(p: string, m: string)
src/auto-reply/reply/commands-models.ts:60
↓ 3 callers
Function
addAllowAlsoAllowConflictIssue
( value: AllowlistPolicy, ctx: z.RefinementCtx, message: string, )
src/config/zod-schema.agent-runtime.ts:351
↓ 3 callers
Function
addBeforePromptBuildHook
( registry: PluginRegistry, pluginId: string, handler: ( event: PluginHookBeforePromptBuildEvent,
src/plugins/hooks.model-override-wiring.test.ts:41
↓ 3 callers
Method
addCollection
(pathArg: string, name: string, pattern: string)
src/memory/qmd-manager.ts:528
↓ 3 callers
Function
addFallback
(modelRef: string | null)
src/agents/tools/image-tool.ts:90
↓ 3 callers
Function
addFallback
(ref: string)
src/agents/tools/pdf-tool.ts:83
↓ 3 callers
Function
addGatewayServiceCommands
(parent: Command, opts?: { statusDescription?: string })
src/cli/daemon-cli/register-service-commands.ts:38
↓ 3 callers
Function
addGroup
(key: string, base: string)
src/commands/status-all/gateway.ts:65
↓ 3 callers
Function
addIsolatedAgentTurnJob
( cron: CronService, params: { name: string; wakeMode: "next-heartbeat" | "now"; payload?: { d
src/cron/service.delivery-plan.test.ts:42
↓ 3 callers
Function
addLength
(left: number, right: number)
src/security/safe-regex.ts:47
↓ 3 callers
Function
addPathRef
(raw: string)
src/agents/pi-embedded-runner/run/images.ts:99
↓ 3 callers
Function
addRaw
(raw: string, opts?: { allowlist?: boolean })
src/agents/model-fallback.ts:216
↓ 3 callers
Function
addScore
(reason: AuthProfileFailureReason, value: number)
src/agents/auth-profiles/usage.ts:77
↓ 3 callers
Function
addWakeModeNowMainSystemEventJob
( cron: CronService, options?: { name?: string; agentId?: string; sessionKey?: string }, )
src/cron/service.runs-one-shot-main-job-disables-it.test.ts:350
↓ 3 callers
Function
addWeakMatch
(model: string, source: string, reason: string)
src/security/audit-extra.sync.ts:1108
↓ 3 callers
Function
advanceAuthProfile
()
src/agents/pi-embedded-runner/run.ts:633
↓ 3 callers
Method
advertisedCapabilities
apps/android/app/src/main/java/ai/openclaw/app/node/InvokeCommandRegistry.kt:204
↓ 3 callers
Function
agentsListCommand
( opts: AgentsListOptions, runtime: RuntimeEnv = defaultRuntime, )
src/commands/agents.commands.list.ts:75
↓ 3 callers
Function
allocateTelegramDraftId
()
src/telegram/draft-stream.ts:26
← previous
next →
6,801–6,900 of 26,379, ranked by callers