Commit Graph

5 Commits

Author SHA1 Message Date
Raphael 'kena' Poss
d7a0780095 port habitica integration from JS to Rust
The old JS ppc repo had a working habitica integration. This ports all
that functionality into the new Rust-based marts package so it can run
natively without the Deno/JS runtime dependency.

Changes:
- habitica.rs: make api_request public, add get_tasks() and delete_task()
  convenience methods, register config opts
- c2vi/mod.rs: full rewrite implementing all 9 CLI commands (bed,
  clearTodos, listTodos, buyHealthPotion, addActionItems, skip, dumpLog,
  listDailies, printTask) with SQLite persistence via rusqlite
- lib.rs: wire c2vi module into marts exports
- ppc main.rs: register c2vi part at startup
- Cargo.toml: add rusqlite dependency with bundled feature

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 14:22:10 +01:00
Sebastian Moser
8e7f2d1ddc idk. but added AGENTS.md 2026-03-06 19:26:07 +01:00
Sebastian Moser
b4bfedf372 added external parser logic 2026-02-24 14:15:17 +01:00
Sebastian Moser
8af0880e15 js part compiles 2026-02-24 13:28:16 +01:00
Sebastian Moser
f2e73e677a ... 2026-02-20 11:28:45 +01:00