command-code 1.56.0 → 1.56.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.
package/CHANGELOG.md
CHANGED
|
@@ -127,7 +127,7 @@ Everything related to byok providers lives in `~/.commandcode/providers.json`. I
|
|
|
127
127
|
| `npm` | AI-SDK package name | Compat only: `@ai-sdk/openai-compatible` & `@ai-sdk/openai` map to `openai-completions`, `@ai-sdk/anthropic` to `anthropic-messages`; any other package warns and assumes `openai-completions`. Ignored when `api` is set. |
|
|
128
128
|
| `baseURL` | URL | Required. The API root requests go to. Missing or invalid URL skips the provider. Also read from `options.baseURL` (top-level wins) |
|
|
129
129
|
| `apiKey` | `"$ENV_VAR"` \| `"{env:VAR}"` \| `"!command"` \| `false` | A key saved via `/connect` wins over this field. It is reference to the key, never the key itself. `"$VAR"` and `"{env:VAR}"` read that env variable; `"!command"` runs the command and uses its output; `false` = keyless endpoint, no auth header sent. A pasted raw secret is refused with a warning. |
|
|
130
|
-
| `headers` | object | Extra request headers, string values only. One non-string value drops the whole object with a warning |
|
|
130
|
+
| `headers` | object | Extra request headers, string values only. One non-string value drops the whole object with a warning. Every request identifies itself with a `User-Agent` starting `command-code/<version>` unless you declare your own `User-Agent` here |
|
|
131
131
|
| `models` | object | Required. `{}` per id is enough. Zero valid models skips the provider |
|
|
132
132
|
| `disabled` | `true` | Tombstone: the entry is skipped silently, no warning. `"enabled": false` means the same |
|
|
133
133
|
|