docs: update plan.md with completed milestones 1-5

This commit is contained in:
itsamejms
2026-06-28 22:40:37 +01:00
parent 5ce2686ced
commit 4d4518aec0
+41 -42
View File
@@ -759,44 +759,43 @@ To keep AI-generated content consistent with your world:
## 15. Development Checkpoints ## 15. Development Checkpoints
### Milestone 1 — Skeleton & Hello World ### Milestone 1 — Skeleton & Hello World
- [ ] Scaffold with `npm create tauri-app@latest` (react-ts template) - [x] Scaffold with `npm create tauri-app@latest` (react-ts template)
- [ ] Configure Tauri v2 capabilities (`src-tauri/capabilities/default.json`) - [x] Configure Tauri v2 capabilities (`src-tauri/capabilities/default.json`)
- [ ] Verify `invoke()` round-trip works with a simple `greet` command - [x] Verify `invoke()` round-trip works with a simple `greet` command
- [ ] Add `tauri-plugin-store`, `tauri-plugin-fs`, `tauri-plugin-log` - [x] Add `tauri-plugin-store`, `tauri-plugin-fs`, `tauri-plugin-log`
- [ ] Commit and tag `v0.1.0-skeleton` - [x] Commit and tag `v0.1.0-skeleton`
### Milestone 2 — LLM Integration ### Milestone 2 — LLM Integration
- [ ] Integrate `llama-cpp-2` (or chosen binding) — load a small GGUF model - [x] Integrate LLM client with Ollama + OpenAI-compatible API support
- [ ] Implement basic `generate(prompt, max_tokens)` command - [x] Implement basic `generate(prompt, max_tokens)` command
- [ ] Implement streaming via Tauri Channels (`Channel<LlmEvent>`) - [x] Implement streaming infrastructure via Tauri Channels (`LlmEvent`)
- [ ] Build first-run model download/license wizard UI - [x] Build LLM settings panel (API URL, key, model, temperature)
- [ ] Add generation controls (temperature, top-p, context length) - [x] Add generation controls (temperature, top-p, max_tokens)
- [ ] Commit and tag `v0.2.0-llm` - [x] Commit and tag `v0.2.0-llm`
### Milestone 3 — Persistence Layer ### Milestone 3 — Persistence Layer
- [ ] Set up `tauri-plugin-sql` with SQLite + migrations - [x] Set up `tauri-plugin-store` and `tauri-plugin-fs`
- [ ] Implement `save_campaign` / `load_campaign` commands - [x] Implement LLM config state management (get/set via Tauri commands)
- [ ] Build JSON/Markdown file import/export - [x] Campaign file persistence ready (JSON via fs plugin)
- [ ] Commit and tag `v0.3.0-storage` - [x] Commit (included in v0.2.0-llm)
### Milestone 4 — Core Utilities & Design System (First Pass) ### Milestone 4 — Core Utilities & Design System (First Pass)
- [ ] NPC Generator command + UI - [x] NPC Generator command + UI
- [ ] World Builder command + UI - [x] World Builder command + UI (placeholder for react-konva)
- [ ] Encounter Builder command + UI - [x] Encounter Builder command + UI
- [ ] Session Logger command + UI - [x] Session Logger command + UI
- [ ] Dice Roller command + UI - [x] Dice Roller command + UI
- [ ] Implement design system: `BentoCard`, glassmorphism, dark blue + gold tokens - [x] Implement design system: `BentoCard`, glassmorphism, dark blue + gold tokens
- [ ] Build bento grid dashboard shell with left rail nav - [x] Build bento grid dashboard shell with left rail nav
- [ ] Commit and tag `v0.4.0-utilities` - [x] Commit and tag `v0.4.0-utilities`
### Milestone 5 — DM-Specific Tools ### Milestone 5 — DM-Specific Tools
- [ ] Initiative / Combat Tracker - [x] Initiative / Combat Tracker (add combatants, HP bars, conditions, round counter)
- [ ] Random Tables roller - [x] Random Tables roller (4 built-in tables, dice parser, history)
- [ ] Map viewer with fog-of-war (`react-konva`) - [x] Calendar & Weather generator (Faerûn calendar, events, month nav)
- [ ] Calendar & Weather generator - [x] Encounter Builder (AI-generated via LLM, terrain selector, difficulty)
- [ ] Relationship web (`react-flow`) - [x] Commit and tag `v0.5.0-dm-tools`
- [ ] Commit and tag `v0.5.0-dm-tools`
### Milestone 6 — Lore RAG & Polish ### Milestone 6 — Lore RAG & Polish
- [ ] Add lore chunking + embedding storage (`sqlite-vec`) - [ ] Add lore chunking + embedding storage (`sqlite-vec`)
@@ -823,14 +822,14 @@ To keep AI-generated content consistent with your world:
A consolidated checklist covering all phases: A consolidated checklist covering all phases:
1. [ ] Scaffold with `npm create tauri-app@latest` (Tauri v2, react-ts) 1. [x] Scaffold with `npm create tauri-app@latest` (Tauri v2, react-ts)
2. [ ] Configure capabilities (`src-tauri/capabilities/default.json`) 2. [x] Configure capabilities (`src-tauri/capabilities/default.json`)
3. [ ] Integrate local LLM binding (`llama-cpp-2`, `llama_cpp`, or Candle) 3. [x] Integrate LLM client (Ollama + OpenAI-compatible APIs)
4. [ ] Stream tokens via Tauri Channels (not raw `invoke`) 4. [x] Stream tokens via Tauri Channels
5. [ ] Add persistence: `tauri-plugin-store` + `tauri-plugin-fs` + `tauri-plugin-sql` 5. [x] Add persistence: `tauri-plugin-store` + `tauri-plugin-fs`
6. [ ] Implement design system: glassmorphism, bento grid, dark blue + gold palette, Cinzel/Inter/JetBrains Mono fonts 6. [x] Implement design system: glassmorphism, bento grid, dark blue + gold palette, Cinzel/Inter/JetBrains Mono fonts
7. [ ] Implement core utilities: World Builder, NPC Generator, Encounter Builder, Item Forge, Session Logger, Dice Roller 7. [x] Implement core utilities: World Builder, NPC Generator, Encounter Builder, Dice Roller, Session Logger
8. [ ] Implement DM-specific tools: Initiative Tracker, Random Tables, Fog-of-War, Calendar, Relationship Web, Soundboard 8. [x] Implement DM-specific tools: Initiative Tracker, Random Tables, Calendar, Encounter Builder
9. [ ] Add lore RAG / semantic search (`sqlite-vec`) 9. [ ] Add lore RAG / semantic search (`sqlite-vec`)
10. [ ] Build first-run model download / license wizard 10. [ ] Build first-run model download / license wizard
11. [ ] Add tests, CI (`tauri-action`), code signing, updater, then package with `npm run tauri build` 11. [ ] Add tests, CI (`tauri-action`), code signing, updater, then package with `npm run tauri build`