A Rust backend that owns the sessions and an Android app that reads them. The server spawns and adopts CLI processes, normalises everything they emit into one event model, keeps the transcript, and serves it over pinned TLS on a WireGuard interface; the phone streams that, replies, sends images, and imports conversations the machine already has. `AGENTS.md` is the working guide -- what runs where, what has been measured, and the faults that were expensive to find. `PLAN.md` is the design record. History before this point was squashed away. It was a personal project's running commentary and carried a name and a couple of machine paths that have no business in a public repository; the tree is what mattered and the tree is here.
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
// This project's own resources: where ai-app keeps what it accumulates
|
|
// and what somebody configured.
|
|
//
|
|
// Structured as the body of the struct, with no outer parentheses, which
|
|
// is the house rule every RON file here follows -- `wg_app_link::format`
|
|
// is the only thing that knows it, so both this project's code and Dev
|
|
// Updater read the file the same way.
|
|
//
|
|
// Dev Updater reads the keys it understands (`name`, `data`, `config`)
|
|
// and ignores the rest, so anything else this project needs to keep in
|
|
// one place belongs here too.
|
|
|
|
// What this project calls itself for the purpose of keeping state, and
|
|
// where `~/.local/share/ai-app` and `~/.config/ai-app` come from. Not the
|
|
// crate name -- that is `ai-server`, which answers to the binary it
|
|
// produces -- and not the label, which is "AI Sessions" because that is
|
|
// what a person reads on a card.
|
|
//
|
|
// No `data` or `config` key: both are the conventional XDG places, and
|
|
// writing them out would be a second copy of what the server already
|
|
// derives from this same name.
|
|
//
|
|
// Worth knowing before using the Uninstall dialog's config toggle:
|
|
// `$XDG_CONFIG_HOME/ai-app/certs` is in there, and the CA is the one-way
|
|
// door -- deleting it strands every phone that has this server's app
|
|
// installed until the app is rebuilt against a new CA and reinstalled.
|
|
name: "ai-app",
|