2.6 KiB
CommandKit ckprompt v0.11.0
CommandKit ckprompt v0.11.0 adopts PromptKit v0.24.0 and ConfigKit v1.4.0. It supports application-owned shared configuration loading and exposes native focused PromptKit inspection. Core remains v0.7.0 and the consumer minimum remains Go 1.27.0.
Compatibility and upgrade
This release selects ckconfig v0.10.0. Complete PromptKit
configuration documents now place settings under promptkit; mount wrapperless
settings with SettingsInput and collection fragments with CollectionInput.
Discovery inputs for fragments need an explicit destination. Resource IDs do
not gain a prefix, but configuration paths now use native locations such as
/promptkit/profiles/0/model. Focused listings use native paths; explicit
queries, sources, diagnostics, and comparison retain whole-load context.
PromptKit removed Config.SchemaDir, WithSchemaFS, and WithSchemaFile.
Use supported inline, source-relative, or explicit-root schema selection.
Request builders replace validation with *promptkit.OutputContractInput;
its pointer repair budget distinguishes omission from explicit zero. Resolved
reports include the budget, including zero, and prompt reports include native
schema selections. The default enables one repair for eligible modes, which
can add a generation call, latency, and usage. Applications own resource-version
policy and sensitivity of their extension fields.
Prepared reports now include message_content_hash and native schema evidence.
Migrate positional PreparedRun literals to keyed fields; older JSON without
the hash decodes with an empty hash. See the PromptKit migration guide,
format reference,
and release notes
for the upstream contract. PromptKit v0.23.3's timeout and cancellation identity
corrections are included. The consumer guide
links the maintained shared-load example.