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
↓ 436 callers
Method
error
(message: string, ...args: any[])
multimodal/tarko/agent-server-next/src/types.ts:27
↓ 351 callers
Method
log
* Basic logging method (equivalent to console.log) * @param args - Arguments to log
packages/agent-infra/logger/src/types.ts:61
↓ 212 callers
Method
error
* Log error messages * @param args - Arguments to log
packages/agent-infra/logger/src/types.ts:79
↓ 195 callers
Method
info
(message: string, ...args: any[])
multimodal/tarko/agent-server-next/src/types.ts:26
↓ 132 callers
Method
parse
(text: string)
multimodal/gui-agent/action-parser/src/FomatParsers.ts:13
↓ 129 callers
Method
get
(key: 'server')
multimodal/tarko/agent-server-next/src/types.ts:46
↓ 126 callers
Method
info
* Log informational messages * @param args - Arguments to log
packages/agent-infra/logger/src/types.ts:67
↓ 120 callers
Method
warn
(message: string, ...args: any[])
multimodal/tarko/agent-server-next/src/types.ts:28
↓ 103 callers
Function
cn
(...inputs: ClassValue[])
apps/ui-tars/src/renderer/src/utils/index.ts:8
↓ 96 callers
Method
debug
(message: string, ...args: any[])
multimodal/tarko/agent-server-next/src/types.ts:29
↓ 91 callers
Method
toString
* Returns a string representation of the error
packages/agent-infra/browser-use/src/agent/agents/errors.ts:36
↓ 69 callers
Method
keys
* Get all session IDs
multimodal/tarko/agent-server-next/src/services/session/AgentSessionPool.ts:99
↓ 64 callers
Method
fn
()
packages/ui-tars/sdk/tests/fixtures/async-hooks-test/file1.ts:9
↓ 63 callers
Method
run
* Run the agent with the provided input * * @param input - String input for a basic text message * @returns The final response event from the
multimodal/tarko/agent-interface/src/agent.ts:51
↓ 61 callers
Method
has
* Check if a session exists
multimodal/tarko/agent-server-next/src/services/session/AgentSessionPool.ts:80
↓ 60 callers
Method
set
(key: 'server', value: AgentServer)
multimodal/tarko/agent-server-next/src/types.ts:48
↓ 53 callers
Method
success
* Log success messages with green color * @param message - Success message to display
packages/agent-infra/logger/src/types.ts:91
↓ 52 callers
Function
defineConfig
(config: AguiConfig)
multimodal/tarko/agent-ui-cli/src/types.ts:61
↓ 52 callers
Method
warn
* Log warning messages * @param args - Arguments to log
packages/agent-infra/logger/src/types.ts:73
↓ 41 callers
Method
status
* Get the current execution status of the agent * * @returns The current agent status
multimodal/tarko/agent-interface/src/agent.ts:83
↓ 41 callers
Method
test
(val: any)
multimodal/tarko/agent-snapshot/src/utils/snapshot-normalizer.ts:435
↓ 38 callers
Function
defineConfig
(config: PDKConfig)
infra/pdk/src/config.ts:29
↓ 37 callers
Method
create
(body: CompletionParams)
multimodal/tarko/llm-client/src/chat/index.ts:100
↓ 37 callers
Method
delete
(toolCallId: string)
multimodal/tarko/agent-ui/src/common/state/actions/eventProcessors/types.ts:34
↓ 34 callers
Method
close
* Close the browser instance and all its pages * @returns {Promise<void>} Promise resolving when browser is closed
packages/agent-infra/browser/src/types.ts:160
↓ 33 callers
Method
add
(task: Task<T>)
packages/agent-infra/shared/src/common/promise-queue.ts:23
↓ 32 callers
Method
createEvent
* Create a new event with the specified type and data
multimodal/tarko/agent-interface/src/agent-event-stream.ts:628
↓ 31 callers
Function
set
(target, prop, value)
packages/agent-infra/mcp-servers/browser/src/store.ts:37
↓ 30 callers
Method
getEventStream
* Get the event stream associated with this agent * * @returns The event stream instance
multimodal/tarko/agent-interface/src/agent.ts:106
↓ 29 callers
Method
remove
(key: K)
apps/ui-tars/src/main/store/setting.ts:73
↓ 28 callers
Method
spawn
(module: string)
multimodal/tarko/agent-server-next/src/types.ts:30
↓ 28 callers
Method
url
()
packages/agent-infra/browser-use/src/browser/page.ts:374
↓ 26 callers
Method
close
()
multimodal/tarko/mcp-agent/src/mcp-types.ts:23
↓ 26 callers
Method
getCurrentPage
()
packages/agent-infra/browser-use/src/browser/context.ts:91
↓ 26 callers
Function
getLogger
(module: string)
multimodal/tarko/agent-server-next/src/utils/logger.ts:20
↓ 26 callers
Method
send
(data: EventPayload<T>)
packages/ui-tars/utio/src/index.ts:16
↓ 25 callers
Method
cleanup
* cleanup
multimodal/tarko/agio/src/index.ts:363
↓ 24 callers
Method
click
* Click operation
multimodal/gui-agent/operator-aio/src/AIOComputer.ts:151
↓ 23 callers
Function
useSession
()
multimodal/tarko/agent-ui/src/common/hooks/useSession.ts:33
↓ 22 callers
Method
callTool
(toolName: string, args: unknown)
multimodal/tarko/mcp-agent/src/mcp-types.ts:22
↓ 22 callers
Function
getLogger
(module: string)
multimodal/tarko/shared-utils/src/logger.ts:24
↓ 21 callers
Method
debug
* Log debug messages * @param message - Debug message to display
packages/agent-infra/logger/src/types.ts:85
↓ 21 callers
Method
sendEvent
* Send an event to the stream
multimodal/tarko/agent-interface/src/agent-event-stream.ts:636
↓ 20 callers
Method
getCurrentLoopIteration
* Get the current iteration/loop number of the agent's reasoning process * * @returns The current loop iteration (1-based, 0 if not running)
multimodal/tarko/agent-interface/src/agent.ts:275
↓ 19 callers
Method
abort
* Abort the currently running agent task * * @returns True if an execution was aborted, false otherwise
multimodal/tarko/agent-interface/src/agent.ts:76
↓ 19 callers
Method
call
(input: unknown)
packages/agent-infra/browser-use/src/agent/actions/builder.ts:52
↓ 19 callers
Method
registerTool
* Registers a new tool that the agent can use during execution. * Tools are stored in a map keyed by the tool name. * * @param tool - The too
multimodal/tarko/agent/src/agent/agent.ts:203
↓ 18 callers
Method
getActivePage
* Gets the currently active browser page * @returns Promise resolving to the active Page object * @throws Error if no active page is found
multimodal/gui-agent/operator-browser/src/browser-operator.ts:654
↓ 18 callers
Method
handle
(context: EventHandlerContext, sessionId: string, event: T)
multimodal/tarko/agent-ui/src/common/state/actions/eventProcessors/types.ts:25
↓ 17 callers
Function
fetchWithAuth
( url: string, options: RequestInit, retries = 1, // eslint-disable-next-line @typescript-eslint/no-ex
apps/ui-tars/src/main/remote/proxyClient.ts:33
↓ 17 callers
Function
get
(target, prop)
packages/agent-infra/mcp-servers/browser/src/store.ts:34
↓ 16 callers
Method
getEvents
* Get events from the stream with optional filtering
multimodal/tarko/agent-interface/src/agent-event-stream.ts:641
↓ 16 callers
Method
initialize
* Initialize the agent, performing any required setup * This may be time-consuming operations that need to be completed before the agent can run
multimodal/tarko/agent-interface/src/agent.ts:43
↓ 16 callers
Method
run
* Implementation of the run method to handle all overload cases * @param runOptions - Input options
multimodal/tarko/agent/src/agent/agent.ts:286
↓ 15 callers
Method
getActivePage
* Gets the currently active browser page * @returns Promise resolving to the active Page object * @throws Error if no active page is found
packages/ui-tars/operators/browser-operator/src/browser-operator.ts:82
↓ 15 callers
Method
listTools
(serverName?: ServerNames)
packages/agent-infra/mcp-client/src/index.ts:499
↓ 14 callers
Method
launch
* Launch a new browser instance * @param {LaunchOptions} [options] - Launch configuration options * @returns {Promise<void>} Promise resolving w
packages/agent-infra/browser/src/types.ts:154
↓ 14 callers
Method
log
(level: 'info' | 'error' | 'warn' | 'debug', ...args: any[])
packages/agent-infra/mcp-client/src/index.ts:80
↓ 14 callers
Method
request
* Execute HTTP request
multimodal/gui-agent/operator-aio/src/AIOComputer.ts:48
↓ 14 callers
Function
useReplayMode
()
multimodal/tarko/agent-ui/src/common/hooks/useReplayMode.tsx:280
↓ 14 callers
Function
useSetting
()
apps/ui-tars/src/renderer/src/hooks/useSetting.ts:8
↓ 13 callers
Function
createLogger
(name: string)
packages/agent-infra/browser-use/src/utils.ts:12
↓ 13 callers
Method
getCurrentWorkspace
()
multimodal/tarko/agent-server-next/src/types.ts:106
↓ 13 callers
Function
useDarkMode
()
multimodal/tarko/ui/src/hooks/useDarkMode.ts:6
↓ 12 callers
Function
apiFetch
* Single place the access token is attached, so no call site has to remember. * A loopback server requires none and this stays a plain fetch.
multimodal/tarko/agent-ui/src/common/services/apiService.ts:18
↓ 12 callers
Method
createPage
* Create a new page in the browser * @returns {Promise<Page>} Promise resolving to the new page instance
packages/agent-infra/browser/src/types.ts:166
↓ 12 callers
Method
get
(toolCallId: string)
multimodal/tarko/agent-ui/src/common/state/actions/eventProcessors/types.ts:32
↓ 12 callers
Method
getBrowser
* Get the browser instance, creating it if it doesn't exist
multimodal/agent-tars/core/src/environments/local/browser/browser-manager.ts:48
↓ 12 callers
Function
getFileTypeInfo
(filePath: string)
multimodal/tarko/agent-ui/src/standalone/workspace/utils/fileTypeUtils.ts:18
↓ 12 callers
Method
getSandboxAllocationModel
()
multimodal/tarko/agent-server-next/src/dao/mongodb/SandboxAllocationDAO.ts:24
↓ 12 callers
Method
getTools
* Returns all registered tools as an array * * @returns Array of all registered tool definitions
multimodal/tarko/agent-interface/src/agent.ts:113
↓ 12 callers
Method
info
* Logs informational messages * Only outputs if log level is INFO or lower * * @param args - Arguments to log
packages/agent-infra/logger/src/console-logger.ts:89
↓ 12 callers
Method
perform
* Search web and extract content from result pages
packages/agent-infra/search/browser-search/src/browser-search.ts:53
↓ 12 callers
Method
setCustomLLMClient
* Custom LLM client for testing or custom implementations * * @param customLLMClient - OpenAI-compatible llm client
multimodal/tarko/agent/src/agent/agent.ts:181
↓ 12 callers
Function
sleep
(time: number, unit: 'ms' | 's' = 'ms')
multimodal/gui-agent/shared/src/utils/sleep.ts:18
↓ 11 callers
Function
createServer
(config: GlobalConfig = {})
packages/agent-infra/mcp-servers/browser/src/server.ts:691
↓ 11 callers
Method
ensureInitialized
()
packages/agent-infra/mcp-client/src/index.ts:142
↓ 11 callers
Function
fetchWithRetry
( url: string, options: RequestInit, authToken = '', retries = 3, // eslint-disable-next-line @types
apps/ui-tars/src/main/remote/subscriptionClient.ts:14
↓ 11 callers
Function
getAgentTitle
()
multimodal/tarko/agent-ui/src/config/web-ui-config.ts:62
↓ 11 callers
Method
name
()
packages/agent-infra/browser-use/src/agent/actions/builder.ts:75
↓ 11 callers
Method
subscribe
* Subscribe to new events
multimodal/tarko/agent-interface/src/agent-event-stream.ts:651
↓ 11 callers
Method
type
* Type text
multimodal/gui-agent/operator-aio/src/AIOComputer.ts:240
↓ 10 callers
Method
clear
Clear all hooks
multimodal/tarko/agent-server-next/src/hooks/types.ts:128
↓ 10 callers
Method
delay
(ms: number)
packages/ui-tars/operators/browser-operator/src/browser-operator.ts:552
↓ 10 callers
Method
ensureInitialized
()
multimodal/tarko/agent-server/src/storage/FileStorageProvider.ts:166
↓ 10 callers
Method
getActivePage
* Get the currently active page or create one if none exists * @returns {Promise<Page>} Promise resolving to the active page instance
packages/agent-infra/browser/src/types.ts:184
↓ 10 callers
Method
getSessionInfo
* Get session metadata * @param sessionId Session ID
multimodal/tarko/agent-server/src/storage/types.ts:45
↓ 10 callers
Method
getState
()
apps/ui-tars/src/renderer/src/hooks/useStore.ts:14
↓ 10 callers
Function
getUserConfigService
* Get user config service from server context
multimodal/tarko/agent-server-next/src/controllers/user.ts:13
↓ 10 callers
Function
getWebUIConfig
()
multimodal/tarko/agent-ui/src/config/web-ui-config.ts:14
↓ 10 callers
Method
mutationFetch
* Perform a mutation fetch with CSRF token. Retries once on 403 (token expired).
multimodal/tarko/agent-ui/src/common/services/apiService.ts:114
↓ 10 callers
Function
requireAuth
(c: Context<{ Variables: ContextVariables }>)
multimodal/tarko/agent-server-next/src/middlewares/auth.ts:73
↓ 10 callers
Function
useContext
()
packages/ui-tars/sdk/src/context/useContext.ts:24
↓ 10 callers
Function
useSession
()
apps/ui-tars/src/renderer/src/hooks/useSession.ts:9
↓ 9 callers
Method
create
()
apps/ui-tars/src/main/remote/operators.ts:40
↓ 9 callers
Method
getSessionInfo
* Get session metadata
multimodal/tarko/agent-server-next/src/dao/interfaces/ISessionDAO.ts:29
↓ 9 callers
Method
load
(servers: MCPServer<ServerNames>[])
packages/agent-infra/mcp-client/src/index.ts:315
↓ 9 callers
Function
processStreamingChunk
( chunk: ChatCompletionChunk, state: OmniStreamProcessingState, )
multimodal/omni-tars/core/src/utils/streamingParser/index.ts:91
↓ 9 callers
Function
zodToJsonSchema
(schema: ZodType | JSONSchema)
multimodal/tarko/agent/src/utils/common.ts:19
↓ 8 callers
Method
clearRunningSession
(sessionId: string)
multimodal/tarko/agent-server-next/src/types.ts:112
next →
1–100 of 4,135, ranked by callers