Skip to content

feat: lower readImage default maxDimension to 3000px - #1450

Merged
avoidwork merged 1 commit into
mainfrom
feat/readimage-maxdim
Oct 20, 2026
Merged

avoidwork merged 1 commit into
mainfrom
feat/readimage-maxdim

Conversation

@avoidwork

Copy link
Copy Markdown
Owner

Description

Expose image.maxDimension in config.yaml (already read by readImage) and change the default cap from 5000 to 3000 px. Updates the schema default, the readImage fallback constant, the tool description, and the downscale test to match.

Type of Change

  • New feature (non-breaking change which adds functionality)

Testing

Ran node --test on tests/unit/tools/image/readImage.test.js and tests/unit/config/schemas/image.test.js — 7 tests pass. Verified ConfigSchema.safeParse against the updated config.yaml resolves image.maxDimension: 3000. oxlint clean on changed files.

Coverage

  • Line coverage maintained

Checklist

  • npm run lint passes
  • Tests pass with maintained line coverage
  • No forbidden patterns used
  • Conventional Commit style applied

Expose image.maxDimension in config.yaml (already read by readImage) and
change the default cap from 5000 to 3000 px. Updates the schema default,
the readImage fallback constant, the tool description, and the downscale
test to match.
@avoidwork
avoidwork merged commit b162db0 into main Oct 20, 2026
3 checks passed
@avoidwork
avoidwork deleted the feat/readimage-maxdim branch October 20, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant