MCPcopy Create free account

hub / github.com/beita6969/ScienceClaw / functions

Functions26,379 in github.com/beita6969/ScienceClaw

↓ 3 callersFunctionensureLoadedForRead
(state: CronServiceState)
src/cron/service/ops.ts:79
↓ 3 callersFunctionensureMediaDir
()
src/media/store.ts:89
↓ 3 callersFunctionensureMediaHosted
( source: string, opts: { port?: number; startServer?: boolean; runtime?: RuntimeEnv; } = {}
src/media/host.ts:21
↓ 3 callersFunctionensureMinimaxApiKey
(params: { config?: Parameters<typeof ensureApiKeyFromEnvOrPrompt>[0]["config"]; confirm: WizardPrompter["
src/commands/auth-choice.apply-helpers.test.ts:54
↓ 3 callersFunctionensureModelAllowlistEntry
(params: { cfg: OpenClawConfig; modelRef: string; defaultProvider?: string; })
src/commands/model-allowlist.ts:5
↓ 3 callersFunctionensureOutputRootDir
(rootDir: string)
src/browser/routes/output-paths.ts:5
↓ 3 callersFunctionensureOwnerDisplaySecret
( config: OpenClawConfig, generateSecret: () => string = () => crypto.randomBytes(32).toString("hex"), )
src/agents/owner-display.ts:38
↓ 3 callersMethodensureRoot
()
extensions/diffs/src/store.ts:204
↓ 3 callersFunctionensureSelfPresence
()
src/infra/system-presence.ts:114
↓ 3 callersFunctionensureSharedClientStarted
(params: { state: SharedMatrixClientState; timeoutMs?: number; initialSyncLimit?: number; encryption?:
extensions/matrix/src/matrix/client/shared.ts:55
↓ 3 callersFunctionensureSystemdUserLingerInteractive
(params: { runtime: RuntimeEnv; prompter?: LingerPrompter; env?: NodeJS.ProcessEnv; title?: string;
src/commands/systemd-linger.ts:14
↓ 3 callersFunctionensureTailscaledInstalled
( exec: typeof runExec = runExec, prompt: typeof promptYesNo = promptYesNo, runtime: RuntimeEnv = defaul
src/infra/tailscale.ts:202
↓ 3 callersFunctionensureTrustedFallbackDir
()
src/infra/tmp-openclaw-dir.ts:119
↓ 3 callersFunctioneprint
(msg: str)
skills/model-usage/scripts/model_usage.py:30
↓ 3 callersFunctionerrorBackoffMs
( consecutiveErrors: number, scheduleMs = DEFAULT_BACKOFF_SCHEDULE_MS, )
src/cron/service/timer.ts:122
↓ 3 callersFunctionescapeControlCharsForTerminal
(value: string)
src/commands/doctor-state-integrity.ts:167
↓ 3 callersFunctionescapeFishDescription
(value: string)
src/cli/completion-fish.ts:1
↓ 3 callersFunctionescapeMarkdown
(text: string)
src/commands/docs.ts:115
↓ 3 callersFunctionevaluateAutoAllowSkills
(params: { analysis: { ok: boolean; segments: Array<{ raw: string; argv: strin
src/infra/exec-approvals.test.ts:654
↓ 3 callersFunctionevaluateGatewayAuthSurfaceStates
(params: { config: OpenClawConfig; env: NodeJS.ProcessEnv; defaults?: SecretDefaults; })
src/secrets/runtime-gateway-auth-surfaces.ts:60
↓ 3 callersFunctionevaluateMentionGateForMessage
(params: { cfg: OpenClawConfig; threadRootId?: string })
extensions/mattermost/src/mattermost/monitor.test.ts:32
↓ 3 callersFunctionevaluateTelegramGroupPolicyAccess
(params: { isGroup: boolean; chatId: string | number; cfg: OpenClawConfig; telegramCfg: TelegramAccoun
src/telegram/group-access.ts:120
↓ 3 callersFunctionevictOldest
()
extensions/googlechat/src/auth.ts:35
↓ 3 callersFunctionexchangeCodeForTokens
( code: string, verifier: string, )
extensions/google-gemini-cli-auth/oauth.ts:398
↓ 3 callersFunctionexecFileUtf8
( command: string, args: string[], options: Omit<ExecFileOptionsWithStringEncoding, "encoding"> = {}, )
src/daemon/exec-file.ts:5
↓ 3 callersFunctionexecSystemctl
( args: string[], )
src/daemon/systemd.ts:254
↓ 3 callersFunctionexecuteFetch
( tool: ReturnType<typeof createFetchTool>, params: { url: string; extractMode?: "text" | "markdown" }, )
src/agents/tools/web-tools.fetch.test.ts:143
↓ 3 callersFunctionexecuteJobCoreWithTimeout
( state: CronServiceState, job: CronJob, )
src/cron/service/timer.ts:65
↓ 3 callersFunctionexecutePollAction
(params: { ctx: OutboundSendContext; to: string; question: string; options: string[]; maxSelections:
src/infra/outbound/outbound-send-service.ts:154
↓ 3 callersFunctionexecuteProcessTool
(tool: ProcessToolInstance, params: ProcessToolArgs)
src/agents/bash-tools.test.ts:138
↓ 3 callersFunctionexecuteReactionCase
(input: ReactionRunInput = {})
src/slack/monitor/events/reactions.test.ts:64
↓ 3 callersFunctionexecuteSendAction
(params: { ctx: OutboundSendContext; to: string; message: string; mediaUrl?: string; mediaUrls?: str
src/infra/outbound/outbound-send-service.ts:84
↓ 3 callersFunctionexistsDir
(dir: string)
src/infra/state-migrations.fs.ts:17
↓ 3 callersFunctionexistsFile
(filePath: string)
src/commands/doctor-state-integrity.ts:38
↓ 3 callersFunctionexpandPathTokens
(root: unknown, tokens: PathPatternToken[])
src/secrets/target-registry-pattern.ts:134
↓ 3 callersFunctionexpandQueryForFts
(query: string)
src/memory/query-expansion.ts:767
↓ 3 callersFunctionexpectAgentMessage
( result: Awaited<ReturnType<typeof applyHookMappings>> | undefined, expectedMessage: string, )
src/gateway/hooks-mapping.test.ts:46
↓ 3 callersFunctionexpectAgentRoutingCall
(params: { channel: string; deliver: boolean; to?: string; fromEnd?: number; })
src/gateway/server.agent.gateway-server-agent-b.test.ts:80
↓ 3 callersFunctionexpectAgentSessionKeyMatch
(request: { body: unknown; headers?: Record<string, string>; matcher: RegExp; })
src/gateway/openai-http.test.ts:102
↓ 3 callersFunctionexpectAllowedSpawn
(params: { allowAgents: string[]; agentId: string; callId: string; acceptedAt: number; })
src/agents/openclaw-tools.subagents.sessions-spawn.allowlist.test.ts:92
↓ 3 callersFunctionexpectAutoSelectedProvider
( result: Awaited<ReturnType<typeof createEmbeddingProvider>>, expectedId: "openai" | "gemini" | "mistral"
src/memory/embeddings.test.ts:72
↓ 3 callersFunctionexpectBedrockAuthSource
(params: { env: Record<string, string | undefined>; expectedSource: string; })
src/agents/model-auth.profiles.test.ts:40
↓ 3 callersFunctionexpectBinShFallbackExec
(exec: ReturnType<typeof vi.fn>)
src/infra/shell-env.test.ts:111
↓ 3 callersFunctionexpectBlockedPrototypeTraversal
(params: { id: string; messageTemplate: string; payload: Record<string, unknown>; expectedMess
src/gateway/hooks-mapping.test.ts:57
↓ 3 callersFunctionexpectCloseFailureAfterCommand
(params: { args: string[]; manager: Record<string, unknown>; beforeExpect?: () => void; })
src/cli/memory-cli.test.ts:150
↓ 3 callersFunctionexpectCronCommandExit
(args: string[])
src/cli/cron-cli.test.ts:87
↓ 3 callersFunctionexpectCurrentPidOwnsLock
(params: { sessionFile: string; timeoutMs: number; staleMs?: number; })
src/agents/session-write-lock.test.ts:36
↓ 3 callersFunctionexpectDefaultThinkLevel
(params: { agentOverrides?: Partial<NonNullable<NonNullable<OpenClawConfig["agents"]>["defaults"]>>; catal
src/commands/agent.test.ts:204
↓ 3 callersFunctionexpectDeliveredOk
(result: Awaited<ReturnType<typeof runCronIsolatedAgentTurn>>)
src/cron/isolated-agent.skips-delivery-without-whatsapp-recipient-besteffortdeliver-true.test.ts:51
↓ 3 callersFunctionexpectDeniedForTarget
(params: { allowFrom: ResolveParams["allowFrom"]; mode: ResolveParams["mode"]; to?: string; })
src/whatsapp/resolve-outbound-target.test.ts:52
↓ 3 callersFunctionexpectDiscordCdnSsrFPolicy
(policy: unknown)
src/discord/monitor/message-utils.test.ts:40
↓ 3 callersFunctionexpectDiscordSessionTargetRequest
(params: { cfg: OpenClawConfig; expectedAccepted: boolean; expectedDeliveryCount: number; })
src/infra/exec-approval-forwarder.test.ts:91
↓ 3 callersFunctionexpectDiscoveryCallCounts
( fetchMock: ReturnType<typeof vi.fn>, params: { tags: number; show: number }, )
src/agents/models-config.providers.ollama.test.ts:45
↓ 3 callersFunctionexpectEnvGatewayCredentials
(resolved: { token?: string; password?: string })
src/gateway/credentials.test.ts:33
↓ 3 callersFunctionexpectEphemeralGeneratedTokenWhenOverridden
(cfg: OpenClawConfig)
src/gateway/startup-auth.test.ts:23
↓ 3 callersFunctionexpectErrorContains
(runtime: ReturnType<typeof createMockRuntime>, text: string)
src/commands/sandbox.test.ts:81
↓ 3 callersFunctionexpectEscapesPackageDiagnostic
(diagnostics: Array<{ message: string }>)
src/plugins/discovery.test.ts:53
↓ 3 callersFunctionexpectFallsBackToOsTmpDir
(params: { lstatSync: NonNullable<TmpDirOptions["lstatSync"]> })
src/infra/tmp-openclaw-dir.test.ts:77
↓ 3 callersFunctionexpectFirstInstallPlanCallOmitsToken
()
src/cli/daemon-cli/install.test.ts:122
↓ 3 callersFunctionexpectFirstSlackAction
(expected: Record<string, unknown>)
src/channels/plugins/actions/actions.test.ts:111
↓ 3 callersFunctionexpectImageToolExecOk
( tool: { execute: (toolCallId: string, input: { prompt: string; image: string }) => Promise<unknown>;
src/agents/tools/image-tool.test.ts:157
↓ 3 callersFunctionexpectImplicitRoute
( resolved: SessionDeliveryTarget, params: { channel?: SessionDeliveryTarget["channel"]; t
src/infra/outbound/targets.test.ts:70
↓ 3 callersFunctionexpectInputOwnerDisplayUnchanged
(input: Record<string, unknown>)
src/config/io.write-config.test.ts:104
↓ 3 callersFunctionexpectInvalidRequestNoDispatch
(messages: unknown[])
src/gateway/openai-http.test.ts:140
↓ 3 callersFunctionexpectLastSlackSend
(content: string, threadTs?: string)
src/agents/tools/slack-actions.test.ts:71
↓ 3 callersFunctionexpectMainSystemEventPosted
(enqueueSystemEvent: unknown, text: string)
src/cron/service.runs-one-shot-main-job-disables-it.test.ts:381
↓ 3 callersFunctionexpectMediaBufferSaved
()
extensions/msteams/src/attachments.test.ts:305
↓ 3 callersFunctionexpectMessageContext
( message: string, expected: { history: string[]; current: string[] }, )
src/gateway/openai-http.test.ts:117
↓ 3 callersFunctionexpectMinimalFlags
(result: ReactionResolution)
src/telegram/reaction-level.test.ts:25
↓ 3 callersFunctionexpectMinimaxUsage
( payload: unknown, expectedUsedPercent: number, expectedPlan?: string, )
src/infra/provider-usage.test.ts:49
↓ 3 callersFunctionexpectNoAutoGeneratedAuth
(cfg: OpenClawConfig)
src/browser/control-auth.test.ts:6
↓ 3 callersFunctionexpectNoForwardedInvoke
(hasInvoke: () => boolean)
src/gateway/server.node-invoke-approval-bypass.test.ts:43
↓ 3 callersFunctionexpectNoStart
(manager: ChannelManager)
src/gateway/channel-health-monitor.test.ts:127
↓ 3 callersFunctionexpectNoTokenGeneration
(cfg: OpenClawConfig, mode: string)
src/gateway/startup-auth.test.ts:43
↓ 3 callersFunctionexpectNoWhatsAppConfigForLegacyAuth
(setup?: () => void)
src/commands/doctor-legacy-config.migrations.test.ts:16
↓ 3 callersFunctionexpectNotUnauthorizedReply
(interaction: MockCommandInteraction)
src/discord/monitor/native-command.commands-allowfrom.test.ts:95
↓ 3 callersFunctionexpectNumericModelCore
(model: Record<string, unknown>)
ui/src/ui/controllers/config/form-utils.node.test.ts:100
↓ 3 callersFunctionexpectOpenAiThenGroqAttemptOrder
(params?: { expectOpenAiAuthProfileId?: string })
src/agents/model-fallback.run-embedded.e2e.test.ts:265
↓ 3 callersFunctionexpectOverloadedFallback
(payloads: ReturnType<typeof buildPayloads>)
src/agents/pi-embedded-runner/run/payloads.errors.test.ts:38
↓ 3 callersFunctionexpectPingPongLoop
( loopResult: ReturnType<typeof detectToolCallLoop>, expected: { level: "warning" | "critical"; count: num
src/agents/tool-loop-detection.test.ts:148
↓ 3 callersFunctionexpectPosixMode
(statMode: number, expectedMode: number)
src/config/config.backup-rotation.test-helpers.ts:14
↓ 3 callersFunctionexpectPromptReject
(params: { request: Partial<RequestPermissionRequest>; expectedToolName: string | undefined; expec
src/acp/client.test.ts:295
↓ 3 callersFunctionexpectQrExit
(args: string[])
src/cli/qr-cli.test.ts:113
↓ 3 callersFunctionexpectRecoverableRetryState
(expectedRunCalls: number)
src/telegram/monitor.test.ts:122
↓ 3 callersFunctionexpectResolutionError
(params: ResolveParams)
src/whatsapp/resolve-outbound-target.test.ts:14
↓ 3 callersFunctionexpectSandboxMediaRewrite
(params: { sandboxDir: string; media?: string; message?: string; expectedRelativePath: string; })
src/infra/outbound/message-action-runner.test.ts:82
↓ 3 callersFunctionexpectSignalActionRejected
( params: Record<string, unknown>, error: RegExp, cfg: OpenClawConfig, )
src/channels/plugins/actions/actions.test.ts:161
↓ 3 callersFunctionexpectSilentlyBlocked
(result: { allowed: boolean })
src/web/inbound/access-control.test.ts:28
↓ 3 callersFunctionexpectSingleAgentBroadcastPayload
(broadcast: ReturnType<typeof vi.fn>)
src/gateway/server-chat.agent-events.test.ts:138
↓ 3 callersFunctionexpectSingleDispatchedSlashBody
(expectedBody: string)
src/slack/monitor/slash.test.ts:338
↓ 3 callersFunctionexpectSingleEchoDeliveryCall
()
src/media-understanding/apply.echo-transcript.test.ts:121
↓ 3 callersFunctionexpectSingleImage
(result: NodesToolResult, params?: { mimeType?: string })
src/agents/openclaw-tools.camera.test.ts:92
↓ 3 callersFunctionexpectSingleNpmPackIgnoreScriptsCall
(params: { calls: Array<[unknown, unknown]>; expectedSpec: string; })
src/test-utils/exec-assertions.ts:48
↓ 3 callersFunctionexpectSkippedTransformResult
(result: Awaited<ReturnType<typeof applyHookMappings>>)
src/gateway/hooks-mapping.test.ts:12
↓ 3 callersFunctionexpectStateDirEnvRestored
(params: { prev: EnvSnapshot; capturedStateDir: string; capturedTempRoot: string; })
src/test-helpers/state-dir-env.test.ts:32
↓ 3 callersFunctionexpectSubagentSpawningError
(params?: { config?: Record<string, unknown>; errorContains?: string; event?: ReturnType<typeof createSp
extensions/discord/src/subagent-hooks.test.ts:142
↓ 3 callersFunctionexpectSymlinkWriteRaceRejectsOutside
(params: { slotPath: string; outsideDir: string; runWrite: (relativePath: string) => Promise<void>; })
src/infra/fs-safe.test.ts:46
↓ 3 callersFunctionexpectThreadBotSend
(params: { text: string; result: unknown; options?: Record<string, unknown>; })
src/channels/plugins/outbound/discord.test.ts:45
↓ 3 callersFunctionexpectTokenMismatchWithLimiter
(params: { reqHeaders: Record<string, string>; allowRealIpFallback?: boolean; })
src/gateway/auth.test.ts:50
↓ 3 callersFunctionexpectUnauthorizedVariants
(params: { server: GatewayHttpServer; variants: RouteVariant[]; })
src/gateway/server-http.test-harness.ts:247
← previousnext →7,501–7,600 of 26,379, ranked by callers