Skip to main content

Crate khive_dialect_kg

Crate khive_dialect_kg 

Source
Expand description

KG dialect for khive-mcp (ADR-025 + ADR-027).

Bundles the kg and gtd packs into a single registrar so khive-mcp does not need to import either pack crate directly. khive-mcp is a generic dispatch shell; this crate owns the knowledge of which packs the KG dialect provides and what names they answer to.

§Adding a new dialect

New dialects can be added to khive-mcp by:

  1. Adding a Cargo dependency from khive-mcp to the new dialect crate.
  2. Adding a register(server, runtime) call in khive-mcp/src/server.rs.

A future ADR may introduce a generic registrar composition API; that work is not in this PR.

Structs§

GtdPack
GTD pack — registers the task note kind plus five lifecycle verbs.
KgPack
KG pack vocabulary declaration.
MemoryPack

Constants§

BUILTIN_PACK_NAMES
Pack names this dialect knows about, in canonical lowercase form.

Functions§

register_pack
Register a named pack from this dialect into builder.