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
↓ 10 callers
Function
setStatus
(id, msg, type)
skills/data-extractor/web/app.js:11
↓ 10 callers
Function
setupSessionsSpawnGatewayMock
(setupOpts: SessionsSpawnGatewayMockOptions)
src/agents/openclaw-tools.subagents.sessions-spawn.test-harness.ts:61
↓ 10 callers
Function
shouldAckReaction
(params: AckReactionGateParams)
src/channels/ack-reactions.ts:16
↓ 10 callers
Function
shouldDebounceTextInbound
(params: { text: string | null | undefined; cfg: OpenClawConfig; hasMedia?: boolean; commandOptions?:
src/channels/inbound-debounce-policy.ts:10
↓ 10 callers
Function
shouldRejectBrowserMutation
(params: { method: string; origin?: string; referer?: string; secFetchSite?: string; })
src/browser/csrf.ts:26
↓ 10 callers
Function
shouldRetryToolReadProbe
(params: { text: string; nonceA: string; nonceB: string; provider: string; attempt: number; maxAtt
src/gateway/live-tool-probe-utils.ts:62
↓ 10 callers
Function
shouldSkipDuplicateInbound
( ctx: MsgContext, opts?: { cache?: DedupeCache; now?: number }, )
src/auto-reply/reply/inbound-dedupe.ts:55
↓ 10 callers
Function
spacer
()
src/cli/daemon-cli/status.print.ts:61
↓ 10 callers
Function
splitTrailingAuthProfile
(raw: string)
src/agents/model-ref-profile.ts:1
↓ 10 callers
Function
stripStructuralPrefixes
(text: string)
src/auto-reply/reply/mentions.ts:129
↓ 10 callers
Function
stripThoughtSignatures
( content: T, options?: ThoughtSignatureSanitizeOptions, )
src/agents/pi-embedded-helpers/bootstrap.ts:49
↓ 10 callers
Function
stubFetchSequence
( responses: Array<{ ok: boolean; status?: number }>, )
src/commands/onboard-custom.test.ts:43
↓ 10 callers
Function
stubSessionManager
()
src/agents/pi-extensions/compaction-safeguard.test.ts:48
↓ 10 callers
Function
systemRunApprovalGuardError
(params: { code: string; message: string; details?: Record<string, unknown>; })
src/gateway/node-invoke-system-run-approval-errors.ts:7
↓ 10 callers
Function
toAcpRuntimeError
(params: { error: unknown; fallbackCode: AcpRuntimeErrorCode; fallbackMessage: string; })
src/acp/runtime/errors.ts:29
↓ 10 callers
Function
toFeishuSendResult
( response: FeishuMessageApiResponse, chatId: string, )
extensions/feishu/src/send-result.ts:18
↓ 10 callers
Function
toOptionString
(value: unknown)
src/cli/gateway-cli/shared.ts:13
↓ 10 callers
Function
transitionState
(call: CallRecord, newState: CallState)
extensions/voice-call/src/manager/state.ts:14
↓ 10 callers
Function
trimLogTail
(input?: string | null, maxChars = 8000)
src/infra/restart-sentinel.ts:137
↓ 10 callers
Function
typeInput
(list: SearchableSelectList, text: string)
src/tui/components/searchable-select-list.test.ts:44
↓ 10 callers
Function
typedCases
(cases: T[])
src/test-utils/typed-cases.ts:1
↓ 10 callers
Function
unsubscribe
()
src/gateway/openresponses-http.ts:556
↓ 10 callers
Function
validateInSuite
(raw: unknown)
src/config/config.plugin-validation.test.ts:46
↓ 10 callers
Function
validateRegistryNpmSpec
(rawSpec: string)
src/infra/npm-registry-spec.ts:102
↓ 10 callers
Function
wasSentByBot
(chatId: number | string, messageId: number)
src/telegram/sent-message-cache.ts:47
↓ 10 callers
Function
withAcpCommandErrorBoundary
(params: { run: () => Promise<T>; fallbackCode: AcpRuntimeError["code"]; fallbackMessage: string; onSu
src/auto-reply/reply/commands-acp/shared.ts:482
↓ 10 callers
Function
withBootWorkspace
( options: BootWorkspaceOptions, run: (workspaceDir: string) => Promise<void>, )
src/gateway/boot.test.ts:53
↓ 10 callers
Function
withFakeTimers
(run: () => Promise<void>)
src/channels/typing.test.ts:13
↓ 10 callers
Method
withSessionActor
( sessionKey: string, op: () => Promise<T>, signal?: AbortSignal, )
src/acp/control-plane/manager.core.ts:1251
↓ 10 callers
Function
withTempDir
(run: (dir: string) => Promise<T>)
src/infra/run-node.test.ts:7
↓ 10 callers
Function
withTempHeartbeatSandbox
( fn: (ctx: { tmpDir: string; storePath: string; replySpy: ReturnType<typeof vi.spyOn>; }) =>
src/infra/heartbeat-runner.test-utils.ts:49
↓ 10 callers
Function
writeSessionStore
( home: string, session: { lastProvider: string; lastTo: string; lastChannel?: string }, )
src/cron/isolated-agent.test-harness.ts:11
↓ 9 callers
Function
acquireForTest
( env: NodeJS.ProcessEnv, opts: Omit<GatewayLockOptions, "env" | "allowInTests"> = {}, )
src/infra/gateway-lock.test.ts:28
↓ 9 callers
Function
addNonEmptyDir
(dirs: string[], dir: string | undefined)
src/daemon/service-env.ts:68
↓ 9 callers
Function
agentCommandFromIngress
( opts: AgentCommandIngressOpts, runtime: RuntimeEnv = defaultRuntime, deps: CliDeps = createDefaultDeps
src/commands/agent.ts:1238
↓ 9 callers
Method
append
(text: string)
src/agents/pi-embedded-block-chunker.ts:106
↓ 9 callers
Function
applyHookMappings
( mappings: HookMappingResolved[], ctx: HookMappingContext, )
src/gateway/hooks-mapping.ts:147
↓ 9 callers
Function
applyMinimaxApiConfig
( cfg: OpenClawConfig, modelId: string = "MiniMax-M2.5", )
src/commands/onboard-auth.config-minimax.ts:124
↓ 9 callers
Function
applySessionInfoFromPatch
(result?: SessionsPatchResult | null)
src/tui/tui-session-actions.ts:258
↓ 9 callers
Function
applySystemPromptOverrideToSession
( session: AgentSession, override: string | ((defaultPrompt?: string) => string), )
src/agents/pi-embedded-runner/system-prompt.ts:96
↓ 9 callers
Function
baseModel
()
src/agents/model-compat.test.ts:8
↓ 9 callers
Function
baseProps
()
ui/src/ui/views/config.browser.test.ts:6
↓ 9 callers
Function
buildAllowedModelSet
(params: { cfg: OpenClawConfig; catalog: ModelCatalogEntry[]; defaultProvider: string; defaultModel?:
src/agents/model-selection.ts:417
↓ 9 callers
Function
buildAssistantMessageFromResponse
( response: ResponseObject, modelInfo: { api: string; provider: string; id: string }, )
src/agents/openai-ws-stream.ts:287
↓ 9 callers
Function
buildChannelKeyCandidates
(...keys: Array<string | undefined | null>)
src/channels/channel-config.ts:43
↓ 9 callers
Function
buildChannelsTable
( cfg: OpenClawConfig, opts?: { showSecrets?: boolean; sourceConfig?: OpenClawConfig }, )
src/commands/status-all/channels.ts:468
↓ 9 callers
Function
buildConfigSchema
(params?: { plugins?: PluginUiMetadata[]; channels?: ChannelUiMetadata[]; })
src/config/schema.ts:449
↓ 9 callers
Function
buildConfiguredAcpSessionKey
(spec: ConfiguredAcpBindingSpec)
src/acp/persistent-bindings.types.ts:73
↓ 9 callers
Function
buildExternalLinkRel
(currentRel?: string)
ui/src/ui/external-link.ts:5
↓ 9 callers
Function
buildForwardCompatTemplate
(params: { id: string; name: string; provider: string; api: "anthropic-messages" | "google-gemini-cli"
src/agents/pi-embedded-runner/model.test.ts:22
↓ 9 callers
Function
buildLineMessageContext
(params: BuildLineMessageContextParams)
src/line/bot-message-context.ts:368
↓ 9 callers
Function
buildMinimalServicePath
(options: BuildServicePathOptions = {})
src/daemon/service-env.ts:235
↓ 9 callers
Function
buildModelStudioModelDefinition
(params: { id: string; name?: string; reasoning?: boolean; input?: string[]; cost?: ModelDefinitionC
src/commands/onboard-auth.models.ts:301
↓ 9 callers
Function
buildOpenGroupPolicyWarning
(params: { surface: string; openBehavior: string; remediation: string; })
src/channels/plugins/group-policy-warnings.ts:11
↓ 9 callers
Function
buildSingleChannelSecretPromptState
(params: { accountConfigured: boolean; hasConfigToken: boolean; allowEnv: boolean; envValue?: string;
src/channels/plugins/onboarding/helpers.ts:422
↓ 9 callers
Function
calculateBackoffMs
(consecutiveNoOutputPolls: number)
src/agents/command-poll-backoff.ts:10
↓ 9 callers
Function
callGatewayCli
(method: string, opts: DevicesRpcOpts, params?: unknown)
src/cli/devices-cli.ts:73
↓ 9 callers
Function
channelsAddCommand
( opts: ChannelsAddOptions, runtime: RuntimeEnv = defaultRuntime, params?: { hasFlags?: boolean }, )
src/commands/channels/add.ts:56
↓ 9 callers
Function
chunkByNewline
( text: string, maxLineLength: number, opts?: { splitLongLines?: boolean; trimLines?: boolean;
src/auto-reply/chunk.ts:114
↓ 9 callers
Function
chunkMarkdownText
(text: string, limit: number)
src/auto-reply/chunk.ts:315
↓ 9 callers
Function
clearPendingLifecycleError
(runId: string)
src/agents/subagent-registry.ts:263
↓ 9 callers
Function
collectAllowlistProviderGroupPolicyWarnings
(params: { cfg: OpenClawConfig; providerConfigPresent: boolean; configuredGroupPolicy?: GroupPolicy | nu
src/channels/plugins/group-policy-warnings.ts:99
↓ 9 callers
Function
collectStreamEvents
(stream: AsyncIterable<T>)
src/agents/ollama-stream.test.ts:346
↓ 9 callers
Function
connectFrameFrom
(ws: MockWebSocket)
src/gateway/client.test.ts:329
↓ 9 callers
Function
convertTools
(tools: Context["tools"])
src/agents/openai-ws-stream.ts:158
↓ 9 callers
Function
createAbortConfig
(params?: { commandsTextEnabled?: boolean; sessionIdsByKey?: Record<string, string>; nowMs?: numbe
src/auto-reply/reply/abort.test.ts:81
↓ 9 callers
Function
createBaseJob
(overrides: Partial<CronJob>)
src/cli/cron-cli/shared.test.ts:16
↓ 9 callers
Function
createBaseRun
(params: { storePath: string; sessionEntry: Record<string, unknown>; config?: Record<string, unknown>;
src/auto-reply/reply/agent-runner.runreplyagent.e2e.test.ts:200
↓ 9 callers
Function
createBrowserProfilesService
(ctx: BrowserRouteContext)
src/browser/profiles-service.ts:74
↓ 9 callers
Function
createChannelTestPluginBase
(params: { id: ChannelId; label?: string; docsPath?: string; capabilities?: ChannelCapabilities; con
src/test-utils/channel-plugins.ts:30
↓ 9 callers
Function
createClackPrompter
()
src/wizard/clack-prompter.ts:54
↓ 9 callers
Function
createDispatcher
()
src/auto-reply/reply/dispatch-acp.test.ts:93
↓ 9 callers
Function
createExecFileError
( message: string, options: { stderr?: string; code?: string | number } = {}, )
src/daemon/systemd.test.ts:28
↓ 9 callers
Function
createGatewayPluginRequestHandler
(params: { registry: PluginRegistry; log: SubsystemLogger; })
src/gateway/server/plugins-http.ts:31
↓ 9 callers
Function
createImageTool
(options?: { config?: OpenClawConfig; agentDir?: string; workspaceDir?: string; sandbox?: ImageSandbox
src/agents/tools/image-tool.ts:270
↓ 9 callers
Function
createLlmTaskTool
(api: OpenClawPluginApi)
extensions/llm-task/src/llm-task-tool.ts:73
↓ 9 callers
Function
createLookupFn
(address: string)
src/browser/navigation-guard.test.ts:11
↓ 9 callers
Function
createMessage
(params: { id: string; channelId: string; content: string; author: { id: string; bot: boolean;
src/discord/monitor/message-handler.preflight.test.ts:149
↓ 9 callers
Function
createMessageTool
(options?: MessageToolOptions)
src/agents/tools/message-tool.ts:669
↓ 9 callers
Function
createMockRequest
(params: { chunks?: string[]; headers?: Record<string, string>; emitEnd?: boolean; })
src/infra/http-body.test.ts:22
↓ 9 callers
Function
createModelPickerButton
(params: DiscordModelPickerButtonOptions)
src/discord/monitor/model-picker.ts:290
↓ 9 callers
Function
createNonExitingRuntime
()
src/runtime.ts:46
↓ 9 callers
Function
createNotifyUpsert
(message: Record<string, unknown>)
src/web/monitor-inbox.blocks-messages-from-unauthorized-senders-not-allowfrom.test.ts:27
↓ 9 callers
Function
createPerSenderSessionConfig
( overrides: Partial<NonNullable<OpenClawConfig["session"]>> = {}, )
src/agents/test-helpers/session-config.ts:3
↓ 9 callers
Function
createPluginCandidate
(params: { idHint: string; rootDir: string; sourceName?: string; origin: "bundled" | "global" | "works
src/plugins/manifest-registry.test.ts:22
↓ 9 callers
Function
createReadinessChecker
(deps: { channelManager: ChannelManager; startedAt: number; cacheTtlMs?: number; })
src/gateway/server/readiness.ts:34
↓ 9 callers
Function
createRemoteRouteHarness
(fetchMock?: (url: unknown) => Promise<Response>)
src/browser/server-context.remote-tab-ops.harness.ts:52
↓ 9 callers
Function
createRequestCaptureJsonFetch
(responseBody: unknown)
src/media-understanding/providers/audio.test-helpers.ts:61
↓ 9 callers
Function
createRuntimeLogCapture
()
src/cli/cron-cli/shared.test.ts:6
↓ 9 callers
Function
createSafeAudioFixtureBuffer
(size?: number, fill = 0xab)
src/media-understanding/runner.test-utils.ts:59
↓ 9 callers
Function
createSessionStoreFixture
(params: { prefix: string; entries: Record<string, Record<string, unknown>>; })
src/config/sessions.test.ts:41
↓ 9 callers
Function
createSlackMonitorContext
(params: { cfg: OpenClawConfig; accountId: string; botToken: string; app: App; runtime: RuntimeEnv;
src/slack/monitor/context.ts:87
↓ 9 callers
Function
createStubPty
(pid = 1234)
src/process/supervisor/adapters/pty.test.ts:17
↓ 9 callers
Function
createStubTool
(name: string)
src/agents/test-helpers/pi-tool-stubs.ts:4
↓ 9 callers
Function
createTargetViaCdp
(opts: { cdpUrl: string; url: string; ssrfPolicy?: SsrFPolicy; })
src/browser/cdp.ts:103
↓ 9 callers
Function
createTempAudioFile
()
src/media-understanding/apply.echo-transcript.test.ts:72
↓ 9 callers
Function
createTempMediaDir
()
src/media-understanding/apply.test.ts:46
↓ 9 callers
Function
decodeStrictBase64
(value: string, maxDecodedBytes: number)
src/agents/subagent-attachments.ts:7
↓ 9 callers
Function
deleteAccountFromConfigSection
(params: { cfg: OpenClawConfig; sectionKey: string; accountId: string; clearBaseFields?: string[]; })
src/channels/plugins/config-helpers.ts:60
↓ 9 callers
Function
deriveLastRoutePolicy
(params: { sessionKey: string; mainSessionKey: string; })
src/routing/resolve-route.ts:63
← previous
next →
2,001–2,100 of 26,379, ranked by callers