46 lines
1.2 KiB
Markdown
46 lines
1.2 KiB
Markdown
# mp-silma-ai-aide
|
|
|
|
Context-aware AI aide — project-agnostic tooling to give Silma better context for supporting any codebase or task.
|
|
|
|
## Development
|
|
|
|
Install dependencies:
|
|
|
|
```bash
|
|
npm ci
|
|
```
|
|
|
|
Run the Vite dev server:
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
Build the Chrome extension:
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
The deployable extension output is `dist/`. Load `dist/` in Chrome as an unpacked extension, or point deployment tooling at that folder. `npm run build` runs TypeScript, Vite, and a post-build check that verifies `dist/manifest.json` and the popup entry exist.
|
|
|
|
## Extension Management
|
|
|
|
See [docs/extension-management.md](docs/extension-management.md) before loading, reloading, testing, or automating the Chrome extension.
|
|
|
|
Use the Codex Chrome extension with the Chrome profile named `Silma`. Do not use `Profile 1`.
|
|
|
|
## Codex
|
|
|
|
Codex setup and action commands are declared in `.codex/environments/environment.toml`:
|
|
|
|
- Setup: `npm ci`
|
|
- Dev: `npm run dev:codex`
|
|
- Build: `npm run build:codex`
|
|
- Preview: `npm run preview`
|
|
|
|
## Gitea Workflows
|
|
|
|
- `.gitea/workflows/build.yml` builds the extension on pushes to `main` and pull requests.
|
|
- `.gitea/workflows/issue-opened-placeholder.yml` runs when a new issue is opened and prints `200 okay`.
|