Fix stale plugin disable handling and BSD grep regex fallback #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
This PR includes two reliability fixes for
cursor-acpon OpenCode:opencode.jsonbefore initializingcursor-acpis removed from thepluginarray, plugin init is skipped (no-op)OPENCODE_CONFIGXDG_CONFIG_HOME~/.config/opencode/opencode.jsongreptool now retries with-Ewhen default regex mode returns syntax errors (code=2)invalid repetition countbraces not balancedUnmatched {code=1=>No matches found)Why
cursor-acpfrom the config plugin array could still get plugin/runtime errors if the plugin symlink remained present.Tool hook execution failedwarnings.Validation
bun run buildbun run test:ci:unitbun run test:ci:integrationAll pass on the fork’s
main.Files
src/plugin-entry.tssrc/plugin-toggle.tssrc/tools/defaults.tstests/unit/plugin-toggle.test.tstests/tools/defaults.test.tstests/competitive/edge.test.tstests/integration/comprehensive.test.ts