Documentation
¶
Overview ¶
Package session reads and moves Claude Code session transcripts, which live at <CLAUDE_CONFIG_DIR>/projects/<cwd-dir>/<sessionId>.jsonl. It lets aiacc hand a session off from one account to another: copy the transcript into the target account's projects, preserving its project directory, so `claude --resume` can pick it up there. It never touches credentials — only the transcript file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
type Info struct {
ID string // the session id (also the filename stem)
Path string // absolute path to the .jsonl
ProjectDir string // the projects/<name> directory it lives in
Modified time.Time // file mtime — the "most recent" ordering key
}
Info identifies one session transcript.
Click to show internal directories.
Click to hide internal directories.