Expand description
Embedded reference resources shared by the CLI and the MCP server.
Resources are exposed via two surfaces that must stay in lock step:
- CLI:
omni-dev resources show <id>/omni-dev resources list - MCP:
omni-dev://<id>(e.g.omni-dev://specs/jfm)
Content is embedded into the binary at compile time so installed builds
(cargo install omni-dev) serve it without reading from disk.
Structs§
- Resource
- One entry in the embedded-resource registry.
Constants§
- REGISTRY
- The complete static registry. Kept lexicographically sorted by
idsolistoutput stays deterministic as entries are added. - SPEC_
JFM - JFM (JIRA-Flavoured Markdown) specification, embedded from
docs/specs/jfm.md.
Functions§
- get
- Returns the resource with the given canonical id, or
None. - ids
- All ids in registry order. Used for
listoutput and error messages. - known_
ids_ csv - Comma-separated list of known ids, for error messages.