docs: region method — add asImage and percentOverlapX/Y parameters#637
Merged
Conversation
Adds three new parameters from sensible-hq/sensible#3351 and sensible-hq/sensible#3375: - asImage: renders the region as a PNG data URI instead of extracting text - percentOverlapX/percentOverlapY: configurable line-containment thresholds (same semantics as Intersection method) Also adds update-docs-from-pr skill description.md and a friction log for this run. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Relocates friction log and checklist from the skill dir to a per-session subdir under .claude/sessions/. Splits open questions out as their own file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… Google style - ran vale sync to install missing Google style package - added asImage, percentOverlapX, percentOverlapY, includeImages, isAbsoluteOffset to Sensible vocab accept list - fixed Google.Quotes and Google.Spacing errors in region.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- correct 'base64-encoded string' to 'PNG data URI' (matches engine variable name dataUri) - fix doubled data URI prefix in example value - remove outdated open-questions.md session artifact Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <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
asImage(boolean) — when true, Sensible renders the region as adata:image/png;base64,...PNG and returns it as the field value, instead of extracting text. Based on sensible-hq/sensible#3351.percentOverlapX(number, default0.9) andpercentOverlapY(number, default0.8) — configurable line-containment thresholds with the same semantics as the Intersection method. Based on sensible-hq/sensible#3375.idrow description to reference the new threshold params.description.mdandfriction-log.mdto theupdate-docs-from-prskill directory.Notes
mcp__vale__check_filewas not available and CLI vale errored with a missing Google style. Flagged in friction log.percentOverlapX/Y(user decision).asImageexample deferred pending use-case investigation (see checklist in memory).Test plan
isAbsoluteOffsetidrow description reads correctly with "by default" and reference to Percent Overlap X/YpercentOverlapX/percentOverlapYdescriptions match intersection.md wording🤖 Generated with Claude Code