MCPcopy Create free account

hub / github.com/bytedance/UI-TARS-desktop / functions

Functions4,135 in github.com/bytedance/UI-TARS-desktop

↓ 8 callersMethodclose
* Close the storage provider
multimodal/tarko/agent-server/src/storage/types.ts:74
↓ 8 callersFunctioncreateInitState
()
multimodal/omni-tars/core/src/utils/streamingParser/index.ts:49
↓ 8 callersMethodcreateSession
* Create a new session with metadata * @param metadata Session metadata
multimodal/tarko/agent-server/src/storage/types.ts:29
↓ 8 callersFunctiondeepMerge
( target: T, source?: DeepPartial<T> | null, options: { nonDestructive?: boolean; // Whether to crea
multimodal/tarko/shared-utils/src/deepMerge.ts:32
↓ 8 callersMethoddispose
* 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 callersMethodgetSessionEvents
* Get all events for a session * @param sessionId Session ID
multimodal/tarko/agent-server/src/storage/types.ts:69
↓ 8 callersMethodgetSessionModel
()
multimodal/tarko/agent-server-next/src/dao/mongodb/SessionDAO.ts:26
↓ 8 callersMethodonAgentLoopEnd
* 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 callersMethodonEachAgentLoopStart
* 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 callersMethodpress
* Press key
multimodal/gui-agent/operator-aio/src/AIOComputer.ts:251
↓ 8 callersMethodrun
( instruction: string, historyMessages?: Message[], remoteModelHdrs?: Record<string, string>, )
packages/ui-tars/sdk/src/GUIAgent.ts:66
↓ 8 callersFunctionsetupAgentTest
()
multimodal/tarko/agent/tests/agent/kernel/utils/testUtils.ts:94
↓ 7 callersMethodaddMessageWithTokens
* 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 callersMethodcloseBrowser
* Explicitly close the browser instance
packages/agent-infra/search/browser-search/src/browser-search.ts:109
↓ 7 callersFunctioncreateSession
(timezone?: string, contextId?: string)
examples/operator-browserbase/app/api/session/route.ts:79
↓ 7 callersFunctiondefineTool
( tool: ToolDefinition<TConfig, TSkipContext>, )
packages/agent-infra/mcp-servers/browser/src/tools/defineTool.ts:41
↓ 7 callersMethodemit
* Publish event * @param type event type * @param data event data
multimodal/tarko/agent-server/src/utils/event-stream.ts:36
↓ 7 callersMethodensureInitialized
()
multimodal/tarko/agent-server/src/storage/SQLiteStorageProvider.ts:696
↓ 7 callersMethodensureInitialized
()
multimodal/tarko/agent-server/src/storage/MongoDBStorageProvider/index.ts:321
↓ 7 callersFunctionfilterDeclaredRuntimeSettings
( input: unknown, schema?: RuntimeSettingsSchemaLike, )
multimodal/tarko/shared-utils/src/session-agent-options.ts:136
↓ 7 callersFunctiongeneratePageTitle
(pageTitle?: string)
multimodal/websites/docs/src/components/hooks/usePageMeta.ts:134
↓ 7 callersMethodgetEventModel
()
multimodal/tarko/agent-server-next/src/dao/mongodb/EventDAO.ts:24
↓ 7 callersMethodgetInstance
()
apps/ui-tars/src/main/window/ScreenMarker.ts:33
↓ 7 callersMethodgetInstance
()
apps/ui-tars/src/main/store/setting.ts:38
↓ 7 callersMethodgetServersFromStore
()
packages/agent-infra/mcp-client/src/index.ts:111
↓ 7 callersMethodgetSessionDAO
()
multimodal/tarko/agent-server-next/src/dao/mongodb/MongoDAOFactory.ts:110
↓ 7 callersMethodgetSessionDAO
()
multimodal/tarko/agent-server-next/src/dao/sqlite/SQLiteDAOFactory.ts:186
↓ 7 callersMethodgetSessionEvents
* Get all events for a session
multimodal/tarko/agent-server-next/src/dao/interfaces/IEventDAO.ts:21
↓ 7 callersMethodgoBack
()
packages/agent-infra/browser-use/src/browser/page.ts:437
↓ 7 callersMethodinit
()
packages/agent-infra/mcp-client/src/index.ts:115
↓ 7 callersMethodisLaunchingComplete
* Check if the browser is launched
multimodal/agent-tars/core/src/environments/local/browser/browser-manager.ts:100
↓ 7 callersFunctionnormalizeFilePath
(absolutePath: string)
multimodal/tarko/ui/src/utils/pathNormalizer.ts:38
↓ 7 callersFunctionparseBoxToScreenCoords
({ boxStr, screenWidth, screenHeight, factors = DEFAULT_FACTORS, }: { boxStr: string; screenWidth:
packages/ui-tars/sdk/src/utils.ts:29
↓ 7 callersMethodprompt
* 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 callersMethodqueueEvent
* 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 callersMethodsearch
* 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 callersMethodset
(toolCallId: string, args: unknown)
multimodal/tarko/agent-ui/src/common/state/actions/eventProcessors/types.ts:33
↓ 7 callersFunctionstartSseAndStreamableHttpMcpServer
( params: StartSseAndStreamableHttpMcpServerParams, )
packages/agent-infra/mcp-http-server/src/startServer.ts:60
↓ 7 callersFunctiontoMarkdown
( html: string, options: ToMarkdownOptions = {}, )
packages/agent-infra/shared/src/browser/to-markdown.ts:36
↓ 7 callersFunctionuseSidebar
()
apps/ui-tars/src/renderer/src/components/ui/sidebar.tsx:51
↓ 7 callersMethodvalidateInputs
(body: ProviderCompletionParams<'groq'>)
multimodal/tarko/llm-client/src/handlers/groq.ts:20
↓ 6 callersMethodcolorPrefix
* 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 callersFunctioncreateTestAgent
( options?: DeepPartial<AgentOptions>, context: TestContext = createTestContext(), )
multimodal/tarko/agent/tests/agent/kernel/utils/testUtils.ts:57
↓ 6 callersMethoddeactivate
(name: ServerNames)
packages/agent-infra/mcp-client/src/index.ts:405
↓ 6 callersMethoddump
* 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 callersMethodemit
(event: AgentEvent)
packages/agent-infra/browser-use/src/agent/event/manager.ts:50
↓ 6 callersMethodemit
* Publish event * @param type event type * @param data event data
multimodal/tarko/agent-server-next/src/utils/event-stream.ts:35
↓ 6 callersMethodemitEvent
( actor: Actors, state: ExecutionState, eventDetails: string, browserState?: BrowserState, )
packages/agent-infra/browser-use/src/agent/types.ts:90
↓ 6 callersMethodgetCustomAgioProvider
()
multimodal/tarko/agent-server-next/src/types.ts:118
↓ 6 callersMethodgetSessionPool
()
multimodal/tarko/agent-server-next/src/types.ts:95
↓ 6 callersMethodgetSnapshotPath
* Get the path to a specific snapshot file
multimodal/tarko/agent-snapshot/src/snapshot-manager.ts:44
↓ 6 callersMethodgetStore
()
apps/ui-tars/src/main/store/setting.ts:77
↓ 6 callersMethodgetUserConfig
(userId: string)
multimodal/tarko/agent-server-next/src/dao/sqlite/UserConfigDAO.ts:27
↓ 6 callersMethodinitStreamProcessingState
* Initialize stream processing state for native tool calls
multimodal/tarko/agent/src/tool-call-engine/NativeToolCallEngine.ts:76
↓ 6 callersMethodinitialize
* Initialize the storage provider
multimodal/tarko/agent-server/src/storage/types.ts:23
↓ 6 callersFunctionisInSSR
()
multimodal/websites/docs/src/shared/env.ts:1
↓ 6 callersMethodisSupportedFeature
(_featureSupport: readonly string[] | boolean, model: string)
multimodal/tarko/llm-client/src/index.ts:153
↓ 6 callersMethodonAfterToolCall
* 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 callersMethodprocessStreamingChunk
* 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 callersMethodreset
* reset the model state
packages/ui-tars/sdk/src/Model.ts:78
↓ 6 callersFunctionresolveWorkspaceConfig
(cwd = process.cwd())
infra/pdk/src/utils/workspace.ts:63
↓ 6 callersMethodrowToSandboxAllocation
(row: SandboxAllocationRow)
multimodal/tarko/agent-server-next/src/dao/sqlite/SandboxAllocationDAO.ts:31
↓ 6 callersFunctionsanitizeSessionAgentOptions
( input: unknown, )
multimodal/tarko/shared-utils/src/session-agent-options.ts:90
↓ 6 callersMethodscreenshot
()
packages/ui-tars/operators/adb/src/index.ts:84
↓ 6 callersMethodstart
()
multimodal/tarko/agent-server-next/src/types.ts:101
↓ 6 callersMethodstop
()
multimodal/tarko/agent-server-next/src/types.ts:102
↓ 6 callersMethodtitle
()
packages/agent-infra/browser-use/src/browser/page.ts:381
↓ 6 callersMethodupdateSessionInfo
* Update session metadata
multimodal/tarko/agent-server-next/src/dao/interfaces/ISessionDAO.ts:21
↓ 6 callersFunctionuseNavbarStyles
()
multimodal/tarko/ui/src/hooks/useNavbarStyles.ts:3
↓ 6 callersMethodwaitForPageAndFramesLoad
(timeoutOverwrite?: number)
packages/agent-infra/browser-use/src/browser/page.ts:937
↓ 5 callersMethodactivate
(server: MCPServer<ServerNames>)
packages/agent-infra/mcp-client/src/index.ts:212
↓ 5 callersMethodcalculateRealCoords
( coords: Coordinates, )
multimodal/gui-agent/operator-browser/src/browser-operator.ts:735
↓ 5 callersMethodcancel
()
packages/agent-infra/browser-use/src/agent/executor.ts:320
↓ 5 callersFunctioncreateMockToolCall
( name = 'testTool', args: Record<string, any> = {}, id?: string, )
multimodal/tarko/agent/tests/agent/kernel/utils/testUtils.ts:152
↓ 5 callersFunctioncreateSession
(req: Request, res: Response)
multimodal/tarko/agent-server/src/api/controllers/sessions.ts:50
↓ 5 callersMethodcreateSnapshotSerializer
* Create a Vitest snapshot serializer
multimodal/tarko/agent-snapshot/src/utils/snapshot-normalizer.ts:433
↓ 5 callersMethodevaluateOnNewPage
* 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 callersMethodfinalizeStreamProcessing
* Finalize the stream processing and extract the final response
multimodal/tarko/agent/src/tool-call-engine/NativeToolCallEngine.ts:205
↓ 5 callersMethodflush
* 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 callersFunctionformatTimestamp
(timestamp: number, compact = false)
multimodal/tarko/agent-ui/src/common/utils/formatters.ts:4
↓ 5 callersFunctiongetConfigStore
()
multimodal/tarko/agent-cli/src/core/commands/global-workspace.ts:21
↓ 5 callersMethodgetInstanceUrl
* Build sandbox instance URL
multimodal/tarko/agent-server-next/src/services/sandbox/SandboxManager.ts:49
↓ 5 callersMethodgetUserConfig
(userId: string)
multimodal/tarko/agent-server-next/src/dao/mongodb/UserConfigDAO.ts:27
↓ 5 callersMethodinfoWithData
* 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 callersMethodinjectStyles
* 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 callersMethodinjectStyles
* 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 callersMethodinvoke
(inputMessages: BaseMessage[])
packages/agent-infra/browser-use/src/agent/agents/navigator.ts:78
↓ 5 callersMethodisExecuting
* Check if the agent is currently executing
multimodal/tarko/agent/src/agent/execution-controller.ts:28
↓ 5 callersMethodlaunch
* 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 callersMethodlocateElement
(element: DOMElementNode)
packages/agent-infra/browser-use/src/browser/page.ts:774
↓ 5 callersMethodonBeforeToolCall
* 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 callersFunctiononClick
()
apps/ui-tars/src/renderer/src/components/AlertDialog/freeTrialDialog.tsx:33
↓ 5 callersMethodprocessContextualReferences
* 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 callersMethodreplaySnapshot
* Replay snapshot for a specific example
multimodal/tarko/agent-snapshot/src/agent-snapshot-runner.ts:163
↓ 5 callersFunctionresolveModel
( agentModel?: AgentModel, runModel?: string, runProvider?: ModelProviderName, )
multimodal/tarko/model-provider/src/model-resolver.ts:54
↓ 5 callersFunctionresolveServerHost
(host?: string)
multimodal/tarko/shared-utils/src/server-host.ts:18
↓ 5 callersFunctionsetActiveTask
(task: ExecutionTask)
packages/ui-tars/visualizer/src/component/store.tsx:310
↓ 5 callersFunctionsetConfig
(config: GlobalConfig = {})
packages/agent-infra/mcp-servers/browser/src/server.ts:47
↓ 5 callersFunctionsleep
(seconds: number)
packages/agent-infra/browser-use/src/utils.ts:8
↓ 5 callersMethodupdateSessionInfo
* Update session metadata * @param sessionId Session ID * @param sessionInfo Partial session info data to update
multimodal/tarko/agent-server/src/storage/types.ts:36
← previousnext →101–200 of 4,135, ranked by callers