@legna-lnc/legnacode 2.0.3 → 2.0.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,18 @@
4
4
 
5
5
  All notable changes to LegnaCode CLI will be documented in this file.
6
6
 
7
+ ## [2.0.4] - 2026-04-27
8
+
9
+ ### Features
10
+
11
+ - **OpenAI Responses API Bridge** — New `apiFormat: "responses"` setting enables Codex-compatible providers (`/v1/responses` wire format). Full streaming + non-streaming support with Anthropic event translation.
12
+ - **Admin Config Hot-Reload** — Saving an active profile via inline editor now syncs to `settings.json`, triggering CLI hot-reload without profile switch.
13
+ - **Admin UI Auto-Refresh** — Profile list refreshes automatically after save, showing updated endpoint/model info immediately.
14
+
15
+ ### Fixes
16
+
17
+ - **getGlobalSettings Dead Code** — All 3 call sites (`claude.ts`, `adapters/index.ts`, `gates.ts`) referenced a non-existent function. Fixed to use `getInitialSettings()` from settings.ts. This makes `kiroGateway` toggle actually work.
18
+
7
19
  ## [2.0.3] - 2026-04-27
8
20
 
9
21
  ### 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.0.3-blue)](./CHANGELOG.md)
7
+ [![version](https://img.shields.io/badge/version-2.0.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
+ | **2.0.4** | OpenAI Responses API bridge (Codex providers); admin config hot-reload + UI auto-refresh; getGlobalSettings dead code fix |
37
38
  | **2.0.3** | Kiro Gateway optimization; admin profile inline editing; model allowlist removed; count_tokens disabled; sandbox removed |
38
39
  | **1.9.9** | Bash exit code 65 彻底修复;Admin 预设配置模板;ANTHROPIC_MODEL 字段 |
39
40
  | **1.9.5** | Admin preset profile templates (7 providers); ANTHROPIC_MODEL field; migration auto-fill |
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.0.3-blue)](./CHANGELOG.zh-CN.md)
7
+ [![version](https://img.shields.io/badge/version-2.0.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
+ | **2.0.4** | OpenAI Responses API 桥接(Codex 中转站);Admin 配置热加载 + UI 自动刷新;getGlobalSettings 死代码修复 |
37
38
  | **2.0.3** | Kiro Gateway 优化;Admin 配置内联编辑;模型白名单移除;count_tokens 禁用;sandbox 移除 |
38
39
  | **1.9.9** | Bash exit code 65 彻底修复;Admin 预设配置模板;ANTHROPIC_MODEL 字段 |
39
40
  | **1.9.5** | Admin 预设配置模板(7 家 Provider);ANTHROPIC_MODEL 字段;迁移自动补全 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legna-lnc/legnacode",
3
- "version": "2.0.3",
3
+ "version": "2.0.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": "2.0.3",
146
- "@legna-lnc/legnacode-darwin-x64": "2.0.3",
147
- "@legna-lnc/legnacode-darwin-x64-baseline": "2.0.3",
148
- "@legna-lnc/legnacode-linux-x64": "2.0.3",
149
- "@legna-lnc/legnacode-linux-x64-baseline": "2.0.3",
150
- "@legna-lnc/legnacode-linux-arm64": "2.0.3",
151
- "@legna-lnc/legnacode-win32-x64": "2.0.3",
152
- "@legna-lnc/legnacode-win32-ia32": "2.0.3"
145
+ "@legna-lnc/legnacode-darwin-arm64": "2.0.4",
146
+ "@legna-lnc/legnacode-darwin-x64": "2.0.4",
147
+ "@legna-lnc/legnacode-darwin-x64-baseline": "2.0.4",
148
+ "@legna-lnc/legnacode-linux-x64": "2.0.4",
149
+ "@legna-lnc/legnacode-linux-x64-baseline": "2.0.4",
150
+ "@legna-lnc/legnacode-linux-arm64": "2.0.4",
151
+ "@legna-lnc/legnacode-win32-x64": "2.0.4",
152
+ "@legna-lnc/legnacode-win32-ia32": "2.0.4"
153
153
  }
154
154
  }