@coze/cli 0.3.1-alpha.ae71a9 → 0.3.1-alpha.ff45f9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -809,23 +809,6 @@ coze upgrade --tag beta
809
809
  | `--force` | Force upgrade even if already on the latest version |
810
810
  | `--tag <tag>` | Specify the dist-tag to upgrade to (default: `latest`) |
811
811
 
812
- #### Auto-Upgrade
813
-
814
- By default Coze CLI keeps itself up to date: it checks for new versions in the background (throttled, never blocking the current command) and, in `auto` mode, installs the update silently so it takes effect on your **next run**. Behavior is controlled via `coze config set`:
815
-
816
- | Config | Values | Default | Description |
817
- | ----------------- | ------------------------------- | -------- | --------------------------------------------------------------------------------------------------- |
818
- | `upgrade.mode` | `auto` / `notify` / `off` | `auto` | `auto`: silent background upgrade; `notify`: only prompt to run `coze upgrade`; `off`: disable checks |
819
- | `upgrade.channel` | `latest` / `beta` / `alpha` / … | `latest` | npm dist-tag to track |
820
-
821
- ```bash
822
- coze config set upgrade.mode notify # only prompt, don't auto-install
823
- coze config set upgrade.mode off # disable upgrade checks entirely
824
- coze config set upgrade.channel beta # track the beta channel
825
- ```
826
-
827
- Upgrade checks are automatically skipped in CI (the `CI` env var is set), for dev/local builds, and when `COZE_CLI_NO_UPDATE_NOTIFIER` is set. Version checks are throttled to at most once every **4 hours**; a failed background upgrade is retried at most once every **10 minutes**. In JSON output the hint is attached as `_notice.update` with a ready-to-run `command` field. See [`docs/auto-upgrade.md`](docs/auto-upgrade.md) for details.
828
-
829
812
  ### Other Commands
830
813
 
831
814
  | Command | Description |
@@ -872,9 +855,7 @@ The CLI reads configuration from multiple sources with the following priority (h
872
855
  | `COZE_PROJECT_ID` | Default Project ID (used by `message` commands) |
873
856
  | `COZE_CONFIG_FILE` | Custom configuration file path |
874
857
  | `COZE_CONFIG_SCOPE` | Config write scope: `global` or `local` |
875
- | `COZE_CLI_NO_UPDATE_NOTIFIER` | Set to any non-empty value to skip the upgrade check for this run (overrides `upgrade.mode`) |
876
- | `COZE_CLI_NO_SKILL_NOTIFIER` | Set to any non-empty value to suppress the bundled-skill version-mismatch notice |
877
- | `CI` | When set (to any value other than `false`/`0`), auto-skips upgrade checks and skill notices |
858
+ | `COZE_AUTO_CHECK_UPDATE` | Enable/disable auto update check: `true` or `false` |
878
859
 
879
860
  ## Exit Codes
880
861