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
↓ 2 callers
Function
buildDirectoryCacheKey
(key: DirectoryCacheKey)
src/infra/outbound/directory-cache.ts:17
↓ 2 callers
Function
buildDisabledCommandReply
(params: { label: string; configKey: CommandFlagKey; disabledVerb?: "is" | "are"; docsUrl?: string; })
src/auto-reply/reply/command-gates.ts:45
↓ 2 callers
Function
buildDiscordChannelKeys
( params: DiscordChannelLookup & { allowNameMatch?: boolean }, )
src/discord/monitor/allow-list.ts:360
↓ 2 callers
Function
buildDiscordCleanupHooks
(onDelete: (key: string | undefined) => void)
src/agents/openclaw-tools.subagents.sessions-spawn.lifecycle.test.ts:33
↓ 2 callers
Function
buildDiscordComponentMessage
(params: { spec: DiscordComponentMessageSpec; fallbackText?: string; sessionKey?: string; agentId?: st
src/discord/components.ts:923
↓ 2 callers
Function
buildDiscordComponentMessageFlags
( components: TopLevelComponents[], )
src/discord/components.ts:1094
↓ 2 callers
Function
buildDiscordMediaPayload
( mediaList: Array<{ path: string; contentType?: string }>, )
src/discord/monitor/message-utils.ts:626
↓ 2 callers
Function
buildDiscordMediaPlaceholder
(params: { attachments?: APIAttachment[]; stickers?: APIStickerItem[]; })
src/discord/monitor/message-utils.ts:481
↓ 2 callers
Function
buildDiscordModalCustomId
(modalId: string)
src/discord/components.ts:615
↓ 2 callers
Function
buildDiscordModelPickerAllowedModelRefs
( data: Awaited<ReturnType<typeof loadDiscordModelPickerData>>, )
src/discord/monitor/native-command.ts:385
↓ 2 callers
Function
buildDiscordModelPickerPreferenceKey
( scope: DiscordModelPickerPreferenceScope, )
src/discord/monitor/model-picker-preferences.ts:48
↓ 2 callers
Function
buildDiscordUntrustedContext
(params: { isGuild: boolean; channelTopic?: string; })
src/discord/monitor/inbound-context.ts:17
↓ 2 callers
Function
buildDispatchContextPayload
(params: { cfg: OpenClawConfig; message: IMessagePayload })
src/imessage/monitor.gating.test.ts:79
↓ 2 callers
Function
buildDispatchInboundCaptureMock
( actual: T, setCtx: (ctx: unknown) => void, )
test/helpers/dispatch-inbound-capture.ts:3
↓ 2 callers
Function
buildDockFromPlugin
(plugin: ChannelPlugin)
src/channels/dock.ts:558
↓ 2 callers
Function
buildDownloadRequestBase
(cdpUrl: string, targetId: string, timeoutMs: number | undefined)
src/browser/routes/agent.act.download.ts:8
↓ 2 callers
Function
buildDuplicateIdCollisionInput
()
src/agents/tool-call-id.test.ts:9
↓ 2 callers
Function
buildDuplicateToolResultInput
(opts?: { middleMessage?: unknown; secondText?: string; })
src/agents/session-transcript-repair.test.ts:25
↓ 2 callers
Function
buildEmbeddedRunPayloads
(params: { assistantTexts: string[]; toolMetas: ToolMetaEntry[]; lastAssistant: AssistantMessage | undef
src/agents/pi-embedded-runner/run/payloads.ts:90
↓ 2 callers
Function
buildEmbeddedSystemPrompt
(params: { workspaceDir: string; defaultThinkLevel?: ThinkLevel; reasoningLevel?: ReasoningLevel; extr
src/agents/pi-embedded-runner/system-prompt.ts:11
↓ 2 callers
Function
buildEnforcedShellCommand
(params: { command: string; segments: ExecCommandSegment[]; platform?: string | null; })
src/infra/exec-approvals-analysis.ts:721
↓ 2 callers
Function
buildEnvSecretRef
(id: string)
src/commands/onboard-auth.credentials.ts:33
↓ 2 callers
Function
buildEnvironmentValueSources
( environment: Record<string, string>, source: "inline" | "file", )
src/daemon/systemd.ts:124
↓ 2 callers
Function
buildErrorObservationFields
(error?: string)
src/agents/model-fallback-observation.ts:9
↓ 2 callers
Function
buildExecApprovalPayload
(container: DiscordUiContainer)
src/discord/monitor/exec-approvals.ts:234
↓ 2 callers
Function
buildExecEventPrompt
(opts?: { deliverToUser?: boolean })
src/infra/heartbeat-events-filter.ts:40
↓ 2 callers
Function
buildExistingMainStoreEntry
(overrides: Record<string, unknown> = {})
src/gateway/server-methods/agent.test.ts:120
↓ 2 callers
Function
buildFallbackReasonSummary
(attempts: RuntimeFallbackAttempt[])
src/auto-reply/fallback-state.ts:46
↓ 2 callers
Function
buildFeishuAgentBody
(params: { ctx: Pick< FeishuMessageContext, "content" | "senderName" | "senderOpenId" | "mentionTarg
extensions/feishu/src/bot.ts:817
↓ 2 callers
Function
buildFeishuPostMessagePayload
(params: { messageText: string })
extensions/feishu/src/send.ts:256
↓ 2 callers
Function
buildFileArtifactMessage
(params: { format: DiffOutputFormat; filePath: string; viewerUrl?: string; })
extensions/diffs/src/tool.ts:335
↓ 2 callers
Function
buildFileInstallResult
(pluginId: string, targetFile: string)
src/plugins/install.ts:139
↓ 2 callers
Function
buildForwardedContextFromChat
(params: { chat: Chat; date?: number; type: string; signature?: string; messageId?: number; })
src/telegram/bot/helpers.ts:507
↓ 2 callers
Method
buildFtsQuery
(raw: string)
src/memory/manager.ts:388
↓ 2 callers
Function
buildFullInput
Build full input items from context (system prompt is passed via `instructions` field).
src/agents/openai-ws-stream.ts:737
↓ 2 callers
Function
buildGatewayHttpHeaders
(host: OpenClawApp)
ui/src/ui/app-channels.ts:85
↓ 2 callers
Function
buildGatewayProbeCredentialPolicy
(params: { cfg: OpenClawConfig; mode: "local" | "remote"; env?: NodeJS.ProcessEnv; explicitAuth?: Expl
src/gateway/probe-auth.ts:9
↓ 2 callers
Function
buildGatewayProbeWarning
( probe: | { checked: boolean; ready: boolean; error?: string; } | und
src/commands/doctor-memory-search.ts:217
↓ 2 callers
Function
buildGitWorktreeProbeResponses
(options?: { status?: string; branch?: string })
src/infra/update-runner.test.ts:143
↓ 2 callers
Function
buildGogWatchServeArgs
(cfg: GmailHookRuntimeConfig)
src/hooks/gmail.ts:224
↓ 2 callers
Function
buildGogWatchStartArgs
( cfg: Pick<GmailHookRuntimeConfig, "account" | "label" | "topic">, )
src/hooks/gmail.ts:208
↓ 2 callers
Function
buildGuildLabel
(params: { guild?: Guild<true> | Guild; channelName: string; channelId: string; })
src/discord/monitor/reply-context.ts:46
↓ 2 callers
Function
buildHelpMessage
(cfg?: OpenClawConfig)
src/auto-reply/status.ts:724
↓ 2 callers
Function
buildHistoryContext
(params: { historyText: string; currentMessage: string; lineBreak?: string; })
src/auto-reply/reply/history.ts:37
↓ 2 callers
Function
buildHostApprovalDecisionParams
( params: HostExecApprovalParams, )
src/agents/bash-tools.exec-approval-request.ts:204
↓ 2 callers
Function
buildHtmlDocument
(params: { title: string; bodyHtml: string; theme: DiffRenderOptions["presentation"]["theme"]; imageMa
extensions/diffs/src/render.ts:206
↓ 2 callers
Function
buildHuggingfaceModelDefinition
( model: (typeof HUGGINGFACE_MODEL_CATALOG)[number], )
src/agents/huggingface-models.ts:109
↓ 2 callers
Function
buildIMessageInboundContext
(params: { cfg: OpenClawConfig; decision: IMessageInboundDispatchDecision; message: IMessagePayload; e
src/imessage/monitor/inbound-processing.ts:356
↓ 2 callers
Function
buildIMessageSetupPatch
(input: { cliPath?: string; dbPath?: string; service?: string; region?: string; })
extensions/imessage/src/channel.ts:36
↓ 2 callers
Function
buildInboundDedupeKey
(ctx: MsgContext)
src/auto-reply/reply/inbound-dedupe.ts:36
↓ 2 callers
Function
buildInboundMessage
(params: { id: string; from: string; conversationId: string; chatType: "direct" | "group"; chatId: s
src/web/auto-reply.web-auto-reply.last-route.test.ts:56
↓ 2 callers
Function
buildInteractiveSnapshotLines
(params: { lines: string[]; options: RoleSnapshotOptions; resolveRef: (parsed: InteractiveSnapshotLine)
src/browser/pw-role-snapshot.ts:271
↓ 2 callers
Function
buildInvokeParams
( approvedByAsk: boolean, approvalDecision: "allow-once" | "allow-always" | null, runId?: string,
src/agents/bash-tools.exec-host-node.ts:198
↓ 2 callers
Function
buildKilocodeModelDefinition
()
src/commands/onboard-auth.models.ts:216
↓ 2 callers
Function
buildListEntry
(entry: SubagentRunRecord, runtimeMs: number)
src/agents/subagent-control.ts:264
↓ 2 callers
Function
buildMSTeamsAttachmentPlaceholder
( attachments: MSTeamsAttachmentLike[] | undefined, )
extensions/msteams/src/attachments/html.ts:75
↓ 2 callers
Function
buildMSTeamsGraphMessageUrls
(params: { conversationType?: string | null; conversationId?: string | null; messageId?: string | null;
extensions/msteams/src/attachments/graph.ts:51
↓ 2 callers
Function
buildMSTeamsMediaPayload
( mediaList: Array<{ path: string; contentType?: string }>, )
extensions/msteams/src/attachments/payload.ts:3
↓ 2 callers
Function
buildMSTeamsPollCard
(params: { question: string; options: string[]; maxSelections?: number; pollId?: string; })
extensions/msteams/src/polls.ts:136
↓ 2 callers
Function
buildMainSessionEntry
(overrides: Record<string, unknown> = {})
src/config/sessions.test.ts:61
↓ 2 callers
Function
buildMattermostAllowedModelRefs
(data: ModelsProviderData)
extensions/mattermost/src/mattermost/model-picker.ts:207
↓ 2 callers
Function
buildMediaLocalRoots
( stateDir: string, options: BuildMediaLocalRootsOptions = {}, )
src/media/local-roots.ts:20
↓ 2 callers
Function
buildMediaPayload
( mediaList: MediaPayloadInput[], opts?: { preserveMediaTypeCardinality?: boolean }, )
src/channels/plugins/media-payload.ts:15
↓ 2 callers
Function
buildMemorySearchUnavailableResult
(error: string | undefined)
src/agents/tools/memory-tool.ts:195
↓ 2 callers
Function
buildMentionEntities
(mentions: MentionInfo[])
extensions/msteams/src/mentions.ts:90
↓ 2 callers
Function
buildMentionedCardContent
(targets: MentionTarget[], message: string)
extensions/feishu/src/mention.ts:126
↓ 2 callers
Function
buildMessageToolSchemaFromActions
( actions: readonly string[], options: { includeButtons: boolean; includeCards: boolean; inclu
src/agents/tools/message-tool.ts:465
↓ 2 callers
Function
buildModelDefinition
(params: { id: string; name: string; input: Array<"text" | "image">; })
extensions/qwen-portal-auth/index.ts:23
↓ 2 callers
Function
buildModelStudioProvider
()
src/agents/models-config.providers.static.ts:471
↓ 2 callers
Function
buildNameIndex
(items: T[], nameFn: (item: T) => string | undefined)
extensions/zalouser/src/monitor.ts:72
↓ 2 callers
Function
buildNestedValuesSnapshot
()
src/config/redact-snapshot.test.ts:524
↓ 2 callers
Function
buildNoReplyHistoryFixture
(includeMixedAssistant = false)
src/gateway/server.chat.gateway-server-chat.test.ts:45
↓ 2 callers
Function
buildNoVncDirectUrl
(port: number)
src/agents/sandbox/novnc-auth.ts:42
↓ 2 callers
Function
buildNoVncObserverTokenUrl
(baseUrl: string, token: string)
src/agents/sandbox/novnc-auth.ts:95
↓ 2 callers
Method
buildNodeConnectOptions
apps/android/app/src/main/java/ai/openclaw/app/node/ConnectionManager.kt:128
↓ 2 callers
Function
buildNodeRuntimeHints
(env: NodeJS.ProcessEnv = process.env)
src/cli/node-cli/daemon.ts:70
↓ 2 callers
Function
buildNormalizedResolveResult
(params: { channel: ChannelId; raw: string; normalized: string; kind: TargetResolveKind; })
src/infra/outbound/target-resolver.ts:342
↓ 2 callers
Function
buildNostrProfileUrl
(accountId: string, suffix = "")
ui/src/ui/app-channels.ts:65
↓ 2 callers
Function
buildOAuthApiKey
(provider: string, credentials: OAuthCredentials)
src/agents/auth-profiles/oauth.ts:57
↓ 2 callers
Function
buildOpenAICodexOAuthConfig
()
src/commands/oauth-tls-preflight.doctor.test.ts:12
↓ 2 callers
Function
buildOpenRouterScanResult
(params: { entry: OpenRouterModelMeta; isFree: boolean; tool: ProbeResult; image: ProbeResult; })
src/agents/model-scan.ts:338
↓ 2 callers
Method
buildOperatorConnectOptions
apps/android/app/src/main/java/ai/openclaw/app/node/ConnectionManager.kt:140
↓ 2 callers
Function
buildOutboundResultEnvelope
( params: BuildEnvelopeParams, )
src/infra/outbound/envelope.ts:22
↓ 2 callers
Function
buildOutsideBoundaryPathFromContext
(params: { boundaryLabel: string; context: BoundaryResolutionContext; kind: { exists: boolean; kind: Res
src/infra/boundary-path.ts:565
↓ 2 callers
Function
buildOversizedHistoryPlaceholder
(message?: unknown)
src/gateway/server-methods/chat.ts:418
↓ 2 callers
Function
buildPayloadLanguages
(payload: { fileDiff?: FileDiffMetadata; oldFile?: FileContents; newFile?: FileContents; })
extensions/diffs/src/render.ts:168
↓ 2 callers
Function
buildPdfExtractionContext
(prompt: string, extractions: PdfExtractedContent[])
src/agents/tools/pdf-tool.ts:134
↓ 2 callers
Function
buildPlugin
(params: { id: string; capabilities?: ChannelPlugin["capabilities"]; account?: Record<string, unknown>;
src/commands/channels/capabilities.test.ts:45
↓ 2 callers
Function
buildPortHints
(listeners: PortListener[], port: number)
src/infra/ports-format.ts:22
↓ 2 callers
Function
buildProps
(result: SessionsListResult)
ui/src/ui/views/sessions.test.ts:16
↓ 2 callers
Function
buildQianfanProvider
()
src/agents/models-config.providers.static.ts:444
↓ 2 callers
Function
buildQueueSummaryPrompt
(params: { state: QueueSummaryState; noun: string; title?: string; })
src/utils/queue-helpers.ts:194
↓ 2 callers
Function
buildReasoningPart
(id = "rs_test")
src/agents/openai-responses.reasoning-replay.test.ts:42
↓ 2 callers
Function
buildRecord
(params: { manifest: PluginManifest; candidate: PluginCandidate; manifestPath: string; schemaCacheKey?
src/plugins/manifest-registry.ts:107
↓ 2 callers
Function
buildRenderVariants
(options: DiffRenderOptions)
extensions/diffs/src/render.ts:153
↓ 2 callers
Function
buildRenderedBodies
(sections: ReadonlyArray<RenderedSection>)
extensions/diffs/src/render.ts:330
↓ 2 callers
Function
buildRenderedSection
(params: { viewerPrerenderedHtml: string; imagePrerenderedHtml: string; payload: Omit<DiffViewerPayload,
extensions/diffs/src/render.ts:316
↓ 2 callers
Function
buildRequestUrl
( requestUrl: string | undefined, requestHost: string | undefined, fallbackHost = "localhost", )
extensions/voice-call/src/webhook.ts:27
↓ 2 callers
Function
buildResolvedBoundaryPath
(params: { absolutePath: string; canonicalPath: string; rootPath: string; rootCanonicalPath: string;
src/infra/boundary-path.ts:645
↓ 2 callers
Function
buildResponse
(params: { status: number; body?: unknown })
src/discord/pluralkit.test.ts:11
← previous
next →
9,601–9,700 of 26,379, ranked by callers