3.2 KiB
Scriptorium v0.13.0
Promptkit v0.9 Adoption
Scriptorium now uses
Promptkit v0.9.0
and supports the complete Promptkit v0.9 prompt and profile definition format
through its configured directory sources. This includes prompt versions,
optional inputs, all supported message roles, cache control, session templates,
output schemas and repair budgets, profile inheritance, backend selection,
provider controls, optional credential environment names, and JSON-compatible
extra parameters.
Promptkit remains the canonical owner of definition parsing and framework validation. Scriptorium continues to own its CLI, HTTP, configuration, presentation, and deployment contracts.
Application Features
runandrendercan select an explicit prompt version and can execute prompts that do not declare or reference inputs.- CLI and HTTP requests can provide a direct session ID. Reasoning controls can inherit, replace, or explicitly clear the selected profile value.
- Application configuration can register custom OpenAI-compatible backends with optional credential environment names, extra parameters, concurrency limits, and queue policy.
inspect promptandinspect profileprovide deterministic text or JSON views without invoking a model. Profile inspection does not read credential values or require a prompt definition.- Prepared output, CLI summaries, and HTTP metadata report effective backend identity when available.
- HTTP requests rejected by backend capacity policy return
503with the stablecapacity_exceededcode. One server-scoped Promptkit engine enforces those limits across concurrent requests.
See the versioned application contracts for exact behavior:
- CLI reference
- HTTP API reference
- Configuration reference
- Operations guide
- Promptkit v0.9 format reference
Compatibility And Operations
There are no intentional removals from the v0.12 application interfaces. The Promptkit upgrade does enforce its current definition-safety rules, including supported message roles, absolute HTTP or HTTPS endpoints, contained content and schema paths, bounded repair budgets, and JSON-compatible extra parameters. Definitions rejected by these rules must be corrected before use.
Credential values remain outside configuration, definition files, CLI flags, and HTTP payloads. Named environment sources are optional unless a selected Promptkit profile explicitly requires a key. A positive repair budget permits additional provider calls and can increase latency, token use, and cost.
The HTTP service retains only the shared operational state needed for backend admission and in-flight request handling. Scriptorium does not retain durable conversation, workflow, checkpoint, or resume state.