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

@ -59,7 +59,7 @@ impl TelegramState {
}
fn offset_path() -> PathBuf {
home().join(".claude/telegram/last_offset")
home().join(".consciousness/telegram/last_offset")
}
fn load_offset() -> i64 {
@ -74,11 +74,11 @@ fn save_offset(offset: i64) {
}
fn history_path() -> PathBuf {
home().join(".claude/telegram/history.log")
home().join(".consciousness/telegram/history.log")
}
fn media_dir() -> PathBuf {
home().join(".claude/telegram/media")
home().join(".consciousness/telegram/media")
}
fn append_history(line: &str) {