Web UI (aig web)
A new locally-served web interface for browsing your intent history visually. Built with Vite + React + MUI.
- Intent list — DataGrid with status, checkpoint count, dates, sorting/filtering
- Intent detail — stat cards (checkpoints, files, duration), tabbed view with checkpoints, diff, conversations, trust
- GitHub-style diff viewer — unified and split view toggle, red/green line highlighting, dual line numbers, file tree navigation, expand/collapse all, lazy loading, large file collapsing
- Conversation viewer — chat timeline with markdown rendering,
[User]/[AI]role parsing, search, "My messages" filter - Timeline page — bar chart of checkpoint/intent activity over time (MUI X Charts)
- Intent graph — D3 force-directed visualization of intent relationships
- Dark theme matching the docs site brand color (
#646cff) - 23 tests for diff parser and DB queries (vitest)
Run with: pnpm dev:web → http://localhost:5180
Claude Code Integration
CLAUDE.md— agent instructions that make Claude Code aig-aware automatically (start sessions, useaig checkpointinstead ofgit commit, write semantic messages)/aigslash command — LLM-enhanced operations:/aig checkpointfor auto-generated semantic messages,/aig session start/end,/aig why file:line- New docs page — Claude Code Integration explaining Level 1 (passive) vs Level 2 (active) integration
Semantic Diff: 11 → 27 Languages
Added 16 languages to tree-sitter semantic analysis:
| New | Details |
|---|---|
| C | functions, structs, enums, typedefs |
| CSS | rules, @media, @Keyframes |
| HTML | elements, script, style |
| JSON | properties |
| YAML | keys |
| TOML | sections, keys |
| Bash | functions, variables |
| Lua | functions, variables |
| Scala | functions, classes, traits, objects |
| Elixir | functions (def/defmodule) |
| Haskell | functions, types, data, typeclasses |
| Zig | functions, tests, variables |
| Dart | functions, classes, methods, enums |
| Markdown | headings, code blocks |
| JavaScript/JSX | via TypeScript grammar |
| Vue/Svelte | via HTML grammar |
Files without tree-sitter support now get file-level change tracking instead of showing nothing.
Fixes & Improvements
- Checkpoint ordering —
aig logandaig reviewnow show newest checkpoint first, matchinggit logconvention - Imported intents — marked as "done" (not "active") and use the original commit timestamps instead of import time
- TypeScript symbols — fixed
exportextraction to show actual names (theme,App) instead of generic "export" - Landing page redesign — dark GitHub-style canvas, animated hero terminal showing full aig workflow, styled terminal comparisons, trust bar, CTA section
Open Questions (documented for future discussion)
- Session ceremony vs quick fixes — should
aig checkpointwork without an active session? - Provenance timing — AI detection happens after checkpoints, causing incorrect trust data
Full Changelog: v0.2.0...v0.3.0