Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clark-maybe/mole-extension
/ functions
Functions
978 in github.com/clark-maybe/mole-extension
⨍
Functions
978
◇
Types & classes
183
↓ 3 callers
Function
maybeResolve
()
src/functions/cdp-input.ts:856
↓ 3 callers
Function
normalizeDynamicToolSpec
( raw: unknown, )
src/functions/registry.ts:171
↓ 3 callers
Function
normalizeExecuteNumberOption
(raw: unknown, min: number, max: number)
src/background/session-manager.ts:319
↓ 3 callers
Function
normalizeTaskKind
(raw?: string)
src/background/session-state.ts:138
↓ 3 callers
Function
openOptions
(hash?: string)
src/App.tsx:81
↓ 3 callers
Function
parseToolName
从 function_call 文案中解析工具名
src/background/session-history.ts:79
↓ 3 callers
Function
performAutoCompact
( context: InputItem[], emit: (event: AIStreamEvent) => void, signal: AbortSignal | undefined, todoSta
src/ai/core-loop.ts:248
↓ 3 callers
Function
persistDynamicToolStore
()
src/functions/registry.ts:157
↓ 3 callers
Function
persistWorkflows
(workflows: WorkflowItem[])
src/options/pages/WorkflowsPage.tsx:49
↓ 3 callers
Function
queueRuntimeSessionsPersist
队列化持久化,避免并发写入冲突
src/background/session-persistence.ts:45
↓ 3 callers
Function
readPathValue
(source: unknown, path: string)
src/functions/remote-workflow.ts:141
↓ 3 callers
Function
readRecentRepairMap
()
src/functions/site-experience.ts:115
↓ 3 callers
Function
readStore
()
src/functions/site-experience.ts:91
↓ 3 callers
Function
reconcileSessionStateFromEventLog
(session: Session)
src/background/session-event.ts:85
↓ 3 callers
Function
refreshTakeoverState
()
src/functions/remote-workflow.ts:383
↓ 3 callers
Function
resolveBuiltinFunction
(name: string)
src/functions/remote-workflow.ts:20
↓ 3 callers
Function
resolveNodeId
(tabId: number, selector?: string, nodeId?: number)
src/functions/cdp-dom.ts:84
↓ 3 callers
Function
resolveTemplateValue
(value: unknown, vars: Record<string, unknown>)
src/functions/remote-workflow.ts:160
↓ 3 callers
Function
safeResolve
(result: { success: boolean; data?: { reply: string; prompt: string }; error?: string })
src/background/resident-ai.ts:29
↓ 3 callers
Function
submitRecording
()
src/content/float-ball.ts:1486
↓ 3 callers
Function
syncAllManifests
()
src/functions/site-workflow-registry.ts:234
↓ 3 callers
Function
toFriendlyPlanningText
(raw: string)
src/content/float-ball/text-utils.ts:120
↓ 3 callers
Function
toFunctionDefinition
(spec: DynamicToolSpec)
src/functions/registry.ts:400
↓ 3 callers
Function
useAIStream
(resultRef: React.RefObject<HTMLDivElement | null>)
src/content/float-ball/hooks/useAIStream.ts:19
↓ 3 callers
Function
validateWorkflowSpec
(raw: unknown)
src/functions/site-workflow-registry.ts:125
↓ 2 callers
Function
alarmNameOfJob
(jobId: string)
src/functions/resident-runtime.ts:202
↓ 2 callers
Function
appendToBuffer
(id: string, items: Record<string, any>[])
src/functions/data-pipeline.ts:55
↓ 2 callers
Function
applyPosition
()
src/content/float-ball.ts:964
↓ 2 callers
Function
applySideClass
()
src/content/float-ball.ts:959
↓ 2 callers
Function
applyTabSnapshot
(tab?: chrome.tabs.Tab | null)
src/functions/cdp-input.ts:807
↓ 2 callers
Function
applyTurnLifecycleEventToSession
( session: Session, eventType: 'turn_completed' | 'turn_aborted', payload: TurnLifecycleEventPaylo
src/background/session-event.ts:225
↓ 2 callers
Function
applyTurnLifecycleToTask
(lifecycle: TurnLifecycleEventPayload)
src/content/float-ball.ts:826
↓ 2 callers
Function
bindActiveRun
(runId: string | null)
src/content/float-ball.ts:812
↓ 2 callers
Function
buildAgentStatePanelMarkup
()
src/content/float-ball.ts:2156
↓ 2 callers
Function
buildElementDescriptor
(el: Element, score: number = 0, matchReasons?: string[], cache?: Map<Element, CachedElementInfo>)
src/content/page-grounding.ts:292
↓ 2 callers
Function
buildEntryKey
(hint: string, candidate: SiteExperienceCandidateInput)
src/functions/site-experience.ts:79
↓ 2 callers
Function
buildRegularTaskScopedOptions
(options: ExecuteSessionOptions | undefined)
src/background/session-manager.ts:658
↓ 2 callers
Function
buildSelectorCandidates
(el: Element)
src/content/page-grounding.ts:246
↓ 2 callers
Function
buildSessionOpQueueSnapshot
(now: number = Date.now())
src/background/session-state.ts:78
↓ 2 callers
Function
buildSkeletonTree
( root: Element, depth: number, maxDepth: number, includeHidden: boolean, counter: { visited: number
src/content/page-skeleton.ts:155
↓ 2 callers
Function
buildTaskOneShotInput
构建一次性输入(基于当前 context + prompt)
src/background/session-context-tasks.ts:180
↓ 2 callers
Function
buildToolIntentText
(toolName: string, summary?: string)
src/content/float-ball/text-utils.ts:196
↓ 2 callers
Function
buildUserFacingActionSummary
(toolName: string, summary?: string, fallbackLabel?: string)
src/content/float-ball/text-utils.ts:201
↓ 2 callers
Function
callTrigger
(timerId: string, source: TimerTriggerSource)
src/lib/timer-scheduler.ts:14
↓ 2 callers
Function
clampY
(y: number)
src/content/float-ball/hooks/usePosition.ts:12
↓ 2 callers
Function
cleanup
()
src/functions/request-confirmation.ts:52
↓ 2 callers
Function
cleanup
()
src/functions/ask-user.ts:77
↓ 2 callers
Function
clipIntentText
(raw: unknown, max: number = 34)
src/content/float-ball/text-utils.ts:189
↓ 2 callers
Function
clipText
(s: string, max = 40)
src/content/float-ball/components/Trigger.tsx:56
↓ 2 callers
Function
closeTrackedTabs
(outcome: 'success' | 'failure')
src/functions/remote-workflow.ts:348
↓ 2 callers
Function
computeHintSimilarity
(entryHint: string, runtimeHint: string)
src/functions/site-experience.ts:151
↓ 2 callers
Method
connectAsExtensionPage
* extension page 侧:通过 port 连接到 background,接收 broadcast 消息 * 连接后 broadcast 的消息会通过 port.onMessage 分发到本地 handlers * 调用方需在页面卸载时调用 disconnectExte
src/lib/channel.ts:183
↓ 2 callers
Function
dispatchQuery
(value: string, taskId: string)
src/content/float-ball.ts:4017
↓ 2 callers
Function
doSave
(values: Record<string, any>, fromSetup = false)
src/options/pages/LLMSettingsPage.tsx:53
↓ 2 callers
Function
escapeCsvValue
(value: any)
src/functions/data-pipeline.ts:64
↓ 2 callers
Function
executeSingleTool
( call: OutputFunctionCallItem, )
src/ai/tool-executor.ts:230
↓ 2 callers
Function
executeToolCalls
( calls: OutputFunctionCallItem[], tabId: number | undefined, signal: AbortSignal | undefined, emit: (
src/ai/tool-executor.ts:140
↓ 2 callers
Function
extractAssistantOutputText
从 OutputItem 数组中提取助手文本
src/background/session-context-tasks.ts:83
↓ 2 callers
Function
extractDefaults
(schema: Record<string, any>)
src/functions/resident-runtime.ts:115
↓ 2 callers
Function
extractExecuteSessionOptions
(raw: Record<string, unknown>)
src/background/session-manager.ts:325
↓ 2 callers
Function
extractList
(listEl: Element)
src/functions/extract-data.ts:133
↓ 2 callers
Function
extractRepeat
(container: Element)
src/functions/extract-data.ts:192
↓ 2 callers
Function
extractReplayPayloadRunId
(events: Array<{ type?: string; content?: string }>)
src/content/float-ball.ts:490
↓ 2 callers
Function
extractTable
(tableEl: Element)
src/functions/extract-data.ts:70
↓ 2 callers
Function
findTargetCallItem
(callId: string)
src/content/float-ball.ts:2810
↓ 2 callers
Function
flattenFrameTree
( frameTree: any, parentFrameId: string = '', isMain: boolean = true, )
src/functions/cdp-frame.ts:30
↓ 2 callers
Function
flushBuf
()
src/content/float-ball/markdown.ts:141
↓ 2 callers
Function
flushParallelGroup
()
src/ai/tool-executor.ts:101
↓ 2 callers
Function
formatInterval
(ms: number)
src/content/float-ball/text-utils.ts:248
↓ 2 callers
Function
formatQueueLatency
(ms?: number | null)
src/content/float-ball/text-utils.ts:241
↓ 2 callers
Function
getActiveResidentJobs
()
src/functions/resident-runtime.ts:754
↓ 2 callers
Function
getDomainFromUrl
(url: string)
src/functions/site-experience.ts:130
↓ 2 callers
Function
getElementSemanticHint
(el: Element)
src/content/float-ball.ts:1339
↓ 2 callers
Function
getElementSemanticHint
(el: Element)
src/content/float-ball/hooks/useRecorder.ts:46
↓ 2 callers
Function
getOrCreateBuffer
(id: string, name?: string)
src/functions/data-pipeline.ts:36
↓ 2 callers
Function
getRuntimePhaseMeta
( agentPhase?: string, )
src/content/float-ball.ts:2212
↓ 2 callers
Function
getSiteWorkflow
(name: string)
src/functions/site-workflow-registry.ts:342
↓ 2 callers
Function
getStyles
()
src/content/float-ball/styles.ts:13
↓ 2 callers
Function
getToolsByCategory
(category: string)
src/functions/tool-tiers.ts:53
↓ 2 callers
Function
getTriggerX
(side: Side)
src/content/float-ball.ts:61
↓ 2 callers
Function
getTriggerX
(side: Side)
src/content/float-ball/hooks/useDrag.ts:11
↓ 2 callers
Function
getViewportWidth
()
src/content/float-ball/hooks/useDrag.ts:9
↓ 2 callers
Function
handleAIStream
(data: any)
src/content/float-ball.ts:3195
↓ 2 callers
Function
handleChat
( query: string, onEvent: (event: AIStreamEvent) => void, tabId?: number, signal?: AbortSignal, prev
src/ai/orchestrator.ts:41
↓ 2 callers
Function
handleEscape
()
src/content/float-ball.ts:1822
↓ 2 callers
Function
handleImageViewerHotkey
(key: string)
src/content/float-ball.ts:1837
↓ 2 callers
Function
handleSave
()
src/options/pages/LLMSettingsPage.tsx:79
↓ 2 callers
Function
handleTimerTrigger
* 定时任务触发处理(支持 alarm + runtime)
src/background/timer-dispatch.ts:28
↓ 2 callers
Function
handler
(data: any)
src/functions/ask-user.ts:84
↓ 2 callers
Function
hasChromeStorage
()
src/functions/skill-registry.ts:54
↓ 2 callers
Function
hasChromeStorage
()
src/functions/registry.ts:141
↓ 2 callers
Function
hasChromeStorage
()
src/functions/resident-runtime.ts:84
↓ 2 callers
Function
hasRunningTasks
()
src/background/session-manager.ts:257
↓ 2 callers
Function
injectScreenshotImages
( functionCalls: OutputFunctionCallItem[], results: InputItem[], context: InputItem[], imageInjectionC
src/ai/core-loop.ts:112
↓ 2 callers
Function
isConfigured
(s: { endpoint?: string; apiKey?: string })
src/options/pages/LLMSettingsPage.tsx:16
↓ 2 callers
Function
isConsoleListening
(tabId: number)
src/lib/cdp-session.ts:497
↓ 2 callers
Function
listSiteWorkflows
()
src/functions/site-workflow-registry.ts:335
↓ 2 callers
Method
listen
content侧注册tabId,background侧不传
src/lib/channel.ts:76
↓ 2 callers
Function
loadRecentCompletedTasks
()
src/content/float-ball.ts:639
↓ 2 callers
Function
matchSkillsByUrl
(url: string)
src/functions/skill-registry.ts:543
← previous
next →
201–300 of 978, ranked by callers