@legna-lnc/legnacode 1.9.9 → 2.0.0
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 +12 -0
- package/README.md +2 -1
- package/README.zh-CN.md +2 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
All notable changes to LegnaCode CLI will be documented in this file.
|
|
6
6
|
|
|
7
|
+
## [2.0.0] - 2026-04-26
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **Kiro Gateway Client-Side History Optimization** — New `kiroGateway` setting enables client-side history compression before sending to Kiro Gateway. Aligned with Gateway's converter.py: thinking blocks truncated (distance>5, 2000c/60l), tool_result truncated (distance>8, 8000c/150l), images replaced with placeholders, redacted_thinking removed, JSON schemas normalized (whitelist filtering, anyOf/oneOf flattening, empty required removal), tool descriptions capped at 9216 chars.
|
|
12
|
+
- **Admin Profile Inline Editing** — Each profile card now has an "编辑" button that expands an inline settings editor for that specific file. No need to switch profiles to edit them.
|
|
13
|
+
- **Profile-Specific API** — `GET/PUT /api/:scope/profiles/:filename` for reading/writing individual profile files.
|
|
14
|
+
|
|
15
|
+
### Fixes
|
|
16
|
+
|
|
17
|
+
- **Bash Sandbox Completely Removed** — Disabled native sandbox addon (`sandboxAddon = null`), Seatbelt fallback (`wrapCommand` returns `none`), and `sandbox-adapter.ts` native path. The `(deny default)` Seatbelt profile was blocking all commands. Command safety handled at TS permission layer.
|
|
18
|
+
|
|
7
19
|
## [1.9.9] - 2026-04-26
|
|
8
20
|
|
|
9
21
|
### Features
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**An AI-powered terminal programming assistant, supercharged.**
|
|
6
6
|
|
|
7
|
-
[](./CHANGELOG.md)
|
|
8
8
|
[](#platform-support)
|
|
9
9
|
[](./LICENSE)
|
|
10
10
|
[](https://github.com/anthropics/claude-code)
|
|
@@ -34,6 +34,7 @@ LegnaCode is built on top of [Claude Code CLI](https://github.com/anthropics/cla
|
|
|
34
34
|
|
|
35
35
|
| Version | Summary |
|
|
36
36
|
|---------|---------|
|
|
37
|
+
| **2.0.0** | Kiro Gateway client-side history optimization; Admin profile inline editing; Bash sandbox removed |
|
|
37
38
|
| **1.9.9** | Bash exit code 65 彻底修复;Admin 预设配置模板;ANTHROPIC_MODEL 字段 |
|
|
38
39
|
| **1.9.5** | Admin preset profile templates (7 providers); ANTHROPIC_MODEL field; migration auto-fill |
|
|
39
40
|
| **1.9.4** | macOS Seatbelt sandbox rewrite (allow-by-default); Shell.ts sandbox return path fix |
|
package/README.zh-CN.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**AI 驱动的终端编程助手,全面增强。**
|
|
6
6
|
|
|
7
|
-
[](./CHANGELOG.zh-CN.md)
|
|
8
8
|
[](#平台支持)
|
|
9
9
|
[](./LICENSE)
|
|
10
10
|
[](https://github.com/anthropics/claude-code)
|
|
@@ -34,6 +34,7 @@ LegnaCode 基于 [Claude Code CLI](https://github.com/anthropics/claude-code)
|
|
|
34
34
|
|
|
35
35
|
| 版本 | 摘要 |
|
|
36
36
|
|------|------|
|
|
37
|
+
| **2.0.0** | Kiro Gateway 客户端历史压缩优化;Admin 配置文件内联编辑;Bash sandbox 移除 |
|
|
37
38
|
| **1.9.9** | Bash exit code 65 彻底修复;Admin 预设配置模板;ANTHROPIC_MODEL 字段 |
|
|
38
39
|
| **1.9.5** | Admin 预设配置模板(7 家 Provider);ANTHROPIC_MODEL 字段;迁移自动补全 |
|
|
39
40
|
| **1.9.4** | macOS Seatbelt 沙盒重写(默认允许策略);Shell.ts sandbox 返回路径修复 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legna-lnc/legnacode",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "LegnaCode — legna.lnc's official CLI for coding assistance",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -142,13 +142,13 @@
|
|
|
142
142
|
"bun": ">=1.2.0"
|
|
143
143
|
},
|
|
144
144
|
"optionalDependencies": {
|
|
145
|
-
"@legna-lnc/legnacode-darwin-arm64": "
|
|
146
|
-
"@legna-lnc/legnacode-darwin-x64": "
|
|
147
|
-
"@legna-lnc/legnacode-darwin-x64-baseline": "
|
|
148
|
-
"@legna-lnc/legnacode-linux-x64": "
|
|
149
|
-
"@legna-lnc/legnacode-linux-x64-baseline": "
|
|
150
|
-
"@legna-lnc/legnacode-linux-arm64": "
|
|
151
|
-
"@legna-lnc/legnacode-win32-x64": "
|
|
152
|
-
"@legna-lnc/legnacode-win32-ia32": "
|
|
145
|
+
"@legna-lnc/legnacode-darwin-arm64": "2.0.0",
|
|
146
|
+
"@legna-lnc/legnacode-darwin-x64": "2.0.0",
|
|
147
|
+
"@legna-lnc/legnacode-darwin-x64-baseline": "2.0.0",
|
|
148
|
+
"@legna-lnc/legnacode-linux-x64": "2.0.0",
|
|
149
|
+
"@legna-lnc/legnacode-linux-x64-baseline": "2.0.0",
|
|
150
|
+
"@legna-lnc/legnacode-linux-arm64": "2.0.0",
|
|
151
|
+
"@legna-lnc/legnacode-win32-x64": "2.0.0",
|
|
152
|
+
"@legna-lnc/legnacode-win32-ia32": "2.0.0"
|
|
153
153
|
}
|
|
154
154
|
}
|