Commit b5c7090
feat: add support for syncing skills directory
Add `includeSkills` option to sync configuration, which defaults to true.
This allows the `~/.config/opencode/skills/` directory to be synced
alongside other configuration files and directories.
Updated:
- `src/sync/config.ts`: Added `includeSkills` to interfaces and normalization logic.
- `src/sync/paths.ts`: Added `skills` directory to sync plan items.
- `src/index.ts`: Exposed `includeSkills` in `opencode_sync` tool arguments.
- `src/sync/service.ts`: Handled `includeSkills` in init and status commands.
- `README.md`: Documented the new option and synced path.
- `src/sync/config.test.ts` & `src/sync/paths.test.ts`: Added tests for the new feature.
Co-authored-by: iHildy <25069719+iHildy@users.noreply.github.com>1 parent 4564ae2 commit b5c7090
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 155 | + | |
159 | 156 | | |
160 | 157 | | |
161 | 158 | | |
| |||
0 commit comments