[package]
edition = "2021"
rust-version = "1.78"
name = "unified-agent-api-opencode"
version = "0.3.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async wrapper around the OpenCode CLI for canonical run --format json flows"
homepage = "https://github.com/atomize-hq/unified-agent-api"
documentation = "https://docs.rs/unified-agent-api-opencode"
readme = "README.md"
keywords = [
"opencode",
"cli",
"wrapper",
"agent",
]
categories = [
"api-bindings",
"command-line-interface",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/atomize-hq/unified-agent-api"
[lib]
name = "opencode"
path = "src/lib.rs"
[[bin]]
name = "fake_opencode_run_json"
path = "src/bin/fake_opencode_run_json.rs"
[[test]]
name = "run_json_contract"
path = "tests/run_json_contract.rs"
[[test]]
name = "run_json_lines"
path = "tests/run_json_lines.rs"
[[test]]
name = "run_json_streaming"
path = "tests/run_json_streaming.rs"
[[test]]
name = "run_json_timeout_reaps_child"
path = "tests/run_json_timeout_reaps_child.rs"
[[test]]
name = "support_paths"
path = "tests/support_paths.rs"
[dependencies.futures-core]
version = "0.3"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.38"
features = [
"process",
"io-util",
"io-std",
"macros",
"rt",
"rt-multi-thread",
"time",
"sync",
"fs",
"process",
"io-util",
"io-std",
"macros",
"rt",
"rt-multi-thread",
"time",
"sync",
"fs",
]
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.tempfile]
version = "3.12"