@sunerpy/kiro-provider 3.5.0 → 3.5.2

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 +26 -13
  2. package/dist/cli.js +78 -78
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -22,13 +22,13 @@ kiro-provider is a loopback HTTP gateway and credential owner. It signs in to
22
22
  Kiro, discovers the models available to each account, schedules requests across
23
23
  those accounts, and presents two client-facing APIs:
24
24
 
25
- | API | Route | Default |
26
- | --- | --- | --- |
27
- | OpenAI Responses | `POST /v1/responses` | Enabled |
28
- | Anthropic Messages | `POST /v1/messages` | Enabled |
29
- | Anthropic token estimate | `POST /v1/messages/count_tokens` | Enabled |
30
- | OpenAI Chat Completions | `POST /v1/chat/completions` | Disabled; opt in with `enable_legacy_chat_completions` |
31
- | Models and readiness | `GET /v1/models`, `GET /health`, `GET /ready` | Enabled |
25
+ | API | Route | Default |
26
+ | ------------------------ | --------------------------------------------- | ------------------------------------------------------ |
27
+ | OpenAI Responses | `POST /v1/responses` | Enabled |
28
+ | Anthropic Messages | `POST /v1/messages` | Enabled |
29
+ | Anthropic token estimate | `POST /v1/messages/count_tokens` | Enabled |
30
+ | OpenAI Chat Completions | `POST /v1/chat/completions` | Disabled; opt in with `enable_legacy_chat_completions` |
31
+ | Models and readiness | `GET /v1/models`, `GET /health`, `GET /ready` | Enabled |
32
32
 
33
33
  Responses also has local retrieve, delete, input-items, cancel, and continuation
34
34
  support. The gateway chooses a native KiroRuntime Responses call when it can
@@ -134,9 +134,22 @@ On Windows the default directory is `%APPDATA%\kiro-provider`. Pass
134
134
  ### 2. Sign in to Kiro
135
135
 
136
136
  ```bash
137
+ # AWS Builder ID / default device flow
137
138
  kiro-provider login
139
+
140
+ # IAM Identity Center
141
+ kiro-provider login \
142
+ --start-url https://example.awsapps.com/start \
143
+ --region us-east-1
138
144
  ```
139
145
 
146
+ Direct login discovers and persists the Kiro profile itself; it does not require
147
+ Kiro CLI or any Kiro CLI state. If the identity has multiple profiles and the
148
+ start URL does not select one uniquely, rerun with `--profile-arn <arn>`.
149
+ The login/OIDC region and selected profile's runtime region may differ; the
150
+ provider discovers across Kiro's current commercial profile control planes
151
+ (`us-east-1` and `eu-central-1`) and stores both values separately.
152
+
140
153
  If you already used `opencode-kiro-auth`, copy those accounts into the
141
154
  provider-owned store once:
142
155
 
@@ -187,12 +200,12 @@ or region.
187
200
 
188
201
  ## Use it with an agent
189
202
 
190
- | Client | API | Guide |
191
- | --- | --- | --- |
192
- | Zuno | OpenAI Responses | [Native provider configuration and session routing](docs/ZUNO.md) |
193
- | Codex CLI | OpenAI Responses | [Isolated profile and compatibility checks](docs/CODEX.md) |
194
- | Claude Code | Anthropic Messages | [Shared-state `kiroclaude` launcher and model selection](docs/CLAUDE_CODE.md) |
195
- | Other SDKs | Responses or Messages | [Protocol compatibility](docs/PROTOCOL_COMPATIBILITY.md) |
203
+ | Client | API | Guide |
204
+ | ----------- | --------------------- | ----------------------------------------------------------------------------- |
205
+ | Zuno | OpenAI Responses | [Native provider configuration and session routing](docs/ZUNO.md) |
206
+ | Codex CLI | OpenAI Responses | [Isolated profile and compatibility checks](docs/CODEX.md) |
207
+ | Claude Code | Anthropic Messages | [Shared-state `kiroclaude` launcher and model selection](docs/CLAUDE_CODE.md) |
208
+ | Other SDKs | Responses or Messages | [Protocol compatibility](docs/PROTOCOL_COMPATIBILITY.md) |
196
209
 
197
210
  Codex uses an isolated profile. `kiroclaude` instead keeps Claude's native
198
211
  state and applies a provider/model overlay only to the launched process, so the