1.8 KiB
CommandKit v0.4.0
CommandKit v0.4.0 adds shared structured reporting and reusable CLI input facilities. Applications and integrations can submit one report value for automatic or explicit text, YAML, and JSON output. Core selects the format, renders optional standard text templates, and records presentation failures through the existing invocation lifecycle. The writer API exposes the same rendering behavior outside an invocation.
Report values use JSON serialization conventions for structured output. The safe YAML conversion helper accepts upstream inspection documents without reconstructing configuration or treating ordinary strings as YAML. Public CLI JSON parsing and ordered flag occurrences support structured inputs and interleaved bindings. Applications can reuse and rename flag bindings while preserving their typed parsing and presence behavior.
This pre-1.0 minor release reserves the long flag --format for core and
changes standard version output to use shared reporting. Applications that
declare a local --format must remove or rename it; an application alias may
target the core flag. Integration report framing and format availability have
changed with the shared API; select compatible integration releases as they
become available. See the CLI reference and
consumer guide for current
contracts and examples.
Core continues to declare a Go 1.26.0 consumer minimum. The maintainer release toolchain is Go 1.27.0, and core has no ConfigKit or PromptKit integration dependency.