[Phase 4] Polish: Dice engine, OOC tools, theme, settings, responsive #4

Open
opened 2026-05-21 16:57:34 +02:00 by sleepy · 0 comments
Owner

Final polish and integration.

Acceptance Criteria

  • shared/src/dice.ts — full dice notation parser with tests
    • XdY, XdY+Z, XdYkh1, XdYkl1, XdYkN, XdYro<Z
  • roll_dice agent tool — agent can roll dice programmatically
  • send_to_dm OOC tool — forwards corrections/suggestions to DM agent
  • Fantasy theme refined — parchment textures, runic accents, dramatic shadows
  • Settings modal works — edits config.yaml via API, restarts agent if needed
  • Responsive layout — collapses OOC sidebar on narrow screens
  • All npm run typecheck, npm run lint pass
  • End-to-end test: can start dev server, ask a rules question, get cited answer

Files to Modify

  • shared/src/dice.ts
  • backend/src/tools.ts
  • frontend/src/components/*.tsx
  • frontend/src/styles/index.css

See project.md sections 9, 10, 13 for full spec.

Final polish and integration. ## Acceptance Criteria - [ ] `shared/src/dice.ts` — full dice notation parser with tests - XdY, XdY+Z, XdYkh1, XdYkl1, XdYkN, XdYro<Z - [ ] `roll_dice` agent tool — agent can roll dice programmatically - [ ] `send_to_dm` OOC tool — forwards corrections/suggestions to DM agent - [ ] Fantasy theme refined — parchment textures, runic accents, dramatic shadows - [ ] Settings modal works — edits config.yaml via API, restarts agent if needed - [ ] Responsive layout — collapses OOC sidebar on narrow screens - [ ] All `npm run typecheck`, `npm run lint` pass - [ ] End-to-end test: can start dev server, ask a rules question, get cited answer ## Files to Modify - `shared/src/dice.ts` - `backend/src/tools.ts` - `frontend/src/components/*.tsx` - `frontend/src/styles/index.css` See `project.md` sections 9, 10, 13 for full spec.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sleepy/dnd-rag#4
No description provided.