@knightcodeai/cli-darwin-x64 0.5.1 → 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 +22 -0
- package/bin/docs/providers.md +1 -0
- package/bin/docs/skills.md +1 -1
- package/bin/knightcode +0 -0
- package/bin/package.json +6 -6
- package/bin/theme/dark.json +2 -2
- package/package.json +1 -1
package/bin/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
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
|
+
|
|
3
25
|
## 0.5.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/bin/docs/providers.md
CHANGED
|
@@ -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` |
|
package/bin/docs/skills.md
CHANGED
|
@@ -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.
|
|
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.
|
|
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.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": {
|
package/bin/theme/dark.json
CHANGED