mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-27 07:38:51 +00:00
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
24 lines
958 B
TOML
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
|