Skip to content

feat: add default ~/.agents sync with configurable toggles#57

Merged
iHildy merged 2 commits intoian/sync-opencode-skillsfrom
ian/sync-agents-dir-default-toggle
Apr 13, 2026
Merged

feat: add default ~/.agents sync with configurable toggles#57
iHildy merged 2 commits intoian/sync-opencode-skillsfrom
ian/sync-agents-dir-default-toggle

Conversation

@iHildy
Copy link
Copy Markdown
Owner

@iHildy iHildy commented Apr 13, 2026

Summary

  • add ~/.agents as a default synced directory
  • add opt-out config flags for default directories: includeSkills and includeAgentsDir
  • filter ~/.agents and ~/.config/opencode/skills from extraConfigPaths to avoid duplicate sync sources
  • wire flags through init/tool schema, status output, docs, and tests

Testing

  • bun run check
  • bun run test

Stacked on #56

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces two new configuration options, includeSkills and includeAgentsDir, to the sync service. These options allow users to explicitly include or exclude the ~/.config/opencode/skills and ~/.agents directories from the synchronization process. The changes include updates to the configuration schema, normalization logic, sync plan generation, documentation, and tests. I have no feedback to provide.

@iHildy iHildy merged commit 7492151 into ian/sync-opencode-skills Apr 13, 2026
3 checks passed
iHildy added a commit that referenced this pull request Apr 13, 2026
* feat: sync skills directory by default

* feat: add default ~/.agents sync with configurable toggles (#57)

* feat: sync ~/.agents by default with opt-out flags

* refactor: rename includeSkills to includeOpencodeSkills

* fix: dedupe extra config paths against default sync items
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.

1 participant