Skip to content

v0.4.0

Choose a tag to compare

@jakoes-wu jakoes-wu released this 01 Oct 13:41
8a4e559

Added

  • completion bash|zsh|fish: shell completion for subcommands, options and
    account names (e-mail addresses included).
  • run NAME [-- COMMAND ...]: run any command (default codex) with exactly
    the environment of the account's launcher; path NAME prints the account
    directory.
  • Per-account environment variables: env NAME KEY=VALUE, --unset,
    --clear (accounts.<name>.env in the configuration). Launchers with
    variables are written with mode 0700; list --json shows only the names.
  • use [NAME]: show or atomically change the default account (~/.codex),
    refusing while the current default account is in use.
  • restore NAME: undo migrate-default, resumable after an interruption;
    other write commands are blocked until it finishes.
  • list shows the default account (default: line, default_account in
    --json).
  • README: which items of an account directory can be shared, and why.

Fixed

  • doctor did not expand ~ when checking ~/.codex, so the default-dir
    check always reported that it did not exist.

Install / upgrade

curl -fsSL https://raw.githubusercontent.com/jakoes-wu/multi-codex/main/install.sh | sh