Bug: kugetsu uses --workdir but opencode expects --dir #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
kugetsu uses --workdir flag for opencode, but opencode CLI expects --dir.
Root Cause
In cmd_start() and cmd_continue(), kugetsu passes --workdir to opencode run. But opencode only accepts --dir.
Evidence
opencode run test --workdir /path FAILS
opencode run test --dir /path WORKS
Fix
Replace all --workdir with --dir in skills/kugetsu/scripts/kugetsu.