@knightcodeai/cli-win32-x64 0.5.0 → 0.5.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 +18 -0
- package/bin/knightcode.exe +0 -0
- package/bin/package.json +6 -6
- package/package.json +1 -1
package/bin/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @knightcodeai/cli
|
|
2
2
|
|
|
3
|
+
## 0.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2990a0f: Tool calls now render as blocks in the transcript. Each one shows a
|
|
8
|
+
`Bash(...)` / `Read(...)` / `Update(...)` header with its result collapsed
|
|
9
|
+
underneath on a `⎿` gutter, instead of the flat before/after dump. The rest of
|
|
10
|
+
the chrome — boxed messages, the rounded input frame, the braille spinner, the
|
|
11
|
+
banner and footer — is unchanged.
|
|
12
|
+
|
|
13
|
+
Fixed a context-window overflow loop. Messages with no provider usage yet are
|
|
14
|
+
estimated at 4 chars/token, but real tokenizers land nearer 3 on code and JSON,
|
|
15
|
+
so reserving `max_tokens` against the raw estimate could push prompt +
|
|
16
|
+
`max_tokens` past the window. The provider rejected it as an overflow, the agent
|
|
17
|
+
compacted, `max_tokens` re-expanded into the freed room, and the next request
|
|
18
|
+
failed the same way. The estimated part is now padded so the reservation stays
|
|
19
|
+
inside the window.
|
|
20
|
+
|
|
3
21
|
## 0.5.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/bin/knightcode.exe
CHANGED
|
Binary file
|
package/bin/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knightcodeai/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "KnightCode — a local, BYOK terminal coding agent powered by OpenRouter.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"test": "vitest --run"
|
|
39
39
|
},
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@knightcodeai/cli-linux-x64": "0.5.
|
|
42
|
-
"@knightcodeai/cli-linux-arm64": "0.5.
|
|
43
|
-
"@knightcodeai/cli-darwin-x64": "0.5.
|
|
44
|
-
"@knightcodeai/cli-darwin-arm64": "0.5.
|
|
45
|
-
"@knightcodeai/cli-win32-x64": "0.5.
|
|
41
|
+
"@knightcodeai/cli-linux-x64": "0.5.1",
|
|
42
|
+
"@knightcodeai/cli-linux-arm64": "0.5.1",
|
|
43
|
+
"@knightcodeai/cli-darwin-x64": "0.5.1",
|
|
44
|
+
"@knightcodeai/cli-darwin-arm64": "0.5.1",
|
|
45
|
+
"@knightcodeai/cli-win32-x64": "0.5.1",
|
|
46
46
|
"@mariozechner/clipboard": "0.3.9"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|