@legna-lnc/legnacode 1.9.0 → 1.9.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/CHANGELOG.md +13 -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,19 @@
|
|
|
4
4
|
|
|
5
5
|
All notable changes to LegnaCode CLI will be documented in this file.
|
|
6
6
|
|
|
7
|
+
## [1.9.2] - 2026-04-25
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **Computer Use Python Bridge** — Replaced native Swift/Rust modules (`@ant/computer-use-swift` + `@ant/computer-use-input`) with pure Python subprocess bridge (`runtime/mac_helper.py` + `runtime/win_helper.py`). Zero NAPI dependencies. Supports 28 commands: screenshot, mouse, keyboard, app management, clipboard, permission detection. Cross-platform: macOS and Windows.
|
|
12
|
+
- **Auto Python Environment Setup** — First Computer Use invocation automatically detects system Python 3.12+, creates a venv at `~/.legna/computer-use-venv/`, installs platform-specific dependencies. Search order: `LEGNA_PYTHON_BIN` env → `python3.14`..`python3.12` → `python3`/`python` → Windows `py` launcher. Requirements hash invalidation triggers reinstall on dependency changes.
|
|
13
|
+
- **Platform-Specific Dependencies** — Split `requirements.txt` into `requirements-macos.txt` (pyobjc), `requirements-windows.txt` (pywin32/psutil/screeninfo/pyperclip), `requirements-common.txt` (mss/Pillow/pyautogui).
|
|
14
|
+
|
|
15
|
+
### Improvements
|
|
16
|
+
|
|
17
|
+
- **Feature Gate Removal** — Removed all GrowthBook remote feature flags and Max/Pro subscription checks for Computer Use. Now controlled by local `settings.json` (`computerUse.enabled`, default `true`). Available to all users.
|
|
18
|
+
- **Executor Simplification** — `executor.ts` rewritten from ~800 lines to ~200 lines. No CFRunLoop drain, no NAPI, no animated mouse movement — pure subprocess I/O.
|
|
19
|
+
|
|
7
20
|
## [1.9.0] - 2026-04-24
|
|
8
21
|
|
|
9
22
|
### 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
|
+
| **1.9.2** | Computer Use Python bridge (macOS + Windows); auto Python 3.12+ venv setup; feature gate removal for Computer Use |
|
|
37
38
|
| **1.9.0** | Portable sessions (relative cwd); WebUI overhaul (project browser, memory editor, force-directed graph); full project migration (sessions + subagents + memory + skills + agents + rules + MCP config); profile switching via pointer file |
|
|
38
39
|
| **1.8.5** | Token optimization: compress tool prompts (BashTool/AgentTool/TodoWrite/EnterPlanMode); fix cache_control for Kimi/MiniMax/MiMo adapters |
|
|
39
40
|
|
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
|
+
| **1.9.2** | Computer Use Python 桥接(macOS + Windows);自动 Python 3.12+ venv 设置;Computer Use feature gate 全面解锁 |
|
|
37
38
|
| **1.9.0** | 可移植会话(相对路径 cwd);WebUI 全面改版(项目浏览器、记忆编辑器、力导向关系图谱);完整项目迁移(sessions + subagents + memory + skills + agents + rules + MCP 配置);配置切换改为指针文件 |
|
|
38
39
|
| **1.8.5** | Token 优化:压缩工具提示词(BashTool/AgentTool/TodoWrite/EnterPlanMode);修复 Kimi/MiniMax/MiMo 适配器 cache_control 被误删 |
|
|
39
40
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legna-lnc/legnacode",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
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": "1.9.
|
|
146
|
-
"@legna-lnc/legnacode-darwin-x64": "1.9.
|
|
147
|
-
"@legna-lnc/legnacode-darwin-x64-baseline": "1.9.
|
|
148
|
-
"@legna-lnc/legnacode-linux-x64": "1.9.
|
|
149
|
-
"@legna-lnc/legnacode-linux-x64-baseline": "1.9.
|
|
150
|
-
"@legna-lnc/legnacode-linux-arm64": "1.9.
|
|
151
|
-
"@legna-lnc/legnacode-win32-x64": "1.9.
|
|
152
|
-
"@legna-lnc/legnacode-win32-ia32": "1.9.
|
|
145
|
+
"@legna-lnc/legnacode-darwin-arm64": "1.9.2",
|
|
146
|
+
"@legna-lnc/legnacode-darwin-x64": "1.9.2",
|
|
147
|
+
"@legna-lnc/legnacode-darwin-x64-baseline": "1.9.2",
|
|
148
|
+
"@legna-lnc/legnacode-linux-x64": "1.9.2",
|
|
149
|
+
"@legna-lnc/legnacode-linux-x64-baseline": "1.9.2",
|
|
150
|
+
"@legna-lnc/legnacode-linux-arm64": "1.9.2",
|
|
151
|
+
"@legna-lnc/legnacode-win32-x64": "1.9.2",
|
|
152
|
+
"@legna-lnc/legnacode-win32-ia32": "1.9.2"
|
|
153
153
|
}
|
|
154
154
|
}
|