Documentation
¶
Overview ¶
Package agent names the coding agents whose local sessions cct can transfer.
cct started as a Codex-only tool and is being extended to Claude Code. The two agents store sessions very differently (Codex: ~/.codex/sessions/YYYY/MM/DD/ rollout-*.jsonl; Claude Code: ~/.claude/projects/<encoded-cwd>/<uuid>.jsonl), but the portable export -> move -> import model, the bundle/manifest/checksum machinery, and the safety guarantees are identical. This package provides the small shared vocabulary (which agent a bundle or command targets) that lets the reusable core stay agent-agnostic while the per-agent specifics live in the codexhome/sessions and claudehome/claudesessions packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind string
Kind identifies a coding agent.
func Normalize ¶
Normalize returns the Kind a manifest or option should be treated as. An empty value means a legacy (pre-multi-agent) bundle, which is always Codex.
func Parse ¶
Parse converts a user-supplied tool name into a Kind. It is tolerant of case and a couple of common aliases.