The PromptRegistry context for managing prompt templates and their lifecycle.
Summary
Functions
Creates a new draft template.
Gets a single prompt template by ID.
Lists all prompt templates, ordered by inserted_at descending.
Transitions a template's status without bumping the version.
Updates a draft template in place. Rejects if not draft.
Updates an active or archived template immutably, bumping the version.
Functions
Creates a new draft template.
Gets a single prompt template by ID.
Lists all prompt templates, ordered by inserted_at descending.
Transitions a template's status without bumping the version.
Updates a draft template in place. Rejects if not draft.
Updates an active or archived template immutably, bumping the version.