1.3 KiB
1.3 KiB
Extension Management
This project builds a Chrome extension from the generated dist/ directory. Run npm run build before loading or reloading the unpacked extension.
Required Chrome Profile
When an agent needs to inspect, load, reload, test, or otherwise manage this extension in Chrome, use the Codex Chrome extension with the Chrome profile named Silma.
Do not use Profile 1 for this project.
This rule applies to:
- Opening Chrome for extension work.
- Loading
dist/as an unpacked extension. - Reloading the extension after a build.
- Inspecting extension popups, background/service worker behavior, or permissions.
- Any browser automation that depends on extension state.
Build Output
- Build command:
npm run build - Deployable/load-unpacked directory:
dist/ - Manifest path:
dist/manifest.json
Do not edit dist/ directly. Change source files and rebuild.
Environment
Use .env.local for local extension configuration and secrets. Never commit real tokens.
Required variables:
VITE_GITEA_BASE_URLVITE_GITEA_TOKENVITE_GITEA_REPO_OWNERVITE_GITEA_REPO_NAME
Agent Checklist
- Run
npm run build. - Confirm
npm run verify:distpasses. - Use the
SilmaChrome profile through the Codex Chrome extension. - Load or reload the
dist/directory. - Avoid
Profile 1.