command-code 1.93.2 → 1.93.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# command-code
|
|
2
2
|
|
|
3
|
+
## 1.93.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: /connect imports reasoning effort levels from the model registry, so DeepSeek V4.1 Flash and other reasoning models offer their levels in /effort
|
|
8
|
+
- feat: let a BYOK provider opt in to zero data retention. Under `CMD_ZDR=1` every custom provider from `~/.commandcode/providers.json` was refused with `CMD_ZDR_NO_PROVIDERS`, because Command Code can't vouch for an endpoint it doesn't route. Users running a local model or their own gateway with ZDR enforced had no way to keep `CMD_ZDR=1` on for hosted models while also using that endpoint, so they ran two separate clients. A provider entry now takes `"zdr": true`: its models run under `CMD_ZDR=1` and every other custom provider is still refused. Mods can set the same `zdr: true` on the module they pass to `cmd.addProvider()`. The refusal for an unmarked BYOK provider now names this opt-in.
|
|
9
|
+
- fix: `/model` in a cloud session now switches the model the cloud session runs, `cmd -p --cloud` and `cmd cloud list|status` exit as soon as they finish instead of 2 s later, and `cmd cloud list` no longer crashes on a session without a repo.
|
|
10
|
+
- fix: in a cloud session, `/model` closes at once and never drops what you type while the cloud session wakes up, and an idle window now shows turns started from another client.
|
|
11
|
+
- fix: `--effort` now sets reasoning effort for that session only and no longer rewrites your saved effort
|
|
12
|
+
- fix: when `cmd update` or `/update` fails, error log is saved to `~/.commandcode/logs/update-error.log`
|
|
13
|
+
|
|
3
14
|
## 1.93.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -128,6 +128,7 @@ Everything related to byok providers lives in `~/.commandcode/providers.json`. I
|
|
|
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
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
|
+
| `zdr` | `true` | You vouch that this endpoint keeps no data (a local model, or your own gateway enforcing ZDR). Only then do its models run under `CMD_ZDR=1`; without it they are refused there. Any non-boolean value warns and is ignored |
|
|
131
132
|
| `models` | object | Required. `{}` per id is enough. Zero valid models skips the provider |
|
|
132
133
|
| `disabled` | `true` | Tombstone: the entry is skipped silently, no warning. `"enabled": false` means the same |
|
|
133
134
|
|