Commit Graph

5 Commits

Author SHA1 Message Date
hypercross 2f29f8774d feat: add spark table completion and rolling support
Implement "spark tables" functionality, which allows users to roll
dice against markdown tables to retrieve specific values.

- Add `sparkTablesSource` to scan markdown files for tables starting
  with a dice notation (e.g., d6, d20).
- Implement `/spark` command in the journal to resolve and roll
  spark tables.
- Add a new message type `spark` with a dedicated UI component to
  render the results.
- Update completions API to include spark table metadata.
2026-07-07 19:02:17 +08:00
hypercross 1d0f2f7c3e feat: add plain text dice roll detail
Introduces `plainDetail` to the dice engine to provide a non-HTML
version of the roll results. This allows components to display
the roll breakdown without needing to parse or render HTML.
2026-07-06 18:18:16 +08:00
hypercross 8af559fe1c refactor: invert dice interaction 2026-03-25 14:08:29 +08:00
hypercross b49de62e2c chore: clean up dice roller 2026-02-28 18:01:37 +08:00
hypercross 807ce5a406 refactor: reorg 2026-02-27 12:34:55 +08:00