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
Method
create_json_stream
Helper to create a JSON stream from data
skills/pdf-anthropic/scripts/check_bounding_boxes_test.py:10
↓ 10 callers
Function
dashboardCommand
( runtime: RuntimeEnv = defaultRuntime, options: DashboardOptions = {}, )
src/commands/dashboard.ts:50
↓ 10 callers
Function
decodeHtmlEntitiesInObject
(obj: unknown)
src/agents/pi-embedded-runner/run/attempt.ts:454
↓ 10 callers
Function
deriveSessionChatType
(sessionKey: string | undefined | null)
src/sessions/session-key-utils.ts:37
↓ 10 callers
Function
describeUnknownError
(err: unknown)
src/cli/gateway-cli/shared.ts:23
↓ 10 callers
Function
detectSuspiciousPatterns
(content: string)
src/security/external-content.ts:37
↓ 10 callers
Function
detectTextDirection
( text: string | null, skipPattern: RegExp = /[\s\p{P}\p{S}]/u, )
ui/src/ui/text-direction.ts:16
↓ 10 callers
Function
discoverModels
(authStorage: PiAuthStorage, agentDir: string)
src/agents/pi-model-discovery.ts:150
↓ 10 callers
Function
editSlackMessage
( channelId: string, messageId: string, content: string, opts: SlackActionClientOpts & { blocks?: (Blo
src/slack/actions.ts:178
↓ 10 callers
Function
emitCheck
(label: string, status: "ok" | "warn" | "fail")
src/commands/status-all/diagnosis.ts:68
↓ 10 callers
Function
emitConnectChallenge
(ws: MockWebSocket, nonce = "nonce-1")
src/gateway/client.test.ts:346
↓ 10 callers
Function
emitGatewayRestart
()
src/infra/restart.ts:110
↓ 10 callers
Function
emitLifecycleEnd
( handler: ReturnType<typeof createHarness>["handler"], runId: string, seq = 2, )
src/gateway/server-chat.agent-events.test.ts:108
↓ 10 callers
Method
emitOpen
()
src/gateway/client.test.ts:62
↓ 10 callers
Method
emu_to_inches
Convert EMUs (English Metric Units) to inches.
skills/pptx-official/scripts/inventory.py:270
↓ 10 callers
Function
enableConsoleCapture
()
src/logging/console.ts:203
↓ 10 callers
Function
enqueueCommand
( task: () => Promise<T>, opts?: { warnAfterMs?: number; onWait?: (waitMs: number, queuedAhead: nu
src/process/command-queue.ts:189
↓ 10 callers
Function
escapeXml
(text: string)
extensions/voice-call/src/voice-mapping.ts:8
↓ 10 callers
Function
evaluate
(config: OpenClawConfig, env: NodeJS.ProcessEnv = EMPTY_ENV)
src/secrets/runtime-gateway-auth-surfaces.test.ts:11
↓ 10 callers
Function
expectDiscordRoleRoute
(params: { bindings: DiscordBinding[]; memberRoleIds?: string[]; peerId?: string; parentPeerId
src/routing/resolve-route.test.ts:681
↓ 10 callers
Function
expectInvokeErrorMessage
( sendInvokeResult: MockedSendInvokeResult, params: { message: string; exact?: boolean }, )
src/node-host/invoke-system-run.test.ts:59
↓ 10 callers
Function
expectNoFinding
(res: SecurityAuditReport, checkId: string)
src/security/audit.test.ts:149
↓ 10 callers
Function
expectToolCallSummary
(delivery: Delivery | undefined)
src/auto-reply/reply/acp-projector.test.ts:55
↓ 10 callers
Function
extractImageContentFromSource
( source: InputImageSource, limits: InputImageLimits, )
src/media/input-files.ts:274
↓ 10 callers
Function
extractMentions
(message: string)
extensions/twitch/src/access-control.ts:153
↓ 10 callers
Function
extractUrls
(markdown: string)
src/tui/osc8-hyperlinks.ts:18
↓ 10 callers
Function
fail
(message: string, hints?: string[])
src/cli/daemon-cli/lifecycle-core.ts:63
↓ 10 callers
Function
fail
(err: unknown)
extensions/irc/src/client.ts:152
↓ 10 callers
Function
filterMessagingToolMediaDuplicates
(params: { payloads: ReplyPayload[]; sentMediaUrls: string[]; })
src/auto-reply/reply/reply-payloads.ts:105
↓ 10 callers
Function
findCommandByNativeName
( name: string, provider?: string, )
src/auto-reply/commands-registry.ts:181
↓ 10 callers
Function
fireAndForgetHook
( task: Promise<unknown>, label: string, logger: (message: string) => void = logVerbose, )
src/hooks/fire-and-forget.ts:3
↓ 10 callers
Function
fmtInt
(n: number)
scripts/cron_usage_report.ts:94
↓ 10 callers
Function
formatConsoleTimestamp
(style: ConsoleStyle)
src/logging/console.ts:169
↓ 10 callers
Function
formatDurationCompact
( ms?: number | null, options?: FormatDurationCompactOptions, )
src/infra/format-time/format-duration.ts:49
↓ 10 callers
Function
formatLocalIsoWithOffset
(now: Date, timeZone?: string)
src/logging/timestamps.ts:10
↓ 10 callers
Function
formatRawAssistantErrorForUi
(raw?: string)
src/agents/pi-embedded-helpers/errors.ts:600
↓ 10 callers
Function
formatReasoningMessage
(text: string)
src/agents/pi-embedded-utils.ts:271
↓ 10 callers
Function
formatSkillsList
(report: SkillStatusReport, opts: SkillsListOptions)
src/cli/skills-cli.format.ts:66
↓ 10 callers
Function
formatToolOutputForSidebar
(text: string)
ui/src/ui/chat/tool-helpers.ts:11
↓ 10 callers
Function
formatUncaughtError
(err: unknown)
src/infra/errors.ts:87
↓ 10 callers
Function
formatUsd
(value?: number)
src/utils/usage-format.ts:38
↓ 10 callers
Function
getApiKeyForModel
(params: { model: Model<Api>; cfg?: OpenClawConfig; profileId?: string; preferredProfile?: string; s
src/agents/model-auth.ts:417
↓ 10 callers
Function
getBackoffCodeFromResponse
(response: unknown)
extensions/feishu/src/typing.ts:83
↓ 10 callers
Method
getBuffer
(params: { attachmentIndex: number; maxBytes: number; timeoutMs: number; })
src/media-understanding/attachments.cache.ts:75
↓ 10 callers
Function
getDefaultContext
()
src/browser/server-context.ts:208
↓ 10 callers
Function
getRegisteredEventKeys
()
src/hooks/internal-hooks.ts:254
↓ 10 callers
Function
getRemoteSkillEligibility
()
src/infra/skills-remote.ts:311
↓ 10 callers
Function
getSession
(id: string)
src/agents/bash-process-registry.ts:91
↓ 10 callers
Function
getString
(value: unknown)
src/infra/tailscale.ts:424
↓ 10 callers
Function
getSubagentDepthFromSessionStore
( sessionKey: string | undefined | null, opts?: { cfg?: OpenClawConfig; store?: Record<string, Ses
src/agents/subagent-depth.ts:124
↓ 10 callers
Function
getToolResultText
(msg: AgentMessage)
src/agents/pi-embedded-runner/tool-result-context-guard.test.ts:56
↓ 10 callers
Function
getUsedPorts
( profiles: Record<string, { cdpPort?: number; cdpUrl?: string }> | undefined, )
src/browser/profiles.ts:47
↓ 10 callers
Function
guardSessionManager
( sessionManager: SessionManager, opts?: { agentId?: string; sessionKey?: string; inputProvena
src/agents/session-tool-result-guard-wrapper.ts:20
↓ 10 callers
Function
handleFeishuMessage
(params: { cfg: ClawdbotConfig; event: FeishuMessageEvent; botOpenId?: string; botName?: string; run
extensions/feishu/src/bot.ts:862
↓ 10 callers
Function
hasNonEmptyString
(value: unknown)
src/security/audit.ts:164
↓ 10 callers
Function
healthCommand
( opts: { json?: boolean; timeoutMs?: number; verbose?: boolean; config?: OpenClawConfig }, runtime: Runti
src/commands/health.ts:525
↓ 10 callers
Function
hex
(value: string)
src/terminal/theme.ts:11
↓ 10 callers
Method
ingestDelta
(runId: string, message: unknown, showThinking: boolean)
src/tui/tui-stream-assembler.ts:163
↓ 10 callers
Function
isBunRuntime
(execPath: string)
src/daemon/runtime-binary.ts:21
↓ 10 callers
Function
isCommandFlagEnabled
( config: { commands?: unknown } | undefined, key: CommandFlagKey, )
src/config/commands.ts:81
↓ 10 callers
Function
isDangerousHostEnvOverrideVarName
(rawKey: string)
src/infra/host-env-security.ts:71
↓ 10 callers
Function
isFixtureInMock
(p: string)
src/cron/service.runs-one-shot-main-job-disables-it.test.ts:71
↓ 10 callers
Function
isLikelyContextOverflowError
(errorMessage?: string)
src/agents/pi-embedded-helpers/errors.ts:127
↓ 10 callers
Function
isLikelyInterimCronMessage
(value: string)
src/cron/isolated-agent/subagent-followup.ts:42
↓ 10 callers
Function
isLoopbackAddress
(ip: string | undefined)
src/gateway/net.ts:58
↓ 10 callers
Function
isMainModule
({ currentFile, argv = process.argv, env = process.env, cwd = process.cwd(), wrapperEntryPairs = [],
src/infra/is-main.ts:28
↓ 10 callers
Function
isMcporterCommand
(cmd: unknown)
src/memory/qmd-manager.test.ts:61
↓ 10 callers
Function
isNonRecoverableAuthError
(error: GatewayErrorInfo | undefined)
ui/src/ui/gateway.ts:65
↓ 10 callers
Function
isOptionalString
(value: unknown)
src/imessage/monitor/parse-notification.ts:7
↓ 10 callers
Function
isPidAlive
(pid: number)
src/shared/pid-alive.ts:24
↓ 10 callers
Function
isProtectedPluginRoutePath
(pathname: string)
src/gateway/security-path.ts:159
↓ 10 callers
Function
isRecord
(value: unknown)
extensions/acpx/src/runtime-internals/shared.ts:21
↓ 10 callers
Function
isRequestBodyLimitError
( error: unknown, code?: RequestBodyLimitErrorCode, )
src/infra/http-body.ts:46
↓ 10 callers
Function
isSystemdServiceEnabled
(args: GatewayServiceEnvArgs)
src/daemon/systemd.ts:582
↓ 10 callers
Function
isSystemdUserServiceAvailable
( env: GatewayServiceEnv = process.env as GatewayServiceEnv, )
src/daemon/systemd.ts:419
↓ 10 callers
Function
isValidOpenAIVoice
(voice: string, baseUrl?: string)
src/tts/tts-core.ts:386
↓ 10 callers
Function
lastMessage
()
src/commands/doctor-security.test.ts:43
↓ 10 callers
Function
listNativeCommandSpecsForConfig
( cfg: OpenClawConfig, params?: { skillCommands?: SkillCommandSpec[]; provider?: string }, )
src/auto-reply/commands-registry.ts:174
↓ 10 callers
Function
listSystemPresence
()
src/infra/system-presence.ts:270
↓ 10 callers
Function
listTelegramAccountIds
(cfg: OpenClawConfig)
src/telegram/accounts.ts:56
↓ 10 callers
Function
loadChatHistory
(state: ChatState)
ui/src/ui/controllers/chat.ts:66
↓ 10 callers
Function
loadProviderUsageSummary
( opts: UsageSummaryOptions = {}, )
src/infra/provider-usage.load.ts:33
↓ 10 callers
Function
makeAssistant
(overrides: Partial<AssistantMessage>)
src/agents/pi-embedded-runner/run/payloads.errors.test.ts:25
↓ 10 callers
Function
makeAssistant
(text: string)
src/agents/pi-extensions/context-pruning.test.ts:62
↓ 10 callers
Function
makeCompactionSuccess
(params: { summary: string; firstKeptEntryId: string; tokensBefore: number; })
src/agents/pi-embedded-runner/run.overflow-compaction.fixture.ts:10
↓ 10 callers
Function
makeDeps
()
src/gateway/boot.test.ts:44
↓ 10 callers
Function
makeFakeGitRepo
( root: string, options: { head: string; refs?: Record<string, string>; gitdir?: string; c
src/infra/git-commit.test.ts:13
↓ 10 callers
Function
makeGroupEvent
(opts: GroupEventOpts)
src/signal/monitor/event-handler.mention-gating.test.ts:43
↓ 10 callers
Function
makeMemoryStatus
(overrides: Record<string, unknown> = {})
src/cli/memory-cli.test.ts:71
↓ 10 callers
Function
makeMsg
()
src/web/auto-reply/deliver-reply.test.ts:29
↓ 10 callers
Function
makeOkUpdateResult
(overrides: Partial<UpdateRunResult> = {})
src/cli/update-cli.test.ts:208
↓ 10 callers
Function
makeProxyFetch
(proxyUrl: string)
src/infra/net/proxy-fetch.ts:13
↓ 10 callers
Function
makeReactionClient
(options?: { channelType?: ChannelType; channelName?: string; parentId?: string; parentName?: string;
src/discord/monitor.test.ts:897
↓ 10 callers
Function
makeReactionEvent
(overrides?: { guildId?: string; channelId?: string; userId?: string; messageId?: string; emojiName?
src/discord/monitor.test.ts:856
↓ 10 callers
Function
makeReactionEvent
( overrides: Partial<FeishuReactionCreatedEvent> = {}, )
extensions/feishu/src/monitor.reaction.test.ts:42
↓ 10 callers
Function
makeReactionListenerParams
(overrides?: { botUserId?: string; dmEnabled?: boolean; groupDmEnabled?: boolean; groupDmChannels?: st
src/discord/monitor.test.ts:919
↓ 10 callers
Function
makeTempDir
()
src/plugins/install.test.ts:69
↓ 10 callers
Function
makeTempDir
()
src/hooks/install.test.ts:33
↓ 10 callers
Function
markBlueBubblesChatRead
( chatGuid: string, opts: BlueBubblesChatOpts = {}, )
extensions/bluebubbles/src/chat.ts:97
↓ 10 callers
Function
markDelivered
(progress: DeliveryProgress)
src/telegram/bot/delivery.replies.ts:100
← previous
next →
1,801–1,900 of 26,379, ranked by callers