Feedback on Windows & suggestion to highlight global installation (-g)
Hi @prevalentWare / maintainers,
First of all, thank you for developing this plugin!
I recently tested @prevalentware/opencode-goal-plugin (v0.1.60) on Windows with OpenCode stable (v1.18.35). The recent atomic write improvements (isUnsupportedSyncDirError and retry logic) and single-file state handling work great on Windows.
One detail we noticed that might help other users:
When running opencode plugin @prevalentware/opencode-goal-plugin without the -g flag inside an existing workspace or project, OpenCode creates a local .opencode/ folder containing node_modules, which can cause conflicts with project files, git tracking, or nested session initializations.
Using the global flag:
opencode plugin -g @prevalentware/opencode-goal-plugin
registers it cleanly in ~/.config/opencode/opencode.jsonc and tui.json, making /goal available across all sessions and projects without cluttering workspaces with local .opencode folders.
It might be worth emphasizing or recommending the -g flag as the preferred install method in the README for users who want goal mode globally without local workspace side-effects.
Thanks again for the great work!