diff options
Diffstat (limited to 'src/command.zig')
| -rw-r--r-- | src/command.zig | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/command.zig b/src/command.zig index 26acc7a..49ad5b8 100644 --- a/src/command.zig +++ b/src/command.zig @@ -32,12 +32,10 @@ const panto = @import("panto"); pub const Context = struct { allocator: std.mem.Allocator, - /// In-memory conversation the agent is driving. - conv: *panto.conversation.Conversation, - /// The active agent (model/provider/tooling snapshot). + /// The active agent. Owns the conversation (`agent.conversation`) and + /// the session store (`agent.session_store`); commands reach both + /// through it rather than holding separate pointers. agent: *panto.agent.Agent, - /// Session log to persist any changes a command makes. - session_mgr: *panto.session_manager.SessionManager, /// REPL output writer and its backing file writer (for flushing). stdout: *std.Io.Writer, |
