Files
commandkit/integrations/ckprompt/docs/releases/v0.5.0.md

3.0 KiB

CommandKit ckprompt v0.5.0

CommandKit ckprompt v0.5.0 adds PromptKit v0.20.0 support, including request preview, namespace selection, and shared text, YAML, and JSON output. It requires CommandKit core v0.5.0, ckconfig v0.5.0, ConfigKit v1.1.0, and Go 1.27.0.

Operator features

  • Inspect prompts, profiles, and backends, and list available resources.
  • Preview rendered requests without calling the model, or validate that a request can be prepared with the supplied inputs.
  • Choose namespaces and override request settings for supported commands.
  • Run smoke tests and inspect their results, including incomplete or unsupported checks and reports returned alongside errors.
  • Inspect engine configuration through config, including detailed validation findings, source information after failed loads, and configuration comparisons.

Applications choose which commands to enable. Reusable flag collections also let application commands offer the same request flags. ckprompt.Declarations adds the standard commands with their shorter flag aliases. Literal and file inputs keep their command-line order.

Correctness improvements

Aggregate smoke testing retains cancellation when it stops remaining tests, including previously returned errors and reports. A prepared-request preview fails if the provider returns no prepared request without an error. Parsed provider-parameter objects are copied between independent request destinations, so mutations in one callback do not change later requests. Configuration inspection shares ckconfig's native diagnostic adapter.

Compatibility and upgrade

This pre-1.0 minor release changes resource report shapes, input flags, formatting, and configuration comparison behavior. Review the current CLI reference and consumer guide when updating declarations or code that reads reports. Applications continue to own engine construction, credentials, and execution.

Upgrade all three CommandKit modules to v0.5.0 together. This release follows published ckprompt v0.2.0 and adopts the vanity imports go.maximumdirect.net/configkit and go.maximumdirect.net/promptkit. Replace earlier upstream import paths consistently; types from different module identities cannot be mixed. Review callers of the former prompt version-report API and use native prompt, profile, and backend inspections. The module selection table records the release dependencies.

COPYRIGHT | LICENSE | ATTRIBUTION