diff --git a/README.md b/README.md index a84a1d9..5aa394c 100644 --- a/README.md +++ b/README.md @@ -498,6 +498,7 @@ Tools include: - `cfg_bulk_commit` - `cfg_set` - `cfg_export` +- `cfg_import` - `cfg_branch_list` - `cfg_branch_create` - `cfg_branch_delete` diff --git a/docs/USAGE.md b/docs/USAGE.md index d2e1baa..917531e 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -377,3 +377,19 @@ export CFG_AUTHOR=you@example.com # default author (open identity mo cfgit also discovers `.cfg.toml` by walking up from the current directory, so you can run it from a subdirectory without `--config-file`. Global flags (`--config-file`, `--env`, `--author`, `--branch`, `--json`) go before the subcommand: `cfg --env prod status`. + +## Updates + +cfgit checks PyPI for a newer release on cheap read commands (`status`/`doctor`/`whoami`/`log`), +throttled to once a day. For an interactive terminal it prints a one-line nudge to stderr with a +short "what's new" excerpt from the release notes — never on `--json`/piped output, and it never +upgrades for you: + +```bash +cfg check-update # force a check now (shows what's new + the release link) +cfg check-update --snooze 30 # don't remind me for 30 days +``` + +Set `CFGIT_NO_UPDATE_CHECK=1` to disable the check entirely. Over MCP, the `cfg_check_update` tool +does the same (pass `snooze_days` to snooze); agents should offer the upgrade but never run it. +The check is best-effort — if the network is unavailable it stays silent. diff --git a/plugins/cfg_impact/pyproject.toml b/plugins/cfg_impact/pyproject.toml index b866e19..c6c944d 100644 --- a/plugins/cfg_impact/pyproject.toml +++ b/plugins/cfg_impact/pyproject.toml @@ -1,13 +1,13 @@ [project] name = "cfgit-impact" -version = "0.3.0" +version = "0.4.0" description = "Optional cfgit plugin for deterministic system-impact summaries and opt-in LLM narration of database record diffs" readme = "README.md" requires-python = ">=3.11" license = "Apache-2.0" authors = [{ name = "Mohammad Ausaf" }] dependencies = [ - "cfgit>=0.3.0,<0.4.0", + "cfgit>=0.4.0,<0.5.0", "httpx>=0.27", ] diff --git a/pyproject.toml b/pyproject.toml index 957fc3b..28cebf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cfgit" -version = "0.3.0" +version = "0.4.0" description = "Git-style history, diff, drift detection, and rollback for live database records without migrating or owning your datastore" readme = "README.md" requires-python = ">=3.11"