What problem does it solve?
Adds a /compact session command to condense conversation history and fight context rot in long-running Deus sessions. The SDK returns a new session ID after compaction (via the init system message), which the agent-runner forwards as newSessionId, preserving continuity without a destructive reset.
Core Features & Use Cases
- Manual memory compaction via the /compact command to summarize prior context.
- Session continuity: the session remains active and references the new context without losing history.
- Access control: only main-group users or device owners can trigger compaction; non-admin users are restricted.
- Pre-Compact archiving: transcripts are archived before compaction to preserve records.
- No automatic compaction; all compaction is initiated manually by a trusted user.
Quick Start
From the main group, send exactly /compact to begin a manual memory compaction.