This document provides specific instructions for AI coding assistants (like Antigravity) working on this repository.
- Version Bumping: When introducing new features or fixes, update the
"version"field inmanifest.json. - Changelog: Always add a new entry to
CHANGELOG.mdcorresponding to the version bump. - Description: Ensure the
"description"inmanifest.jsonreflects all supported platforms (currently ChatGPT, Gemini, and Grok).
The zip file is the primary distribution format for the Chrome Web Store.
CRITICAL: Do NOT recreate or update Chat-Thread-Saver.zip automatically. You must wait until the USER has explicitly agreed that the new version is ready for distribution.
When creating the zip file, include ONLY the following files and directories:
manifest.jsoncontent.jspopup.htmlpopup.jspopup.cssicons/(entire directory)LICENSEREADME.mdCHANGELOG.mdPRIVACY.md
Ensure the following are NEVER included in the zip:
.git/and.gitignore.vscode/PROMPTS.mdAGENTS.mdimages/(these are for GitHub/Documentation only)- Any previous version of
Chat-Thread-Saver.zip
To recreate the zip accurately:
Compress-Archive -Path manifest.json, content.js, popup.html, popup.js, popup.css, icons, LICENSE, README.md, CHANGELOG.md, PRIVACY.md -DestinationPath Chat-Thread-Saver.zip -Force- Prompt Logging: Maintain
PROMPTS.mdaccording to the established format inuser_globalrules. - Support Links: Ensure the
Supportsection inREADME.mdand thesupport-noteinpopup.htmlalways point to the correct GitHub issues page and "Buy Me a Coffee" link. - DOM Robustness: When updating extraction logic for ChatGPT, Gemini, or Grok, use the browser subagent to verify selectors and prefer data attributes (like
data-testidordata-message-author-role) over brittle class names where possible.