update yutori template to n1.5#159
Draft
dprevoznik wants to merge 1 commit intomainfrom
Draft
Conversation
- bump model id from `n1-latest` to `n1.5-latest` - send `extra_body.tool_set: browser_tools_core-20260403` to use the coordinate-based tool set - send `extra_body.disable_tools` to explicitly exclude the DOM/Playwright tools (`extract_elements`, `find`, `set_element_value`, `execute_js`) since this template runs computer-use only - rename `hover` to `mouse_move` - rename `key_press` parameter `key_comb` to `key` - drop `press_enter_after` and `clear_before_typing` from `type` (n1.5 emits separate `key_press` actions instead) - add new actions: `middle_click`, `mouse_down`, `mouse_up`, `hold_key`, `go_forward` - support optional `modifier` parameter on click actions via Kernel's `hold_keys` Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the Yutori CUA template (TS + Python) from
n1-latestton1.5-latest.This is more than a model-name swap — n1.5 changes several action signatures, adds new actions, and introduces a tool-set selector. The template is computer-use only (no Playwright page exposed to the model), so we explicitly exclude the DOM/Playwright "expanded" tools.
Loop / API changes
n1-latestton1.5-latestextra_body.tool_set: "browser_tools_core-20260403"to select the coordinate-based tool set (the default, but pinned for stability)extra_body.disable_tools: ["extract_elements", "find", "set_element_value", "execute_js"]as defense-in-depth — these are the expanded tools that need a Playwright pageAction / handler changes
hover→mouse_movekey_press: parameterkey_comb→keytype: droppress_enter_after/clear_before_typing(n1.5 emits separatekey_pressactions instead)middle_click,mouse_down,mouse_up,hold_key,go_forwardmodifierparameter wired into Kernel'shold_keysfor shift/ctrl-clickswait: optionaldurationparameter honoredhold_key: optionaldurationparameter honored viapressKey'sdurationFiles
pkg/create/templates.go— display name + descriptionpkg/templates/{typescript,python}/yutori/{loop,index|main,tools/computer,README}.*— implementation, types, docsTest plan
make buildandmake testpass (verified locally)kernel create --template yutori) and deploy a sample task end-to-end againstn1.5-latesthold_key,go_forwardextract_elements/find/set_element_value/execute_js(should be excluded bytool_set+disable_tools)