Files
AstrBot/astrbot
LIghtJUNction eca534f6d4 feat(core): add ToolSessionManager for stateful tool execution
Introduce session-level state management for tools that need to maintain
state across conversation turns within the same session (UMO).

- Add ToolSessionManager class for central per-(UMO, tool_name) state
- Add ToolSessionState with set_persistent(key) support
- Add is_stateful flag to FunctionTool base class
- Wire session_manager through run_context in all agent runners
- Update ExecuteShellTool to use framework session manager
- Update CLAUDE.md with stateful tool documentation

BREAKING: Tools that were manually managing session state via _sessions
dict should migrate to use the framework's ToolSessionManager for proper
lifecycle management and persistence support.
2026-03-29 15:40:57 +08:00
..
2026-03-23 22:21:06 +08:00
2026-03-27 00:16:03 +08:00
2026-03-28 12:14:10 +08:00
2026-03-24 10:14:28 +08:00
2026-02-27 22:03:17 +08:00
2026-03-27 00:16:03 +08:00