Repository navigation
feat(studio,mcp,agent): studio_pick, and requests to the page report back (0.6.0) - #305
Merged
Merged
Conversation
…back (0.6.0) A pick names a selector or the text shown; the open page finds it in the snapshot, stages it the way a click does and, with add, adds it to the recipe. Every request to the page now reports how it went (ui-report, ui-outcome), so open and pick tell the agent what happened. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TjR6eM2tUwU3NGnKXsmEap
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.
Part of #293.
studio_pick(MCP): an agent names a CSS selector or the text an element shows; the open Studio page finds it in the snapshot and stages it exactly as a click does (the person sees "Collect this value" with the ways to find it), or adds it to the recipe withadd. The answer carries the selector chosen and the alternatives with their match counts.ui-report(page to server) andui-outcome(controller asks).studio_open_recipealso waits for it, so a path that cannot be opened is an error, not "opened".studio_pick; the MCP README and the Studio manual describe it. Extension 0.6.0.Checked: typecheck, lint, unit tests for studio, studio-ui, mcp, agent and the extension; the mcp, studio and editor e2e. By hand: a real Studio on a small web page, a real browser on Studio, the MCP server over stdio. A text pick staged
b.pricewith its alternatives,addwrote anextractstep into the recipe file, and a selector that matches nothing reported why.Not here: picking in PDFs, spreadsheets and decks (still the person's click), a chat box inside Studio.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TjR6eM2tUwU3NGnKXsmEap