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
↓ 8 callers
Method
close
* Close the storage provider
multimodal/tarko/agent-server/src/storage/types.ts:74
↓ 8 callers
Function
createInitState
()
multimodal/omni-tars/core/src/utils/streamingParser/index.ts:49
↓ 8 callers
Method
createSession
* Create a new session with metadata * @param metadata Session metadata
multimodal/tarko/agent-server/src/storage/types.ts:29
↓ 8 callers
Function
deepMerge
( target: T, source?: DeepPartial<T> | null, options: { nonDestructive?: boolean; // Whether to crea
multimodal/tarko/shared-utils/src/deepMerge.ts:32
↓ 8 callers
Method
dispose
* Dispose of the agent and release all resources * * This method should be called when the agent is no longer needed. * It will: * - Stop
multimodal/tarko/agent-interface/src/agent.ts:99
↓ 8 callers
Method
getSessionEvents
* Get all events for a session * @param sessionId Session ID
multimodal/tarko/agent-server/src/storage/types.ts:69
↓ 8 callers
Method
getSessionModel
()
multimodal/tarko/agent-server-next/src/dao/mongodb/SessionDAO.ts:26
↓ 8 callers
Method
onAgentLoopEnd
* Hook called at the end of the agent's execution loop * * @param id Session identifier for the completed conversation
multimodal/tarko/agent-interface/src/agent.ts:230
↓ 8 callers
Method
onEachAgentLoopStart
* Hook called at the beginning of each agent loop iteration * * @param sessionId The session identifier for this conversation * @returns A pr
multimodal/tarko/agent-interface/src/agent.ts:211
↓ 8 callers
Method
press
* Press key
multimodal/gui-agent/operator-aio/src/AIOComputer.ts:251
↓ 8 callers
Method
run
( instruction: string, historyMessages?: Message[], remoteModelHdrs?: Record<string, string>, )
packages/ui-tars/sdk/src/GUIAgent.ts:66
↓ 8 callers
Function
setupAgentTest
()
multimodal/tarko/agent/tests/agent/kernel/utils/testUtils.ts:94
↓ 7 callers
Method
addMessageWithTokens
* Adds a message to the history with the token count metadata * @param message - The BaseMessage object to add * @param position - The optional
packages/agent-infra/browser-use/src/agent/messages/service.ts:235
↓ 7 callers
Method
closeBrowser
* Explicitly close the browser instance
packages/agent-infra/search/browser-search/src/browser-search.ts:109
↓ 7 callers
Function
createSession
(timezone?: string, contextId?: string)
examples/operator-browserbase/app/api/session/route.ts:79
↓ 7 callers
Function
defineTool
( tool: ToolDefinition<TConfig, TSkipContext>, )
packages/agent-infra/mcp-servers/browser/src/tools/defineTool.ts:41
↓ 7 callers
Method
emit
* Publish event * @param type event type * @param data event data
multimodal/tarko/agent-server/src/utils/event-stream.ts:36
↓ 7 callers
Method
ensureInitialized
()
multimodal/tarko/agent-server/src/storage/SQLiteStorageProvider.ts:696
↓ 7 callers
Method
ensureInitialized
()
multimodal/tarko/agent-server/src/storage/MongoDBStorageProvider/index.ts:321
↓ 7 callers
Function
filterDeclaredRuntimeSettings
( input: unknown, schema?: RuntimeSettingsSchemaLike, )
multimodal/tarko/shared-utils/src/session-agent-options.ts:136
↓ 7 callers
Function
generatePageTitle
(pageTitle?: string)
multimodal/websites/docs/src/components/hooks/usePageMeta.ts:134
↓ 7 callers
Method
getEventModel
()
multimodal/tarko/agent-server-next/src/dao/mongodb/EventDAO.ts:24
↓ 7 callers
Method
getInstance
()
apps/ui-tars/src/main/window/ScreenMarker.ts:33
↓ 7 callers
Method
getInstance
()
apps/ui-tars/src/main/store/setting.ts:38
↓ 7 callers
Method
getServersFromStore
()
packages/agent-infra/mcp-client/src/index.ts:111
↓ 7 callers
Method
getSessionDAO
()
multimodal/tarko/agent-server-next/src/dao/mongodb/MongoDAOFactory.ts:110
↓ 7 callers
Method
getSessionDAO
()
multimodal/tarko/agent-server-next/src/dao/sqlite/SQLiteDAOFactory.ts:186
↓ 7 callers
Method
getSessionEvents
* Get all events for a session
multimodal/tarko/agent-server-next/src/dao/interfaces/IEventDAO.ts:21
↓ 7 callers
Method
goBack
()
packages/agent-infra/browser-use/src/browser/page.ts:437
↓ 7 callers
Method
init
()
packages/agent-infra/mcp-client/src/index.ts:115
↓ 7 callers
Method
isLaunchingComplete
* Check if the browser is launched
multimodal/agent-tars/core/src/environments/local/browser/browser-manager.ts:100
↓ 7 callers
Function
normalizeFilePath
(absolutePath: string)
multimodal/tarko/ui/src/utils/pathNormalizer.ts:38
↓ 7 callers
Function
parseBoxToScreenCoords
({ boxStr, screenWidth, screenHeight, factors = DEFAULT_FACTORS, }: { boxStr: string; screenWidth:
packages/ui-tars/sdk/src/utils.ts:29
↓ 7 callers
Method
prompt
* Returns the prompt for the action * @returns {string} The prompt for the action
packages/agent-infra/browser-use/src/agent/actions/builder.ts:83
↓ 7 callers
Method
queueEvent
* Queues an AGIO event for batch sending. * The actual sending is handled by the AgioBatchProcessor. * @param event The AGIO event to queue.
multimodal/tarko/agent-cli/src/agio/AgioProvider.ts:359
↓ 7 callers
Method
search
* Performs a search using the configured provider * @param options Common search options * @param originalOptions Provider-specific search optio
packages/agent-infra/search/search/src/index.ts:132
↓ 7 callers
Method
set
(toolCallId: string, args: unknown)
multimodal/tarko/agent-ui/src/common/state/actions/eventProcessors/types.ts:33
↓ 7 callers
Function
startSseAndStreamableHttpMcpServer
( params: StartSseAndStreamableHttpMcpServerParams, )
packages/agent-infra/mcp-http-server/src/startServer.ts:60
↓ 7 callers
Function
toMarkdown
( html: string, options: ToMarkdownOptions = {}, )
packages/agent-infra/shared/src/browser/to-markdown.ts:36
↓ 7 callers
Function
useSidebar
()
apps/ui-tars/src/renderer/src/components/ui/sidebar.tsx:51
↓ 7 callers
Method
validateInputs
(body: ProviderCompletionParams<'groq'>)
multimodal/tarko/llm-client/src/handlers/groq.ts:20
↓ 6 callers
Method
colorPrefix
* Applies color to the prefix based on log type * * @param prefix - The prefix string to colorize * @param type - Optional log type to determ
packages/agent-infra/logger/src/console-logger.ts:35
↓ 6 callers
Function
createTestAgent
( options?: DeepPartial<AgentOptions>, context: TestContext = createTestContext(), )
multimodal/tarko/agent/tests/agent/kernel/utils/testUtils.ts:57
↓ 6 callers
Method
deactivate
(name: ServerNames)
packages/agent-infra/mcp-client/src/index.ts:405
↓ 6 callers
Method
dump
* Generate HTML and optionally save to file * @param filePath Optional file path to save HTML * @returns Generated HTML string
multimodal/tarko/agent-ui-builder/src/builder.ts:27
↓ 6 callers
Method
emit
(event: AgentEvent)
packages/agent-infra/browser-use/src/agent/event/manager.ts:50
↓ 6 callers
Method
emit
* Publish event * @param type event type * @param data event data
multimodal/tarko/agent-server-next/src/utils/event-stream.ts:35
↓ 6 callers
Method
emitEvent
( actor: Actors, state: ExecutionState, eventDetails: string, browserState?: BrowserState, )
packages/agent-infra/browser-use/src/agent/types.ts:90
↓ 6 callers
Method
getCustomAgioProvider
()
multimodal/tarko/agent-server-next/src/types.ts:118
↓ 6 callers
Method
getSessionPool
()
multimodal/tarko/agent-server-next/src/types.ts:95
↓ 6 callers
Method
getSnapshotPath
* Get the path to a specific snapshot file
multimodal/tarko/agent-snapshot/src/snapshot-manager.ts:44
↓ 6 callers
Method
getStore
()
apps/ui-tars/src/main/store/setting.ts:77
↓ 6 callers
Method
getUserConfig
(userId: string)
multimodal/tarko/agent-server-next/src/dao/sqlite/UserConfigDAO.ts:27
↓ 6 callers
Method
initStreamProcessingState
* Initialize stream processing state for native tool calls
multimodal/tarko/agent/src/tool-call-engine/NativeToolCallEngine.ts:76
↓ 6 callers
Method
initialize
* Initialize the storage provider
multimodal/tarko/agent-server/src/storage/types.ts:23
↓ 6 callers
Function
isInSSR
()
multimodal/websites/docs/src/shared/env.ts:1
↓ 6 callers
Method
isSupportedFeature
(_featureSupport: readonly string[] | boolean, model: string)
multimodal/tarko/llm-client/src/index.ts:153
↓ 6 callers
Method
onAfterToolCall
* Hook called after a tool is executed * * @param id Session identifier for this conversation * @param toolCall Information about the tool th
multimodal/tarko/agent-interface/src/agent.ts:185
↓ 6 callers
Method
processStreamingChunk
* Process a streaming chunk for native tool calls * For native engines, we can directly use the tool_calls property
multimodal/tarko/agent/src/tool-call-engine/NativeToolCallEngine.ts:89
↓ 6 callers
Method
reset
* reset the model state
packages/ui-tars/sdk/src/Model.ts:78
↓ 6 callers
Function
resolveWorkspaceConfig
(cwd = process.cwd())
infra/pdk/src/utils/workspace.ts:63
↓ 6 callers
Method
rowToSandboxAllocation
(row: SandboxAllocationRow)
multimodal/tarko/agent-server-next/src/dao/sqlite/SandboxAllocationDAO.ts:31
↓ 6 callers
Function
sanitizeSessionAgentOptions
( input: unknown, )
multimodal/tarko/shared-utils/src/session-agent-options.ts:90
↓ 6 callers
Method
screenshot
()
packages/ui-tars/operators/adb/src/index.ts:84
↓ 6 callers
Method
start
()
multimodal/tarko/agent-server-next/src/types.ts:101
↓ 6 callers
Method
stop
()
multimodal/tarko/agent-server-next/src/types.ts:102
↓ 6 callers
Method
title
()
packages/agent-infra/browser-use/src/browser/page.ts:381
↓ 6 callers
Method
updateSessionInfo
* Update session metadata
multimodal/tarko/agent-server-next/src/dao/interfaces/ISessionDAO.ts:21
↓ 6 callers
Function
useNavbarStyles
()
multimodal/tarko/ui/src/hooks/useNavbarStyles.ts:3
↓ 6 callers
Method
waitForPageAndFramesLoad
(timeoutOverwrite?: number)
packages/agent-infra/browser-use/src/browser/page.ts:937
↓ 5 callers
Method
activate
(server: MCPServer<ServerNames>)
packages/agent-infra/mcp-client/src/index.ts:212
↓ 5 callers
Method
calculateRealCoords
( coords: Coordinates, )
multimodal/gui-agent/operator-browser/src/browser-operator.ts:735
↓ 5 callers
Method
cancel
()
packages/agent-infra/browser-use/src/agent/executor.ts:320
↓ 5 callers
Function
createMockToolCall
( name = 'testTool', args: Record<string, any> = {}, id?: string, )
multimodal/tarko/agent/tests/agent/kernel/utils/testUtils.ts:152
↓ 5 callers
Function
createSession
(req: Request, res: Response)
multimodal/tarko/agent-server/src/api/controllers/sessions.ts:50
↓ 5 callers
Method
createSnapshotSerializer
* Create a Vitest snapshot serializer
multimodal/tarko/agent-snapshot/src/utils/snapshot-normalizer.ts:433
↓ 5 callers
Method
evaluateOnNewPage
* Evaluate a function in a new page context * Creates a new page, navigates to URL, executes function, and returns result * @template T - Array
packages/agent-infra/browser/src/types.ts:176
↓ 5 callers
Method
finalizeStreamProcessing
* Finalize the stream processing and extract the final response
multimodal/tarko/agent/src/tool-call-engine/NativeToolCallEngine.ts:205
↓ 5 callers
Method
flush
* Manually triggers a flush of the event buffer. * This is useful for ensuring all events are sent, e.g., on application shutdown.
multimodal/tarko/agent-cli/src/agio/AgioBatchProcessor.ts:74
↓ 5 callers
Function
formatTimestamp
(timestamp: number, compact = false)
multimodal/tarko/agent-ui/src/common/utils/formatters.ts:4
↓ 5 callers
Function
getConfigStore
()
multimodal/tarko/agent-cli/src/core/commands/global-workspace.ts:21
↓ 5 callers
Method
getInstanceUrl
* Build sandbox instance URL
multimodal/tarko/agent-server-next/src/services/sandbox/SandboxManager.ts:49
↓ 5 callers
Method
getUserConfig
(userId: string)
multimodal/tarko/agent-server-next/src/dao/mongodb/UserConfigDAO.ts:27
↓ 5 callers
Method
infoWithData
* Log a message with associated structured data * @param message - The message to log * @param data - Optional structured data to log * @para
packages/agent-infra/logger/src/types.ts:99
↓ 5 callers
Method
injectStyles
* Injects required CSS styles into the page * Creates styling for action indicators and information panels
packages/ui-tars/operators/browser-operator/src/ui-helper.ts:34
↓ 5 callers
Method
injectStyles
* Injects required CSS styles into the page * Creates styling for action indicators and information panels
multimodal/gui-agent/operator-browser/src/ui-helper.ts:609
↓ 5 callers
Method
invoke
(inputMessages: BaseMessage[])
packages/agent-infra/browser-use/src/agent/agents/navigator.ts:78
↓ 5 callers
Method
isExecuting
* Check if the agent is currently executing
multimodal/tarko/agent/src/agent/execution-controller.ts:28
↓ 5 callers
Method
launch
* Launches a local browser instance with specified options * Automatically detects installed browsers if no executable path is provided * @param
packages/agent-infra/browser/src/local-browser.ts:24
↓ 5 callers
Method
locateElement
(element: DOMElementNode)
packages/agent-infra/browser-use/src/browser/page.ts:774
↓ 5 callers
Method
onBeforeToolCall
* Hook called before a tool is executed * * @param id Session identifier for this conversation * @param toolCall Information about the tool b
multimodal/tarko/agent-interface/src/agent.ts:171
↓ 5 callers
Function
onClick
()
apps/ui-tars/src/renderer/src/components/AlertDialog/freeTrialDialog.tsx:33
↓ 5 callers
Method
processContextualReferences
* Process contextual references in query content * Expands @file: and @dir: references to actual content * @param query - The query content that
multimodal/tarko/context-engineer/src/node/context-reference-processor.ts:68
↓ 5 callers
Method
replaySnapshot
* Replay snapshot for a specific example
multimodal/tarko/agent-snapshot/src/agent-snapshot-runner.ts:163
↓ 5 callers
Function
resolveModel
( agentModel?: AgentModel, runModel?: string, runProvider?: ModelProviderName, )
multimodal/tarko/model-provider/src/model-resolver.ts:54
↓ 5 callers
Function
resolveServerHost
(host?: string)
multimodal/tarko/shared-utils/src/server-host.ts:18
↓ 5 callers
Function
setActiveTask
(task: ExecutionTask)
packages/ui-tars/visualizer/src/component/store.tsx:310
↓ 5 callers
Function
setConfig
(config: GlobalConfig = {})
packages/agent-infra/mcp-servers/browser/src/server.ts:47
↓ 5 callers
Function
sleep
(seconds: number)
packages/agent-infra/browser-use/src/utils.ts:8
↓ 5 callers
Method
updateSessionInfo
* Update session metadata * @param sessionId Session ID * @param sessionInfo Partial session info data to update
multimodal/tarko/agent-server/src/storage/types.ts:36
← previous
next →
101–200 of 4,135, ranked by callers