Documentation
¶
Overview ¶
Package kit exposes prism's engine as an embeddable library for downstream agents (e.g. provasign/mason).
It is a thin facade over the same internals the CLI uses: one Kit is one prism session against one repo root, with the grove client, session cache, and persistent ledger wired exactly as `prism <op>` CLI invocations wire them. Nothing in this package changes existing prism behavior; it only re-exposes it across the module boundary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kit ¶
type Kit struct {
// contains filtered or unexported fields
}
Kit is an open prism session against one repository root.
func Open ¶
Open starts (or connects to) the grove engine for dir, auto-indexes a never-indexed repo, and attaches the persistent per-root ledger.
func (*Kit) Invoke ¶
Invoke runs one prism tool by its MCP name (e.g. "prism_change_impact", "prism_read") and returns the raw result. Same dispatch as the MCP server and the CLI query commands.