@legna-lnc/legnacode 1.3.4 → 1.3.5
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 +14 -0
- package/README.md +1 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to LegnaCode CLI will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.3.5] - 2026-04-07
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **SessionStart hook error** — OML 的 SessionStart hook 使用了 `type: 'prompt'`,但 SessionStart 阶段没有 `toolUseContext`(LLM 调用上下文),导致必崩。移除 SessionStart hook,skill guidance 通过 skill description 暴露
|
|
10
|
+
- **Windows alt-screen 渲染闪烁** — alt-screen 模式下 `fullResetSequence_CAUSES_FLICKER` 仍会触发(viewport 变化、scrollback 检测等),导致整屏清除+重绘闪烁。新增 `altScreenFullRedraw()` 方法,alt-screen 下用简单的 `CSI 2J + CSI H`(erase screen + cursor home)替代 `clearTerminal` 的 Windows legacy 路径
|
|
11
|
+
- **Windows drainStdin** — 之前在 Windows 上完全跳过 stdin 排空,鼠标事件残留导致输入框错乱。改为通过 toggle raw mode 刷新缓冲的输入事件
|
|
12
|
+
|
|
13
|
+
### Architecture
|
|
14
|
+
|
|
15
|
+
- `src/ink/log-update.ts` — 5 个 `fullResetSequence_CAUSES_FLICKER` 调用点加 `altScreen` 检查,新增 `altScreenFullRedraw()` 方法
|
|
16
|
+
- `src/ink/ink.tsx` — Windows `drainStdin` 替代方案(toggle raw mode)
|
|
17
|
+
- `src/plugins/bundled/oml/definition.ts` — 移除 SessionStart hook,OML 升级到 1.2.0
|
|
18
|
+
|
|
5
19
|
## [1.3.4] - 2026-04-07
|
|
6
20
|
|
|
7
21
|
### New Features
|
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@ LegnaCode 是一个基于 Anthropic Claude 的智能终端编程助手,让你
|
|
|
12
12
|
|
|
13
13
|
| 版本 | 日期 | 摘要 |
|
|
14
14
|
|------|------|------|
|
|
15
|
+
| [1.3.5](./CHANGELOG.md#135---2026-04-07) | 2026-04-07 | 修复 SessionStart hook 报错,Windows alt-screen 渲染深度修复(消除 fullReset 闪烁) |
|
|
15
16
|
| [1.3.4](./CHANGELOG.md#134---2026-04-07) | 2026-04-07 | OML Superpowers 工程纪律(/verify /tdd /debug /brainstorm 等 11 个 skill),SessionStart 技能引导 |
|
|
16
17
|
| [1.3.3](./CHANGELOG.md#133---2026-04-07) | 2026-04-07 | OML 智能编排层内置(magic keywords + 19 agent skills),Windows Terminal fullscreen 修复 |
|
|
17
18
|
| [1.3.2](./CHANGELOG.md#132---2026-04-07) | 2026-04-07 | 禁用 History Snip,修复 Windows Terminal 流式文本渲染 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legna-lnc/legnacode",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"description": "LegnaCode — legna.lnc's official CLI for coding assistance",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -142,10 +142,10 @@
|
|
|
142
142
|
"bun": ">=1.2.0"
|
|
143
143
|
},
|
|
144
144
|
"optionalDependencies": {
|
|
145
|
-
"@legna-lnc/legnacode-darwin-arm64": "1.3.
|
|
146
|
-
"@legna-lnc/legnacode-darwin-x64": "1.3.
|
|
147
|
-
"@legna-lnc/legnacode-linux-x64": "1.3.
|
|
148
|
-
"@legna-lnc/legnacode-linux-arm64": "1.3.
|
|
149
|
-
"@legna-lnc/legnacode-win32-x64": "1.3.
|
|
145
|
+
"@legna-lnc/legnacode-darwin-arm64": "1.3.5",
|
|
146
|
+
"@legna-lnc/legnacode-darwin-x64": "1.3.5",
|
|
147
|
+
"@legna-lnc/legnacode-linux-x64": "1.3.5",
|
|
148
|
+
"@legna-lnc/legnacode-linux-arm64": "1.3.5",
|
|
149
|
+
"@legna-lnc/legnacode-win32-x64": "1.3.5"
|
|
150
150
|
}
|
|
151
151
|
}
|