mirror of
https://github.com/stablyai/orca.git
synced 2026-11-18 20:06:10 +00:00
feat(computer-use): add orca computer wait for text, enabled controls and window titles (#41433)
* feat(computer-use): add orca computer wait for text, enabled controls and window titles * fix(computer-use): bound wait reads by the deadline and wait out missing Linux/Windows windows * fix(computer-use): read disabled traits after role text with parentheses and bound the capability probe
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
getRequiredStringFlag
|
||||
} from '../arguments/flags'
|
||||
import { queryComputerTreeText } from './computer-tree-query'
|
||||
import { runComputerWait } from './computer-wait-command'
|
||||
import { RuntimeClientError } from '../runtime/types'
|
||||
import {
|
||||
formatComputerAction,
|
||||
@@ -95,6 +96,7 @@ export const COMPUTER_HANDLERS: Record<string, CommandHandler> = {
|
||||
}
|
||||
printResult(result, json, formatGetAppState)
|
||||
},
|
||||
'computer wait': runComputerWait,
|
||||
'computer click': async ({ flags, client, cwd, json }) => {
|
||||
assertComputerAppFlag(flags)
|
||||
const observeFlags = getComputerActionObserveFlags(flags)
|
||||
|
||||
Reference in New Issue
Block a user