delete claude code integration

This commit is contained in:
Kent Overstreet 2026-04-09 19:58:07 -04:00
parent 24560042ea
commit 929415af3b
31 changed files with 120 additions and 2898 deletions

View file

@ -69,7 +69,17 @@ impl HookSession {
/// Get the seen set for this session
pub fn seen(&self) -> HashSet<String> {
super::claude::hook::load_seen(&self.state_dir, &self.session_id)
let path = self.state_dir.join(format!("seen-{}", self.session_id));
if path.exists() {
fs::read_to_string(&path)
.unwrap_or_default()
.lines()
.filter(|s| !s.is_empty())
.map(|s| s.split_once('\t').map(|(_, key)| key).unwrap_or(s).to_string())
.collect()
} else {
HashSet::new()
}
}
/// Get transcript metadata, resolving the path if needed.