You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Verification fails when using opencode.jsonc instead of opencode.json #1
When running opencode-sync verify, the tool fails to detect opencode.jsonc configuration files and instead prompts users to create opencode.json. The verification should check for both opencode.json and opencode.jsonc before reporting a missing config.
The rest of the tool works as intended—it's just the verify command that needs adjustment.
Current behavior
opencode-sync verify only looks for opencode.json
Even if opencode.jsonc exists in ~/.config/opencode/, the tool reports OpenCode Config: MISSING
Users are prompted to create opencode.json despite having a valid .jsonc file
Expected behavior
The verification should check for both opencode.json and opencode.jsonc
If either file exists, it should report OpenCode Config: OK
Users should not be prompted to create a config file if a valid config already exists in either format
Initial Issue resolved: as you mentioned in Discord.
However the verify is spitting out a false positive issue for me as I assume the codebase is checking for "opencode-sync-plugin".
for my plugins I add @latest at the end.
Output:
opencode-sync verify
OpenSync Setup Verification
Credentials: OK
Convex URL: https://reminiscent-gull-645.convex.cloud
API Key: osk_KEY
OpenCode Config: FOUND but plugin not registered
Config file: C:\Users\mynameistito\.config\opencode\opencode.jsonc
Add "plugin": ["opencode-sync-plugin"] to your config
Setup incomplete. Fix the issues above and run verify again.
Activity
mynameistito commentedon Jan 21, 2026
Initial Issue resolved: as you mentioned in Discord.
However the verify is spitting out a false positive issue for me as I assume the codebase is checking for
"opencode-sync-plugin".for my plugins I add
@latestat the end.Output:
Config:
Fix: allow the use of adding
@latestor version #'swaynesutton commentedon Oct 4, 2026
Confirmed the remaining JSONC/version-suffix bug. Tested fix is in #5. Keeping this open until the corrected package is published.