@legna-lnc/legnacode 1.9.3 → 1.9.4

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 CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  All notable changes to LegnaCode CLI will be documented in this file.
6
6
 
7
+ ## [1.9.4] - 2026-04-25
8
+
9
+ ### Fixes
10
+
11
+ - **macOS Seatbelt Sandbox Rewrite** — Replaced `(deny default)` with `(allow default)` strategy. The sandbox now only denies writes to critical system paths (`/System`, `/usr`, `/bin`, `/sbin`) and user-configured `protected_paths`. Normal shell commands work without friction — no more exit code 65.
12
+ - **Shell.ts Sandbox Return Path** — Restored the return statement for successful sandbox execution that was accidentally removed in v1.9.3, which caused commands to fall through and re-execute unsandboxed.
13
+
7
14
  ## [1.9.3] - 2026-04-25
8
15
 
9
16
  ### Features
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  **An AI-powered terminal programming assistant, supercharged.**
6
6
 
7
- [![version](https://img.shields.io/badge/version-1.9.3-blue)](./CHANGELOG.md)
7
+ [![version](https://img.shields.io/badge/version-1.9.4-blue)](./CHANGELOG.md)
8
8
  [![platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20Linux%20%7C%20Windows-brightgreen)](#platform-support)
9
9
  [![license](https://img.shields.io/badge/license-MIT-yellow)](./LICENSE)
10
10
  [![Claude Code](https://img.shields.io/badge/based%20on-Claude%20Code-blueviolet)](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.4** | macOS Seatbelt sandbox rewrite (allow-by-default); Shell.ts sandbox return path fix |
37
38
  | **1.9.3** | OpenAI-compatible API routing; deep adapter alignment for all 7 CN providers; admin profile clone; Bash sandbox fix |
38
39
  | **1.9.2** | Computer Use Python bridge (macOS + Windows); auto Python 3.12+ venv setup; feature gate removal for Computer Use |
39
40
  | **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 |
package/README.zh-CN.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  **AI 驱动的终端编程助手,全面增强。**
6
6
 
7
- [![version](https://img.shields.io/badge/version-1.9.3-blue)](./CHANGELOG.zh-CN.md)
7
+ [![version](https://img.shields.io/badge/version-1.9.4-blue)](./CHANGELOG.zh-CN.md)
8
8
  [![platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20Linux%20%7C%20Windows-brightgreen)](#平台支持)
9
9
  [![license](https://img.shields.io/badge/license-MIT-yellow)](./LICENSE)
10
10
  [![Claude Code](https://img.shields.io/badge/based%20on-Claude%20Code-blueviolet)](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.4** | macOS Seatbelt 沙盒重写(默认允许策略);Shell.ts sandbox 返回路径修复 |
37
38
  | **1.9.3** | OpenAI 兼容 API 路由;7 家国产模型适配器深度对齐;admin 配置复制;Bash sandbox 修复 |
38
39
  | **1.9.2** | Computer Use Python 桥接(macOS + Windows);自动 Python 3.12+ venv 设置;Computer Use feature gate 全面解锁 |
39
40
  | **1.9.0** | 可移植会话(相对路径 cwd);WebUI 全面改版(项目浏览器、记忆编辑器、力导向关系图谱);完整项目迁移(sessions + subagents + memory + skills + agents + rules + MCP 配置);配置切换改为指针文件 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legna-lnc/legnacode",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
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.3",
146
- "@legna-lnc/legnacode-darwin-x64": "1.9.3",
147
- "@legna-lnc/legnacode-darwin-x64-baseline": "1.9.3",
148
- "@legna-lnc/legnacode-linux-x64": "1.9.3",
149
- "@legna-lnc/legnacode-linux-x64-baseline": "1.9.3",
150
- "@legna-lnc/legnacode-linux-arm64": "1.9.3",
151
- "@legna-lnc/legnacode-win32-x64": "1.9.3",
152
- "@legna-lnc/legnacode-win32-ia32": "1.9.3"
145
+ "@legna-lnc/legnacode-darwin-arm64": "1.9.4",
146
+ "@legna-lnc/legnacode-darwin-x64": "1.9.4",
147
+ "@legna-lnc/legnacode-darwin-x64-baseline": "1.9.4",
148
+ "@legna-lnc/legnacode-linux-x64": "1.9.4",
149
+ "@legna-lnc/legnacode-linux-x64-baseline": "1.9.4",
150
+ "@legna-lnc/legnacode-linux-arm64": "1.9.4",
151
+ "@legna-lnc/legnacode-win32-x64": "1.9.4",
152
+ "@legna-lnc/legnacode-win32-ia32": "1.9.4"
153
153
  }
154
154
  }