-
Scriptorium v0.16.0 Stable
released this
2026-11-26 01:24:32 +00:00 | 1 commits to main since this releaseScriptorium v0.16.0
This pre-1.0 minor release adopts CommandKit's native CLI, loads application and
PromptKit settings through one ConfigKit configuration, and supports namespaced
prompt collections. It also adopts ReleaseKit and fixes HTTP input precision,
file identity, and cancellation defects.Upgrading from v0.15.x requires changes to CLI invocations, configuration,
prompt/profile definitions, and HTTP consumers. There is no legacy CLI or
configuration conversion layer. Follow the CLI migration guide
and PromptKit migration guidance before upgrading jobs
or deployments.Native CLI and subprocess migration
CommandKit now supplies configuration inspection and comparison, PromptKit
inventory and inspection, requirements discovery, prepared-request preview,
explicit provider smoke tests, and Bash/Zsh/Fish completion. Smoke tests can
contact providers and incur cost; they are not startup checks.Previous interface Replacement run --prompt IDor--prompt-id IDrun IDrender --prompt IDpromptkit show prepared IDinspect prompt --prompt IDpromptkit show prompt IDinspect profile --profile IDpromptkit show profile ID--config-overlay NAME--overlay NAME--input NAME=PATH--input-file NAME=PATH;--inputnow means literal text--llm-base-url URL--endpoint URLDuration-valued --timeoutInteger --timeout-secondsfor each generation attempt--out PATHRedirect stdout to the desired file --execution-report PATH--report PATH, optionally with--report-formatRepeat input and variable mappings instead of comma-separating them. Prefer
native short aliases such as--profile,--var, and--input-text; native
canonical aliases remain available. Prompt-version selection and the old
directory/schema flags are removed. See the CLI reference for the full
interface.Automatic/text generation output is exactly the artifact bytes, without an
added newline. Structured stdout and separate reports use the full native
RunResult, including content and metadata, rather than the former CLI
metadata-only execution report. Report format selection is independent of main
output: omitting--report-formatdelegates to CommandKit's automatic renderer;
the filename extension does not choose a format.Quiet suppresses main stdout even when redirected, but an explicitly requested
report file is still written when a result exists. Resultless failures leave an
existing report untouched. Output and report delivery remain nontransactional;
keep destinations separate and check exit status before treating files as fresh.
Native inspection and result shapes replace the former custom formats, so
update structured-output consumers as well as command lines. The
subprocess guide covers capture and delivery responsibilities.Completed generated-content validation failure now exits 4, rather than 2,
and still delivers its result. Native usage/invalid-configuration failures use
2, diff-check differences use 3, and operational failures use 1. Diagnostics
remain separate from result output. Native--show-tokensprovides an optional
usage/cost summary; it does not change the main result format.Shared configuration and collections
- Replace
prompt_dir,profile_dir,schema_dir, and the old backend mapping
with native PromptKit definitions beneath the rootpromptkitkey. The old
defaults.render_formatsetting is removed. Use rootconfig.importsin
place ofconfigkit.imports; imports are optional unless marked
required: true. The maintained configuration demonstrates the
application entry point. - Migrate resources to ID-bearing sequences and select one prompt definition
per ID. Review inheritance, same-ID replacement, source-relative message and
schema resources, and qualified collection references using the
upstream migration guide. Old
promptkit-openrouter-standardandpromptkit-openrouter-autoprofiles have
no automatic replacements; select an available profile or define your own. - Discover independently maintained collections through ConfigKit glob imports
ofcollection.ymlorcollection.yaml. Each collection declares its own
namespace and relative imports. The collection example
demonstrates the convention. The server captures configuration at startup;
restart it after updating installed collections. - Configuration discovery now searches native working-directory, user-config,
home-directory, and Unix-system locations in that order. It is no longer
limited to the two former systemconfig.ymlpaths. Set an explicit config
path when migrating unattended jobs. - Native
appand focusedpromptkitconfiguration scopes inspect the same
complete resolved document, including framework validation. Both support
native overrides and comparisons. Override paths and conflicts follow
ConfigKit semantics; overlapping overrides are not a last-wins mechanism. - ConfigKit's configured secrets bootstrap can populate the process environment
before acquisition, including inspection. PromptKit continues to resolve
named credentials at its own lifecycle point. Raw API keys remain unsupported
in configuration and request arguments. See configuration for
acquisition, sensitivity, and bootstrap behavior.
PromptKit now supplies a default repair budget of one for enabled validation
when omitted; use an explicit zero to disable correction. Review budgets when
migrating definitions because repairs can add provider calls and cost. For
application-defined OpenRouter backends, selectprovider: openrouterto enable
provider-specific accounting; endpoint names do not select provider conventions.
Native CLI results expose upstream accounting, while HTTP's existing report
projection remains separate.HTTP compatibility and fixes
HTTP remains in maintenance mode for trusted hosts on a trusted network. It has
no built-in authentication or authorization, and this release does not expand
its supported exposure model or add aggregate memory or connection-lifetime
guarantees. See operations.- Remove
prompt_versionfrom requests; strict decoding now rejects it. Prompt
and profile selection uses exact IDs, including qualified collection IDs. - Update response consumers for removal of
metadata.prompt_version,
metadata.model_name,metadata.endpoint,metadata.validation_mode,
metadata.validation_status,metadata.repair_attempts_used, and
metadata.model_params.backend_id. Usemetadata.model_params,
metadata.selected_backend_id, andvalidationas appropriate. Terminal
execution reports also no longer includeprompt_version. - Large integers in
model.extra_params, including nested values, retain their
precision through HTTP decoding and provider handoff. - File-reference whitespace is preserved instead of silently selecting a
different pathname. File inputs must resolve to regular files; FIFOs and
other unsupported types return400 artifact_read_failed. Acquisition now
checks cancellation during reads and before success, while retaining lexical
containment and byte limits. Cancellation remains cooperative, and symlink
handling is unchanged.
HTTP terminal reporting is now contained within the HTTP adapter. That internal
relocation adds no report fields. Regression coverage now exercises shared
backend admission at server composition, reliable concurrency-test cleanup,
startup capture failures, and distinct accounting-field mappings. The
HTTP API reference owns the current wire contract.Startup diagnostics and maintainer changes
Listener startup failures now identify the selected address and a useful typed
failure category. Missing message files and malformed templates can still
produce generic capture explanations; richer native diagnostics remain
pending upstream support, not an implemented feature of this release.Maintainers now use the root ReleaseKit launcher instead of
scripts/release.sh. Runtime version identity comes from ReleaseKit; the
separately injected revision metadata is removed. The hosted workflow uses the
releasekit_gitea_tokensecret for asynchronous binary delivery. Follow the
release procedure when migrating release automation; retain the old
delivery secret for historical tagged workflows.Selected libraries are PromptKit v0.25.0, ConfigKit v1.4.0, CommandKit v0.8.0,
ckconfig v0.11.0, ckprompt v0.12.0, and ReleaseKit v0.10.0. Building from source
now requires Go 1.27.0 or newer, up from 1.25.5; the selected release toolchain
is Go 1.27.4. Published Linux amd64 and arm64 binaries do not require a Go
installation.Downloads
- Replace