picoclaw/pkg/agent
yinwm feba44ecf0 feat: US-010 - Add RecordLastChannel to AgentLoop with atomic state save
- Add state *state.Manager field to AgentLoop struct
- Initialize stateManager in NewAgentLoop using state.NewManager
- Implement RecordLastChannel method that calls state.SetLastChannel
- Implement RecordLastChatID method for chat ID tracking
- Add comprehensive tests for state persistence
- Verify state survives across AgentLoop instances

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 19:49:36 +08:00
..
context.go refactor(agent): improve code quality and restore summarization 2026-02-11 20:31:41 +08:00
loop.go feat: US-010 - Add RecordLastChannel to AgentLoop with atomic state save 2026-02-12 19:49:36 +08:00
loop_test.go feat: US-010 - Add RecordLastChannel to AgentLoop with atomic state save 2026-02-12 19:49:36 +08:00
memory.go Add memory system, dynamic tool loading, and fix logging issues 2026-02-11 00:14:33 +08:00