@legna-lnc/legnacode 2.1.0 → 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,21 @@
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
+
13
+ ## [2.1.1] - 2026-05-06
14
+
15
+ ### Features
16
+
17
+ - **DeepSeek Auto Reasoning** — Adaptive thinking effort selection per-turn based on message content. Debug/error messages get max reasoning; search/lookup gets minimal; subagents always use low. Inspired by DeepSeek-TUI.
18
+ - **DeepSeek Precise Pricing** — Accurate cost tracking for DeepSeek V4 Flash ($0.014/$0.028 per Mtok) and Pro ($0.055/$0.22 per Mtok) instead of falling back to Claude pricing.
19
+ - **DeepSeek Model Aliases** — Support legacy model names (deepseek-r1, deepseek-v3, deepseek-v3.2, deepseek-chat, deepseek-reasoner) with automatic normalization to canonical V4 IDs.
20
+ - **DeepSeek Tool Name Encoding** — Encode MCP tool names containing illegal characters (`/`, `.`, `:`) for DeepSeek API compatibility, decode on response.
21
+
7
22
  ## [2.1.0] - 2026-04-30
8
23
 
9
24
  ### 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.0-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,9 @@ 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) |
38
+ | **2.1.1** | DeepSeek deep optimization: auto reasoning effort, precise pricing, model alias expansion, tool name encoding |
39
+ | **2.1.0** | Platform-aware publish (Mac→darwin+linux, Win→win32); DeepSeek reasoning_content multi-turn 400 fix; ShellProgressMessage crash fix |
37
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 |
38
41
  | **2.0.4** | OpenAI Responses API bridge (Codex providers); admin config hot-reload + UI auto-refresh; getGlobalSettings dead code fix |
39
42
  | **2.0.3** | Kiro Gateway optimization; admin profile inline editing; model allowlist removed; count_tokens disabled; sandbox removed |
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.0-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,9 @@ 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 防御) |
38
+ | **2.1.1** | DeepSeek 深度优化:自适应推理力度、精确定价、模型别名扩展、工具名编码 |
39
+ | **2.1.0** | 平台感知发布(Mac→darwin+linux,Win→win32);DeepSeek reasoning_content 多轮 400 修复;ShellProgressMessage 崩溃修复 |
37
40
  | **2.0.5** | LegnaCode Office 像素办公室可视化(对话侧边栏、状态气泡、WebSocket、join-key 认证、布局持久化、通知音效、演示模式、i18n);DeepSeek reasoning_content 回传修复 |
38
41
  | **2.0.4** | OpenAI Responses API 桥接(Codex 中转站);Admin 配置热加载 + UI 自动刷新;getGlobalSettings 死代码修复 |
39
42
  | **2.0.3** | Kiro Gateway 优化;Admin 配置内联编辑;模型白名单移除;count_tokens 禁用;sandbox 移除 |
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.0",
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.0",
146
- "@legna-lnc/legnacode-darwin-x64": "2.1.0",
147
- "@legna-lnc/legnacode-darwin-x64-baseline": "2.1.0",
148
- "@legna-lnc/legnacode-linux-x64": "2.1.0",
149
- "@legna-lnc/legnacode-linux-x64-baseline": "2.1.0",
150
- "@legna-lnc/legnacode-linux-arm64": "2.1.0",
151
- "@legna-lnc/legnacode-win32-x64": "2.1.0",
152
- "@legna-lnc/legnacode-win32-ia32": "2.1.0"
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
  }