Expand description
khive-request — transport-agnostic DSL parser for verb-dispatch requests.
Structs§
- Parsed
Op - A single parsed operation: tool name plus named argument bag.
- Parsed
Request - Result of parsing a
requestinput: a list of ops and their execution mode.
Enums§
- ArgValue
- An argument value in a
ParsedOp: concrete JSON, a$prevpath ref, or a nested container. - DslError
- Parser error — surfaced as
invalid_paramsat the MCP boundary. - Execution
Mode - Execution mode:
Single(one op),Parallel([...]), orChain(op | op).
Constants§
- MAX_OPS
- Hard cap on operations per request.
- RESERVED_
ENVELOPE_ ARGS - Names reserved at the request-envelope level; rejected if they appear inside verb args.
Functions§
- parse_
request - Parse a request input string into a single op or a batch.
- write_
keys_ for_ op_ pub - Extract substrate-prefixed write-conflict keys from one op for parallel-batch preflight.