@sunerpy/kiro-provider 3.5.1 → 3.5.3
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 +26 -13
- package/dist/cli.js +74 -74
- 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
|
|
26
|
-
|
|
|
27
|
-
| OpenAI Responses
|
|
28
|
-
| Anthropic Messages
|
|
29
|
-
| Anthropic token estimate | `POST /v1/messages/count_tokens`
|
|
30
|
-
| OpenAI Chat Completions
|
|
31
|
-
| Models and readiness
|
|
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
|
|
191
|
-
|
|
|
192
|
-
| Zuno
|
|
193
|
-
| Codex CLI
|
|
194
|
-
| Claude Code | Anthropic Messages
|
|
195
|
-
| Other SDKs
|
|
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
|