Expand description
Pack trait — the declarative composition unit for khive.
A pack declares vocabulary (note kinds, entity kinds), verbs, and edge
endpoint rules. This is purely static metadata — no I/O, no async.
Runtime dispatch lives in khive-runtime (PackRuntime trait +
VerbRegistry).
This trait lives in khive-types (no_std, zero deps) so downstream crates can reference pack metadata without pulling in the full runtime.
Structs§
- Edge
Endpoint Rule - A pack-declared endpoint rule for a specific edge relation.
- Handler
Def - Handler metadata for discovery and documentation.
- Note
Kind Spec - Kind-level schema specification for a note kind.
- Note
Lifecycle Spec - Lifecycle specification for a note kind.
- Pack
Schema Plan - DDL statements the pack needs applied to the auxiliary schema.
- Param
Def - Parameter type for
help=trueschema envelopes.
Enums§
- Endpoint
Kind - Match spec for one end of an
EdgeEndpointRule. - Verb
Category - Illocutionary force classification for a verb handler.
- Verb
Presentation Policy - Presentation override for a verb handler.
- Visibility
- Visibility tier for a handler.
Traits§
- Pack
- A composable module that contributes vocabulary, verbs, and edge endpoint rules to the khive runtime.
Type Aliases§
- VerbDef
Deprecated - Backward-compatible type alias. Existing code that names
VerbDefstill compiles; new code should useHandlerDefdirectly.