mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-15 14:22:43 +00:00
cleanReviveSnapshot only dropped the trailing prompt when a blank separator sat above it (starship add_newline), so shells that print the prompt with no preceding blank line — default PowerShell (PS C:\..>), bash user@host:~$ — kept the idle prompt in the saved buffer and showed a duplicate under the fresh boot prompt on every relaunch of an *active* session. An interactive shell always reprints its prompt after a command, so the tail of an idle buffer is the prompt, never history. Drop the short block after a blank separator when present, otherwise drop the trailing single-line prompt. Command output is preserved; the fresh shell reprints the live prompt on boot. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||