mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-28 11:08:54 +00:00
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
10 lines
378 B
Text
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)
|