opencode-synced 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -247,6 +247,25 @@ bun -e '
247
247
  - `bun run test`
248
248
  - `bun run lint`
249
249
 
250
+ ### Local testing (production-like)
251
+
252
+ To test the same artifact that would be published, install from a packed tarball
253
+ into OpenCode's cache:
254
+
255
+ ```bash
256
+ mise run local-pack-test
257
+ ```
258
+
259
+ Then set `~/.config/opencode/opencode.json` to use:
260
+
261
+ ```jsonc
262
+ {
263
+ "plugin": ["opencode-synced"]
264
+ }
265
+ ```
266
+
267
+ Restart OpenCode to pick up the cached install.
268
+
250
269
 
251
270
  ## Prefer a CLI version?
252
271
 
package/dist/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
1
  import type { Plugin } from '@opencode-ai/plugin';
2
2
  export declare const OpencodeConfigSync: Plugin;
3
+ export declare const OpencodeSynced: Plugin;
4
+ export default OpencodeConfigSync;