Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/UI-TARS-desktop
/ functions
Functions
4,135 in github.com/bytedance/UI-TARS-desktop
⨍
Functions
4,135
◇
Types & classes
1,406
↓ 2 callers
Function
validatePreset
(data: unknown)
apps/ui-tars/src/main/store/validate.ts:41
↓ 2 callers
Function
validateTraceData
(data: unknown)
multimodal/tarko/agent-ui-cli/src/utils.ts:91
↓ 2 callers
Method
verifyToolCallsForLoop
* Verify tool calls against snapshot for a specific loop
multimodal/tarko/agent-snapshot/src/agent-replay-snapshot-hook.ts:611
↓ 2 callers
Function
waitForPageAndFramesLoad
( page: PuppeteerPage | null, /** timeout in seconds */ timeoutOverwrite?: number, _options?: Partial<
packages/agent-infra/browser-use/src/browser/utils.ts:341
↓ 2 callers
Function
wrapMarkdown
(content: string, lang = 'md')
multimodal/tarko/agent-ui/src/common/utils/markdown.ts:1
↓ 2 callers
Function
wrapWithWarning
(message, nativeFunction)
apps/ui-tars/src/main/utils/systemPermissions.ts:19
↓ 2 callers
Function
writeTransformedData
(data: TraceData, outputPath: string)
multimodal/tarko/agent-ui-cli/src/utils.ts:137
↓ 1 callers
Function
MetaKV
(props: { data: { key: string; content: string | JSX.Element }[]; })
packages/ui-tars/visualizer/src/component/detail-side.tsx:110
↓ 1 callers
Function
XStream
* @description Transform Uint8Array binary stream to {@link SSEOutput} by default * @warning The `XStream` only support the `utf-8` encoding. More en
examples/operator-browserbase/app/utils/xstream.ts:172
↓ 1 callers
Method
_addAntiDetectionScripts
()
packages/agent-infra/browser-use/src/browser/page.ts:160
↓ 1 callers
Function
_buildDomTree
( page: Page, highlightElements = true, focusElement = -1, viewportExpansion = 0, )
packages/agent-infra/browser-use/src/dom/service.ts:149
↓ 1 callers
Method
_convertKey
(key: string)
packages/agent-infra/browser-use/src/browser/page.ts:545
↓ 1 callers
Method
_countTextTokens
* Counts the tokens in the text * Rough estimate, no tokenizer provided for now * @param text - The text to count the tokens * @returns The n
packages/agent-infra/browser-use/src/agent/messages/service.ts:311
↓ 1 callers
Method
_countTokens
* Counts the tokens in the message * @param message - The BaseMessage object to count the tokens * @returns The number of tokens in the message
packages/agent-infra/browser-use/src/agent/messages/service.ts:282
↓ 1 callers
Method
_filterSensitiveData
* Filters out sensitive data from the message * @param message - The BaseMessage object to filter * @returns The filtered BaseMessage object
packages/agent-infra/browser-use/src/agent/messages/service.ts:252
↓ 1 callers
Method
_setIsReplay
* Update the internal `isReplaySnapshot` state, used for the Agent Snapshot frmaework.
multimodal/tarko/agent/src/agent/agent.ts:606
↓ 1 callers
Method
abortQuery
* Abort the currently running query * @returns True if the agent was running and aborted successfully
multimodal/tarko/agent-server-next/src/services/session/AgentSession.ts:534
↓ 1 callers
Method
abortQuery
* Abort the currently running query * @returns True if the agent was running and aborted successfully
multimodal/tarko/agent-server/src/core/AgentSession.ts:511
↓ 1 callers
Method
abortQuery
* Abort a running query
multimodal/tarko/agent-ui/src/common/services/apiService.ts:404
↓ 1 callers
Function
actionParser
(params: { prediction: string; /** [widthFactor, heightFactor] */ factor: number | [number, number]; s
multimodal/gui-agent/action-parser/src/actionParser.ts:61
↓ 1 callers
Function
activeTabId
()
packages/ui-tars/visualizer/src/extension/utils.ts:52
↓ 1 callers
Function
addBase64ImagePrefix
(base64: string)
packages/ui-tars/visualizer/src/transform.ts:12
↓ 1 callers
Method
addMessage
( message: BaseMessage, metadata: MessageMetadata = { inputTokens: 0 }, position?: number, )
packages/agent-infra/browser-use/src/agent/messages/views.ts:24
↓ 1 callers
Method
addNewTask
* Adds a new task to execute, it will be executed based on the history * @param newTask - The raw description of the new task
packages/agent-infra/browser-use/src/agent/messages/service.ts:176
↓ 1 callers
Method
addPathMapping
* Update the path parameter mapping for additional tools * * @param additionalMapping - Additional tool-to-path-parameters mapping
multimodal/agent-tars/core/src/shared/workspace-path-resolver.ts:193
↓ 1 callers
Method
addPlan
* Adds a plan message to the history * @param plan - The raw description of the plan * @param position - The position to add the plan
packages/agent-infra/browser-use/src/agent/messages/service.ts:187
↓ 1 callers
Method
addRequestTrace
* Add a request trace to the history * * @param sessionId - Session identifier * @param payload - LLM request payload
multimodal/agent-tars/core/src/shared/message-history-dumper.ts:75
↓ 1 callers
Method
addResponseTrace
* Add a response trace to the history * * @param sessionId - Session identifier * @param payload - LLM response payload
multimodal/agent-tars/core/src/shared/message-history-dumper.ts:94
↓ 1 callers
Method
addServer
(server: MCPServer<ServerNames>)
packages/agent-infra/mcp-client/src/index.ts:353
↓ 1 callers
Method
addStateMessage
* Adds a state message to the history * @param stateMessage - The HumanMessage object containing the state
packages/agent-infra/browser-use/src/agent/messages/service.ts:198
↓ 1 callers
Function
afterAgentRun
(operator: Operator)
apps/ui-tars/src/main/utils/agent.ts:83
↓ 1 callers
Method
aggregateResults
* Aggregate raw benchmark results * @param results - Raw benchmark results * @returns Aggregated results
multimodal/benchmark/content-extraction/src/benchmark-runner.ts:228
↓ 1 callers
Function
allScriptsFromDump
( dump: GroupedActionDump, )
packages/ui-tars/visualizer/src/component/replay-scripts.tsx:134
↓ 1 callers
Method
allocHeadfulBrowser
()
apps/ui-tars/src/main/remote/proxyClient.ts:420
↓ 1 callers
Method
allocResource
( resourceType: 'computer' | 'hdfBrowser', )
apps/ui-tars/src/main/remote/proxyClient.ts:387
↓ 1 callers
Function
animateNodes
()
multimodal/websites/main/src/render/components/WorkflowNodes.tsx:100
↓ 1 callers
Method
appLaunched
()
apps/ui-tars/src/main/services/utio.ts:39
↓ 1 callers
Function
applyFileEdits
( filePath: string, edits: Array<{ oldText: string; newText: string }>, dryRun = false, )
packages/agent-infra/mcp-servers/filesystem/src/utils.ts:50
↓ 1 callers
Method
applyHooks
* Apply all registered hooks to the Hono app in priority order * This method is called during server start after all hooks are registered
multimodal/tarko/agent-server-next/src/server.ts:145
↓ 1 callers
Function
applyLoggingShortcuts
* Apply logging shortcuts from CLI arguments
multimodal/tarko/agent-cli/src/config/builder.ts:213
↓ 1 callers
Function
applyServerConfiguration
* Apply server configuration with defaults
multimodal/tarko/agent-cli/src/config/builder.ts:248
↓ 1 callers
Function
applyStealthScripts
(page: Page)
packages/agent-infra/search/browser-search/src/utils/misc.ts:12
↓ 1 callers
Function
applyWebUIDefaults
* Apply WebUI configuration defaults
multimodal/tarko/agent-cli/src/config/builder.ts:299
↓ 1 callers
Function
askForAccessibility
(nativeFunction, functionName)
apps/ui-tars/src/main/utils/systemPermissions.ts:25
↓ 1 callers
Function
askForScreenRecording
(nativeFunction, functionName)
apps/ui-tars/src/main/utils/systemPermissions.ts:44
↓ 1 callers
Function
assembleSystemPrompt
( template: SystemPromptTemplate, supportedActions: SupportedActionType[], )
multimodal/gui-agent/shared/src/utils/systemPromptProcessor.ts:15
↓ 1 callers
Method
attachPuppeteer
()
packages/agent-infra/browser-use/src/browser/page.ts:123
↓ 1 callers
Function
authMiddleware
(c: Context<{ Variables: ContextVariables }>, next: Next)
multimodal/tarko/agent-server-next/src/middlewares/auth.ts:28
↓ 1 callers
Function
beforeAgentRun
(operator: Operator)
apps/ui-tars/src/main/utils/agent.ts:63
↓ 1 callers
Method
beginExecution
* Begin a new execution session * @returns abort signal for the new session * @throws Error if another execution is already in progress
multimodal/tarko/agent/src/agent/execution-controller.ts:45
↓ 1 callers
Method
broadcast
(channel: string, data: any)
apps/ui-tars/src/main/services/windowManager.ts:32
↓ 1 callers
Function
browserSearch
()
packages/agent-infra/search/browser-search/examples/default.ts:8
↓ 1 callers
Function
browserSearch
()
packages/agent-infra/search/browser-search/examples/remote-browser.ts:8
↓ 1 callers
Function
buildAllowedNames
(options: HostValidationOptions)
multimodal/tarko/agent-server/src/api/middleware/host-validation.ts:99
↓ 1 callers
Function
buildChangelogPrompt
(commits: PromptCommit[])
infra/pdk/src/utils/prompts.ts:9
↓ 1 callers
Method
buildDarwinTemplate
()
apps/ui-tars/src/main/menu.ts:58
↓ 1 callers
Method
buildDefaultActions
()
packages/agent-infra/browser-use/src/agent/actions/builder.ts:123
↓ 1 callers
Method
buildDefaultTemplate
()
apps/ui-tars/src/main/menu.ts:209
↓ 1 callers
Function
buildDynamicActionSchema
(actions: Action[])
packages/agent-infra/browser-use/src/agent/actions/builder.ts:101
↓ 1 callers
Function
buildExplicitEntries
(allowedHosts?: string)
multimodal/tarko/agent-server/src/api/middleware/host-validation.ts:112
↓ 1 callers
Method
buildInstructions
* Build system instructions
multimodal/agent-tars/core/src/agent-tars.ts:253
↓ 1 callers
Function
buildLanguageUrl
(langCode: string)
multimodal/websites/docs/src/components/UnderConstructionLayout.tsx:32
↓ 1 callers
Function
buildNativeEngineMessages
* Processes tool call results for native engines (OpenAI tool protocol). * Separates text content (tool role) from non-text content (user role).
multimodal/tarko/agent/src/tool-call-engine/utils.ts:55
↓ 1 callers
Function
buildNonNativeEngineMessages
* Processes tool call results for non-native engines (Prompt Engineering & Structured Outputs). * Combines text and non-text content into single mess
multimodal/tarko/agent/src/tool-call-engine/utils.ts:92
↓ 1 callers
Function
buildPath
(routePath: string)
packages/agent-infra/mcp-http-server/src/startServer.ts:82
↓ 1 callers
Function
buildReadability
* Build Readability script and generate type definitions
packages/agent-infra/shared/scripts/build-readability.ts:8
↓ 1 callers
Function
buildReport
()
packages/ui-tars/visualizer/scripts/build-html.ts:84
↓ 1 callers
Function
buildReport
()
packages/ui-tars/visualizer/scripts/dev-html.ts:17
↓ 1 callers
Function
buildRequestUrl
(apiUrl)
multimodal/websites/docs/scripts/refresh-showcase-data.mjs:46
↓ 1 callers
Function
buildServer
(appConfig: Record<string, any>)
multimodal/tarko/agent-server/tests/core/agent-session-option-boundary.test.ts:31
↓ 1 callers
Method
buildSystemPrompt
()
packages/ui-tars/sdk/src/GUIAgent.ts:515
↓ 1 callers
Function
buildTree
(currentPath: string)
packages/agent-infra/mcp-servers/filesystem/src/server.ts:351
↓ 1 callers
Method
calculateCounts
* Calculate actual counts from the agent instance
multimodal/tarko/agent-cli/src/agio/AgioProvider.ts:57
↓ 1 callers
Function
calculateRelevanceScore
* Calculate relevance score for search results * Higher score means more relevant to the query
multimodal/tarko/agent-server/src/api/controllers/sessions.ts:688
↓ 1 callers
Method
calculateResultSize
* Calculate the size of tool result content
multimodal/tarko/agent-cli/src/agio/AgioProvider.ts:403
↓ 1 callers
Method
calculateScreenContext
(adb: ADB)
multimodal/gui-agent/operator-adb/src/AdbOperator.ts:219
↓ 1 callers
Function
calculateWidths
()
multimodal/tarko/agent-ui/src/standalone/navbar/Navbar.tsx:518
↓ 1 callers
Function
call
(path: string)
multimodal/tarko/agent-server/tests/api/server-access-boundary.test.ts:264
↓ 1 callers
Method
callTool
(toolName: string, args: unknown)
multimodal/tarko/mcp-agent/src/mcp-client-v2.ts:61
↓ 1 callers
Function
cameraAnimation
( targetState: TargetCameraState, duration: number, frame: FrameFn, )
packages/ui-tars/visualizer/src/component/player.tsx:338
↓ 1 callers
Function
cameraStateForRect
( rect: Rect, imageWidth: number, imageHeight: number, )
packages/ui-tars/visualizer/src/component/replay-scripts.tsx:65
↓ 1 callers
Method
canParse
(text: string)
multimodal/gui-agent/action-parser/src/FomatParsers.ts:116
↓ 1 callers
Method
canParse
(text: string)
multimodal/gui-agent/action-parser/src/FomatParsers.ts:174
↓ 1 callers
Method
canParse
(text: string)
multimodal/gui-agent/action-parser/src/FomatParsers.ts:237
↓ 1 callers
Method
canParse
(text: string)
multimodal/gui-agent/action-parser/src/FomatParsers.ts:300
↓ 1 callers
Function
cancel
()
packages/agent-infra/create-new-mcp/src/index.ts:106
↓ 1 callers
Function
ceilByFactor
(num: number, factor: number)
packages/ui-tars/action-parser/src/actionParser.ts:24
↓ 1 callers
Function
ceilByFactor
(num: number, factor: number)
multimodal/gui-agent/action-parser/src/actionParser.ts:24
↓ 1 callers
Function
changelog
(options: ChangelogOptions = {})
infra/pdk/src/commands/changelog.ts:62
↓ 1 callers
Function
checkAbort
()
packages/ui-tars/sdk/tests/testKits/mockOpenAIResponse.ts:13
↓ 1 callers
Function
checkIfMobile
()
multimodal/websites/docs/src/components/IntroAnimation.tsx:18
↓ 1 callers
Function
checkIfMobile
()
multimodal/websites/docs/src/components/VideoPanel.tsx:29
↓ 1 callers
Function
checkMobile
()
multimodal/websites/main/src/render/components/DocsSidebar.tsx:28
↓ 1 callers
Function
checkMobile
()
multimodal/websites/main/src/render/components/WorkflowNodes.tsx:85
↓ 1 callers
Function
checkMobile
()
multimodal/websites/main/src/render/components/Navbar.tsx:16
↓ 1 callers
Function
checkMobile
()
multimodal/websites/docs/src/components/ShowcasePanels.tsx:34
↓ 1 callers
Method
checkSandbox
(ignoreSandboxCheck?: boolean)
multimodal/omni-tars/code-agent/src/CodeAgentPlugin.ts:44
↓ 1 callers
Method
checkServerHealth
* Check server health status
multimodal/tarko/agent-ui/src/common/services/apiService.ts:137
↓ 1 callers
Method
checkServerStatus
( server: MCPServer<ServerNames>, )
packages/agent-infra/mcp-client/src/index.ts:492
↓ 1 callers
Function
checkTextTruncation
(element: HTMLElement)
multimodal/tarko/agent-ui/src/standalone/home/WelcomePage.tsx:37
← previous
next →
801–900 of 4,135, ranked by callers