Skip to content

Export2AI v1.2.4

Choose a tag to compare

@github-actions github-actions released this 30 May 19:41
· 34 commits to main since this release

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 markdownDescription for implementation detail. Humane intro for Remove comments is synced at compile via REMOVE_COMMENTS_USER_DESCRIPTION in commentProfiles.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 compact YYYY-MM-DD-HHMMSS timestamp. Example: WinMGT-gpt-5.5-context-2026-05-30-182617.zip. Folder segment capped at 40 characters. Helpers: formatFolderNameSegment() and formatCompactTimestamp() in modelFormat.ts.
  • Safer export defaults — export2ai.compressCode and export2ai.removeComments default to false so 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) via formatTokenUsageLabel(); 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 respects removeComments default (false: comments preserved; true: stripped).
  • Documentation — README, AGENTS.md, and docs/ synced with current token UI, zip naming, settings copy, and defaults.

Install

From the VSIX (this release):

  1. Download export2ai-1.2.4.vsix from the assets below.
  2. 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.vsix

Licensed under the GNU General Public License v3.0.