Conversation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.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.
Description
When extraction returns an empty body or only visible spreadsheet rows, an agent can keep trying selectors on the wrong page or report a partial result as complete. The browser skill now directs the agent to verify its named session's URL/title, recover the intended page, try AX for missing code-card text, and check full grid coverage through an API, export, or traversal. It also clarifies that an arbitrary DOM array position is not an OpenCLI interaction ref.
Related issue: Closes #2482. Complements #2478, which documents session visibility and binding. This is a documentation change based on a historical 1.6.1 transcript and a review of current main; it does not claim to reproduce or fix the old runtime session-loss behavior.
Type of Change
Checklist
Validation: the skill validator and
git diff --checkpass. The URL/title, AX, session, and numeric-target instructions were checked against current CLI registrations and the existing session contract. No runtime code changed; browser E2E, build, and unit suites were not run. The original logged-in environment was not available for reproduction.Documentation (if adding/modifying an adapter)
N/A — no adapter changes.
docs/adapters/(if new adapter)docs/adapters/index.mdtable (if new adapter)docs/.vitepress/config.mts(if new adapter)README.md/README.zh-CN.mdwhen command discoverability changedCliErrorsubclasses instead of rawErrorScreenshots / Output
For review, consider an unexpected blank page, code blocks missing from DOM output, a sheet exposing only a few visible rows, and a DOM enumeration returning
i=216. The guidance should lead to checking the target first, choosing an appropriate extraction fallback, reporting unverified coverage as partial, and obtaining a real interaction ref before acting. A screenshot or a fully consumed text cursor is explicitly not treated as proof of whole-sheet completeness.