Files
leleka/desktop-core/src/lib.rs
T
Pavlo Ratushnyi 7bfd821019 STRA-338 size-fn2: desktop-core production functions within the limits (hardware::inventory, node respond, node_connection::session, node_proxy::respond, planner::plan, Pool::new, ToolResponse::complete/preflight; desktop-core fn>30 20 -> 0, cx>10 -> 0, wide 13 -> 0); validate() of the Responses request split into one check per field
Each helper does one action and is named verb+object (sample_host, add_nvidia_accelerators, check_pool_bounds, index_groups,
subscribe, publish_ready, follow_updates, respond_request, refusal_status, read_headers, relay_body, build_response,
publish_text, publish_call, terminal_status, total_tokens, call_size ...). New modules: node/respond.rs, runtime_tool_response/preflight.rs.
Behaviour unchanged (same error texts and order). The remote probe script wraps its nvidia-smi line with a shell line
continuation (same command).
2026-11-06 21:11:51 +01:00

29 lines
907 B
Rust

//! Portable desktop contracts. Inventory is not an inference capability claim.
pub mod gateway;
pub mod hardware;
pub mod managed_worker;
pub mod node;
pub mod node_connection;
pub mod node_proxy;
pub mod planner;
pub mod pool;
pub mod remote;
pub mod runtime_client;
pub mod runtime_gateway;
pub mod runtime_rpc;
mod runtime_sampling;
pub mod runtime_tool_response;
pub mod runtime_tools;
// The verified pure Rust template, tool catalog and tool-call parser come from the leaf crate shared with the gateway
// (no control-plane crate or C bridge link, and no second compile of the same files). Native text and experimental
// daemon tools use Effort::None.
use leleka_gateway_text::prompt as runtime_prompt;
use leleka_gateway_text::response_tools as runtime_tool_catalog;
use leleka_gateway_text::tool_output as runtime_tool_parser;
mod operation_journal;
pub mod ssh_tunnel;
pub mod remote_install;