@sunerpy/kiro-provider 0.5.0-rc.4 → 0.5.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 +18 -3
  2. package/dist/cli.js +78 -74
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -195,6 +195,14 @@ In the rest of this README, `./dist/kiro-provider` refers to any of the above; s
195
195
  Avoid continuing to use the same imported refresh tokens from two
196
196
  independently running authentication owners.
197
197
 
198
+ Inspect or refresh the provider-owned account pool at any time:
199
+
200
+ ```bash
201
+ ./dist/kiro-provider accounts list
202
+ ./dist/kiro-provider accounts list --details
203
+ ./dist/kiro-provider accounts refresh --all
204
+ ```
205
+
198
206
  3. **Start the gateway.**
199
207
 
200
208
  ```bash
@@ -569,9 +577,11 @@ resend the complete input.
569
577
 
570
578
  - `kiro-provider serve [--config <path>] [--host <host>] [--port <port>] [--proxy <url>]` — start the gateway.
571
579
  - `kiro-provider login [--config <path>] [--start-url <url>] [--region <region>]` — authenticate directly into the provider-owned local store.
572
- - `kiro-provider accounts list` — list accounts in the provider-owned local store.
580
+ - `kiro-provider accounts list [--details | --json]` — show aligned account health/usage; details and JSON include the stable account ID but never credentials.
581
+ - `kiro-provider accounts refresh (--all | <id|email>) [--config <path>] [--json]` — bypass the usage cache, refresh authoritative Kiro usage, and renew an access token only when needed or rejected upstream.
582
+ - `kiro-provider accounts relogin <id|email> [--config <path>] [--start-url <url>] [--region <region>]` — re-authenticate a selected account after Kiro identity verification while preserving its internal ID and session-affinity references.
573
583
  - `kiro-provider accounts import [--from <path>] [--config <path>]` — copy authenticated OpenCode Kiro accounts once into the provider-owned local store; no live database link remains.
574
- - `kiro-provider accounts remove <id|email>` — remove one account from the provider-owned local store.
584
+ - `kiro-provider accounts remove <id|email> [--yes]` — remove one account and its affinity/lineage/reasoning state; interactive confirmation is required unless `--yes` is supplied.
575
585
 
576
586
  Contract: human-readable status lines go to stdout, errors to stderr, non-zero exit on failure. `GET /v1/models`, `GET /health`, and authenticated `GET /ready` return structured JSON.
577
587
 
@@ -699,7 +709,12 @@ subset support typed JSON/SSE and tools, while `/v1/messages/count_tokens` is
699
709
  an explicit estimate. See
700
710
  [`docs/CLAUDE_CODE.md`](docs/CLAUDE_CODE.md).
701
711
 
702
- The current local-auth lifecycle validation record is in
712
+ The current account-management and live-usage validation record is in
713
+ [`docs/audits/kiro-provider-v0.5.0-rc.5-account-management-validation-2026-08-29.md`](docs/audits/kiro-provider-v0.5.0-rc.5-account-management-validation-2026-08-29.md).
714
+ The v0.5.0 typed stream-error contract and downstream Zuno handoff are in
715
+ [`docs/STREAM_ERROR_CONTRACT.md`](docs/STREAM_ERROR_CONTRACT.md) and
716
+ [`docs/ZUNO_STREAM_ERROR_HANDOFF.zh.md`](docs/ZUNO_STREAM_ERROR_HANDOFF.zh.md).
717
+ The preceding local-auth lifecycle record is retained in
703
718
  [`docs/audits/kiro-provider-v0.5.0-rc.4-local-auth-maintenance-validation-2026-08-29.md`](docs/audits/kiro-provider-v0.5.0-rc.4-local-auth-maintenance-validation-2026-08-29.md).
704
719
  The preceding protocol/client matrix is retained in
705
720
  [`docs/audits/kiro-provider-v0.5.0-rc.3-opus5-validation-2026-08-27.md`](docs/audits/kiro-provider-v0.5.0-rc.3-opus5-validation-2026-08-27.md).