Expand description
UNI-18: the Hermes write path, through Hermes’s own door.
Hermes 0.21.0 ships hermes sessions import --from {claude,codex} <file>:
a per-session import that reads a foreign transcript and writes it into
the Hermes session store with Hermes’s OWN writer — its schema, its
migrations, its WAL single-writer lock. supercode never opens a live
Hermes state.db for writing: it renders the session as a Codex rollout
(the format Hermes imports most faithfully) and hands the file to that
door. The new session is Hermes’s (a fresh Hermes id; origin_json
records the rollout path and the foreign id), and hermes --resume <id>
continues it.
Structs§
- Hermes
Imported - What the door wrote.
Functions§
- hermes_
home HERMES_HOME, else~/.hermes— the same resolution Hermes itself uses.- import_
into_ hermes - Write
sessioninto the Hermes store athome(default:hermes_home) throughhermes sessions import.