@legna-lnc/legnacode 1.9.8 → 1.9.9

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,19 +4,19 @@
4
4
 
5
5
  All notable changes to LegnaCode CLI will be documented in this file.
6
6
 
7
- ## [1.9.8] - 2026-04-26
7
+ ## [1.9.9] - 2026-04-26
8
8
 
9
9
  ### Features
10
10
 
11
- - **Admin Preset Profile Templates** — "从预设创建" button in profiles panel with 7 provider templates (DeepSeek, Kimi, GLM, Qwen, MiniMax, MiMo, Anthropic). Each preset pre-fills all env fields. Creates file and auto-switches.
12
- - **ANTHROPIC_MODEL Settings Field** — Admin settings panel now exposes `env.ANTHROPIC_MODEL` ("指定模型 — 覆盖所有层级"), the highest-priority model override.
11
+ - **Admin Preset Profile Templates** — "从预设创建" button with 7 provider templates. Creates file and auto-switches.
12
+ - **ANTHROPIC_MODEL Settings Field** — Highest-priority model override in admin settings panel.
13
13
  - **Backend profiles/create API** — `POST /api/:scope/profiles/create { filename, content }`.
14
14
 
15
15
  ### Fixes
16
16
 
17
- - **Migration Auto-Fill ANTHROPIC_MODEL** — When migrating from Claude Code configs that have `ANTHROPIC_DEFAULT_OPUS_MODEL` but no `ANTHROPIC_MODEL`, auto-fills from OPUS value.
18
- - **compile-all.ts Auto-Copy Addons** — Build script copies `.node` addons from both `src/native/` and `native/*/` (napi build output).
19
- - **Bash Exit Code 65** — Fixed shell commands returning exit code 65 on macOS.
17
+ - **Bash Exit Code 65 — Complete Fix** — Disabled all sandbox wrapping paths: native Rust addon (`sandboxAddon = null`), Seatbelt fallback (`wrapCommand` returns `none`), and `sandbox-adapter.ts` native path. The `(deny default)` Seatbelt profile was blocking all commands including `ls`, `echo`, `pwd`. Command safety handled at TS permission layer.
18
+ - **Migration Auto-Fill ANTHROPIC_MODEL** — Auto-fills from OPUS value when migrating Claude Code configs.
19
+ - **compile-all.ts Auto-Copy Addons** — Copies `.node` addons from both `src/native/` and `native/*/`.
20
20
 
21
21
  ## [1.9.5] - 2026-04-26
22
22
 
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.8-blue)](./CHANGELOG.md)
7
+ [![version](https://img.shields.io/badge/version-1.9.9-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,7 +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.8** | Admin preset profile templates (7 providers); ANTHROPIC_MODEL field; Bash exit code 65 fix |
37
+ | **1.9.9** | Bash exit code 65 彻底修复;Admin 预设配置模板;ANTHROPIC_MODEL 字段 |
38
38
  | **1.9.5** | Admin preset profile templates (7 providers); ANTHROPIC_MODEL field; migration auto-fill |
39
39
  | **1.9.4** | macOS Seatbelt sandbox rewrite (allow-by-default); Shell.ts sandbox return path fix |
40
40
  | **1.9.3** | OpenAI-compatible API routing; deep adapter alignment for all 7 CN providers; admin profile clone; Bash sandbox fix |
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.8-blue)](./CHANGELOG.zh-CN.md)
7
+ [![version](https://img.shields.io/badge/version-1.9.9-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,7 +34,7 @@ LegnaCode 基于 [Claude Code CLI](https://github.com/anthropics/claude-code)
34
34
 
35
35
  | 版本 | 摘要 |
36
36
  |------|------|
37
- | **1.9.8** | Admin 预设配置模板(7 家 Provider);ANTHROPIC_MODEL 字段;Bash exit code 65 修复 |
37
+ | **1.9.9** | Bash exit code 65 彻底修复;Admin 预设配置模板;ANTHROPIC_MODEL 字段 |
38
38
  | **1.9.5** | Admin 预设配置模板(7 家 Provider);ANTHROPIC_MODEL 字段;迁移自动补全 |
39
39
  | **1.9.4** | macOS Seatbelt 沙盒重写(默认允许策略);Shell.ts sandbox 返回路径修复 |
40
40
  | **1.9.3** | OpenAI 兼容 API 路由;7 家国产模型适配器深度对齐;admin 配置复制;Bash sandbox 修复 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legna-lnc/legnacode",
3
- "version": "1.9.8",
3
+ "version": "1.9.9",
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.8",
146
- "@legna-lnc/legnacode-darwin-x64": "1.9.8",
147
- "@legna-lnc/legnacode-darwin-x64-baseline": "1.9.8",
148
- "@legna-lnc/legnacode-linux-x64": "1.9.8",
149
- "@legna-lnc/legnacode-linux-x64-baseline": "1.9.8",
150
- "@legna-lnc/legnacode-linux-arm64": "1.9.8",
151
- "@legna-lnc/legnacode-win32-x64": "1.9.8",
152
- "@legna-lnc/legnacode-win32-ia32": "1.9.8"
145
+ "@legna-lnc/legnacode-darwin-arm64": "1.9.9",
146
+ "@legna-lnc/legnacode-darwin-x64": "1.9.9",
147
+ "@legna-lnc/legnacode-darwin-x64-baseline": "1.9.9",
148
+ "@legna-lnc/legnacode-linux-x64": "1.9.9",
149
+ "@legna-lnc/legnacode-linux-x64-baseline": "1.9.9",
150
+ "@legna-lnc/legnacode-linux-arm64": "1.9.9",
151
+ "@legna-lnc/legnacode-win32-x64": "1.9.9",
152
+ "@legna-lnc/legnacode-win32-ia32": "1.9.9"
153
153
  }
154
154
  }