Documentation
¶
Overview ¶
Package mcpprojection converts the canonical expanded Scenery graph into the provider-neutral MCP capability manifest. It deliberately consumes only compiler/graph output: source parsing, generation, and provider adapters do not belong in this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Project ¶
func Project(input any, server string) (mcpcontract.Manifest, error)
Project accepts either a *compiler.Result or a *graph.Manifest. A compiler result is preferred because it carries the authored workspace revision; callers with an already-selected expanded manifest can use the graph form, which falls back to that manifest's specification revision.
func ProjectManifest ¶
func ProjectManifest(manifest *graph.Manifest, sourceRevision, server string) (mcpcontract.Manifest, error)
ProjectManifest projects an expanded graph and uses sourceRevision as the source/workspace identity in the generated capability manifest.
Types ¶
This section is empty.