Documentation
¶
Overview ¶
Command agent-sync syncs Claude Code state across a person's devices and shares living per-project notes between teammates, driven entirely by Claude Code's own lifecycle hooks. See README.md for details.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
cli
Package cli defines agent-sync's command-line interface.
|
Package cli defines agent-sync's command-line interface. |
|
config
Package config reads and writes agent-sync's on-disk configuration: the personal-sync config under the user's XDG config dir, and the per-project team-notes config stored inside a project's .claude directory.
|
Package config reads and writes agent-sync's on-disk configuration: the personal-sync config under the user's XDG config dir, and the per-project team-notes config stored inside a project's .claude directory. |
|
exclude
Package exclude is the single source of truth for what agent-sync keeps out of the personal-sync repo.
|
Package exclude is the single source of truth for what agent-sync keeps out of the personal-sync repo. |
|
git
Package git is a thin wrapper around the system `git` binary.
|
Package git is a thin wrapper around the system `git` binary. |
|
hooks
Package hooks manages Claude Code's settings.json hook wiring and the stdin/stdout contract of the hook commands agent-sync installs.
|
Package hooks manages Claude Code's settings.json hook wiring and the stdin/stdout contract of the hook commands agent-sync installs. |
|
lock
Package lock serializes agent-sync's git operations across concurrently ending sessions, so two SessionEnd hooks firing at once cannot corrupt the same repo.
|
Package lock serializes agent-sync's git operations across concurrently ending sessions, so two SessionEnd hooks firing at once cannot corrupt the same repo. |
|
paths
Package paths centralizes every filesystem location agent-sync touches: Claude Code's config/projects dirs, agent-sync's own XDG dirs, the canonical binary path used for stable hook wiring, and the Claude Code project-path encoding (plus the reliable way to recover the original path).
|
Package paths centralizes every filesystem location agent-sync touches: Claude Code's config/projects dirs, agent-sync's own XDG dirs, the canonical binary path used for stable hook wiring, and the Claude Code project-path encoding (plus the reliable way to recover the original path). |
|
sync
Package sync implements agent-sync's two engines: personal device sync of ~/.claude, and team-notes sharing of per-project Auto Memory.
|
Package sync implements agent-sync's two engines: personal device sync of ~/.claude, and team-notes sharing of per-project Auto Memory. |
|
wizard
Package wizard provides small interactive prompts for agent-sync's setup commands, so users can run `init` / `team init` without memorizing argument order.
|
Package wizard provides small interactive prompts for agent-sync's setup commands, so users can run `init` / `team init` without memorizing argument order. |
Click to show internal directories.
Click to hide internal directories.