Export2AI v1.2.4
Export2AI v1.2.4
Released 2026-05-30.
Export2AI turns any workspace folder into a clean, AI-ready .zip — it skips junk like node_modules, optionally strips comments and compresses code, and shows an offline token estimate for your target model (exact for OpenAI, approximate for others).
What's in this release
Added
- Clearer Settings copy — plain-language descriptions under Compress code, Remove comments, and ZIP compression level (Zip archive / Comments categories). Each keeps a Technical: block in
markdownDescriptionfor implementation detail. Humane intro for Remove comments is synced at compile viaREMOVE_COMMENTS_USER_DESCRIPTIONincommentProfiles.ts.
Changed
- Shorter, cleaner zip names — the archive name uses only the selected folder's basename (not the full nested path; no more
y--HOST_ROOT-…clutter) and a compactYYYY-MM-DD-HHMMSStimestamp. Example:WinMGT-gpt-5.5-context-2026-05-30-182617.zip. Folder segment capped at 40 characters. Helpers:formatFolderNameSegment()andformatCompactTimestamp()inmodelFormat.ts. - Safer export defaults —
export2ai.compressCodeandexport2ai.removeCommentsdefault tofalseso zips preserve full source unless you opt in to trimming or comment stripping. - Token estimate UI — status bar label uses
(est. ~N tokens)/(est. N tokens)viaformatTokenUsageLabel(); status-bar hover tooltip is compact (active model + exact/approx offline estimate + settings footer). Explorer decoration badges are badge-only (no per-folder tooltip). - Status bar stability — workspace-root token estimate is published from the root scan only, so the status bar no longer jumps when Explorer folder decoration scans finish.
Fixed
scripts/live-test.js— comment assertion respectsremoveCommentsdefault (false: comments preserved;true: stripped).- Documentation — README,
AGENTS.md, anddocs/synced with current token UI, zip naming, settings copy, and defaults.
Install
From the VSIX (this release):
- Download
export2ai-1.2.4.vsixfrom the assets below. - In Cursor / VS Code: Extensions → ⋯ → Install from VSIX… and pick the file.
Or from a terminal:code --install-extension export2ai-1.2.4.vsix
From source:
npm install
npm run package # builds export2ai-1.2.4.vsixLicensed under the GNU General Public License v3.0.