Documentation
¶
Overview ¶
Package prism exposes the immutable agent bundle compiled into the Prism binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BundleDigest ¶
func BundleDigest() string
BundleDigest returns a deterministic SHA-256 over every embedded file. Paths and lengths are included so different directory layouts cannot collide.
Types ¶
type BundleFile ¶
type BundleManifest ¶
type BundleManifest struct {
Digest string `json:"digest"`
Files []BundleFile `json:"files"`
}
func Manifest ¶
func Manifest() BundleManifest
Manifest returns the generated inventory of the exact files compiled into this binary. It is generated from the immutable embed.FS, so it cannot drift from the release artifact it describes.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
prism
command
Command prism is the entry point for the Prism CLI.
|
Command prism is the entry point for the Prism CLI. |
|
internal
|
|
|
agent
Package agent loads and validates Prism agent specifications.
|
Package agent loads and validates Prism agent specifications. |
|
app
Package app provides the shared AgentRunner used by both the CLI and MCP adapters.
|
Package app provides the shared AgentRunner used by both the CLI and MCP adapters. |
|
buildinfo
Package buildinfo centralizes release and VCS identity for the CLI and MCP server.
|
Package buildinfo centralizes release and VCS identity for the CLI and MCP server. |
|
cli
Package cli provides Cobra command handlers for the Prism CLI.
|
Package cli provides Cobra command handlers for the Prism CLI. |
|
config
Package config centralizes Prism runtime configuration.
|
Package config centralizes Prism runtime configuration. |
|
github
Package github provides an fs.FS implementation backed by the GitHub Contents API, plus a URL parser for github.com repository URLs.
|
Package github provides an fs.FS implementation backed by the GitHub Contents API, plus a URL parser for github.com repository URLs. |
|
graphify
Package graphify defines the persisted, workspace-bound Graphify contract.
|
Package graphify defines the persisted, workspace-bound Graphify contract. |
|
mcp
Package mcp provides the MCP server adapter for Prism.
|
Package mcp provides the MCP server adapter for Prism. |
|
ollama
Package ollama provides a minimal Ollama REST client for Prism.
|
Package ollama provides a minimal Ollama REST client for Prism. |
|
result
Package result defines the normalized output envelope for all Prism agents.
|
Package result defines the normalized output envelope for all Prism agents. |
|
rootresolver
Package rootresolver resolves the --root flag value to an fs.FS and a cleanup function.
|
Package rootresolver resolves the --root flag value to an fs.FS and a cleanup function. |
|
skill
Package skill loads and validates Prism Agent Skills from SKILL.md files.
|
Package skill loads and validates Prism Agent Skills from SKILL.md files. |
|
textutil
Package textutil provides shared, UTF-8-safe text bounding helpers used by plugins, the downstream MCP client, and result/prompt shaping.
|
Package textutil provides shared, UTF-8-safe text bounding helpers used by plugins, the downstream MCP client, and result/prompt shaping. |
|
toolmodel
Package toolmodel runs local embedding models used for tool retrieval.
|
Package toolmodel runs local embedding models used for tool retrieval. |
|
pkg
|
|
|
evidence
Package evidence defines bounded runtime evidence contracts.
|
Package evidence defines bounded runtime evidence contracts. |
|
graph
Package graph defines bounded Prism workflow graph contracts.
|
Package graph defines bounded Prism workflow graph contracts. |
|
observe
Package observe defines stable run-event contracts for Prism integrations.
|
Package observe defines stable run-event contracts for Prism integrations. |
|
policy
Package policy defines stable Prism governance contracts.
|
Package policy defines stable Prism governance contracts. |
|
report
Package report exposes Prism benchmark reports for external integrations.
|
Package report exposes Prism benchmark reports for external integrations. |
