Skip to content

feat(sync): add --client option to filter sync by client#32

Merged
christso merged 6 commits intomainfrom
feat/sync-client-filter
Jan 30, 2026
Merged

feat(sync): add --client option to filter sync by client#32
christso merged 6 commits intomainfrom
feat/sync-client-filter

Conversation

@christso
Copy link
Copy Markdown
Contributor

@christso christso commented Jan 30, 2026

Summary

  • Adds -c, --client <client> option to allagents workspace sync to sync only a specific client (e.g., --client opencode) instead of all configured clients
  • Validates the requested client exists in workspace.yaml config, returning a helpful error if not
  • Preserves sync state and files for non-targeted clients during partial sync (merges state instead of overwriting)

Test Plan

  • Unit test: sync only opencode when both claude and opencode configured
  • Unit test: error when requesting client not in config
  • Unit test: full sync then partial sync preserves non-targeted client files and state
  • All 236 tests pass, lint clean
  • CLI --help shows new --client option

Closes #31

christso and others added 5 commits January 30, 2026 01:46
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When syncing a subset of clients via --client flag, preserve the sync
state and files for non-targeted clients instead of purging them.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Jan 30, 2026

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6793be3
Status: ✅  Deploy successful!
Preview URL: https://bf749a1b.allagents.pages.dev
Branch Preview URL: https://feat-sync-client-filter.allagents.pages.dev

View logs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@christso christso merged commit 219b191 into main Jan 30, 2026
1 check passed
@christso christso deleted the feat/sync-client-filter branch January 30, 2026 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: override with specific client

1 participant