Files
mp-silma-ai-aide/README.md
T

52 lines
2.3 KiB
Markdown
Raw Normal View History

2026-07-17 12:04:36 -07:00
# mp-silma-ai-aide
2026-07-17 14:08:03 -05:00
Context-aware AI aide — project-agnostic tooling to give Silma better context for supporting any codebase or task.
## Development
Install dependencies:
```bash
2026-07-17 14:16:54 -05:00
npm ci
```
Run the Vite dev server:
```bash
npm run dev
2026-07-17 14:08:03 -05:00
```
Build the Chrome extension:
```bash
npm run build
```
2026-07-17 15:45:30 -05:00
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`, the side panel entry, and the background service worker exist.
2026-07-17 14:16:54 -05:00
2026-07-17 15:45:30 -05:00
Static assets, including the extension icon assets, live in `public/` and are copied into `dist/` during the build.
2026-07-17 14:38:42 -05:00
2026-07-17 17:26:34 -05:00
The app opens in the Chrome side panel. The top icon menu includes Add URL, URLs, Gitea repos, Workspaces, and Add Issue. Add URL is enabled only for an active tab base URL that is not already in the URLs list. URLs can be deleted from the list. Add Issue is enabled when the active tab base URL is already linked to a Gitea repo; it creates an issue with the `Change Request` label, uploads screenshots and files as issue assets, and can apply the `ready` label after uploads. The same view lists existing repo issues; selecting one shows the original description, attachments, comment chain, and a comment form with screenshots and file attachments. Rows can be marked Ready or deleted.
Builds generate `public/local-context.json` from `/Users/Tabitha/.openclaw/workspace_Father`. That snapshot links known workspaces to local Gitea repos and is copied into `dist/` so the built extension is self-contained.
2026-07-17 14:33:11 -05:00
## 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`.
2026-07-17 14:16:54 -05:00
## 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`
2026-07-17 14:33:11 -05:00
## 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`.