ti-code-sessions
v0.1.14
Published
Append-only session persistence for ti
Readme
ti-code-sessions
Append-only session persistence for ti-code.
The package provides the file-backed storage and SessionManager layer used by
the CLI to create, append, resume, and list conversations.
Session logs remain canonical append-only JSONL files. Compaction/handoff state
is persisted as a derived <sessionId>.handoff.json file beside the log through
the existing SessionStorage and SessionManager services. Supervised child-run
evidence is persisted separately as append-only <sessionId>.subagents.jsonl
through those same services, without changing the canonical conversation log.
Deleting a session removes both derived files when present.
Exports
ti-code-sessions- main package surface.ti-code-sessions/session- session manager service.ti-code-sessions/session-storage- storage boundary and file-backed layer.ti-code-sessions/types- session metadata and query types.
Runtime
The public npm package targets Node.js 20 or newer. Runtime-specific portable bundles are produced by the CLI release workflow rather than this package.
