Files
playwriter/playwriter
Tommy D. Rossi c13c835c5f feat: add resizeImage sandbox utility for shrinking screenshots before LLM ingestion
Extracts the sharp resize logic from screenshotWithAccessibilityLabels into a
standalone resizeImage() function exposed in the executor sandbox. Agents can
now shrink screenshots (or any image) to consume fewer context tokens.

Default behavior: fit within 1568×1568px (Claude-optimal), overwrite input file.
Also supports explicit width/height/maxDimension/fit/quality for custom resizing.

Replaces the old macOS-specific sips advice in skill.md.
2026-02-26 12:57:39 +01:00
..
2026-02-22 15:21:38 +01:00
nn
2025-11-26 17:00:40 +01:00
2025-11-16 17:43:30 +01:00
2026-02-22 15:21:38 +01:00