Skip to main content

agent_core/
lib.rs

1// Transport-independent action contracts and bounded JSON. New shared implementation;
2// no corresponding module exists in the frozen assembly reference.
3//
4//   json   strict bounded JSON: Value, parse, stringify, stringify_pretty
5//   jmap   typed mapping of records and string enums (Field, Json, record!, wire_enum!)
6#![no_std]
7#![forbid(unsafe_code)]
8
9extern crate alloc;
10
11pub mod action;
12pub mod jmap;
13pub mod json;
14pub mod rpc;
15pub mod schema;
16pub mod task;
17mod mcp;
18
19pub use action::{Access, ActionContext, ActionError, ActionResult, ActionSpec, BatchCall, BatchResult,
20    Dispatcher, ErrorCode, Host, Invocation, Page, Resource};
21pub use json::Value;
22pub use rpc::{Protocol, RpcSession};