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
Method
parseCoordinates
* Parses coordinate string into structured coordinates * @param {string} params - The coordinate string to parse, supported format: * - 100, 20
multimodal/gui-agent/action-parser/src/ActionParserHelper.ts:379
↓ 2 callers
Function
parseMcpContent
(c: string)
multimodal/omni-tars/core/src/utils/parser.ts:129
↓ 2 callers
Function
parseNode
( nodeData: RawDomTreeNode, parent: DOMElementNode | null = null, )
packages/agent-infra/browser-use/src/dom/service.ts:176
↓ 2 callers
Function
parseProxyUrl
(proxyUrl: string)
packages/agent-infra/mcp-servers/browser/src/utils/utils.ts:38
↓ 2 callers
Function
parseViewportSize
(viewportSize: string)
packages/agent-infra/mcp-servers/browser/src/utils/utils.ts:72
↓ 2 callers
Function
parserFactor
(factor: string)
packages/agent-infra/mcp-servers/browser/src/utils/utils.ts:84
↓ 2 callers
Function
pixiTextForNumber
(num: number)
packages/ui-tars/visualizer/src/component/timeline.tsx:180
↓ 2 callers
Function
preloadImage
(img: string)
packages/ui-tars/visualizer/src/component/player.tsx:190
↓ 2 callers
Function
preprocessResizeImage
( image_base64: string, maxPixels: number, )
packages/ui-tars/sdk/src/utils.ts:193
↓ 2 callers
Function
printWelcomeLogo
( title: string, version: string, subtitle?: string, customArt?: string | string[], url?: string, )
multimodal/tarko/agent-cli/src/utils/logo.ts:13
↓ 2 callers
Method
processAgentEvent
* Process agent stream events and convert to AGIO events
multimodal/tarko/agio/src/index.ts:358
↓ 2 callers
Function
processShare
(allowCollectShareReport: boolean, e)
apps/ui-tars/src/renderer/src/components/SideBar/share.tsx:43
↓ 2 callers
Function
processShare
( type: 'report' | 'video', allowCollectShareReport: boolean, )
apps/ui-tars/src/renderer/src/components/RunMessages/ShareOptions.tsx:60
↓ 2 callers
Method
processToolCalls
* Process tool calls and their results
multimodal/tarko/agent/src/agent/message-history.ts:318
↓ 2 callers
Function
publishPackage
( packageDir: string, tag: string, ignoreScripts = false, dryRun = false, )
infra/pdk/src/utils/npm.ts:33
↓ 2 callers
Method
recoverBrowser
* Recover browser after it was killed or crashed * @returns True if recovery was successful, false otherwise
multimodal/agent-tars/core/src/environments/local/browser/browser-manager.ts:135
↓ 2 callers
Function
rectMarkForItem
( rect: Rect, name: string, ifHighlight: boolean, onPointOver?: () => void, onPointerOut?: () => voi
packages/ui-tars/visualizer/src/component/blackboard.tsx:30
↓ 2 callers
Method
register
Register a new hook
multimodal/tarko/agent-server-next/src/hooks/types.ts:113
↓ 2 callers
Method
registerWindow
(window: BrowserWindow)
apps/ui-tars/src/main/services/windowManager.ts:20
↓ 2 callers
Method
releaseResource
( resourceType: 'computer' | 'hdfBrowser', )
apps/ui-tars/src/main/remote/proxyClient.ts:444
↓ 2 callers
Method
removeCustomSpFragment
* Remove custom SP fragment for user
multimodal/tarko/agent-server-next/src/dao/interfaces/IUserConfigDAO.ts:90
↓ 2 callers
Method
removeSharedLink
* Remove shared link for user
multimodal/tarko/agent-server-next/src/dao/interfaces/IUserConfigDAO.ts:80
↓ 2 callers
Function
renderValue
(selected: AgentModel | null)
multimodal/tarko/agent-ui/src/standalone/navbar/ModelSelector.tsx:240
↓ 2 callers
Function
replaceBase64Prefix
(base64: string)
packages/ui-tars/sdk/src/utils.ts:189
↓ 2 callers
Function
replaceStringWithFirstAppearance
( str: string, target: string, replacement: string, )
packages/ui-tars/visualizer/scripts/build-html.ts:26
↓ 2 callers
Function
replaceTemplateVariables
( content: string, variables: Record<string, string>, )
packages/agent-infra/create-new-mcp/src/index.ts:66
↓ 2 callers
Method
replay
* Run the agent using previously captured snapshots * * @param runOptions Options to pass to the agent's run method * @param config Optional
multimodal/tarko/agent-snapshot/src/agent-snapshot.ts:262
↓ 2 callers
Function
reportHTMLContent
( tpl: string, dumpData: ComputerUseUserData[], )
apps/ui-tars/src/renderer/src/utils/html.ts:16
↓ 2 callers
Function
reportHTMLWithDump
( dumpJsonString?: string, rawDumpString?: string, filePath?: string, )
packages/ui-tars/visualizer/scripts/build-html.ts:55
↓ 2 callers
Method
requestLoopTermination
* Request to terminate the agent loop after the current iteration * * @returns True if the termination request was set, false if already termina
multimodal/tarko/agent-interface/src/agent.ts:261
↓ 2 callers
Function
resolveAgentImplementation
( implementation?: AgentImplementation, options?: AgentResolutionOptions, )
multimodal/tarko/agent-server/src/utils/agent-resolver.ts:23
↓ 2 callers
Function
resolveServerAuth
(options: ResolveServerAuthOptions)
multimodal/tarko/agent-server/src/api/middleware/network-auth.ts:55
↓ 2 callers
Method
resolveToolPaths
* Resolve path parameters in tool call arguments based on workspace context * * @param toolName - Name of the tool being called * @param args
multimodal/agent-tars/core/src/shared/workspace-path-resolver.ts:103
↓ 2 callers
Function
resolveValue
(value: string | undefined, label = 'value')
multimodal/tarko/agent-cli/src/utils/misc.ts:15
↓ 2 callers
Function
revealLogDir
()
apps/ui-tars/src/main/logger.ts:38
↓ 2 callers
Method
rightClick
* Right click
multimodal/gui-agent/operator-aio/src/AIOComputer.ts:192
↓ 2 callers
Function
run
()
packages/ui-tars/cli/src/cli/commands.ts:10
↓ 2 callers
Function
run
()
multimodal/gui-agent/cli/src/cli/commands.ts:10
↓ 2 callers
Method
runQuery
* Run a query and return a strongly-typed response * This version captures errors and returns structured response objects * @param options The q
multimodal/tarko/agent-server/src/core/AgentSession.ts:332
↓ 2 callers
Method
runQueryStreaming
* Execute a streaming query with robust error handling * @param options The query options containing input and optional environment input * @ret
multimodal/tarko/agent-server/src/core/AgentSession.ts:409
↓ 2 callers
Function
sanitizeState
(state: Record<string, unknown>)
apps/ui-tars/src/main/utils/sanitizeState.ts:6
↓ 2 callers
Method
saveSnapshot
* Saves snapshot data to the file system. * @param id The session ID. * @param filename The filename. * @param payload The data to save.
multimodal/omni-tars/core/src/plugins/snapshot.ts:51
↓ 2 callers
Method
saveToolCalls
* Save tool calls data to file for current loop
multimodal/tarko/agent-snapshot/src/agent-generate-snapshot-hook.ts:261
↓ 2 callers
Method
scroll
* Scroll operation
multimodal/gui-agent/operator-aio/src/AIOComputer.ts:228
↓ 2 callers
Function
scrollIntoViewIfNeeded
( element: ElementHandle, timeout = 2500, )
packages/agent-infra/browser-use/src/browser/utils.ts:13
↓ 2 callers
Function
scrollToElement
(id: string)
multimodal/tarko/ui/src/components/markdown-renderer/utils/index.ts:56
↓ 2 callers
Method
search
* Perform DuckDuckGo search * @param params Search parameters * @returns Search results
packages/agent-infra/search/duckduckgo-search/src/api-client.ts:59
↓ 2 callers
Method
sendAgentInitialized
* Send agent initialization event * Called when an agent session is created
multimodal/tarko/agio/src/index.ts:353
↓ 2 callers
Method
sessionExists
* Check if session exists
multimodal/tarko/agent-server-next/src/dao/interfaces/ISessionDAO.ts:49
↓ 2 callers
Method
setBrowserClient
* Set the MCP Browser client for DOM-based operations * @param client MCP client for browser operations
multimodal/agent-tars/core/src/environments/local/browser/browser-control-strategies/base-strategy.ts:20
↓ 2 callers
Method
setBrowserGUIAgent
* Set the browser GUI Agent for vision-based operations * @param browserGUIAgent GUI Agent instance
multimodal/agent-tars/core/src/environments/local/browser/browser-control-strategies/base-strategy.ts:32
↓ 2 callers
Method
setBrowserManager
* Set the browser manager instance * @param browserManager
multimodal/agent-tars/core/src/environments/local/browser/browser-control-strategies/base-strategy.ts:26
↓ 2 callers
Method
setConfig
(instance: any, config: Record<string, any>)
packages/ui-tars/sdk/tests/fixtures/async-hooks-test/context.ts:34
↓ 2 callers
Method
setFilesystemClient
* Set the filesystem MCP client
multimodal/agent-tars/core/src/environments/local/filesystem/filesystem-tools-manager.ts:64
↓ 2 callers
Method
setHighlightClickableElements
(enable: boolean)
packages/ui-tars/operators/browser-operator/src/browser-operator.ts:93
↓ 2 callers
Function
setSearchConfig
(config: Partial<SearchSettings>)
packages/agent-infra/mcp-servers/search/src/server.ts:31
↓ 2 callers
Method
setStore
(state: LocalStore)
apps/ui-tars/src/main/store/setting.ts:65
↓ 2 callers
Function
setupAPI
( app: express.Application, options?: { workspacePath?: string; isDebug?: boolean; port?: numb
multimodal/tarko/agent-server/src/api/index.ts:117
↓ 2 callers
Method
setupPageListener
()
packages/agent-infra/browser/src/remote-browser.ts:85
↓ 2 callers
Function
setupPageScreencast
(page: Page, from: string)
apps/ui-tars/src/renderer/src/pages/remote/cast/canvas.tsx:207
↓ 2 callers
Method
shareSession
* Share session * @param sessionId Session ID * @param upload Whether to upload to share provider (if exists)
multimodal/tarko/agent-ui/src/standalone/share/shareService.ts:62
↓ 2 callers
Function
shouldIncludeCommitByScope
( commitMessage: string, filterScopes?: string[], )
infra/pdk/src/utils/commit.ts:13
↓ 2 callers
Function
showFrame
(index: number)
multimodal/tarko/agent-ui/src/standalone/workspace/components/ThrottledHtmlRenderer.tsx:43
↓ 2 callers
Function
sleep
(ms: number)
packages/ui-tars/visualizer/src/component/player.tsx:65
↓ 2 callers
Method
start
* Start the server on the configured port * @returns Promise resolving with the server instance
multimodal/tarko/agent-server/src/server.ts:255
↓ 2 callers
Method
subscribeToTypes
* Subscribe to specific event types
multimodal/tarko/agent-interface/src/agent-event-stream.ts:656
↓ 2 callers
Function
switchBranch
( branchName: string, cwd = process.cwd(), )
infra/pdk/src/utils/git.ts:94
↓ 2 callers
Method
takeScreenshot
(fullPage = false)
packages/agent-infra/browser-use/src/browser/page.ts:329
↓ 2 callers
Function
tavilySearch
()
packages/agent-infra/search/search/examples/tavily-search.ts:7
↓ 2 callers
Function
testActions
()
multimodal/gui-agent/operator-adb/examples/test-runner.ts:109
↓ 2 callers
Function
testAndroidOperator
()
multimodal/gui-agent/agent-sdk/examples/test-runner.ts:266
↓ 2 callers
Function
testBrowserOperator
()
multimodal/gui-agent/agent-sdk/examples/test-runner.ts:226
↓ 2 callers
Function
testComputerOperator
()
multimodal/gui-agent/agent-sdk/examples/test-runner.ts:246
↓ 2 callers
Function
testGetScreenContext
()
multimodal/gui-agent/operator-adb/examples/test-runner.ts:82
↓ 2 callers
Function
testScreenshot
()
multimodal/gui-agent/operator-adb/examples/test-runner.ts:45
↓ 2 callers
Function
timeCostStrElement
(timeCost?: number)
packages/ui-tars/visualizer/src/component/misc.tsx:20
↓ 2 callers
Function
timeStr
(timestamp?: number)
packages/ui-tars/visualizer/src/utils.ts:65
↓ 2 callers
Function
toLocal
(operator: Operator)
apps/ui-tars/src/renderer/src/pages/home/index.tsx:108
↓ 2 callers
Method
toMessageHistory
* Convert events to message history format for LLM context * This method uses the provided toolCallEngine to format messages * according to the
multimodal/tarko/agent/src/agent/message-history.ts:62
↓ 2 callers
Function
toPath
(urlOrPath: string | URL)
packages/common/electron-build/src/findUp.ts:16
↓ 2 callers
Function
toVlmModelFormat
({ historyMessages, conversations, systemPrompt, }: { historyMessages: Message[]; conversations: Con
packages/ui-tars/sdk/src/utils.ts:90
↓ 2 callers
Function
toggleSidebar
()
multimodal/tarko/agent-ui/src/common/hooks/useLayout.ts:18
↓ 2 callers
Function
unifyActionInputName
(actionType: string, inputName: string)
multimodal/gui-agent/shared/src/utils/actions.ts:233
↓ 2 callers
Method
unsubscribe
* Unsubscribe event * @param handler event processing function
multimodal/tarko/agent-server-next/src/utils/event-stream.ts:26
↓ 2 callers
Method
unsubscribe
* Unsubscribe event * @param handler event processing function
multimodal/tarko/agent-server/src/utils/event-stream.ts:27
↓ 2 callers
Method
update
(config: SubscriptionConfig)
apps/ui-tars/src/main/remote/subscriptionClient.ts:66
↓ 2 callers
Function
updateCamera
(state: CameraState)
packages/ui-tars/visualizer/src/component/player.tsx:312
↓ 2 callers
Method
updateModelProviders
* Update model providers for user
multimodal/tarko/agent-server-next/src/dao/interfaces/IUserConfigDAO.ts:95
↓ 2 callers
Method
updateSessionTimestamp
* Update session's last accessed timestamp
multimodal/tarko/agent-server-next/src/dao/interfaces/ISessionDAO.ts:54
↓ 2 callers
Method
updateUserConfig
* Update user configuration
multimodal/tarko/agent-server-next/src/dao/interfaces/IUserConfigDAO.ts:45
↓ 2 callers
Function
uploadReport
( htmlContent: string, endpoint: string, )
apps/ui-tars/src/renderer/src/utils/share.ts:1
↓ 2 callers
Function
useConfig
()
packages/ui-tars/sdk/tests/fixtures/async-hooks-test/context.ts:43
↓ 2 callers
Function
useHoverHandlers
()
multimodal/tarko/ui/src/hooks/useNavbarStyles.ts:82
↓ 2 callers
Function
useLayout
()
multimodal/tarko/agent-ui/src/common/hooks/useLayout.ts:12
↓ 2 callers
Function
useRemoteResource
(settings: Settings)
apps/ui-tars/src/renderer/src/hooks/useRemoteResource.ts:30
↓ 2 callers
Function
useReplay
()
multimodal/tarko/agent-ui/src/common/hooks/useReplay.ts:18
↓ 2 callers
Function
useShowcaseData
({ sessionId, slug, }: UseShowcaseDataProps = {})
multimodal/websites/docs/src/hooks/useShowcaseData.ts:37
↓ 2 callers
Function
useTool
()
multimodal/tarko/agent-ui/src/common/hooks/useTool.tsx:54
↓ 2 callers
Function
validateBrowserControlMode
( provider: ModelProviderName | string | undefined, requestedMode: BrowserControlMode | undefined, logge
multimodal/agent-tars/core/src/environments/local/browser/browser-control-validator.ts:23
↓ 2 callers
Function
validateConfig
* Validate configuration structure
multimodal/tarko/agent-ui/src/config/config-loader.ts:20
← previous
next →
701–800 of 4,135, ranked by callers