History
History records everything you type at the prompt. That covers the task that starts a flow, and the words you put into one already running. Both are things you wrote, so you reach for history when you want to write either again.
Try it
Press ↑ at an empty prompt. The last thing you typed appears. Press ↑ again to walk further back, or ↓ to come forward.
Walking it
Press ↑ and ↓ to walk the history. They act only off the first and last line, so a prompt of several lines still moves with the same keys. Over an open offers list, the keys move within the list instead.
What is walked
The history holds what you typed in this directory.
If you have not typed anything here yet, it holds everything you have ever typed anywhere. A fresh project still has something to walk back through.
The interface settles which of the two applies when it starts. The history cannot change under you mid-session. Type one line in a new project, restart, and from then on it is that project's own.
Commands go down too. /flow rlar is a line you typed, and one you may want back. Only a line identical to the one before it is left out. Holding a key down does not fill the walk with one thing.
Where it lives
~/.humanize/history.jsonlThe file holds one line per thing typed, with where it was typed. It is $HUMANIZE_HOME/history.jsonl where that variable is set. Deleting the file loses the history and nothing else.
It is a record of what you typed. Nothing an agent said is in it. Nothing a flow sent on its own is in it either.
What it is not
- Not a session log. For what actually happened,
/exportwrites the transcript andhmz trace collectwrites the whole run. - Not shared with the flow. A flow gets the task it was started with. It cannot read the history.
- Not on the command line.
hmz exectakes its task as an argument. Your shell's own history has it.
See also
- Completion
- What a project remembers, the other thing kept between sessions
- CLI › Files