Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
agentsync
command
|
|
|
internal
|
|
|
adapter
Package adapter declares the interface every per-agent adapter implements.
|
Package adapter declares the interface every per-agent adapter implements. |
|
adapter/adaptertest
Package adaptertest holds test helpers shared by the adapter packages.
|
Package adaptertest holds test helpers shared by the adapter packages. |
|
adapter/claude
Package claude implements the Claude Code adapter for agentsync.
|
Package claude implements the Claude Code adapter for agentsync. |
|
adapter/codex
Package codex implements the Codex CLI adapter for agentsync.
|
Package codex implements the Codex CLI adapter for agentsync. |
|
adapter/noop
Package noop provides a NoopAdapter that always Detect()s true, Renders no FileOps, and Apply()s nothing.
|
Package noop provides a NoopAdapter that always Detect()s true, Renders no FileOps, and Apply()s nothing. |
|
adapter/opencode
Package opencode implements the OpenCode adapter for agentsync.
|
Package opencode implements the OpenCode adapter for agentsync. |
|
capture
Package capture owns the single dest->source write-back path.
|
Package capture owns the single dest->source write-back path. |
|
cli
Package cli wires cobra subcommands.
|
Package cli wires cobra subcommands. |
|
drift
Package drift classifies (source, applied, destination) hash triples per the 9-case table in the agentsync design spec.
|
Package drift classifies (source, applied, destination) hash triples per the 9-case table in the agentsync design spec. |
|
iox
Package iox provides atomic file IO and file-locking primitives used by agentsync's apply pipeline.
|
Package iox provides atomic file IO and file-locking primitives used by agentsync's apply pipeline. |
|
jsonkeys
Package jsonkeys implements per-key JSON pointer merge used by adapters that need to own a subset of keys inside a shared JSON (or JSONC) config file.
|
Package jsonkeys implements per-key JSON pointer merge used by adapters that need to own a subset of keys inside a shared JSON (or JSONC) config file. |
|
log
Package log centralizes slog setup.
|
Package log centralizes slog setup. |
|
marketplace
Package marketplace models the Claude marketplace.json + plugin.json schemas, the Fetcher interface for resolving plugin sources, and the projection layer that decomposes plugin manifests into canonical source model entries.
|
Package marketplace models the Claude marketplace.json + plugin.json schemas, the Fetcher interface for resolving plugin sources, and the projection layer that decomposes plugin manifests into canonical source model entries. |
|
paths
Package paths centralizes filesystem path resolution honoring AGENTSYNC_HOME and AGENTSYNC_TARGET_ROOT.
|
Package paths centralizes filesystem path resolution honoring AGENTSYNC_HOME and AGENTSYNC_TARGET_ROOT. |
|
project
Package project handles project-scope source trees: a <root>/.agentsync/ directory (same on-disk layout as the user-scope ~/.agentsync/), walk-up discovery from cwd, and overlay merge against the user-scope canonical model.
|
Package project handles project-scope source trees: a <root>/.agentsync/ directory (same on-disk layout as the user-scope ~/.agentsync/), walk-up discovery from cwd, and overlay merge against the user-scope canonical model. |
|
render
Package render orchestrates the apply pipeline: canonical model + adapter registry -> per-agent FileOps + Skips.
|
Package render orchestrates the apply pipeline: canonical model + adapter registry -> per-agent FileOps + Skips. |
|
secrets
Package secrets resolves ${secret:foo.bar} and ${env:FOO} references at apply-time.
|
Package secrets resolves ${secret:foo.bar} and ${env:FOO} references at apply-time. |
|
source
Package source loads and represents the canonical agentsync repo layout (~/.agentsync/).
|
Package source loads and represents the canonical agentsync repo layout (~/.agentsync/). |
|
state
Package state persists agentsync's last-applied hashes and marketplace/plugin pinning to ~/.agentsync/.state/targets.json.
|
Package state persists agentsync's last-applied hashes and marketplace/plugin pinning to ~/.agentsync/.state/targets.json. |
|
testenv
Package testenv contains helpers used by tests to assert hermeticity preconditions.
|
Package testenv contains helpers used by tests to assert hermeticity preconditions. |
|
ui
Package ui centralizes agentsync's terminal presentation: semantic color, a curated glyph vocabulary, and small layout primitives (sections, status lines, aligned labels).
|
Package ui centralizes agentsync's terminal presentation: semantic color, a curated glyph vocabulary, and small layout primitives (sections, status lines, aligned labels). |
|
test
|
|
|
bdd/support
Package support contains the BDD world / step definitions for agentsync.
|
Package support contains the BDD world / step definitions for agentsync. |
Click to show internal directories.
Click to hide internal directories.