internal/

directory
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 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.
cline
Package cline implements the Cline adapter for agentsync.
Package cline implements the Cline adapter for agentsync.
codex
Package codex implements the Codex CLI adapter for agentsync.
Package codex implements the Codex CLI adapter for agentsync.
continuedev
Package continuedev implements the Continue adapter for agentsync.
Package continuedev implements the Continue adapter for agentsync.
cursor
Package cursor implements the Cursor adapter for agentsync.
Package cursor implements the Cursor adapter for agentsync.
gemini
Package gemini implements the Gemini CLI adapter for agentsync.
Package gemini implements the Gemini CLI adapter for agentsync.
generic
Package generic implements a data-driven "breadth-tier" adapter: one Go implementation that supports many agents from a table of Specs, rather than a hand-written package per agent.
Package generic implements a data-driven "breadth-tier" adapter: one Go implementation that supports many agents from a table of Specs, rather than a hand-written package per agent.
noop
Package noop provides a do-nothing Adapter used as a registry/test placeholder: it Renders no FileOps, Ingests an empty canonical, and its Apply is a true no-op (it never writes, even when handed FileOps).
Package noop provides a do-nothing Adapter used as a registry/test placeholder: it Renders no FileOps, Ingests an empty canonical, and its Apply is a true no-op (it never writes, even when handed FileOps).
opencode
Package opencode implements the OpenCode adapter for agentsync.
Package opencode implements the OpenCode adapter for agentsync.
roo
Package roo implements the Roo Code adapter for agentsync.
Package roo implements the Roo Code adapter for agentsync.
windsurf
Package windsurf implements the Windsurf (Cascade) adapter for agentsync.
Package windsurf implements the Windsurf (Cascade) 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 git is agentsync's local-only destination-versioning helper.
Package git is agentsync's local-only destination-versioning helper.
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 release holds guard tests that keep the release configuration (.goreleaser.yaml) honest — asserting the config still backs the reproducibility claims its comments make, so a future edit that strips the backing without also correcting the prose fails CI.
Package release holds guard tests that keep the release configuration (.goreleaser.yaml) honest — asserting the config still backs the reproducibility claims its comments make, so a future edit that strips the backing without also correcting the prose fails CI.
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 own bookkeeping under ~/.agentsync/.state/: the last-applied hashes and marketplace/plugin pinning in targets.json, and the per-machine run record in last-run.json (see lastrun.go).
Package state persists agentsync's own bookkeeping under ~/.agentsync/.state/: the last-applied hashes and marketplace/plugin pinning in targets.json, and the per-machine run record in last-run.json (see lastrun.go).
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).
Package untrusted carries strings that originate from OUTSIDE agentsync's trust boundary — fetched marketplace/plugin metadata (ids, versions, marketplace names) and native-config-derived plugin names — and that must be sanitized before they reach a terminal.
Package untrusted carries strings that originate from OUTSIDE agentsync's trust boundary — fetched marketplace/plugin metadata (ids, versions, marketplace names) and native-config-derived plugin names — and that must be sanitized before they reach a terminal.

Jump to

Keyboard shortcuts

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