@knightcodeai/cli-linux-arm64 0.5.0 → 0.5.2

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 CHANGED
@@ -1,5 +1,45 @@
1
1
  # @knightcodeai/cli
2
2
 
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 736f894: Read EXIF orientation from JPEGs whose first APP1 segment holds XMP instead of
8
+ EXIF. Such images previously rendered unrotated.
9
+ - ec0f150: Clear a delivered steering or follow-up message that carried only images. The
10
+ entry previously stayed in the queue forever, leaving the pending count wrong
11
+ and the message re-queued.
12
+ - 13586e1: Give each `/share` its own temp directory so two shares running at once no
13
+ longer overwrite each other's export or delete the other's file mid-upload.
14
+ - a90f2eb: Keep skills in the system prompt when `read` is disabled but a shell tool is
15
+ available, and tell the model to load `SKILL.md` with `bash` (or PowerShell)
16
+ instead. Skills previously vanished entirely from bash-only tool setups.
17
+ - d28f07d: Ignore Kitty image conversions that land after the tool image at that position
18
+ changed, so a streamed partial image no longer replaces the final result.
19
+ - e0fb2d8: Add AgentRouter as a built-in provider. `AGENTROUTER_API_KEY` enables five
20
+ AgentRouter models, defaulting to `agentrouter/glm-5.3`, with Claude routed through
21
+ the Anthropic Messages endpoint and the rest through the OpenAI-compatible one.
22
+ Token prices come from AgentRouter's rate table rather than upstream list prices;
23
+ cache costs remain estimates because AgentRouter does not publish its cache ratios.
24
+
25
+ ## 0.5.1
26
+
27
+ ### Patch Changes
28
+
29
+ - 2990a0f: Tool calls now render as blocks in the transcript. Each one shows a
30
+ `Bash(...)` / `Read(...)` / `Update(...)` header with its result collapsed
31
+ underneath on a `⎿` gutter, instead of the flat before/after dump. The rest of
32
+ the chrome — boxed messages, the rounded input frame, the braille spinner, the
33
+ banner and footer — is unchanged.
34
+
35
+ Fixed a context-window overflow loop. Messages with no provider usage yet are
36
+ estimated at 4 chars/token, but real tokenizers land nearer 3 on code and JSON,
37
+ so reserving `max_tokens` against the raw estimate could push prompt +
38
+ `max_tokens` past the window. The provider rejected it as an overflow, the agent
39
+ compacted, `max_tokens` re-expanded into the freed room, and the next request
40
+ failed the same way. The estimated part is now padded so the reservation stays
41
+ inside the window.
42
+
3
43
  ## 0.5.0
4
44
 
5
45
  ### Minor Changes
@@ -69,6 +69,7 @@ knightcode
69
69
  | Provider | Environment Variable | `auth.json` key |
70
70
  |----------|----------------------|------------------|
71
71
  | Anthropic | `ANTHROPIC_API_KEY` | `anthropic` |
72
+ | AgentRouter | `AGENTROUTER_API_KEY` | `agentrouter` |
72
73
  | Ant Ling | `ANT_LING_API_KEY` | `ant-ling` |
73
74
  | Azure OpenAI Responses | `AZURE_OPENAI_API_KEY` | `azure-openai-responses` |
74
75
  | OpenAI | `OPENAI_API_KEY` | `openai` |
@@ -66,7 +66,7 @@ For project-level Claude Code skills, add to `.knightcode/settings.json`:
66
66
 
67
67
  1. At startup, knightcode scans skill locations and extracts names and descriptions
68
68
  2. The system prompt includes available skills in XML format per the [specification](https://agentskills.io/integrate-skills)
69
- 3. When a task matches, the agent uses `read` to load the full SKILL.md (models don't always do this; use prompting or `/skill:name` to force it)
69
+ 3. When a task matches, the agent uses `read`, or a shell tool when `read` is unavailable, to load the full SKILL.md (models don't always do this; use prompting or `/skill:name` to force it)
70
70
  4. The agent follows the instructions, using relative paths to reference scripts and assets
71
71
 
72
72
  This is progressive disclosure: only descriptions are always in context, full instructions load on-demand.
package/bin/knightcode CHANGED
Binary file
package/bin/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knightcodeai/cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
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.0",
42
- "@knightcodeai/cli-linux-arm64": "0.5.0",
43
- "@knightcodeai/cli-darwin-x64": "0.5.0",
44
- "@knightcodeai/cli-darwin-arm64": "0.5.0",
45
- "@knightcodeai/cli-win32-x64": "0.5.0",
41
+ "@knightcodeai/cli-linux-x64": "0.5.2",
42
+ "@knightcodeai/cli-linux-arm64": "0.5.2",
43
+ "@knightcodeai/cli-darwin-x64": "0.5.2",
44
+ "@knightcodeai/cli-darwin-arm64": "0.5.2",
45
+ "@knightcodeai/cli-win32-x64": "0.5.2",
46
46
  "@mariozechner/clipboard": "0.3.9"
47
47
  },
48
48
  "devDependencies": {
@@ -58,8 +58,8 @@
58
58
  "mdHr": "gray",
59
59
  "mdListBullet": "accent",
60
60
 
61
- "toolDiffAdded": "green",
62
- "toolDiffRemoved": "red",
61
+ "toolDiffAdded": "#57ab5a",
62
+ "toolDiffRemoved": "#e5534b",
63
63
  "toolDiffContext": "gray",
64
64
 
65
65
  "syntaxComment": "#6A9955",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knightcodeai/cli-linux-arm64",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",