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
↓ 3 callers
Function
withRelayServer
( handler: (req: IncomingMessage, res: ServerResponse) => void, run: (params: { port: number }) => Promise
src/browser/extension-relay-auth.test.ts:11
↓ 3 callers
Function
withSandboxMediaTempHome
( prefix: string, fn: (home: string) => Promise<T>, )
src/auto-reply/stage-sandbox-media.test-harness.ts:6
↓ 3 callers
Function
withSymlinkPathEscape
(params: { rootDir: string; run: (relativePath: string) => Promise<T>; })
src/browser/server.agent-contract-form-layout-act-commands.test.ts:21
↓ 3 callers
Function
withTempApprovalsHome
(params: { approvals: Parameters<typeof saveExecApprovals>[0]; run: (ctx: { tempHome: string }) => Pro
src/node-host/invoke-system-run.test.ts:181
↓ 3 callers
Function
withTempConfig
( config: unknown, run: (configPath: string) => Promise<void>, )
src/config/talk.normalize.test.ts:12
↓ 3 callers
Function
withTempDir
(run: (tempDir: string) => Promise<T>)
src/browser/pw-tools-core.waits-next-download-saves-it.test.ts:28
↓ 3 callers
Function
withTempDir
(run: (dir: string) => Promise<void>)
src/agents/bash-tools.shared.test.ts:7
↓ 3 callers
Function
withTempDownloadPath
( params: { prefix: string; fileName?: string; tmpDir?: string; }, fn: (tmpPath: string) =>
src/plugin-sdk/temp-path.ts:61
↓ 3 callers
Function
withTempHome
(fn: (home: string) => Promise<T>)
src/auto-reply/reply.block-streaming.test.ts:82
↓ 3 callers
Function
withTempRoot
(run: (root: string) => Promise<T>)
src/infra/path-alias-guards.test.ts:6
↓ 3 callers
Function
withTempRoot
(prefix: string, run: (base: string) => Promise<T>)
src/media-understanding/media-understanding-misc.test.ts:27
↓ 3 callers
Function
withTempSandboxState
( run: (ctx: { stateDir: string; agentDir: string; sandboxRoot: string }) => Promise<void>, )
src/agents/tools/image-tool.test.ts:187
↓ 3 callers
Function
withTempSkillDir
( name: string, run: (params: { root: string; skillDir: string }) => Promise<void>, )
src/agents/skills.e2e-test-helpers.test.ts:9
↓ 3 callers
Function
withTempTelegramHeartbeatSandbox
( fn: (ctx: { tmpDir: string; storePath: string; replySpy: ReturnType<typeof vi.spyOn>; }) =>
src/infra/heartbeat-runner.test-utils.ts:84
↓ 3 callers
Function
withTempWorkspacePng
( cb: (args: { workspaceDir: string; imagePath: string }) => Promise<void>, )
src/agents/tools/image-tool.test.ts:36
↓ 3 callers
Function
withTimeout
(promise: Promise<T>, timeoutMs = 2000)
extensions/voice-call/src/media-stream.test.ts:40
↓ 3 callers
Function
withUnsetCopilotTokenEnv
(fn: () => Promise<T>)
src/agents/models-config.e2e-harness.ts:55
↓ 3 callers
Function
withUnusableSuffix
(base: string, profileId: string)
src/commands/models/list.auth-overview.ts:52
↓ 3 callers
Function
withUserProfileDir
( run: (tmpDir: string, env: Record<string, string>) => Promise<void>, )
src/daemon/schtasks.install.test.ts:22
↓ 3 callers
Function
withVideoFixture
( filePrefix: string, run: (params: MediaFixtureParams) => Promise<void>, )
src/media-understanding/runner.test-utils.ts:65
↓ 3 callers
Function
withWindowsExeAliases
(names: readonly string[])
src/infra/exec-wrapper-resolution.ts:30
↓ 3 callers
Function
wrapToolWorkspaceRootGuard
(tool: AnyAgentTool, root: string)
src/agents/pi-tools.read.ts:354
↓ 3 callers
Function
wrapUntrustedInstructionBlock
(label: string, text: string)
src/agents/pi-extensions/compaction-safeguard.ts:406
↓ 3 callers
Function
wrapWebFetchContent
( value: string, maxChars: number, )
src/agents/tools/web-fetch.ts:253
↓ 3 callers
Function
writeAssistantContentChunk
( res: ServerResponse, params: { runId: string; model: string; content: string; finishReason: "stop" | nul
src/gateway/openai-http.ts:133
↓ 3 callers
Function
writeConfig
(home: string, config: Record<string, unknown>)
src/infra/provider-usage.auth.normalizes-keys.test.ts:78
↓ 3 callers
Function
writeConfig
( home: string, dirname: ".openclaw", port: number, filename: string = "openclaw.json", )
src/config/io.compat.test.ts:16
↓ 3 callers
Function
writeCopilotAuthStore
(agentDir: string, token = "gh-token")
src/agents/pi-embedded-runner.run-embedded-pi-agent.auth-profile-rotation.e2e.test.ts:248
↓ 3 callers
Function
writeCreds
(dir: string)
src/commands/doctor-legacy-config.migrations.test.ts:11
↓ 3 callers
Function
writeEnvRefConfig
()
src/gateway/server.reload.test.ts:220
↓ 3 callers
Function
writeFileSudoIfNeeded
(filePath: string, content: string)
src/cli/dns-cli.ts:33
↓ 3 callers
Function
writeFormattedLines
( stdout: NodeJS.WritableStream, lines: Array<{ label: string; value: string }>, opts?: { leadingBlankLi
src/daemon/output.ts:10
↓ 3 callers
Function
writeGitHubOutput
(scope, outputPath = process.env.GITHUB_OUTPUT)
scripts/ci-changed-scope.mjs:109
↓ 3 callers
Function
writeHookPackManifest
(params: { pkgDir: string; hooks: string[]; dependencies?: Record<string, string>; })
src/hooks/install.test.ts:90
↓ 3 callers
Function
writeHookPackageManifest
(pkgDir: string, hooks: string[])
src/hooks/workspace.test.ts:8
↓ 3 callers
Function
writeInboundMedia
( home: string, fileName: string, payload: string | Buffer, )
src/auto-reply/reply.triggers.trigger-handling.stages-inbound-media-into-sandbox-workspace.test.ts:44
↓ 3 callers
Function
writeLockFile
( env: NodeJS.ProcessEnv, params: { startTime: number; createdAt?: string } = { startTime: 111 }, )
src/infra/gateway-lock.test.ts:96
↓ 3 callers
Function
writePluginWithSkill
(params: { pluginRoot: string; pluginId: string; skillId: string; skillDescription: string; })
src/agents/test-helpers/skill-plugin-fixtures.ts:4
↓ 3 callers
Function
writeQrDataUrlToTempFile
( qrDataUrl: string, profile: string, )
extensions/zalouser/src/qr-temp-file.ts:5
↓ 3 callers
Function
writeSessionStoreAtomic
(params: { storePath: string; store: Record<string, SessionEntry>; serialized: string; })
src/config/sessions/store.ts:598
↓ 3 callers
Function
writeState
(statePath: string, state: UpdateCheckState)
src/infra/update-startup.ts:127
↓ 3 callers
Function
writeTalkConfig
(config: { apiKey?: string | { source: "env" | "file" | "exec"; provider: string; id: string }; voiceId?:
src/gateway/server.talk-config.test.ts:60
↓ 3 callers
Function
writeTempPlugin
(params: { dir: string; id: string; body: string })
src/agents/session-tool-result-guard.tool-result-persist-hook.test.ts:16
↓ 3 callers
Method
xmlKeepAlive
()
extensions/voice-call/src/providers/plivo.ts:493
↓ 2 callers
Method
#waitBeforeRetryOnRecoverableSetupError
(err: unknown, logPrefix: string)
src/telegram/polling-session.ts:93
↓ 2 callers
Function
CHANNEL_ONBOARDING_ADAPTERS
()
src/commands/onboarding/registry.ts:20
↓ 2 callers
Function
ChatCodeBlock
apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt:275
↓ 2 callers
Function
ChatMarkdown
apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMarkdown.kt:94
↓ 2 callers
Function
CommandBlock
apps/android/app/src/main/java/ai/openclaw/app/ui/ConnectTabScreen.kt:453
↓ 2 callers
Function
EndpointPreview
apps/android/app/src/main/java/ai/openclaw/app/ui/ConnectTabScreen.kt:473
↓ 2 callers
Function
GatewayModeChip
apps/android/app/src/main/java/ai/openclaw/app/ui/OnboardingFlow.kt:1225
↓ 2 callers
Method
Get
(cacheKey string)
scripts/docs-i18n/tm.go:70
↓ 2 callers
Function
MethodChip
apps/android/app/src/main/java/ai/openclaw/app/ui/ConnectTabScreen.kt:418
↓ 2 callers
Function
NewPiTranslator
(srcLang, tgtLang string, glossary []GlossaryEntry, thinking string)
scripts/docs-i18n/translator.go:25
↓ 2 callers
Method
Put
(entry TMEntry)
scripts/docs-i18n/tm.go:81
↓ 2 callers
Function
QuickFillChip
apps/android/app/src/main/java/ai/openclaw/app/ui/OnboardingFlow.kt:1251
↓ 2 callers
Function
QuickFillChip
apps/android/app/src/main/java/ai/openclaw/app/ui/ConnectTabScreen.kt:436
↓ 2 callers
Function
RenderListItem
apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMarkdown.kt:295
↓ 2 callers
Function
RenderMarkdownBlocks
apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMarkdown.kt:109
↓ 2 callers
Function
__resetDiscordDirectoryCacheForTest
()
src/discord/directory-cache.ts:109
↓ 2 callers
Function
__resetTrackedSessionBrowserTabsForTests
()
src/browser/session-tab-registry.ts:176
↓ 2 callers
Function
_addBox
(x_pct, y_pct, w_pct, h_pct)
skills/data-extractor/web/app.js:212
↓ 2 callers
Method
_add_to_comments_extended_xml
Add a single comment to commentsExtended.xml.
skills/docx-official/scripts/document.py:1091
↓ 2 callers
Method
_add_to_comments_extensible_xml
Add a single comment to commentsExtensible.xml.
skills/docx-official/scripts/document.py:1118
↓ 2 callers
Method
_add_to_comments_ids_xml
Add a single comment to commentsIds.xml.
skills/docx-official/scripts/document.py:1107
↓ 2 callers
Method
_add_to_comments_xml
Add a single comment to comments.xml.
skills/docx-official/scripts/document.py:1068
↓ 2 callers
Function
_add_to_content_types
(unpacked_dir: Path, dest: str)
skills/pptx/scripts/add_slide.py:130
↓ 2 callers
Function
_add_to_presentation_rels
(unpacked_dir: Path, dest: str)
skills/pptx/scripts/add_slide.py:141
↓ 2 callers
Method
_check_slide_count
Check if slide count is appropriate for duration.
skills/scientific-slides/scripts/validate_presentation.py:257
↓ 2 callers
Method
_comment_range_end_xml
Generate XML for comment range end with reference run. Note: w:rsidR is automatically added by DocxXMLEditor.
skills/docx-official/scripts/document.py:1137
↓ 2 callers
Method
_comment_range_start_xml
Generate XML for comment range start.
skills/docx-official/scripts/document.py:1133
↓ 2 callers
Function
_detect_venue_tier
Detect venue tier from URL to indicate source quality.
skills/research-lookup/lookup.py:90
↓ 2 callers
Method
_ensure_w14_namespace
Ensure w14 namespace is declared on the root element.
skills/docx-official/scripts/document.py:107
↓ 2 callers
Method
_extract_citations_from_text
Extract DOIs and academic URLs from response text as fallback.
skills/research-lookup/research_lookup.py:370
↓ 2 callers
Method
_extract_citations_from_text
Extract DOIs and academic URLs from response text as fallback.
skills/research-lookup/scripts/research_lookup.py:370
↓ 2 callers
Method
_extract_text_content
(self, root)
skills/pptx/scripts/office/validators/redlining.py:229
↓ 2 callers
Method
_extract_text_content
Extract text content from Word XML, preserving paragraph structure. Empty paragraphs are skipped to avoid false positives when tracked
skills/docx-official/ooxml/scripts/validation/redlining.py:254
↓ 2 callers
Method
_extract_text_content
Extract text content from Word XML, preserving paragraph structure. Empty paragraphs are skipped to avoid false positives when tracked
skills/pptx-official/ooxml/scripts/validation/redlining.py:254
↓ 2 callers
Method
_extract_text_content
(self, root)
skills/docx/scripts/office/validators/redlining.py:229
↓ 2 callers
Method
_extract_text_content
(self, root)
skills/xlsx/scripts/office/validators/redlining.py:229
↓ 2 callers
Method
_fetch
Execute API request and parse results.
skills/arxiv-database/scripts/arxiv_search.py:112
↓ 2 callers
Function
_find_elements
(root, tag: str)
skills/pptx/scripts/office/helpers/simplify_redlines.py:111
↓ 2 callers
Function
_find_elements
(root, tag: str)
skills/docx/scripts/office/helpers/simplify_redlines.py:111
↓ 2 callers
Function
_find_elements
(root, tag: str)
skills/xlsx/scripts/office/helpers/simplify_redlines.py:111
↓ 2 callers
Method
_format_results
Format validation results.
skills/scientific-slides/scripts/validate_presentation.py:291
↓ 2 callers
Function
_generate_hex_id
()
skills/docx/scripts/comment.py:68
↓ 2 callers
Function
_get_api_key
Validate and return the Parallel API key.
skills/parallel-web/scripts/parallel_web.py:29
↓ 2 callers
Function
_get_author
(elem)
skills/pptx/scripts/office/helpers/simplify_redlines.py:80
↓ 2 callers
Function
_get_author
(elem)
skills/docx/scripts/office/helpers/simplify_redlines.py:80
↓ 2 callers
Function
_get_author
(elem)
skills/xlsx/scripts/office/helpers/simplify_redlines.py:80
↓ 2 callers
Function
_get_child
(parent, tag: str)
skills/pptx/scripts/office/helpers/merge_runs.py:59
↓ 2 callers
Function
_get_child
(parent, tag: str)
skills/docx/scripts/office/helpers/merge_runs.py:59
↓ 2 callers
Function
_get_child
(parent, tag: str)
skills/xlsx/scripts/office/helpers/merge_runs.py:59
↓ 2 callers
Function
_get_next_slide_id
(unpacked_dir: Path)
skills/pptx/scripts/add_slide.py:158
↓ 2 callers
Method
_has_override
Check if an override with given part name exists.
skills/docx-official/scripts/document.py:1167
↓ 2 callers
Method
_has_relationship
Check if a relationship with given target exists.
skills/docx-official/scripts/document.py:1160
↓ 2 callers
Method
_image_to_base64
Convert image file to base64 data URL.
skills/scientific-slides/scripts/generate_slide_image_ai.py:308
↓ 2 callers
Method
_make_request
Make a request to OpenRouter API.
skills/scientific-slides/scripts/generate_slide_image_ai.py:206
↓ 2 callers
Method
_make_request
Make a request to OpenRouter API.
skills/infographics/scripts/generate_infographic_ai.py:581
↓ 2 callers
Method
_make_request
Make a request to OpenRouter API. Args: model: Model identifier messages: List of message dictionari
skills/scientific-schematics/scripts/generate_schematic_ai.py:185
← previous
next →
9,201–9,300 of 26,379, ranked by callers