@legna-lnc/legnacode 1.8.2 → 1.8.3

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,29 @@
4
4
 
5
5
  All notable changes to LegnaCode CLI will be documented in this file.
6
6
 
7
+ ## [1.8.3] - 2026-04-22
8
+
9
+ ### Features
10
+
11
+ - **GitHub Actions Release Workflow** — 4-stage CI pipeline: prepare (bump + webui) → native (Rust addons on 4 platform runners) → compile (7 Bun cross-compile targets) → publish (npm). Trigger via `v*` tag push or manual `workflow_dispatch`.
12
+ - **Cross-Platform Rust Native Addons** — CI builds `sandbox`, `file-search`, `apply-patch` NAPI addons for darwin-arm64, darwin-x64, linux-x64, linux-arm64 using native runners.
13
+ - **compile.ts --target flag** — Support cross-compilation target override for CI usage.
14
+
15
+ ### Bug Fixes
16
+
17
+ - **OML Agent Type Mismatch** — Fixed `agent` field in OML skill definitions passing an object `{ type, model }` instead of a string. Caused all 19 OML agent skills to silently fallback to `general-purpose` in fork mode.
18
+
19
+ ## [1.8.2] - 2026-04-22
20
+
21
+ ### Bug Fixes
22
+
23
+ - **Message Pipeline Null Guards** — Added defensive null checks to 11 functions in `src/utils/messages.ts` (`normalizeMessages`, `isNotEmptyMessage`, `isSyntheticMessage`, `isToolUseRequestMessage`, `isToolUseResultMessage`, `isHookAttachmentMessage`, `isSystemLocalCommandMessage`, `isThinkingMessage`, `getAssistantMessageText`, `getUserMessageText`, `reorderMessagesInUI`). Prevents `undefined is not an object (evaluating 'message.type')` runtime crash when message arrays contain undefined elements.
24
+ - **Mode Command Disabled** — Removed `/mode` slash command registration to fix Bun compiled binary startup hang caused by JIT compilation stall.
25
+
26
+ ### Build
27
+
28
+ - **Rust Native Addons (darwin-arm64)** — Compiled and bundled `sandbox`, `file-search`, `apply-patch` NAPI addons. Fixed missing `regex-lite` dependency in file-search crate and `Result` type mismatch in apply-patch crate.
29
+
7
30
  ## [1.8.0] - 2026-04-21
8
31
 
9
32
  > Codex Full Fusion Release — 5-phase integration of OpenAI Codex CLI capabilities into LegnaCode.
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.0-blue)](./CHANGELOG.md)
7
+ [![version](https://img.shields.io/badge/version-1.8.3-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,8 @@ 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.3** | GitHub Actions CI release workflow; OML agent type fix; cross-platform Rust native addon builds |
38
+ | **1.8.2** | Null-guard fixes for message pipeline crashes; Rust native addons (sandbox/file-search/apply-patch) for darwin-arm64 |
37
39
  | **1.8.0** | Codex full compat: plugin adapter + marketplace, skills discovery, config interop; TS/Python SDK; TTS + WebRTC voice |
38
40
  | **1.6.1** | Rust NAPI addon (cosine/tfidf/hash/tokens); kernel sandbox (Seatbelt/seccomp); two-pass wake-up; keyword-density L1 |
39
41
  | **1.6.0** | Collaboration modes (`/mode`); JS REPL bridge; JSON-RPC app-server; agent config migration (`/migrate`) |
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.5.7-blue)](./CHANGELOG.zh-CN.md)
7
+ [![version](https://img.shields.io/badge/version-1.8.3-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
+ | **1.8.3** | GitHub Actions CI 自动发版工作流;OML agent 类型修复;全平台 Rust native addon 交叉编译 |
38
+ | **1.8.2** | 消息管线空值守卫修复运行时崩溃;Rust 原生 Addon(sandbox/file-search/apply-patch)darwin-arm64 编译 |
39
+ | **1.8.0** | Codex 全面融合:插件适配器 + 市场、Skills 发现、配置互通;TS/Python SDK;TTS + WebRTC 语音 |
37
40
  | **1.5.7** | Git 风格 `/fork` 命令:从任意消息分叉(`@N`)、列出分支树、切换分支 |
38
41
  | **1.5.6** | WebUI SSE 超时修复(255s 最大值);controller 重复关闭崩溃修复 |
39
42
  | **1.5.4** | 全平台二进制同步重发 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legna-lnc/legnacode",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
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.2",
146
- "@legna-lnc/legnacode-darwin-x64": "1.8.2",
147
- "@legna-lnc/legnacode-darwin-x64-baseline": "1.8.2",
148
- "@legna-lnc/legnacode-linux-x64": "1.8.2",
149
- "@legna-lnc/legnacode-linux-x64-baseline": "1.8.2",
150
- "@legna-lnc/legnacode-linux-arm64": "1.8.2",
151
- "@legna-lnc/legnacode-win32-x64": "1.8.2",
152
- "@legna-lnc/legnacode-win32-ia32": "1.8.2"
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"
153
153
  }
154
154
  }