Files
mp-silma-ai-aide/llm.txt
T

44 lines
2.2 KiB
Plaintext
Raw Normal View History

2026-07-17 14:08:03 -05:00
# mp-silma-ai-aide
This project is a basic Vite + TypeScript Chrome extension scaffold. The extension popup reads Gitea configuration from Vite env variables, stores popup state in Zustand, and uses Axios to call the Gitea API.
Important files:
- `AGENTS.md`: Project instructions for coding agents.
- `manifest.llm.json`: Machine-readable project metadata.
2026-07-17 14:33:11 -05:00
- `docs/extension-management.md`: Chrome extension management instructions, including the required Chrome profile.
2026-07-17 14:08:03 -05:00
- `.env.example`: Required environment variables.
- `vite.config.ts`: Vite build config and generated Chrome extension manifest logic.
- `src/api.ts`: Axios client and Gitea configuration handling.
- `src/store.ts`: Vanilla Zustand popup state store.
- `src/main.ts`: Popup UI behavior.
- `index.html`: Popup document.
2026-07-17 14:38:42 -05:00
- `public/favicon.svg`: Source favicon copied into `dist/` by Vite.
- `public/local-context.json`: Generated workspace/repo/URL context copied into `dist/`.
- `scripts/generate-local-context.mjs`: Scans `/Users/Tabitha/.openclaw/workspace_Father` and writes `public/local-context.json`.
2026-07-17 14:08:03 -05:00
2026-07-17 14:16:54 -05:00
Build with `npm run build`. The deployable output directory is `dist/`; load that folder in Chrome as an unpacked extension or point deployment tooling at it. Do not edit `dist/` directly.
UI behavior: the app renders as a movable drag/drop window inside the browser surface. The menu items are Add URL (disabled), URLs, Gitea Repos, Workspaces, and Add Issue (disabled). Gitea repos are ordered by latest default-branch commit. Workspace and URL views show established links between local workspaces, known URLs, and Gitea repos.
2026-07-17 14:33:11 -05:00
Extension management rule: 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 commands:
- Setup: `npm run codex:setup`
- Dev: `npm run dev:codex`
- Build: `npm run build:codex`
- Verify output: `npm run verify:dist`
2026-07-17 14:08:03 -05:00
Required env variables:
- `VITE_GITEA_BASE_URL`
- `VITE_GITEA_TOKEN`
- `VITE_GITEA_REPO_OWNER`
- `VITE_GITEA_REPO_NAME`
2026-07-17 14:33:11 -05:00
Gitea workflows:
- `.gitea/workflows/build.yml`: build validation for pushes to `main` and pull requests.
- `.gitea/workflows/issue-opened-placeholder.yml`: new issue placeholder that prints `200 okay`.