@sunerpy/kiro-provider 0.7.0 → 0.8.1

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 +21 -3
  2. package/dist/cli.js +94 -91
  3. package/package.json +7 -1
package/README.md CHANGED
@@ -23,6 +23,7 @@
23
23
  - [Use with Zuno](#use-with-zuno)
24
24
  - [Use with Codex CLI](#use-with-codex-cli)
25
25
  - [Use with Claude Code](#use-with-claude-code)
26
+ - [Troubleshooting](#troubleshooting)
26
27
  - [Development](#development)
27
28
  - [License](#license)
28
29
 
@@ -563,8 +564,10 @@ Standard clients must also stay within the verified subset. In safe mode a
563
564
  client that always sends system/developer instructions, custom grammars,
564
565
  namespace tools, or Anthropic `cache_control` receives a field-level 400; the
565
566
  gateway does not modify that request to force it through Kiro. The optional
566
- `legacy-user-prefix` projection is a temporary instruction-only migration aid
567
- for v0.5.x/v0.6.x and is scheduled for removal in v0.7.0.
567
+ `legacy-user-prefix` projection is an explicit instruction-only compatibility
568
+ mode. It remains deprecated, but removal is evidence-gated: Kiro must expose a
569
+ protocol-faithful native instruction channel, or affected clients must migrate
570
+ away from instruction roles first.
568
571
 
569
572
  The default `session_affinity_mode: "explicit-only"` never hashes prompt text
570
573
  to guess a conversation. Responses checks, in order,
@@ -664,7 +667,8 @@ returns `unsupported_instruction_projection` and never rewrites the request.
664
667
  Set Zuno `options.maxTokens` to `null` as shown so its generic layer does not
665
668
  add the unsupported `max_output_tokens: 32000`. Neither setting uses a private
666
669
  Header or client-side prompt patch; the legacy mode is an explicit migration
667
- exception scheduled for removal in v0.7.0.
670
+ exception whose removal is gated on native instruction fidelity or completed
671
+ client migration.
668
672
 
669
673
  ## Use with Codex CLI
670
674
 
@@ -734,6 +738,20 @@ The preceding protocol/client matrix is retained in
734
738
  The older [`docs/E2E_VALIDATION_2026-08-22.md`](docs/E2E_VALIDATION_2026-08-22.md)
735
739
  is retained as historical v0.4 evidence only.
736
740
 
741
+ ## Troubleshooting
742
+
743
+ [`docs/TROUBLESHOOTING.md`](docs/TROUBLESHOOTING.md) is the symptom-first
744
+ runbook: for each symptom it names the audit event, the
745
+ `accounts list --details` availability value, or the HTTP status and
746
+ `error.code` to look at, then the cause and the remedy. It covers
747
+ `needs-relogin` and token-refresh failures, `quota-exhausted` versus
748
+ `overage-blocked` (`stop_on_overage`), `503 no_healthy_accounts`, the
749
+ `502 upstream_stream_*` codes with the pre-publication retry events, how to
750
+ read `sdk_stream_terminal` when "the assistant announced a next step and
751
+ stopped", reasoning-replay `400`s, the single-instance lock, configuration
752
+ warnings, `413` variants, and proxy failures. It also lists `journalctl` grep
753
+ recipes for the systemd service and the opt-in `request_shape` debug event.
754
+
737
755
  ## Development
738
756
 
739
757
  ```bash