kitchen_tools/lib.rs
1//! Tools and plugins for the neuro-kitchen apps: separate programs an app or the orchestrator runs,
2//! never links, over JSON lines on stdin and stdout.
3//!
4//! - [`plugin`]: the plugin protocol (handshake, capabilities, progress), discovery, a client kept
5//! alive between requests, and the manager (install from a file or a verified download, update,
6//! remove, disk use). The manager's Settings page is kitchen-shell's.
7//! - [`tool`]: what a tool answers beside it: `describe` (its operations, their ports as the
8//! contract's type and format), `validate` and `run`; the tool's side ([`HeadlessTool`],
9//! [`serve_stdio`]) and the orchestrator's ([`ToolClient`]).
10//!
11//! kitchen-plugin and kitchen-tool until phase 2, step 3d.
12
13pub mod plugin;
14pub mod tool;
15
16pub use plugin::{
17 CoreRequest, Event, Installed, Manager, PROTOCOL, PluginInfo, PluginKind, PluginProcess, RuntimeStatus,
18};
19pub use tool::{
20 HeadlessTool, InputPort, OutputPort, ReviewFlag, RunInput, RunOutput, RunReport, RunRequest, TOOL_PROTOCOL,
21 ToolClient, ToolDescription, ToolRef, ToolRequest, Validation, check_inputs, plugin_info, serve_stdio,
22};