Expand description
Internal library for the shipped vent binary.
The crate exposes only the small facade the binary needs. Configuration DTOs, sink mechanics, provider rendering, and MCP router details stay private so the implementation can evolve without treating those internals as a stable library API.
Structs§
- Channel
Info - MCP response types and the privacy-preserving project label helper. One configured vent channel exposed to MCP clients.
- List
Channels Output - MCP response types and the privacy-preserving project label helper.
Channel catalog returned by the
list_channelsMCP tool. - Loaded
Config - Configuration load errors and the validated runtime policy derived from TOML. Validated configuration loaded from disk with its resolved file path.
- Runtime
Config - Configuration load errors and the validated runtime policy derived from TOML. Normalized runtime policy derived from validated TOML configuration.
- Vent
McpServer - MCP tool router that exposes channel listing and vent submission. MCP server that exposes channel metadata and vent submission tools.
- Vent
Output - MCP response types and the privacy-preserving project label helper. MCP acknowledgement for an accepted or rejected vent request.
- Vent
Request - Shared vent submission service used by the MCP server and CLI. Trimmed vent message and optional channel override for delivery.
- Vent
Service - Shared vent submission service used by the MCP server and CLI. Validates vent input and dispatches one event through configured channel sinks.
Enums§
- Config
Error - Configuration load errors and the validated runtime policy derived from TOML. Errors while resolving, reading, parsing, or bootstrapping configuration files.
Functions§
- project_
name_ from_ current_ dir - MCP response types and the privacy-preserving project label helper. Returns a privacy-preserving project label based on the current directory.