-
Notifications
You must be signed in to change notification settings - Fork 2.3k
fix: support windows and linux from package.json run #3466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: opentui
Are you sure you want to change the base?
Conversation
|
I dunno why the script/format.ts is now failing.. seems to be confused about being on a branch. |
|
I just merged opentui branch into this to avoid confusion |
|
Hold on before approving/merging. It starts the TUI fine, but I think it isn't passing any args, so only the help shows no matter what args are passed. |
|
updated with a change to opencode.cmd. args were not be parsed correctly in there. Now it runs the TUI if no args and then runs the other args properly if passed. |
…fix-hardcoded-run
|
anything else you need me to do/verify or are you waiting on other reviews? |
Running bun x opencode@opentui was giving error: interpreter executable "/bin/sh" not found in %PATH% when running bun x opencode-ai@opentui
The package.json bin was hardcoded to the linux ./bin/opencode
This puts a shim in place to figure out whether to execute ./bin/opencode or ./bin/opencode.cmd