Skip to content

v0.42.0-alpha

Choose a tag to compare

@calionauta calionauta released this 17 Jun 11:15

πŸ› Fixes

backup command crash after push removal

The _internal_backup_flow function had stale @main.command() and @click.option(...) decorators left over from the push β†’ backup refactor. Calling agent-sync backup kicked Click into command-invocation mode, passing dry_run as a positional kwarg to Context.__init__() β†’ TypeError: unexpected keyword argument 'dry_run'. Removed the orphan decorators β€” the function is internal-only, called directly from backup.

agentmemory-snapshots/state.json never committed (nested .git/ gitlink)

agentmemory stores its snapshot data in agentmemory-snapshots/ which contains an internal .git/ for its own versioning. The .git/ directory was copied to the private repo staging area before the EXCLUDE_PATTERNS fix in v0.41.0-alpha, causing git to treat agentmemory-snapshots/ as a gitlink/submodule. state.json existed on disk but was never tracked. Cleaned the stale .git/ from the staging copy and removed the gitlink from the index. Source agentmemory-snapshots/.git/ untouched.

πŸ’„ UX

Backup path visibility

agent-sync backup now shows each sync path pattern with resolved source directory and file count, including βœ“/βœ— status and user-configured exclude patterns.

πŸ§ͺ Tests

  • 559/559 passing (unchanged)