@sunerpy/kiro-provider 3.3.0 → 3.4.0

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.
Files changed (3) hide show
  1. package/README.md +29 -0
  2. package/dist/cli.js +94 -86
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -78,6 +78,35 @@ For a service install, set `KIRO_PROVIDER_VERSION` to a release version instead
78
78
  of following `latest`. See the [service guide](docs/SERVICE.md) for a pinned,
79
79
  long-lived setup.
80
80
 
81
+ ### Check the version and upgrade
82
+
83
+ `--version` prints the installed version only. Add `--check` to look up the
84
+ newest GitHub release, and `--json` for machine-readable output.
85
+
86
+ ```bash
87
+ kiro-provider --version
88
+ kiro-provider --version --check
89
+ ```
90
+
91
+ A standalone binary can replace itself. `self-update` downloads the release
92
+ asset for this platform, verifies it against the release's `SHA256SUMS`, and
93
+ only then swaps the binary in place; a digest mismatch leaves the installed
94
+ copy untouched.
95
+
96
+ ```bash
97
+ kiro-provider self-update --check # report what would be installed
98
+ kiro-provider self-update # ask, then replace
99
+ kiro-provider self-update --yes # non-interactive
100
+ kiro-provider self-update --tag 3.3.1 # pin a release, including a downgrade
101
+ ```
102
+
103
+ npm installs are upgraded with the package manager instead
104
+ (`bun add -g @sunerpy/kiro-provider@latest`); `self-update` refuses them and
105
+ says so. Both commands accept `--proxy <url>` and otherwise honour
106
+ `KIRO_PROVIDER_PROXY_URL`, then `HTTPS_PROXY`/`HTTP_PROXY`. Neither loads the
107
+ gateway config, so a broken `config.json` cannot block an upgrade. Restart the
108
+ service after updating a service install.
109
+
81
110
  ## Quickstart
82
111
 
83
112
  ### 1. Create the gateway config