mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
7aec97332311dfc6cc42920cbcf659b5f168c88a
Remove AgentSnapshot from persistence layer. AgentRegistry now accepts ManagedAgent and uses toStoredAgentRecord for atomic config + lifecycle persistence. Deleted obsolete recordConfig method. - Update applySnapshot to accept ManagedAgent and use toStoredAgentRecord - Remove recordConfig method entirely (no longer needed) - Remove sanitizeConfig helper (handled by projection) - Update session to stop calling deleted recordConfig - Add ManagedAgent test fixtures to registry and persistence-hook tests - Test config persistence, title retention, and subscription forwarding Registry and persistence-hooks now typecheck cleanly. Expected failures in session/mcp-server/messages (still reference AgentSnapshot). Task 4 of 8 in agent architecture refactor. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Languages
TypeScript
98.1%
JavaScript
1.3%
Shell
0.1%
Swift
0.1%