Files
Opera-Extensions/AGENTS.md
ToxicCrzay270 8379c906c4
All checks were successful
Build / build (push) Successful in 8s
Release Dry Run / release-dry-run (push) Successful in 5s
Template Compliance / template-compliance (push) Successful in 4s
Repository Cleanup / cleanup-report (push) Successful in 4s
Security Scan / security-scan (push) Successful in 5s
Apply updated Codex repository kit guidance
2026-05-15 01:00:31 +02:00

49 lines
2.0 KiB
Markdown

# Agent Instructions
## Project
This repository contains Opera extension projects. The active project is `opera-cache-cleaner-extension`, a Manifest V3 Chromium extension for clearing only the browser cache from an Opera toolbar popup.
## Repository Rules
- Derive the repository owner and repository name from the target repository remote or CI repository context. Never reuse the owner from the repository kit remote.
- Keep application changes scoped to `opera-cache-cleaner-extension/` unless repository-level workflows or agent documentation need updates.
- Preserve the plain Manifest V3 extension structure. Do not add a framework unless the user explicitly asks for it.
- Keep permissions minimal. The extension currently uses only `browsingData`, `storage`, and `alarms`.
- Do not add host permissions, network calls, cookie/history access, or broad browser permissions without documenting the reason.
- Do not create a release unless the user explicitly asks for one.
- Keep `.codex/project.md` and `opera-cache-cleaner-extension/.codex/project.md` aligned when commands, artifact paths, or release rules change.
## Commands
Use these commands from the repository root:
```bash
node --check opera-cache-cleaner-extension/background.js
node --check opera-cache-cleaner-extension/popup/popup.js
```
To build a package from the repository root:
```bash
cd opera-cache-cleaner-extension
mkdir -p dist && zip -r dist/opera-cache-cleaner-extension.zip manifest.json background.js popup icons -x "*.DS_Store"
```
There is no package manager, dependency install, lint, or dependency audit command for the current project.
## Artifacts
Expected release artifact:
```text
opera-cache-cleaner-extension/dist/opera-cache-cleaner-extension.zip
```
## Finish Checklist
- `git diff --check` passes.
- `node --check opera-cache-cleaner-extension/background.js` passes.
- `node --check opera-cache-cleaner-extension/popup/popup.js` passes.
- Gitea workflows are polled after pushed workflow-triggering commits.