@legna-lnc/legnacode 1.4.9 → 1.5.1
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 +28 -0
- package/README.md +3 -1
- package/README.zh-CN.md +3 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,34 @@
|
|
|
4
4
|
|
|
5
5
|
All notable changes to LegnaCode CLI will be documented in this file.
|
|
6
6
|
|
|
7
|
+
## [1.5.1] - 2026-04-19
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **Proactive skill invocation** — Wired `OML_SESSION_GUIDANCE` (the "1% rule") into the `skill_listing` attachment. The AI now proactively considers available skills before every response, instead of only responding to explicit `/slash` commands.
|
|
12
|
+
- **Frontend/design auto-guidelines** — New `designPrompt.ts` detects frontend intent (UI, prototype, design exploration) from user input and transparently injects layered design guidelines (oklch colors, responsive layout, animation best practices, design exploration methodology). Zero user action required.
|
|
13
|
+
- **Enhanced designer agent** — `/oml:designer` now carries a full design methodology prompt (oklch palettes, mobile-first, ARIA accessibility, 3+ variation exploration) instead of a one-line description.
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
- **Skills were never proactively used** — `OML_SESSION_GUIDANCE` was defined in `superpowers.ts` but never imported or injected anywhere. Now wired into the skill listing attachment.
|
|
18
|
+
|
|
19
|
+
## [1.5.0] - 2026-04-19
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
- **Fix REPL startup deadlock** — The `/undo` command was registered via static `import` in `commands.ts`, creating a circular dependency (`commands.ts` → `undo.ts` → `commands.ts`) that caused Bun's module loader to deadlock. The REPL would hang with no output on launch. Fixed by removing the static import entirely. The `/undo` feature remains available via `src/services/undoTracker.ts` (wired into Edit/Write tools) but is no longer registered as a slash command to avoid the circular dependency.
|
|
24
|
+
|
|
25
|
+
### Features (carried from 1.4.8/1.4.9)
|
|
26
|
+
|
|
27
|
+
- **AtomCode intelligence fusion** — Pangu CJK spacing, negative feedback detection, tool call loop detection, error file pre-injection, first-read full file
|
|
28
|
+
- **OpenAI-compatible bridge adapter** — Anthropic ↔ OpenAI format translation for DeepSeek/Qwen/GLM/Ollama/vLLM/LM Studio
|
|
29
|
+
- **Code Graph** — Regex-based symbol index + file dependency graph (TS/JS/Python/Go/Rust)
|
|
30
|
+
- **Parallel File Edit** — One sub-agent per file with sibling skeletons
|
|
31
|
+
- **Workflow Engine** — Structured markdown step execution with checks and dependencies
|
|
32
|
+
- **Cross-session knowledge** — Auto-writes `.legna/knowledge.md` on session end
|
|
33
|
+
- **Baseline builds** — No-AVX binaries for older x64 CPUs (darwin-x64-baseline, linux-x64-baseline)
|
|
34
|
+
|
|
7
35
|
## [1.4.9] - 2026-04-17
|
|
8
36
|
|
|
9
37
|
### Features
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**An AI-powered terminal programming assistant, supercharged.**
|
|
6
6
|
|
|
7
|
-
[](./CHANGELOG.md)
|
|
8
8
|
[](#platform-support)
|
|
9
9
|
[](./LICENSE)
|
|
10
10
|
[](https://github.com/anthropics/claude-code)
|
|
@@ -33,6 +33,8 @@ LegnaCode is built on top of [Claude Code CLI](https://github.com/anthropics/cla
|
|
|
33
33
|
|
|
34
34
|
| Version | Summary |
|
|
35
35
|
|---------|---------|
|
|
36
|
+
| **1.5.1** | Proactive skill invocation (OML 1% rule); auto-inject frontend/design guidelines; enhanced designer agent |
|
|
37
|
+
| **1.5.0** | Fix REPL startup deadlock; remove /undo static import; all AtomCode features fully wired |
|
|
36
38
|
| **1.4.9** | Baseline (no-AVX) builds for older x64 CPUs (darwin-x64-baseline, linux-x64-baseline) |
|
|
37
39
|
| **1.4.8** | AtomCode fusion (Pangu CJK spacing, frustration detection, loop guard, error file injection, first-read full) |
|
|
38
40
|
| **1.4.7** | claude-mem fusion (content-hash dedup, token economics, relevance feedback, 90-day decay, privacy tags) |
|
package/README.zh-CN.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**AI 驱动的终端编程助手,全面增强。**
|
|
6
6
|
|
|
7
|
-
[](./CHANGELOG.zh-CN.md)
|
|
8
8
|
[](#平台支持)
|
|
9
9
|
[](./LICENSE)
|
|
10
10
|
[](https://github.com/anthropics/claude-code)
|
|
@@ -33,6 +33,8 @@ LegnaCode 基于 [Claude Code CLI](https://github.com/anthropics/claude-code)
|
|
|
33
33
|
|
|
34
34
|
| 版本 | 摘要 |
|
|
35
35
|
|------|------|
|
|
36
|
+
| **1.5.1** | Skill 主动调用(OML 1% 规则);前端/设计指令自动注入;增强 designer agent |
|
|
37
|
+
| **1.5.0** | 修复 REPL 启动死锁;移除 /undo 静态导入;AtomCode 全部特性完整接线 |
|
|
36
38
|
| **1.4.9** | Baseline(无 AVX)构建,支持老款 x64 CPU(darwin-x64-baseline、linux-x64-baseline) |
|
|
37
39
|
| **1.4.8** | AtomCode 融合(Pangu CJK 间距、挫败检测、循环守卫、错误文件注入、首次全文读取) |
|
|
38
40
|
| **1.4.7** | claude-mem 融合(content-hash 去重、token 经济学、使用反馈、90 天衰减、隐私标签) |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legna-lnc/legnacode",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
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.
|
|
146
|
-
"@legna-lnc/legnacode-darwin-x64": "1.
|
|
147
|
-
"@legna-lnc/legnacode-darwin-x64-baseline": "1.
|
|
148
|
-
"@legna-lnc/legnacode-linux-x64": "1.
|
|
149
|
-
"@legna-lnc/legnacode-linux-x64-baseline": "1.
|
|
150
|
-
"@legna-lnc/legnacode-linux-arm64": "1.
|
|
151
|
-
"@legna-lnc/legnacode-win32-x64": "1.
|
|
152
|
-
"@legna-lnc/legnacode-win32-ia32": "1.
|
|
145
|
+
"@legna-lnc/legnacode-darwin-arm64": "1.5.1",
|
|
146
|
+
"@legna-lnc/legnacode-darwin-x64": "1.5.1",
|
|
147
|
+
"@legna-lnc/legnacode-darwin-x64-baseline": "1.5.1",
|
|
148
|
+
"@legna-lnc/legnacode-linux-x64": "1.5.1",
|
|
149
|
+
"@legna-lnc/legnacode-linux-x64-baseline": "1.5.1",
|
|
150
|
+
"@legna-lnc/legnacode-linux-arm64": "1.5.1",
|
|
151
|
+
"@legna-lnc/legnacode-win32-x64": "1.5.1",
|
|
152
|
+
"@legna-lnc/legnacode-win32-ia32": "1.5.1"
|
|
153
153
|
}
|
|
154
154
|
}
|