16 Commits

Author SHA1 Message Date
Nicolas Varrot
9f2e8ee9fe ci: add failure webhook to notify OpenClaw agent for auto-fix
When CI fails on main, posts failure details to OpenClaw webhook
which spawns an isolated agent to diagnose and fix the issue.
Webhook URL and token stored as GitHub secrets (no hardcoded URLs).
2026-02-14 04:44:06 +00:00
Nicolas Varrot
60411971b7 chore: remove duplicate PR template (keep uppercase version) 2026-02-13 13:10:16 +00:00
Nicolas Varrot
be8f5b62ff fix: drop Node 18 from CI matrix — Vite 7.3 requires Node 20.19+
- Remove Node 18 from CI test matrix (crypto.hash not available)
- Update engines field to >=20.19
- Update README Node.js version references
2026-02-13 12:58:23 +00:00
Nicolas Varrot
3657476fd9 docs: add pull request template 2026-02-13 10:25:10 +00:00
Nicolas Varrot
0e4ae0ed7f ci: add test coverage reporting with v8 provider
- Add vitest.config.ts with v8 coverage provider
- Add npm run test:coverage script
- Add coverage step to CI (Node 22, reports in job summary)
- Coverage tracks src/lib/ utilities (currently ~21% lines)
- Install @vitest/coverage-v8 dev dependency
2026-02-13 07:27:02 +00:00
Nicolas Varrot
41f3952548 docs: update CONTRIBUTING.md with lint and test steps, remove duplicate PR template 2026-02-13 07:10:33 +00:00
Nicolas Varrot
c4725e65c2 feat: add Vitest unit tests for utility functions
- Set up Vitest with 27 tests across 3 test suites
- relativeTime: edge cases, time buckets, future timestamps
- sessionDisplayName: labels, kinds, channels, UUID truncation
- messagesToMarkdown: roles, blocks, tool calls, system events
- Add test and test:watch npm scripts
- Add test step to CI workflow
2026-02-13 06:58:39 +00:00
Nicolas Varrot
8679fdc3a0 docs: add pull request template for contributors 2026-02-13 05:55:01 +00:00
Nicolas Varrot
313242cbd9 fix(ci): lowercase Docker image tags — ghcr.io requires lowercase repo names 2026-02-12 17:49:14 +00:00
Nicolas Varrot
aa158ad090 ci: add release workflow with semver Docker tags and GitHub Releases
- New release.yml: triggers on v* tags, builds/pushes Docker with vX.Y.Z, vX.Y, vX, latest tags, creates GitHub Release with changelog
- Updated docker.yml: main pushes now tag as 'edge' (dev) instead of 'latest'
- latest tag is now only set by the release workflow on version tags
2026-02-12 14:44:33 +00:00
Nicolas Varrot
916910f5ce fix: resolve all ESLint errors and add lint step to CI
- Extract credential helpers to src/lib/credentials.ts (fixes react-refresh/only-export-components)
- Extract buildImageSrc to src/lib/image.ts (fixes react-refresh/only-export-components)
- Reorder useCallback declarations in useGateway to fix react-hooks/immutability
- Sync refs via useEffect instead of during render (fixes react-hooks/refs)
- Replace useState initializer effect with lazy initializer functions in LoginScreen
- Add comments to empty catch blocks (fixes no-empty)
- Remove unused variable (fixes @typescript-eslint/no-unused-vars)
- Downgrade react-hooks/set-state-in-effect to warning (valid init/status patterns)
- Add lint step to CI workflow (runs before type-check and build)
2026-02-11 23:37:37 +00:00
Nicolas Varrot
d02009475b docs: add PR template and security policy
- Add .github/PULL_REQUEST_TEMPLATE.md with checklist for contributors
- Add SECURITY.md with vulnerability reporting instructions
2026-02-11 21:35:29 +00:00
Nicolas Varrot
4f47732fa0 docs: add GitHub Pages landing page with features showcase 2026-02-11 17:36:04 +00:00
Nicolas Varrot
5fd73001f7 feat: add Docker support with Dockerfile, compose, CI, and oneliner install
- Multi-stage Dockerfile (node build + nginx:alpine serve)
- nginx.conf with SPA fallback, gzip, asset caching
- docker-compose.yml for easy deployment
- GitHub Actions workflow to build & push to ghcr.io on every push
- .dockerignore to keep image lean
- Updated README with Docker-first quick start and badge
2026-02-11 16:31:33 +00:00
Nicolas Varrot
2d3ee47854 docs: add GitHub issue templates (bug report + feature request) 2026-02-11 14:16:26 +00:00
Nicolas Varrot
a6b26b0b0d ci: add GitHub Actions CI workflow + README badges
- CI runs build + type check on Node 18/20/22 for push & PRs
- Add CI status, license, and Node.js version badges to README
- Replace placeholder screenshot with contribution note
2026-02-11 09:50:47 +00:00