-
Notifications
You must be signed in to change notification settings - Fork 2
feat(tui): /new command — reset conversation window while preserving session state (filesystem, memory, processes) #2451
Copy link
Copy link
Closed
Labels
P3Research — medium-high complexityResearch — medium-high complexityenhancementNew feature or requestNew feature or requestmemoryzeph-memory crate (SQLite)zeph-memory crate (SQLite)
Description
Gap Source
OpenHands v1.6.0 (March 30, 2026) added /clear with sandbox preservation. Competitive parity scan CI-307.
What Is Missing
Zeph has /compact (compress context, keep history) but no primitive for starting a fresh conversation while preserving:
- Working directory / filesystem state
- Memory (SQLite + Qdrant) — don't wipe prior knowledge
- Active MCP server connections
OpenHands' pattern: /new creates a new conversation ID but inherits the runtime environment.
Why It Matters
Users doing long coding or research sessions want to clear the conversation window to free up context without losing their accumulated memory and environment setup. Currently the only option is to restart the process entirely.
Implementation Sketch
/newslash command: resetAgentSession(conversation history, tool call cache, context budget) without reinitializing memory or MCP connections- Optionally preserve or reset: memory (
--keep-memory / --reset-memory), MCP connections (--keep-mcp) - Record session boundary in SQLite for audit trail
Priority
P3 — useful UX pattern, low urgency.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Research — medium-high complexityResearch — medium-high complexityenhancementNew feature or requestNew feature or requestmemoryzeph-memory crate (SQLite)zeph-memory crate (SQLite)