@legna-lnc/legnacode 2.1.1 → 2.1.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 CHANGED
@@ -4,6 +4,12 @@
4
4
 
5
5
  All notable changes to LegnaCode CLI will be documented in this file.
6
6
 
7
+ ## [2.1.2] - 2026-05-07
8
+
9
+ ### Fixes
10
+
11
+ - **ctrl+o crash when sandbox disabled** — `SandboxViolationExpandedView` and `SandboxPromptFooterHint` now skip store subscription entirely when sandbox is not enabled, preventing `store.subscribe is not a function` crash on transcript toggle.
12
+
7
13
  ## [2.1.1] - 2026-05-06
8
14
 
9
15
  ### 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-2.1.1-blue)](./CHANGELOG.md)
7
+ [![version](https://img.shields.io/badge/version-2.1.2-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
+ | **2.1.2** | Fix ctrl+o crash when sandbox is disabled (SandboxViolationStore.subscribe guard) |
37
38
  | **2.1.1** | DeepSeek deep optimization: auto reasoning effort, precise pricing, model alias expansion, tool name encoding |
38
39
  | **2.1.0** | Platform-aware publish (Mac→darwin+linux, Win→win32); DeepSeek reasoning_content multi-turn 400 fix; ShellProgressMessage crash fix |
39
40
  | **2.0.5** | LegnaCode Office pixel visualization (conversation sidebar, status bubble, WebSocket, join-key auth, layout persistence, notification sounds, demo mode, i18n); DeepSeek reasoning_content passback 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-2.1.1-blue)](./CHANGELOG.zh-CN.md)
7
+ [![version](https://img.shields.io/badge/version-2.1.2-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
+ | **2.1.2** | 修复 sandbox 未启用时 ctrl+o 崩溃(SandboxViolationStore.subscribe 防御) |
37
38
  | **2.1.1** | DeepSeek 深度优化:自适应推理力度、精确定价、模型别名扩展、工具名编码 |
38
39
  | **2.1.0** | 平台感知发布(Mac→darwin+linux,Win→win32);DeepSeek reasoning_content 多轮 400 修复;ShellProgressMessage 崩溃修复 |
39
40
  | **2.0.5** | LegnaCode Office 像素办公室可视化(对话侧边栏、状态气泡、WebSocket、join-key 认证、布局持久化、通知音效、演示模式、i18n);DeepSeek reasoning_content 回传修复 |
package/npm/bin/legna.cjs CHANGED
@@ -12,6 +12,7 @@ var PLATFORMS = {
12
12
  "linux-x64": "@legna-lnc/legnacode-linux-x64",
13
13
  "linux-arm64": "@legna-lnc/legnacode-linux-arm64",
14
14
  "win32-x64": "@legna-lnc/legnacode-win32-x64",
15
+ "win32-ia32": "@legna-lnc/legnacode-win32-ia32",
15
16
  };
16
17
 
17
18
  var key = process.platform + "-" + os.arch();
@@ -18,6 +18,7 @@ var PLATFORMS = {
18
18
  "linux-x64": "@legna-lnc/legnacode-linux-x64",
19
19
  "linux-arm64": "@legna-lnc/legnacode-linux-arm64",
20
20
  "win32-x64": "@legna-lnc/legnacode-win32-x64",
21
+ "win32-ia32": "@legna-lnc/legnacode-win32-ia32",
21
22
  };
22
23
 
23
24
  var key = process.platform + "-" + os.arch();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legna-lnc/legnacode",
3
- "version": "2.1.1",
3
+ "version": "2.1.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": "2.1.1",
146
- "@legna-lnc/legnacode-darwin-x64": "2.1.1",
147
- "@legna-lnc/legnacode-darwin-x64-baseline": "2.1.1",
148
- "@legna-lnc/legnacode-linux-x64": "2.1.1",
149
- "@legna-lnc/legnacode-linux-x64-baseline": "2.1.1",
150
- "@legna-lnc/legnacode-linux-arm64": "2.1.1",
151
- "@legna-lnc/legnacode-win32-x64": "2.1.1",
152
- "@legna-lnc/legnacode-win32-ia32": "2.1.1"
145
+ "@legna-lnc/legnacode-darwin-arm64": "2.1.2",
146
+ "@legna-lnc/legnacode-darwin-x64": "2.1.2",
147
+ "@legna-lnc/legnacode-darwin-x64-baseline": "2.1.2",
148
+ "@legna-lnc/legnacode-linux-x64": "2.1.2",
149
+ "@legna-lnc/legnacode-linux-x64-baseline": "2.1.2",
150
+ "@legna-lnc/legnacode-linux-arm64": "2.1.2",
151
+ "@legna-lnc/legnacode-win32-x64": "2.1.2",
152
+ "@legna-lnc/legnacode-win32-ia32": "2.1.2"
153
153
  }
154
154
  }