Skip to content

v0.29.1

Choose a tag to compare

@agentfirstkit agentfirstkit released this 02 Aug 16:01
· 11 commits to main since this release
  • Scope reserved argument names to where AFDATA actually parses them: --version and --docs are reserved at the root command only, so a subcommand may declare its own --version VALUE business argument instead of being forced to rename it
  • Add write_raw so a CLI compiled from a registry no longer hand-rolls the write for --docs, plain help and other raw documents: AFDATA injects those outcomes, so it owns stream routing and the rule that a closed reader (tool --docs | head) is success rather than a failure exit code
  • Fix the TOML document editor so unset can remove a key inside an inline table that set can already write, preserving the table's closing whitespace
  • Drop the unread command_path and argument_names fields from CliError; the command path is already in hint and the offending argument in message
  • Correct shipped documentation that no longer matched the code: the tracing layer writes to stderr not stdout, the Go export is BuildCLIError, --help-combination never shipped, and cli-spec-v1 is an authoring contract with no runtime export