opencode/packages/cli-rs/parity/plugins/other/init.luau
Simon Klee 6b1df0cceb
feat(cli-rs): add the native CLI and TUI (#63477)
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
2026-11-22 00:07:01 +01:00

10 lines
378 B
Text

--!strict
-- The distractor of the views machine (parity/machines/plugins.json), opencode-native side: `tui.tsx` in Luau, whose
-- setup throws, with its own cause, under the option fail.
local plugin = require("@opencode/plugin")
return plugin.define(function(setup)
if setup.options and setup.options.fail then
error("other setup fails as it loads")
end
end)