Description
I got this error while running opencode.
Now let me find the exact --grep occurrences in the plan file to fix them:
✱ Grep "--grep" in .sisyphus/plans/connector-manifest.md
Error: Command failed: grep -r -n --grep /path/to/project/plans/connector-manifest.md
grep: unrecognized option `--grep'
usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
In addition, I've seen many instances of failed Grep tool caused by mismatched parenthesies across many sessions.
OpenCode version
1.2.27
Operating System
macOS 26
Terminal
Ghostty