Expand description
Import native harness sessions into Hel’s durable archive format.
Structs§
- Claude
Import Request - Claude
Transcript - Codex
Import Request - Grok
Import Request - Import
Control - Import
Safety Issues - Imported
Claude Session - Kimi
Import Request - Located
Claude Session - Located
Codex Session - Located
Kimi Session - Located
Native Session - One native session located on disk, normalized across harnesses: the id
session/loadtakes and the file or directory its transcript is read from. - Native
Import Request - Native
Session Listing - One native session as a picker lists it, normalized across harnesses.
- Session
Edit Targets - Session
Scan Progress
Enums§
Constants§
Functions§
- claude_
config_ home - Resolve the Claude configuration home without ever modifying it.
- codex_
config_ home - Resolve the Codex configuration home without ever modifying it.
- configured_
bundle_ for_ local - configured_
bundle_ for_ origin - Return the matching configured bundle for an origin. It accepts setup’s
owner/repositoryshorthand as well as normal GitHub remote URLs. - grok_
config_ home - Resolve the Grok Build configuration home without ever modifying it.
- harness_
config_ home - Resolve a harness’s configuration home without ever modifying it.
- import_
claude_ session - Build, verify, and install a local archive, then update the in-memory state.
The caller saves
stateonly after this returns successfully. - import_
claude_ session_ with_ control - import_
codex_ session - import_
codex_ session_ with_ control - import_
grok_ session - import_
grok_ session_ with_ control - import_
kimi_ session - import_
kimi_ session_ with_ control - import_
native_ session - import_
native_ session_ with_ control - Import one already-located, already-parsed native session, for any harness.
The per-harness
import_*_sessionwrappers are thin adapters over this. - import_
safety_ issues - kimi_
config_ home - Resolve the Kimi Code configuration home without ever modifying it.
- list_
claude_ sessions - List native Claude sessions newest first.
- list_
codex_ sessions - List native Codex sessions newest first.
- list_
grok_ sessions - List native Grok Build sessions newest first.
- list_
kimi_ sessions - List native Kimi sessions newest first.
- locate_
claude_ session - Locate one native Claude rollout.
Latestcompares modified time across every immediate project directory, exactly as Claude’s layout requires. - locate_
codex_ session - Locate a Codex rollout exposed by its native interactive resume picker.
- locate_
grok_ session - Locate a Grok Build session directory. Its name is the session UUID, which
is the native identifier
session/loadtakes. - locate_
kimi_ session - Locate a Kimi session directory. Its on-disk
session_<uuid>name is the native identifier required by Kimi ACP’ssession/load. - locate_
native_ session - Locate one native session for any harness.
- persist_
imported_ session_ locally - raw_
project_ import - A session that only wrote to its own repository can keep working in that
directory, so import it as a raw project session instead of a bundle
session.
session_edit_targetsalways records the cwd root, so a single durable root is that root. - read_
claude_ transcript - Read the native JSONL only far enough to recover a transcript suitable for Hel’s chat view. Full tool traffic and reasoning remain in the copied native rollout, not in this lossy projection.
- read_
codex_ transcript - Project a Codex rollout into the canonical transcript used by Hel chat.
- read_
grok_ transcript - Project a Grok Build session directory.
chat_history.jsonlis the conversation of record: one JSON object per line, internally tagged bytype. - read_
kimi_ transcript - Project a Kimi session directory. The main wire stream contains prompts and generated text; tool traffic and thought blocks stay only in native files.
- read_
native_ transcript - Project one native session into the canonical transcript, for any harness.
- resolve_
bundle - Reuse an exact configured bundle or synthesize one from all detected roots.
- scan_
claude_ sessions - Scan native Claude sessions newest first, reporting after every candidate file.
- scan_
codex_ sessions - Scan native Codex sessions newest first, reporting after every candidate file.
- scan_
grok_ sessions - Scan native Grok Build sessions newest first, reporting after every candidate directory.
- scan_
kimi_ sessions - Scan native Kimi sessions newest first, reporting after every candidate directory.
- scan_
native_ sessions - Scan a harness home newest first, reporting after every candidate.
- session_
edit_ targets
Type Aliases§
- Codex
Session Selection - Codex
Transcript - Grok
Session Selection - Grok
Transcript - Imported
Codex Session - Imported
Grok Session - Imported
Kimi Session - Kimi
Session Selection - Kimi
Transcript - Located
Grok Session - Grok Build keeps one directory per session, like Kimi Code.