OpenCode Graphify plugin uses &&, which fails in Windows PowerShell 5.1
The OpenCode Graphify plugin prepends its reminder message to the first terminal command using &&.
Example generated command:
echo "[graphify] knowledge graph at graphify-out/..." && git branch --show-current
This fails when OpenCode is using Windows PowerShell 5.1 because && is not supported as a statement separator.
Error The token '&&' is not a valid statement separator in this version. CategoryInfo: ParserError FullyQualifiedErrorId: InvalidEndOfLine Steps to reproduce Use Graphify with OpenCode on Windows. Run OpenCode with Windows PowerShell 5.1 as the terminal shell. Execute the first terminal command after opening the project. The Graphify plugin prepends the reminder using &&, causing the command to fail.
The relevant generated plugin code is similar to:
output.args.command = 'echo "[graphify] ... " && ' + output.args.command; Expected behavior
The reminder should be prepended using syntax that works in PowerShell and POSIX-compatible shells.
For example:
output.args.command = 'echo "[graphify] ... "; ' + output.args.command;
Using ; works in Windows PowerShell 5.1 as well as Bash and similar shells.
Environment OS: Windows Shell: Windows PowerShell 5.1 Integration: Graphify OpenCode plugin Plugin path: .opencode/plugins/graphify.js
Fixed in 54825b6 (on v8, ships in 0.9.7). Thanks for the clear repro and the fix — used ; exactly as you suggested.
Both the OpenCode plugin and the Kilo plugin (same pattern) now prepend the reminder with ; instead of &&, which is valid in Windows PowerShell 5.1 as well as Bash/POSIX. Added a regression test asserting the separator.