Documentation
¶
Overview ¶
Package pipeline provides a thread-safe runtime registry for pipeline prompts. Both the tools package (which writes entries) and the actors package (which reads them) import this package, avoiding an import cycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupPrompt ¶
LookupPrompt returns the prompt for the given key, if one has been registered. Thread-safe for concurrent reads.
func PersistToKV ¶
PersistToKV writes all pipeline prompts to the given KV bucket.
func RegisterPrompt ¶
func RegisterPrompt(key, prompt string)
RegisterPrompt adds or overwrites a prompt in the pipeline overlay. The key format is "language:phase" and the prompt must contain two %s placeholders (source pane alias, accumulated context) matching the convention of softdevPrompts in the actors package.
func RestoreFromKV ¶
RestoreFromKV loads pipeline prompts from the given KV bucket.
Types ¶
This section is empty.