Add session persistence and improve terminal ergonomics
This commit is contained in:
16
README.md
16
README.md
@@ -32,7 +32,16 @@ you>
|
||||
```
|
||||
|
||||
Interactive responses stream into the terminal as they are generated, and the
|
||||
session keeps conversation history until you reset or exit.
|
||||
session keeps conversation history until you reset it. The current session is
|
||||
saved to `.harness/session.json` and reloaded the next time the app starts.
|
||||
|
||||
For multiline input, end a line with `\` and keep typing:
|
||||
|
||||
```text
|
||||
you> summarize this:\
|
||||
...> line two\
|
||||
...> line three
|
||||
```
|
||||
|
||||
You can also keep using one-shot mode when scripting:
|
||||
|
||||
@@ -81,8 +90,11 @@ npm run dev -- "/tools"
|
||||
The core provides:
|
||||
|
||||
- `/help` — show available commands
|
||||
- `/history` — show how many conversation items are currently in memory
|
||||
- `/history` — show current session details
|
||||
- `/new` — start a fresh empty conversation
|
||||
- `/reset` — clear the current conversation history
|
||||
- `/save` — persist the current conversation immediately
|
||||
- `/logs [on|off]` — toggle lifecycle traces
|
||||
- `/exit` — leave the interactive session
|
||||
|
||||
Extensions can register their own commands.
|
||||
|
||||
Reference in New Issue
Block a user