Expand description
khive-request — transport-agnostic DSL parser for verb-dispatch requests.
Re-exports§
pub use atomic::check_atomic_admissible;pub use atomic::AtomicRejection;
Modules§
- atomic
- Pure ADR-099 atomic-admissibility preflight over parsed operations.
Structs§
- Parsed
Op - One parsed tool name and its deterministically ordered named arguments.
- Parsed
Request - Parsed operations in input order plus their execution mode.
Enums§
- ArgValue
- A concrete JSON argument or chain-time
$prevexpression. - DslError
- Request syntax or preflight error surfaced as MCP
invalid_params. - Execution
Mode - Execution mode:
Single(one op),Parallel([...]), orChain(op | op).
Constants§
- MAX_OPS
- Maximum operations in a batch or chain.
- MAX_
OPS_ INPUT_ LEN - Maximum raw
opsbyte length, checked before parsing. - NESTING_
DEPTH_ LIMIT - Maximum array/object nesting in function and JSON forms.
- RESERVED_
ENVELOPE_ ARGS - Names reserved at the request-envelope level; rejected if they appear inside verb args.
Functions§
- parse_
request - Parses function-call, batch, chain, or JSON request syntax.
- value_
nesting_ within_ limit - Returns whether every array/object in
valueis at mostmax_depthdeep. - write_
keys_ for_ op_ pub - Extracts statically knowable, substrate-prefixed write-conflict keys for
op.