Skip to main content

Module surface

Module surface 

Source
Expand description

The operation set, read from the encoded Cap’n Proto constant that capnp compile writes from schema/vissue.capnp. The command line, the control socket and the MCP tool list are each checked against it. The generated file is committed; regenerating it is a maintainer step.

Structs§

Field
One field of one verb, named per surface.
Operation
One verb, named on each surface that carries it.
SchemaRow
One operation as the schema text states it.

Functions§

cli_verbs
Every subcommand the schema knows, including the local-only ones.
global_flags
Flags clap puts on every subcommand, which a per-verb row does not repeat.
mutating_cli_verbs
Every mutating verb’s subcommand.
mutating_mcp_tools
Every mutating verb’s MCP tool, skipping the ones deliberately absent.
mutating_socket_methods
Every mutating verb’s socket method, skipping any the schema leaves empty.
operations
The operation set as the schema states it.
parse_schema_text
The schema as its text states it, one SchemaRow per operation, for comparison with the encoded constant. A small reader for one list of flat records, not a Cap’n Proto parser.
socket_methods
Verbs the schema records as reaching the socket, mutating or not.