Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Jul 05:48

v0.2.0 (2026-07-04)

Features

  • cli: Add mad keys and mad config commands (a525213)

Add two Typer sub-apps for v0.2 credential and configuration management, wired into the root app with minimal footprint.

mad keys set|list|remove manages credentials in an instance's .env: builtin keys from the keyspec registry fan a single value out to all their env vars (e.g. github -> GITHUB_TOKEN + GH_TOKEN), claude-oauth additionally materialises the container's .credentials.json (chmod 600) under <data_path>//claude, and arbitrary [A-Z][A-Z0-9_]* names are written verbatim. Values are always masked on display; removing claude-oauth leaves the on-disk credentials file in place and reports where it is.

mad config get|set|unset is the general-purpose .env editor: get masks secret-looking values unless --reveal, set validates MAD_HOST_PORT and MAD_AGENT_TIMEOUT_S and warns that compose-baked keys need a regenerate to take effect, and every mutation ends with a restart hint.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

Claude-Session: https://claude.ai/code/session_01GWHBALtjHVd176YddWc9YP

Signed-off-by: Jose Salamanca jose.salamancacoy@gmail.com

Testing

  • Cover keys/config against the real core (082ea6a)

Add a make_real_instance fixture that writes instances//.env under a scratch MAD_CLI_CONFIG_DIR so the command tests exercise the unmocked engine end to end. Cover the builtin fan-out, the claude-oauth credentials file (0600) and its retention on remove, custom vars, masking, validation, instance resolution and the empty-config hint.

Also make the --version test version-agnostic: it pinned "0.1.0" and broke when release automation bumped version to 0.1.1; it now asserts the output equals the package version.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

Claude-Session: https://claude.ai/code/session_01GWHBALtjHVd176YddWc9YP

Signed-off-by: Jose Salamanca jose.salamancacoy@gmail.com


Detailed Changes: v0.1.1...v0.2.0