Files
tkmind_go/crates/goose-sdk/src/lib.rs
T

20 lines
723 B
Rust

//! Goose SDK.
//!
//! With default features this crate re-exports the shared SDK wire types from
//! `goose-sdk-types` so you can build an Agent Client Protocol (ACP) client
//! that talks to `goose acp` over stdio.
//!
//! With `--features uniffi` the crate additionally compiles as a
//! `cdylib`/`staticlib` and exposes an in-process API to Python and Kotlin via
//! [uniffi-rs](https://github.com/mozilla/uniffi-rs). The current uniffi surface
//! lets callers construct declarative providers from JSON and stream provider
//! completions.
pub use goose_sdk_types::{custom_notifications, custom_requests};
#[cfg(feature = "uniffi")]
uniffi::setup_scaffolding!("goose");
#[cfg(feature = "uniffi")]
pub mod bindings;