Sessions and context
Saved sessions, resuming, context windows, compaction, undo and rewind.
- Can I rename a Line CLI session?There's no rename command. A session's title is the start of its first prompt, shown in /resume.FAQ
- Can I share a Line CLI session with a teammate?Sessions are JSON files in ~/.config/line/sessions. You can send one, and they can open it with --resume, but it contains your code excerpts.FAQ
- How do I continue my last Line CLI session?Run line -c in the same project folder to continue the most recent session there. It works with print mode too: line -c -p "continue".How-to
- How do I delete my Line CLI history and sessions?Delete files in ~/.config/line/sessions (sessions) and ~/.config/line/history.jsonl (prompt history) while Line isn't running.How-to
- How do I resume a specific Line CLI session?Use line --resume <id> with the session id (a prefix is enough). Find ids in /resume, /status or at the end of print-mode runs.How-to
- How do I see what Line CLI changed in my files?/diff shows this session's changes (/diff split side by side, /diff <file> for one file). /files lists changed files by turn and agent.How-to
- How do I undo changes Line CLI made?Type /undo to revert the file changes of the last turn, or /rewind to go back to before an earlier prompt. Shell command effects aren't tracked.How-to
- How does Line CLI remember things about my project?Line reads LINE.md (or AGENTS.md) in your project and ~/.line/LINE.md at the start of every session. /init writes one for you.Explainer
- Line CLI closed unexpectedly. Did I lose my work?No. Line saves the session after every step, on failure and on Ctrl+C. Run line -c in the same folder to continue.Troubleshooting
- What is auto-compact in Line CLI?When the conversation fills about 80% of the context window, Line clears old tool output and summarizes if needed, so long tasks keep going.Explainer
- What's the difference between /undo and /rewind?/undo reverts only the last turn's file changes and keeps the chat. /rewind goes back to before any earlier prompt, restoring files and cutting the chat.Explainer
- Where does Line CLI save my sessions?Sessions are saved on your computer in ~/.config/line/sessions/<id>.json, one file per session, private to your user.FAQ
- Why don't I see my session from another folder?Line CLI groups sessions by project folder. line -c and /resume show sessions for the current folder; use --resume <id> for others.FAQ
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.