opencode-synced 0.3.0 → 0.4.1

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.
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Enable secrets sync (private repo required)
3
+ ---
4
+
5
+ Use the opencode_sync tool with command "enable-secrets".
6
+ If the user supplies extra secret paths, pass them via extraSecretPaths.
@@ -0,0 +1,11 @@
1
+ ---
2
+ description: Initialize opencode-synced configuration
3
+ ---
4
+
5
+ Use the opencode_sync tool with command "init".
6
+ The repo will be created automatically if it doesn't exist (private by default).
7
+ Default repo name is "my-opencode-config" with owner auto-detected from GitHub CLI.
8
+ If the user wants a custom repo name, pass name="custom-name".
9
+ If the user wants an org-owned repo, pass owner="org-name".
10
+ If the user wants a public repo, pass private=false.
11
+ Include includeSecrets if the user explicitly opts in.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Link this computer to an existing sync repo
3
+ ---
4
+
5
+ Use the opencode_sync tool with command "link".
6
+ This command is for linking a second (or additional) computer to an existing sync repo that was created on another machine.
7
+
8
+ IMPORTANT: This will OVERWRITE the local OpenCode configuration with the contents from the synced repo. The only thing preserved is the local overrides file (opencode-synced.overrides.jsonc).
9
+
10
+ If the user provides a repo name argument, pass it as name="repo-name".
11
+ If no repo name is provided, the tool will automatically search for common sync repo names.
12
+
13
+ After linking:
14
+ - Remind the user to restart OpenCode to apply the synced config
15
+ - If they want to enable secrets sync, they should run /sync-enable-secrets
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Pull and apply synced OpenCode config
3
+ ---
4
+
5
+ Use the opencode_sync tool with command "pull".
6
+ If updates are applied, remind the user to restart OpenCode.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: Push local OpenCode config to the sync repo
3
+ ---
4
+
5
+ Use the opencode_sync tool with command "push".
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: Resolve uncommitted changes in sync repo
3
+ ---
4
+
5
+ Use the opencode_sync tool with command "resolve" to automatically resolve uncommitted changes in the local sync repository using AI.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: Show opencode-synced status
3
+ ---
4
+
5
+ Use the opencode_sync tool with command "status" and report the results.
@@ -0,0 +1,2 @@
1
+ import type { Plugin } from '@opencode-ai/plugin';
2
+ export declare const OpencodeConfigSync: Plugin;