v0.0.9 — attachments
Folds attached files into the request — where the real token savings are.
Added
promptOptimizer.includeAttachments(on by default): files attached with#are now forwarded to the model (previously the participant silently dropped them).- Prose files (
.md,.txt,.rst, …) are compressed with the same engine. - Code / structured data (
.ts,.py,.json,.yaml, …) is preserved byte-for-byte — trimming code is risky (whitespace is syntax in some languages) and low-value. - Token before/after now covers the whole prompt + attachments bundle.
- Binary files and files >512 KB are skipped.
- Prose files (
26 tests passing. Install the attached .vsix via "Install from VSIX…", or update from the Marketplace.