opencode/packages/cli-rs/crates/plugin-abi/Cargo.toml
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

24 lines
958 B
TOML

[package]
name = "opencode-plugin-abi"
description = "The TUI plugin contract, its schema, and the Rust SDK the built-in plugins use."
version.workspace = true
edition.workspace = true
license.workspace = true
publish.workspace = true
[features]
# For the host only (provisional): the host constructs and matches the contract's types whole, so a type a later 2.x
# extends breaks the host's build until it handles the addition. It is not part of the SDK's compatibility promise: a
# crate that turns it on may break on any later 2.x. A plugin never turns it on; without it the types are
# `#[non_exhaustive]`, and what a later 2.x adds is no break of a plugin's source.
host = []
[lints]
workspace = true
# The built-ins depend on this crate, which stays free of the TUI and its native libraries.
[dependencies]
# The session, message and catalog values renders read.
opencode-api-types.workspace = true
serde.workspace = true
serde_json.workspace = true