Skip to content

v1.2.0 — Pure-API batch export + rich chat history

Latest

Choose a tag to compare

@nsozturk nsozturk released this 15 May 19:15
· 3 commits to main since this release

Highlights

  • 🚀 Batch export 24× faster — 70+ projects in ~30 seconds (was ~12 min). One background tab + 10 parallel API calls + 6 parallel HTML downloads. No DOM automation.
  • 📜 Rich chat export — every assistant turn now carries the designs it generated AND the follow-up suggestion prompts. Previous parser silently dropped both.
  • 📁 New ZIP layoutscreens/ (final state) + history/turn-NNN-{slug}/ (per-turn designs) + chat.json with file references.
  • 🏷️ Toolbar badge — project count on the Stitch dashboard, EXP reminder on project pages. Theme colors (#8D6A8A / #745472). Spinner animation while counting.
  • 🎨 Refreshed icon set — new SVG master + all PNG sizes regenerated.
  • 📚 Chrome Web Store launch guide — 8-phase, screenshot-driven walkthrough under docs/stores/ChromeWebStore/.

Install (unpacked, until Store review completes)

  1. Download stitch-export-1.2.0.zip below
  2. Unzip somewhere on disk
  3. chrome://extensions/ → Developer Mode → Load unpacked → pick the unzipped folder

What changed under the hood

Batch export

  • handleExportAllProjects opens one background tab, scrapes auth tokens once, then a single executeScript runs ErneX (screen instances) + dNS8Mc (chat sessions) for all projects with internal concurrency = 10.
  • HTML files are downloaded directly from contribution.usercontent.google.com (self-authenticating URLs, no cookies needed) by a 6-worker pool in the service worker.
  • Deduplicated by screen UID across ErneX final state + chat turn references — each unique HTML downloaded exactly once.

Chat parser

  • Reads turn[3][0] for user prompt, turn[4][1][1] for assistant text (explicitly, instead of "longest string in turn[4]" heuristic that picked up screen descriptions instead).
  • turn[4][0][0][0][N] → generated screen instances (16-element arrays — name at [8], UID at [4], HTML URL at [1][2]).
  • turn[4][N][2] for N ≥ 2 → follow-up suggestion prompts.

Manifest

  • version: 1.1.01.2.0
  • tabs permission added (for badge URL detection + batch export tab lifecycle)
  • host_permissions extended with contribution.usercontent.google.com and lh3.googleusercontent.com
  • web_accessible_resources block removed (debug helper no longer shipped)

UI polish

  • Mauve/purple theme #8D6A8A → #50384E throughout popup, dialog, progress bar
  • Export All Projects label shows the count: (71)
  • Loading state: inline CSS spinner + hint "Projeler sayılıyor — biraz uzun sürebilir…", gated on 300 ms timer so cached responses don't flicker
  • Removed: "Extract All Links (Debug)" and "Copy to Clipboard" buttons (commented out, easy to restore)

SHA-256

3e82d1d4f498e3ddd030e2ecc8ccf68195f83c73e01d9c12b3d6911010900e3b  stitch-export-1.2.0.zip

Chrome Web Store submission

This is the exact package being submitted to the Chrome Web Store. Full launch guide: see docs/stores/ChromeWebStore/ in the repo or open docs/stores/index.html locally.