tui: /reload re-reads AGENTS.md, skills, config, MCP prompt index

This commit is contained in:
hermes committed 2026-11-03 21:21:28 +00:00
1 parent 130704b8b3
commit dac2320503
4 files changed
+67

No files matched your search

+4
View File
@@ -243,6 +243,10 @@ impl Agent {
self.effort = e;
}
pub fn system(&self) -> &str {
&self.system
}
pub fn set_system(&mut self, system: impl Into<String>) {
self.system = system.into();
self.publish();
+5
View File
@@ -98,6 +98,11 @@ pub fn builtins(models: &[&str]) -> Vec<CmdSpec> {
),
b("btw", "side question; no tools, not saved", Free),
b("skills", "list skills and where they load from", None),
b(
"reload",
"re-read AGENTS.md, skills, config, MCP prompt index",
None,
),
b(
"resume",
"resume a session file; no arg opens /sessions",