move telegram and remaining tmp paths to ~/.consciousness/

- Telegram data: ~/.consciousness/telegram/
- Rate limiter file: ~/.consciousness/cache/
- parse-claude-conversation stash: ~/.consciousness/sessions/

No more /tmp/ for persistent state, no more ~/.claude/ for our data.
This commit is contained in:
ProofOfConcept 2026-03-27 21:26:28 -04:00
parent bf5b495632
commit f0af319e0d
5 changed files with 10 additions and 8 deletions

View file

@ -259,7 +259,9 @@ fn main() {
let args = Args::parse();
let path = if args.last {
let stash = fs::read_to_string("/tmp/claude-memory-search/last-input.json")
let stash_path = dirs::home_dir().unwrap_or_default()
.join(".consciousness/sessions/last-input.json");
let stash = fs::read_to_string(&stash_path)
.expect("No stashed input");
let json: Value = serde_json::from_str(&stash).expect("Bad JSON");
json["transcript_path"]