feat(web-integration): add BrowserAgent page selection actions#2657
Open
quanru wants to merge 2 commits into
Open
feat(web-integration): add BrowserAgent page selection actions#2657quanru wants to merge 2 commits into
quanru wants to merge 2 commits into
Conversation
Deploying midscene with
|
| Latest commit: |
000f697
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://bbb723cb.midscene.pages.dev |
| Branch Preview URL: | https://feat-browser-agent-page-sele.midscene.pages.dev |
ed59616 to
e438e6e
Compare
6c6fa98 to
d26cf55
Compare
e438e6e to
000f697
Compare
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
ListBrowserPagesandSetActivePageactions so AI plans can inspect open tabs and switch the active page by index/title/urlzodas a direct@midscene/webdependency for the action param schemaValidation
fnm exec --using v20.20.2 pnpm install --frozen-lockfile --ignore-scriptsNODE_OPTIONS=--max-old-space-size=4096 fnm exec --using v20.20.2 pnpm --dir packages/web-integration test -- tests/unit-test/browser-agent-page-controller.test.tsfnm exec --using v20.20.2 npx nx build @midscene/web --skip-nx-cachefnm exec --using v20.20.2 pnpm run lintgit diff --checkNote
RangeError: Invalid string lengthbecause an ignored generatedapps/report/dist/index.htmlfrom a previous root prepare run was 485MB. I removed that generated dist directory and reran the focused web build successfully.