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
↓ 12 callers
Function
stripSilentToken
(text: string, token: string = SILENT_REPLY_TOKEN)
src/auto-reply/tokens.ts:48
↓ 12 callers
Function
text
(token)
src/auto-reply/reply/export-html/template.js:1762
↓ 12 callers
Function
toNumber
(value: string, fallback: number)
ui/src/ui/format.ts:46
↓ 12 callers
Function
toTrimmedString
(value: unknown)
ui/src/ui/app-tool-stream.ts:40
↓ 12 callers
Function
toWhatsappJid
(number: string)
src/utils.ts:124
↓ 12 callers
Function
urbitFetch
(params: UrbitFetchOptions)
extensions/tlon/src/urbit/fetch.ts:20
↓ 12 callers
Function
verifyInteractionToken
( context: Record<string, unknown>, token: string, accountId?: string, )
extensions/mattermost/src/mattermost/interactions.ts:220
↓ 12 callers
Function
withDuration
(attempt: Omit<NodeWakeAttempt, "durationMs">)
src/gateway/server-methods/nodes.ts:230
↓ 12 callers
Function
withRemoteHttpResponse
(params: { url: string; init?: RequestInit; ssrfPolicy?: SsrFPolicy; auditContext?: string; onRespon
src/memory/remote-http.ts:22
↓ 12 callers
Function
withTempAgentDir
(run: (agentDir: string) => Promise<T>)
src/agents/tools/pdf-tool.test.ts:23
↓ 12 callers
Function
withTempAgentDir
(run: (agentDir: string) => Promise<T>)
src/agents/tools/image-tool.test.ts:23
↓ 12 callers
Function
withTimeout
(promise: Promise<T>, timeoutMs: number, label: string)
extensions/zalouser/src/zalo-js.ts:106
↓ 12 callers
Function
wrapToolWithBeforeToolCallHook
( tool: AnyAgentTool, ctx?: HookContext, )
src/agents/pi-tools.before-tool-call.ts:196
↓ 12 callers
Function
writeCronStoreSnapshot
(params: { storePath: string; jobs: CronJob[] })
src/cron/service.test-harness.ts:54
↓ 11 callers
Function
PermissionToggleRow
apps/android/app/src/main/java/ai/openclaw/app/ui/OnboardingFlow.kt:1466
↓ 11 callers
Function
abs
(p: string)
src/infra/openclaw-root.test.ts:16
↓ 11 callers
Function
addSession
(session: ProcessSession)
src/agents/bash-process-registry.ts:86
↓ 11 callers
Function
appendOutput
(session: ProcessSession, stream: "stdout" | "stderr", chunk: string)
src/agents/bash-process-registry.ts:104
↓ 11 callers
Function
applyModelDefaults
(cfg: OpenClawConfig)
src/config/defaults.ts:213
↓ 11 callers
Method
applySettings
(next: UiSettings)
ui/src/ui/app.ts:466
↓ 11 callers
Function
applySetupAccountConfigPatch
(params: { cfg: OpenClawConfig; channelKey: string; accountId: string; patch: Record<string, unknown>;
src/channels/plugins/setup-helpers.ts:123
↓ 11 callers
Function
asRecord
(value: unknown)
src/commands/health.ts:172
↓ 11 callers
Function
auditSummaryQuality
(params: { summary: string; identifiers: string[]; latestAsk: string | null; identifierPolicy?: Compac
src/agents/pi-extensions/compaction-safeguard.ts:619
↓ 11 callers
Function
blueBubblesFetchWithTimeout
( url: string, init: RequestInit, timeoutMs = DEFAULT_TIMEOUT_MS, )
extensions/bluebubbles/src/types.ts:125
↓ 11 callers
Function
broadcast
(event, payload, opts)
src/gateway/server-broadcast.ts:120
↓ 11 callers
Function
buildAssistant
(overrides: Partial<AssistantMessage>)
src/agents/pi-embedded-runner.run-embedded-pi-agent.auth-profile-rotation.e2e.test.ts:86
↓ 11 callers
Function
buildBootstrapContextFiles
( files: WorkspaceBootstrapFile[], opts?: { warn?: (message: string) => void; maxChars?: number; totalMaxC
src/agents/pi-embedded-helpers/bootstrap.ts:198
↓ 11 callers
Function
buildDaemonServiceSnapshot
(service: GatewayService, loaded: boolean)
src/cli/daemon-cli/response.ts:27
↓ 11 callers
Function
buildDiscordModelPickerNoticePayload
(message: string)
src/discord/monitor/native-command.ts:413
↓ 11 callers
Function
buildFetchFallbackError
(code: string)
src/telegram/fetch.test.ts:82
↓ 11 callers
Function
buildImportUrl
(handlerPath: string, source: HookSource)
src/hooks/import-url.ts:23
↓ 11 callers
Function
buildMessagingTarget
( kind: MessagingTargetKind, id: string, raw: string, )
src/channels/targets.ts:22
↓ 11 callers
Function
buildModelsKeyboard
(params: ModelsKeyboardParams)
src/telegram/model-buttons.ts:182
↓ 11 callers
Function
buildProgram
()
src/cli/cron-cli.test.ts:69
↓ 11 callers
Function
buildSystemRunApprovalPlan
(params: { command?: unknown; rawCommand?: unknown; cwd?: unknown; agentId?: unknown; sessionKey?: u
src/node-host/invoke-system-run-plan.ts:715
↓ 11 callers
Function
buildThreadingToolContext
(params: { sessionCtx: TemplateContext; config: OpenClawConfig | undefined; hasRepliedRef: { value: bool
src/auto-reply/reply/agent-runner-utils.ts:19
↓ 11 callers
Function
calculateTotalPages
(totalModels: number, pageSize?: number)
src/telegram/model-buttons.ts:281
↓ 11 callers
Function
chatBroadcastCalls
(broadcast: ReturnType<typeof vi.fn>)
src/gateway/server-chat.agent-events.test.ts:92
↓ 11 callers
Function
chunkDiscordText
(text: string, opts: ChunkDiscordTextOpts = {})
src/discord/chunk.ts:108
↓ 11 callers
Function
cleanup
()
src/agents/openai-ws-stream.ts:402
↓ 11 callers
Function
clearRuntimeConfigSnapshot
()
src/config/io.ts:1363
↓ 11 callers
Function
clearSupervisorHints
()
src/infra/process-respawn.test.ts:43
↓ 11 callers
Function
consumeRootOptionToken
(args: ReadonlyArray<string>, index: number)
src/infra/cli-root-options.ts:16
↓ 11 callers
Function
createAnthropicModelFixture
(overrides: Partial<Model<Api>> = {})
src/agents/pi-extensions/compaction-safeguard.test.ts:67
↓ 11 callers
Function
createBaseConfig
(provider: "telnyx" | "twilio" | "plivo" | "mock")
extensions/voice-call/src/config.test.ts:10
↓ 11 callers
Function
createCfg
()
extensions/telegram/src/channel.test.ts:13
↓ 11 callers
Function
createConfig
(overrides: Partial<VoiceCallConfig> = {})
extensions/voice-call/src/webhook.test.ts:20
↓ 11 callers
Function
createConnectedManager
( opts?: ConstructorParameters<typeof OpenAIWebSocketManager>[0], )
src/agents/openai-ws-connection.test.ts:188
↓ 11 callers
Function
createDefaultDeps
()
src/cli/deps.ts:61
↓ 11 callers
Function
createDiffsTool
(params: { api: OpenClawPluginApi; store: DiffArtifactStore; defaults: DiffToolDefaults; screenshotter
extensions/diffs/src/tool.ts:133
↓ 11 callers
Function
createDiscordClient
( opts: DiscordClientOpts, cfg?: ReturnType<typeof loadConfig>, )
src/discord/client.ts:73
↓ 11 callers
Function
createGroupMessage
(overrides: Partial<ZaloInboundMessage> = {})
extensions/zalouser/src/monitor.group-gating.test.ts:185
↓ 11 callers
Function
createInstallFailure
(params: { message: string; stdout?: string; stderr?: string; code?: number | null; })
src/agents/skills-install.ts:195
↓ 11 callers
Function
createLifecycleHarness
(params?: { accountId?: string; start?: () => Promise<void>; stop?: () => Promise<void>; isDis
src/discord/monitor/provider.lifecycle.test.ts:53
↓ 11 callers
Function
createManager
(calls: CallRecord[])
extensions/voice-call/src/webhook.test.ts:47
↓ 11 callers
Function
createMockReport
(skills: SkillStatusEntry[])
src/cli/skills-cli.test.ts:32
↓ 11 callers
Function
createMockState
(now: number, opts?: { defaultAgentId?: string })
src/cron/service.jobs.test.ts:359
↓ 11 callers
Function
createModelDefaultsConfig
(params: { primary: string; models?: Record<string, Record<string, never>>; })
src/gateway/session-utils.test.ts:45
↓ 11 callers
Function
createPersistentDedupe
(options: PersistentDedupeOptions)
src/plugin-sdk/persistent-dedupe.ts:94
↓ 11 callers
Function
createProvider
()
extensions/voice-call/src/providers/twilio.test.ts:7
↓ 11 callers
Function
createRegistry
(diagnostics: PluginDiagnostic[])
src/gateway/server-plugins.test.ts:23
↓ 11 callers
Function
createRes
()
src/line/webhook-node.test.ts:9
↓ 11 callers
Function
createRuntimeEnv
()
extensions/feishu/src/bot.test.ts:62
↓ 11 callers
Function
createScopedAccountConfigAccessors
(params: { resolveAccount: (params: { cfg: OpenClawConfig; accountId?: string | null }) => ResolvedAccount;
src/plugin-sdk/channel-config-helpers.ts:34
↓ 11 callers
Function
createScopedPairingAccess
(params: { core: PluginRuntime; channel: ChannelId; accountId: string; })
src/plugin-sdk/pairing-access.ts:11
↓ 11 callers
Function
createSignalEventHandler
(deps: SignalEventHandlerDeps)
src/signal/monitor/event-handler.ts:79
↓ 11 callers
Function
createStubChannelPlugin
(params: StubChannelOptions)
src/gateway/test-helpers.mocks.ts:43
↓ 11 callers
Function
createSubmitHarness
()
src/tui/tui-submit-test-helpers.ts:17
↓ 11 callers
Function
createTempHomeEnv
(prefix: string)
src/test-utils/temp-home.ts:19
↓ 11 callers
Function
createTestPrompter
(params: { text: string[]; select?: string[] })
src/commands/onboard-custom.test.ts:16
↓ 11 callers
Function
dedupe
(values: string[])
src/cli/channel-options.ts:10
↓ 11 callers
Function
deliverWebReply
(params: { replyResult: ReplyPayload; msg: WebInboundMsg; mediaLocalRoots?: readonly string[]; maxMedi
src/web/auto-reply/deliver-reply.ts:28
↓ 11 callers
Function
deriveSessionTitle
( entry: SessionEntry | undefined, firstUserMessage?: string | null, )
src/gateway/session-utils.ts:150
↓ 11 callers
Function
detectBinary
(name: string)
src/commands/onboard-helpers.ts:344
↓ 11 callers
Function
detectChangedScope
(changedPaths)
scripts/ci-changed-scope.mjs:23
↓ 11 callers
Method
disconnect
* Disconnect a client
extensions/twitch/src/twitch-client.ts:210
↓ 11 callers
Function
dispatchMessage
(params: { message: Record<string, unknown>; me?: Record<string, unknown>; })
src/telegram/bot.create-telegram-bot.test.ts:1078
↓ 11 callers
Method
emitClose
(code = 1000, reason = "")
ui/src/ui/gateway.node.test.ts:57
↓ 11 callers
Function
emitLifecycleEnd
( runId: string, data: { startedAt?: number; endedAt?: number; aborted?: boolean;
src/agents/subagent-registry.steer-restart.test.ts:180
↓ 11 callers
Function
encodePairingSetupCode
(payload: PairingSetupPayload)
src/pairing/setup-code.ts:351
↓ 11 callers
Function
enqueueSend
( roomId: string, fn: () => Promise<T>, options?: MatrixSendQueueOptions, )
extensions/matrix/src/matrix/send-queue.ts:13
↓ 11 callers
Function
ensureDir
(dirPath: string)
src/cron/service.runs-one-shot-main-job-disables-it.test.ts:35
↓ 11 callers
Function
ensureOpenClawCliOnPath
(opts: EnsureOpenClawPathOpts = {})
src/infra/path-env.ts:112
↓ 11 callers
Function
ensureSharedRelayServer
()
src/browser/extension-relay.test.ts:174
↓ 11 callers
Function
envHomedir
Build a homedir thunk that respects OPENCLAW_HOME for the given env.
src/config/paths.ts:31
↓ 11 callers
Function
envRef
(id: string)
src/secrets/runtime-gateway-auth-surfaces.test.ts:7
↓ 11 callers
Function
evaluateExecAllowlist
( params: { analysis: ExecCommandAnalysis; } & ExecAllowlistContext, )
src/infra/exec-approvals-allowlist.ts:281
↓ 11 callers
Method
event
(name: string, handler: SlackHandler)
src/slack/monitor.test-helpers.ts:220
↓ 11 callers
Function
execSchtasks
( args: string[], )
src/daemon/schtasks-exec.ts:3
↓ 11 callers
Function
expandToolGroups
(list?: string[])
src/agents/tool-policy-shared.ts:31
↓ 11 callers
Function
expectApiKeyProfile
(params: { profileId: string; provider: string; key: string; metadata?: Record<string, string>; })
src/commands/onboard-non-interactive.provider-auth.test.ts:160
↓ 11 callers
Function
expectInvokeOk
( sendInvokeResult: MockedSendInvokeResult, params?: { payloadContains?: string }, )
src/node-host/invoke-system-run.test.ts:45
↓ 11 callers
Function
expectPersistedRoles
(sm: SessionManager, expectedRoles: AgentMessage["role"][])
src/agents/session-tool-result-guard.test.ts:62
↓ 11 callers
Function
extensionForMime
(mime?: string | null)
src/media/mime.ts:148
↓ 11 callers
Function
extractMessageId
(response: unknown)
extensions/msteams/src/media-helpers.ts:93
↓ 11 callers
Function
failInvalidOption
(message: string)
src/acp/control-plane/runtime-options.ts:17
↓ 11 callers
Function
formatError
(err: unknown)
src/gateway/server-utils.ts:13
↓ 11 callers
Function
formatLine
(label: string, value: string)
src/daemon/output.ts:5
↓ 11 callers
Function
formatMention
(params: { userId?: string | number | bigint | null; roleId?: string | number | bigint | null; channelId
src/discord/mentions.ts:15
↓ 11 callers
Function
formatRunLabel
(entry: SubagentRunRecord, options?: { maxLength?: number })
src/auto-reply/reply/subagents-utils.ts:9
← previous
next →
1,501–1,600 of 26,379, ranked by callers