Skip to content

Fix OpenCode plugin template to keep subprocess output out of the TUI#59

Open
elprans wants to merge 1 commit into
1st1:mainfrom
elprans:elprans/fix-opencode-tui-clobbering
Open

Fix OpenCode plugin template to keep subprocess output out of the TUI#59
elprans wants to merge 1 commit into
1st1:mainfrom
elprans:elprans/fix-opencode-tui-clobbering

Conversation

@elprans

@elprans elprans commented Apr 17, 2026

Copy link
Copy Markdown

No description provided.

@vercel

vercel Bot commented Apr 17, 2026

Copy link
Copy Markdown

@elprans is attempting to deploy a commit to the Yury Selivanov's projects Team on Vercel.

A member of the Team first needs to authorize it.

@lars20070

Copy link
Copy Markdown
Contributor

Thanks for testing with OpenCode and the fixes. Replacing execSync by spawnSync is a great improvement.

@lars20070

Copy link
Copy Markdown
Contributor

JSON.stringify() is prone to injections. Maybe remove quote() altogether and expand the command() interface. Safer and simpler.

Suggested changes: opencode-plugin.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants