zeroclaw/src
Argenis fc2aac7c94
feat(gateway): persist WS chat sessions across restarts (#3813)
Gateway WebSocket chat sessions were in-memory only — conversation
history was lost on gateway restart, macOS sleep/wake, or client
reconnect. This wires up the existing SessionBackend (SQLite) to
the gateway WS handler so sessions survive restarts and reconnections.

Changes:
- Add delete_session() to SessionBackend trait + SQLite implementation
- Add session_persistence and session_ttl_hours to GatewayConfig
- Add Agent::seed_history() to hydrate agent from persisted messages
- Initialize SqliteSessionBackend in run_gateway() when enabled
- Send session_start message on WS connect with session_id + resumed
- Persist user/assistant messages after each turn
- Add GET /api/sessions and DELETE /api/sessions/{id} REST endpoints
- Bump version to 0.5.0

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 14:26:39 -04:00
..
agent feat(gateway): persist WS chat sessions across restarts (#3813) 2026-03-17 14:26:39 -04:00
approval fix(channels): allow low-risk shell in non-interactive mode (#3771) 2026-03-17 13:39:37 -04:00
auth feat: stabilize codex oauth and add provider model connectivity workflow 2026-02-24 16:03:01 +08:00
channels feat(gateway): persist WS chat sessions across restarts (#3813) 2026-03-17 14:26:39 -04:00
config feat(gateway): persist WS chat sessions across restarts (#3813) 2026-03-17 14:26:39 -04:00
cost fix(agent): parse MiniMax tool call formats for execution 2026-02-21 12:36:28 +08:00
cron fix(lint): Box::pin crate::agent::run calls to satisfy large_futures (#3675) 2026-03-16 00:54:27 -04:00
daemon fix(security): restore tokens.is_empty() guard, add re-pairing hint (#3738) 2026-03-17 13:40:02 -04:00
doctor feat: stabilize codex oauth and add provider model connectivity workflow 2026-02-24 16:03:01 +08:00
gateway feat(gateway): persist WS chat sessions across restarts (#3813) 2026-03-17 14:26:39 -04:00
hands feat(hands): add autonomous knowledge-accumulating agent packages (#3603) 2026-03-15 16:06:14 -04:00
hardware Addressed clippy lint issues 2026-03-10 01:48:19 -04:00
health refactor(sync): migrate remaining std mutex usage to parking_lot 2026-02-18 00:45:26 +08:00
heartbeat feat(heartbeat): add health metrics, adaptive intervals, and task history 2026-03-16 12:08:32 -04:00
hooks feat(hooks): add webhook-audit builtin hook (#3212) 2026-03-11 23:34:17 -04:00
integrations feat(tools): add Google Workspace CLI (gws) integration (#3616) 2026-03-17 00:52:59 -04:00
memory feat(knowledge): add knowledge graph for expertise capture and reuse (#3596) 2026-03-17 01:11:29 -04:00
nodes feat(nodes): add secure HMAC-SHA256 node transport layer (#3654) 2026-03-16 01:53:47 -04:00
observability feat(observability): add Hands dashboard metrics and events (#3595) 2026-03-16 18:24:47 -04:00
onboard feat(multi): LinkedIn tool, WhatsApp voice notes, and Anthropic OAuth fix (#3604) 2026-03-17 01:55:05 -04:00
peripherals feat(knowledge): add knowledge graph for expertise capture and reuse (#3596) 2026-03-17 01:11:29 -04:00
providers fix(web): preserve provider runtime options in ws agent (#3807) 2026-03-17 14:06:22 -04:00
rag chore(lint): extend low-risk clippy cleanup batch 2026-02-17 16:40:58 +08:00
runtime feat(tools): add Windows support for shell tool_call execution (#3442) 2026-03-13 17:12:16 -04:00
security fix(security): restore tokens.is_empty() guard, add re-pairing hint (#3738) 2026-03-17 13:40:02 -04:00
service fix(service): headless browser works in service mode (systemd/OpenRC) (#3645) 2026-03-15 19:16:36 -04:00
skillforge chore: Remove blocking read strings 2026-02-19 14:52:29 +08:00
skills feat(skills): support YAML frontmatter in SKILL.md (#3797) 2026-03-17 13:38:49 -04:00
sop fix(web): call doctor endpoint with authenticated POST 2026-02-24 16:02:59 +08:00
tools fix(agent): resolve deferred MCP tools by suffix (#3793) 2026-03-17 13:39:03 -04:00
tunnel feat(tunnel): add OpenVPN tunnel provider (#3648) 2026-03-16 00:34:34 -04:00
identity.rs test: cover deterministic HashMap ordering paths 2026-02-18 21:55:40 +08:00
lib.rs feat(nodes): add secure HMAC-SHA256 node transport layer (#3654) 2026-03-16 01:53:47 -04:00
main.rs fix(security): restore tokens.is_empty() guard, add re-pairing hint (#3738) 2026-03-17 13:40:02 -04:00
migration.rs readd tests, remove markdown files 2026-02-18 14:42:39 +08:00
multimodal.rs fix(agent): strip vision markers from history for non-vision providers (#3734) 2026-03-16 16:25:45 -04:00
util.rs fix(ci): restore containerized validation on main (#1096) 2026-02-20 07:48:58 -05:00