Rename Session -> HookSession
The hook's Session is not the same as poc-agent's session concept. Rename to avoid confusion now that poc-agent will create HookSessions to call into the agent cycle. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
a0245c1279
commit
55a037f4c7
5 changed files with 19 additions and 19 deletions
|
|
@ -5,7 +5,7 @@ pub fn cmd_search(terms: &[String], pipeline_args: &[String], expand: bool, full
|
|||
use std::collections::BTreeMap;
|
||||
|
||||
// When running inside an agent session, exclude already-surfaced nodes
|
||||
let seen = crate::memory_search::Session::from_env()
|
||||
let seen = crate::memory_search::HookSession::from_env()
|
||||
.map(|s| s.seen())
|
||||
.unwrap_or_default();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue