internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2026 License: MIT

Directories

Path Synopsis
Package adapter declares the interface every per-agent adapter implements.
Package adapter declares the interface every per-agent adapter implements.
adaptertest
Package adaptertest holds test helpers shared by the adapter packages.
Package adaptertest holds test helpers shared by the adapter packages.
claude
Package claude implements the Claude Code adapter for agentsync.
Package claude implements the Claude Code adapter for agentsync.
codex
Package codex implements the Codex CLI adapter for agentsync.
Package codex implements the Codex CLI adapter for agentsync.
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.
opencode
Package opencode implements the OpenCode adapter for agentsync.
Package opencode implements the OpenCode adapter for agentsync.
Package capture owns the single dest->source write-back path.
Package capture owns the single dest->source write-back path.
Package cli wires cobra subcommands.
Package cli wires cobra subcommands.
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.
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.
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.
Package log centralizes slog setup.
Package log centralizes slog setup.
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.
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.
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.
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.
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.
Package source loads and represents the canonical agentsync repo layout (~/.agentsync/).
Package source loads and represents the canonical agentsync repo layout (~/.agentsync/).
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.
Package testenv contains helpers used by tests to assert hermeticity preconditions.
Package testenv contains helpers used by tests to assert hermeticity preconditions.
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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL