Skip to main content

Module import

Module import 

Source
Expand description

Import native harness sessions into Hel’s durable archive format.

Structs§

ClaudeImportRequest
ClaudeTranscript
CodexImportRequest
GrokImportRequest
ImportControl
ImportSafetyIssues
ImportedClaudeSession
KimiImportRequest
LocatedClaudeSession
LocatedCodexSession
LocatedKimiSession
LocatedNativeSession
One native session located on disk, normalized across harnesses: the id session/load takes and the file or directory its transcript is read from.
NativeImportRequest
NativeSessionListing
One native session as a picker lists it, normalized across harnesses.
SessionEditTargets
SessionScanProgress

Enums§

BundleResolution
ClaudeSessionSelection
CodexHistoryMode
ImportArchiveProgress

Constants§

CODEX_LEGACY_IMPORT_ISSUE

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/repository shorthand 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 state only 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_*_session wrappers 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. Latest compares 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/load takes.
locate_kimi_session
Locate a Kimi session directory. Its on-disk session_<uuid> name is the native identifier required by Kimi ACP’s session/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_targets always 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.jsonl is the conversation of record: one JSON object per line, internally tagged by type.
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§

CodexSessionSelection
CodexTranscript
GrokSessionSelection
GrokTranscript
ImportedCodexSession
ImportedGrokSession
ImportedKimiSession
KimiSessionSelection
KimiTranscript
LocatedGrokSession
Grok Build keeps one directory per session, like Kimi Code.