@knightcodeai/cli-darwin-x64 0.6.0 → 0.6.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/bin/CHANGELOG.md +38 -0
- package/bin/docs/keybindings.md +2 -1
- package/bin/docs/models.md +1 -1
- package/bin/docs/settings.md +1 -1
- package/bin/docs/termux.md +0 -1
- package/bin/docs/themes.md +8 -6
- package/bin/knightcode +0 -0
- package/bin/native/darwin/prebuilds/darwin-x64/darwin-platform.node +0 -0
- package/bin/package.json +6 -7
- package/bin/theme/dark.json +2 -1
- package/bin/theme/light.json +2 -1
- package/bin/theme/theme-schema.json +6 -2
- package/package.json +1 -1
package/bin/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @knightcodeai/cli
|
|
2
2
|
|
|
3
|
+
## 0.6.1
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added GPT-6 Astra support across tool search, additional tools, long-context pricing, xhigh and max thinking levels, and its explicit thinking-level map.
|
|
8
|
+
|
|
9
|
+
- Added five-times-faster mouse wheel scrolling while holding Alt in fullscreen mode.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Changed the generated image model catalog to the current OpenRouter listing.
|
|
14
|
+
|
|
15
|
+
- Changed the built-in read, write, edit, and bash tools to request strict JSON-schema sampling by default instead of only under `KNIGHTCODE_EXPERIMENTAL`.
|
|
16
|
+
|
|
17
|
+
- Changed fullscreen scrollbars to render muted thin tracks with contrasting proportional two-cell-minimum thumbs, reserve an unstyled column in `always` mode, reveal hidden `auto` tracks on pointer entry, expand the same-colored thumb on hover, and support track-click jumping in addition to thumb dragging, with optional `scrollbarTrack` and `scrollbarThumb` theme colors falling back to muted and text.
|
|
18
|
+
|
|
19
|
+
- Changed fullscreen transcript search to cache unchanged results, index ASCII runs, and highlight only visible matches, so latency no longer grows with transcript size.
|
|
20
|
+
|
|
21
|
+
- Changed clipboard handling to use small built-in macOS, Windows, and X11 native helpers instead of an external dependency, running native reads on worker threads and making the command-line fallbacks (`pbcopy`, `clip.exe`, `wl-copy`, `xclip`) asynchronous. Incremental X11 transfers, legacy text encodings, and native image formats are preserved.
|
|
22
|
+
|
|
23
|
+
### Removed
|
|
24
|
+
|
|
25
|
+
- Removed Grok Build 0.1 from the built-in xAI model catalog.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Fixed processes killed by a signal reporting success; they now map to a 128 + signal exit code.
|
|
30
|
+
|
|
31
|
+
- Fixed compiled binaries shipping without the TUI's native helpers, which left clipboard reads on the command-line fallbacks and dropped Shift+Tab on Windows. Each target's prebuilds are now copied next to the executable.
|
|
32
|
+
|
|
33
|
+
- Fixed `fd` failing to start on musl-based Linux distributions by downloading the statically linked musl builds of both `fd` and `ripgrep`.
|
|
34
|
+
|
|
35
|
+
- Fixed post-login model selection for Radius, whose per-account catalog is empty until the first authenticated refresh; selection now waits for that refresh, defaults to `balanced`, and falls back to catalog order.
|
|
36
|
+
|
|
37
|
+
- Fixed the model, scoped-model, and thinking selectors hardcoding Ctrl+S to save; the shortcut is now the `app.models.save` and `app.thinking.save` keybindings and the on-screen hint follows a rebind.
|
|
38
|
+
|
|
39
|
+
- Fixed mouse hover changing selection and recentering autocomplete and settings lists, causing clicks to target a different item.
|
|
40
|
+
|
|
3
41
|
## 0.6.0
|
|
4
42
|
|
|
5
43
|
### Added
|
package/bin/docs/keybindings.md
CHANGED
|
@@ -151,7 +151,9 @@ This routing remains configurable through the ordinary action bindings. For exam
|
|
|
151
151
|
| `app.model.select` | `ctrl+l` | Open model selector |
|
|
152
152
|
| `app.model.cycleForward` | `ctrl+p` | Cycle to next model |
|
|
153
153
|
| `app.model.cycleBackward` | `shift+ctrl+p` (`alt+p` on Windows and WSL) | Cycle to previous model |
|
|
154
|
+
| `app.models.save` | `ctrl+s` | Save the selected default model or scoped model configuration to settings |
|
|
154
155
|
| `app.thinking.cycle` | `shift+tab` | Cycle thinking level |
|
|
156
|
+
| `app.thinking.save` | `ctrl+s` | Save current thinking level to settings |
|
|
155
157
|
| `app.thinking.toggle` | `ctrl+t` | Collapse or expand thinking blocks |
|
|
156
158
|
|
|
157
159
|
### Display and Message Queue
|
|
@@ -185,7 +187,6 @@ Used inside the scoped models selector (opened via `/scoped-models`).
|
|
|
185
187
|
|
|
186
188
|
| Keybinding id | Default | Description |
|
|
187
189
|
|--------|---------|-------------|
|
|
188
|
-
| `app.models.save` | `ctrl+s` | Save current model selection to settings |
|
|
189
190
|
| `app.models.enableAll` | `ctrl+a` | Enable all models (or all matching the current search) |
|
|
190
191
|
| `app.models.clearAll` | `ctrl+x` | Clear all models (or all matching the current search) |
|
|
191
192
|
| `app.models.toggleProvider` | `ctrl+p` | Toggle all models for the current provider |
|
package/bin/docs/models.md
CHANGED
|
@@ -482,7 +482,7 @@ For providers with partial OpenAI compatibility, use the `compat` field.
|
|
|
482
482
|
| `supportsStrictMode` | Whether the provider accepts strict JSON-schema function tool definitions. Defaults depend on the API; built-in OpenAI models carry explicit capability metadata. |
|
|
483
483
|
| `supportsOpenAIGrammarTools` | Whether OpenAI-compatible APIs emit custom Lark/regex grammar tools. When `false`, grammar-constrained tools fall back to normal function tools. Default: `false`; the built-in model catalog enables it for GPT-5+ models on OpenAI, OpenAI Codex, Azure OpenAI, GitHub Copilot, opencode, and Cloudflare AI Gateway. |
|
|
484
484
|
| `deferredToolsMode` | Use provider-specific deferred tool serialization. Currently only `"kimi"` is supported for Kimi's OpenAI-compatible Chat Completions format. |
|
|
485
|
-
| `supportsLongCacheRetention` | Whether the provider accepts long cache retention when cache retention is `long`: `prompt_cache_retention: "24h"` for OpenAI
|
|
485
|
+
| `supportsLongCacheRetention` | Whether the provider accepts long cache retention when cache retention is `long`: `prompt_cache_options.ttl: "30m"` for GPT-5.6+ Responses models, `prompt_cache_retention: "24h"` for earlier OpenAI models, or `cache_control.ttl: "1h"` when `cacheControlFormat` is `anthropic`. Default: `true`. |
|
|
486
486
|
| `openRouterRouting` | OpenRouter provider routing preferences. This object is sent as-is in the `provider` field of the [OpenRouter API request](https://openrouter.ai/docs/guides/routing/provider-selection). |
|
|
487
487
|
| `vercelGatewayRouting` | Vercel AI Gateway routing config for provider selection (`only`, `order`) |
|
|
488
488
|
|
package/bin/docs/settings.md
CHANGED
|
@@ -68,7 +68,7 @@ Use `/trust` in interactive mode to save a project trust decision for future ses
|
|
|
68
68
|
| `showHardwareCursor` | boolean | `false` | Show the terminal cursor while TUI positions it for IME support |
|
|
69
69
|
| `tuiMode` | string | `"regular"` | Interactive TUI mode: `"regular"` or experimental `"fullscreen"`. Changes from `/settings` apply immediately; `--tui-mode` overrides this setting at startup |
|
|
70
70
|
| `fullscreenExitOutput` | string | `"transcript"` | Fullscreen exit output: `"transcript"` prints the final transcript and resume hint, while `"resume-hint"` restores the previous screen and prints only the resume hint. Has no effect in regular TUI mode |
|
|
71
|
-
| `fullscreenScrollbar` | string | `"auto"` | Fullscreen transcript scrollbar: `"auto"` shows it temporarily while scrolling, `"always"` reserves
|
|
71
|
+
| `fullscreenScrollbar` | string | `"auto"` | Fullscreen transcript scrollbar: `"auto"` shows it temporarily while scrolling or while the pointer is over its rightmost-column track, `"always"` reserves that column and keeps it visible, and `"hidden"` hides it. Has no effect in regular TUI mode |
|
|
72
72
|
| `fullscreenCopyOnSelect` | boolean | `true` | Automatically copy selected text in fullscreen mode. When disabled, selections stay highlighted and `Ctrl+X` copies the active selection. Has no effect in regular TUI mode |
|
|
73
73
|
|
|
74
74
|
For VS Code, include `--wait` so knightcode resumes after the editor exits:
|
package/bin/docs/termux.md
CHANGED
|
@@ -96,7 +96,6 @@ termux-camera-photo out.jpg # Take photo
|
|
|
96
96
|
## Limitations
|
|
97
97
|
|
|
98
98
|
- **No image clipboard**: Termux clipboard API only supports text
|
|
99
|
-
- **No native binaries**: Some optional native dependencies (like the clipboard module) are unavailable on Android ARM64 and are skipped during installation
|
|
100
99
|
- **Storage access**: To access files in `/storage/emulated/0` (Downloads, etc.), run `termux-setup-storage` once to grant permissions
|
|
101
100
|
|
|
102
101
|
## Troubleshooting
|
package/bin/docs/themes.md
CHANGED
|
@@ -88,7 +88,8 @@ vim ~/.knightcode/agent/themes/my-theme.json
|
|
|
88
88
|
"text": "",
|
|
89
89
|
"thinkingText": "secondary",
|
|
90
90
|
"selectedBg": "#2d2d30",
|
|
91
|
-
"
|
|
91
|
+
"scrollbarTrack": "secondary",
|
|
92
|
+
"scrollbarThumb": "",
|
|
92
93
|
"searchMatchBg": "#2d2d30",
|
|
93
94
|
"searchMatchText": "",
|
|
94
95
|
"userMessageBg": "#2d2d30",
|
|
@@ -160,15 +161,15 @@ vim ~/.knightcode/agent/themes/my-theme.json
|
|
|
160
161
|
|
|
161
162
|
- `name` is required, must be unique, and must not contain `/`.
|
|
162
163
|
- `vars` is optional. Define reusable colors here, then reference them in `colors`.
|
|
163
|
-
- `colors` must define all
|
|
164
|
+
- `colors` must define all 53 required tokens. `thinkingMax` and the two search highlight tokens are optional and use the fallbacks listed below.
|
|
164
165
|
|
|
165
166
|
The `$schema` field enables editor auto-completion and validation.
|
|
166
167
|
|
|
167
168
|
## Color Tokens
|
|
168
169
|
|
|
169
|
-
Every theme must define all
|
|
170
|
+
Every theme must define all 53 required color tokens. The optional tokens preserve compatibility with existing themes: `thinkingMax` falls back to `thinkingXhigh`, `searchMatchBg` falls back to `selectedBg`, and `searchMatchText` falls back to `text`. Other search matches use `searchMatchText` on `searchMatchBg` with an underline; the current match reverses that foreground/background pair and uses bold text.
|
|
170
171
|
|
|
171
|
-
### Core UI (
|
|
172
|
+
### Core UI (13 colors)
|
|
172
173
|
|
|
173
174
|
| Token | Purpose |
|
|
174
175
|
|-------|---------|
|
|
@@ -183,13 +184,14 @@ Every theme must define all 51 required color tokens. The optional tokens preser
|
|
|
183
184
|
| `dim` | Tertiary text |
|
|
184
185
|
| `text` | Default text (usually `""`) |
|
|
185
186
|
| `thinkingText` | Thinking block text |
|
|
187
|
+
| `scrollbarTrack` | Fullscreen scrollbar track foreground |
|
|
188
|
+
| `scrollbarThumb` | Fullscreen scrollbar thumb foreground, shared by normal and expanded states |
|
|
186
189
|
|
|
187
|
-
### Backgrounds & Content (11 required,
|
|
190
|
+
### Backgrounds & Content (11 required, 2 optional)
|
|
188
191
|
|
|
189
192
|
| Token | Purpose |
|
|
190
193
|
|-------|---------|
|
|
191
194
|
| `selectedBg` | Selected line background |
|
|
192
|
-
| `scrollbarThumb` | Fullscreen scrollbar thumb background; optional, falls back to `selectedBg` |
|
|
193
195
|
| `searchMatchBg` | Transcript search match background and current-match text; optional, falls back to `selectedBg` |
|
|
194
196
|
| `searchMatchText` | Transcript search match text and current-match background; optional, falls back to `text` |
|
|
195
197
|
| `userMessageBg` | User message background |
|
package/bin/knightcode
CHANGED
|
Binary file
|
|
Binary file
|
package/bin/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knightcodeai/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "KnightCode — a local, BYOK terminal coding agent powered by OpenRouter.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -37,12 +37,11 @@
|
|
|
37
37
|
"test": "vitest --run"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@knightcodeai/cli-linux-x64": "0.6.
|
|
41
|
-
"@knightcodeai/cli-linux-arm64": "0.6.
|
|
42
|
-
"@knightcodeai/cli-darwin-x64": "0.6.
|
|
43
|
-
"@knightcodeai/cli-darwin-arm64": "0.6.
|
|
44
|
-
"@knightcodeai/cli-win32-x64": "0.6.
|
|
45
|
-
"@mariozechner/clipboard": "0.3.9"
|
|
40
|
+
"@knightcodeai/cli-linux-x64": "0.6.1",
|
|
41
|
+
"@knightcodeai/cli-linux-arm64": "0.6.1",
|
|
42
|
+
"@knightcodeai/cli-darwin-x64": "0.6.1",
|
|
43
|
+
"@knightcodeai/cli-darwin-arm64": "0.6.1",
|
|
44
|
+
"@knightcodeai/cli-win32-x64": "0.6.1"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
47
|
"@knightcode/agent": "workspace:*",
|
package/bin/theme/dark.json
CHANGED
package/bin/theme/light.json
CHANGED
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"thinkingText": "mediumGray",
|
|
33
33
|
|
|
34
34
|
"selectedBg": "selectedBg",
|
|
35
|
-
"
|
|
35
|
+
"scrollbarTrack": "lightGray",
|
|
36
|
+
"scrollbarThumb": "text",
|
|
36
37
|
"searchMatchBg": "selectedBg",
|
|
37
38
|
"searchMatchText": "text",
|
|
38
39
|
"userMessageBg": "userMsgBg",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"colors": {
|
|
36
36
|
"type": "object",
|
|
37
|
-
"description": "Theme color definitions (
|
|
37
|
+
"description": "Theme color definitions (scrollbar, thinkingMax, and search highlight colors are optional and use compatible fallbacks)",
|
|
38
38
|
"required": [
|
|
39
39
|
"accent",
|
|
40
40
|
"border",
|
|
@@ -137,9 +137,13 @@
|
|
|
137
137
|
"$ref": "#/$defs/colorValue",
|
|
138
138
|
"description": "Selected item background"
|
|
139
139
|
},
|
|
140
|
+
"scrollbarTrack": {
|
|
141
|
+
"$ref": "#/$defs/colorValue",
|
|
142
|
+
"description": "Fullscreen scrollbar track foreground (falls back to muted when omitted)"
|
|
143
|
+
},
|
|
140
144
|
"scrollbarThumb": {
|
|
141
145
|
"$ref": "#/$defs/colorValue",
|
|
142
|
-
"description": "Fullscreen scrollbar thumb
|
|
146
|
+
"description": "Fullscreen scrollbar thumb foreground (falls back to text when omitted)"
|
|
143
147
|
},
|
|
144
148
|
"searchMatchBg": {
|
|
145
149
|
"$ref": "#/$defs/colorValue",
|