@legna-lnc/legnacode 1.8.3 → 1.8.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,12 @@
4
4
 
5
5
  All notable changes to LegnaCode CLI will be documented in this file.
6
6
 
7
+ ## [1.8.4] - 2026-04-22
8
+
9
+ ### Bug Fixes
10
+
11
+ - **Session Transcript Null Guard** — Added defensive null/type checks to `isLoggableMessage`, `collectReplIds`, and `transformMessagesForExternalTranscript` in `src/utils/sessionStorage.ts`. Prevents `m4 is not an Object (evaluating '"isVirtual" in m4')` crash when the messages array contains undefined/null elements during React effect processing in `useLogMessages`.
12
+
7
13
  ## [1.8.3] - 2026-04-22
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-1.8.3-blue)](./CHANGELOG.md)
7
+ [![version](https://img.shields.io/badge/version-1.8.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.8.4** | Fix `isVirtual in m` crash — null guards for session transcript processing |
37
38
  | **1.8.3** | GitHub Actions CI release workflow; OML agent type fix; cross-platform Rust native addon builds |
38
39
  | **1.8.2** | Null-guard fixes for message pipeline crashes; Rust native addons (sandbox/file-search/apply-patch) for darwin-arm64 |
39
40
  | **1.8.0** | Codex full compat: plugin adapter + marketplace, skills discovery, config interop; TS/Python SDK; TTS + WebRTC voice |
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.8.3-blue)](./CHANGELOG.zh-CN.md)
7
+ [![version](https://img.shields.io/badge/version-1.8.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.8.4** | 修复 `isVirtual in m` 崩溃 — 会话转录处理空值守卫 |
37
38
  | **1.8.3** | GitHub Actions CI 自动发版工作流;OML agent 类型修复;全平台 Rust native addon 交叉编译 |
38
39
  | **1.8.2** | 消息管线空值守卫修复运行时崩溃;Rust 原生 Addon(sandbox/file-search/apply-patch)darwin-arm64 编译 |
39
40
  | **1.8.0** | Codex 全面融合:插件适配器 + 市场、Skills 发现、配置互通;TS/Python SDK;TTS + WebRTC 语音 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legna-lnc/legnacode",
3
- "version": "1.8.3",
3
+ "version": "1.8.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.8.3",
146
- "@legna-lnc/legnacode-darwin-x64": "1.8.3",
147
- "@legna-lnc/legnacode-darwin-x64-baseline": "1.8.3",
148
- "@legna-lnc/legnacode-linux-x64": "1.8.3",
149
- "@legna-lnc/legnacode-linux-x64-baseline": "1.8.3",
150
- "@legna-lnc/legnacode-linux-arm64": "1.8.3",
151
- "@legna-lnc/legnacode-win32-x64": "1.8.3",
152
- "@legna-lnc/legnacode-win32-ia32": "1.8.3"
145
+ "@legna-lnc/legnacode-darwin-arm64": "1.8.4",
146
+ "@legna-lnc/legnacode-darwin-x64": "1.8.4",
147
+ "@legna-lnc/legnacode-darwin-x64-baseline": "1.8.4",
148
+ "@legna-lnc/legnacode-linux-x64": "1.8.4",
149
+ "@legna-lnc/legnacode-linux-x64-baseline": "1.8.4",
150
+ "@legna-lnc/legnacode-linux-arm64": "1.8.4",
151
+ "@legna-lnc/legnacode-win32-x64": "1.8.4",
152
+ "@legna-lnc/legnacode-win32-ia32": "1.8.4"
153
153
  }
154
154
  }