tools: add journal tools to main registry, fix journal MCP access
journal_tools() was only in memory_and_journal_tools() for subconscious agents — not in the main tools() registry. Added so consciousness and MCP server can use journal_new/tail/update. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
1554d88694
commit
e9d803c4ea
3 changed files with 1 additions and 8 deletions
|
|
@ -31,9 +31,6 @@ use std::io;
|
|||
use crate::user::ui_channel::{ContextInfo, SharedContextState, StatusInfo, UiMessage};
|
||||
|
||||
pub(crate) const SCREEN_LEGEND: &str = " F1=interact F2=conscious F3=subconscious F4=unconscious F5=thalamus ";
|
||||
pub(crate) const SUBCONSCIOUS_AGENTS: &[&str] = &["surface-observe", "journal", "reflect"];
|
||||
#[allow(dead_code)]
|
||||
pub(crate) const UNCONSCIOUS_AGENTS: &[&str] = &["linker", "organize", "distill", "split"];
|
||||
|
||||
pub(crate) fn strip_ansi(text: &str) -> String {
|
||||
let mut out = String::with_capacity(text.len());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue