litclaude-ai 0.2.2 → 0.3.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 CHANGED
@@ -1,7 +1,22 @@
1
1
  # Changelog
2
2
 
3
- ## UnreleasedLazyClaude LitClaude rebrand
4
-
3
+ ## 0.3.1 - 2026-06-14 neon-HUD truecolor detection on Windows Terminal / WSL2
4
+
5
+ - Fix the `[🔥LITCLAUDE]` HUD falling back to flat 256-color magenta in Windows Terminal under WSL2.
6
+ `supportsTruecolor` now also recognizes `WT_SESSION` (Windows Terminal, including WSL2, renders
7
+ 24-bit color but does not export `COLORTERM` into the shell), common 24-bit terminal programs
8
+ (`TERM_PROGRAM` = vscode/hyper/wezterm/ghostty/iTerm.app), and direct-color terminfo entries
9
+ (`TERM` matching `-direct`/`truecolor`). Terminals that export `COLORTERM=truecolor|24bit` are
10
+ unchanged; genuine 256-color terminals still get the magenta fallback.
11
+
12
+ ## 0.3.0 - 2026-06-14 — LitClaude rebrand + lit-family vocab + neon HUD
13
+
14
+ - Rename `ulw`/`ultra*` trigger vocabulary to the **lit family**: `lit`, `litwork`, `lit-loop`,
15
+ `lit-plan`, and `litgoal` end-to-end across hooks, skills, commands, and documentation.
16
+ - `lit` trigger now maps to `lit-loop` semantics with a soft-confirm step before long execution
17
+ instead of falling through to a plain loop.
18
+ - Ship a neon `[🔥LITCLAUDE]` truecolor-gradient HUD (hot-pink → cyan gradient; bright-magenta
19
+ fallback on 256-color terminals) branded with `[🔥LITCLAUDE vX.Y.Z]`.
5
20
  - Rename the project from **LazyClaude / `lazyclaude-ai`** to **LitClaude / `litclaude-ai`**
6
21
  end-to-end: npm package, `litclaude`/`litclaude-ai` bins, `plugins/litclaude/` payload, installer
7
22
  identifiers (`litclaude@litclaude-ai`), 13 `LITCLAUDE_*` env vars, per-project state dir
@@ -15,8 +30,6 @@
15
30
  - Make the atomic state store durable (fsync), remove the ported `codex:` session-id residue (Claude
16
31
  host semantics), and replace brittle `import.meta.url.pathname` with `fileURLToPath` for
17
32
  spaced/`#`/non-ASCII workspace paths.
18
- - **Version for the first public `litclaude-ai` release is pending user confirmation (proposed
19
- `1.0.0`). No `npm publish` or push has occurred.**
20
33
 
21
34
  ## 0.2.2 - 2026-06-07
22
35
 
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
  <p align="center">
11
11
  <img src="https://img.shields.io/badge/npm-litclaude--ai-cb3837" />
12
- <img src="https://img.shields.io/badge/version-0.2.2-2ea44f" />
12
+ <img src="https://img.shields.io/badge/version-0.3.1-2ea44f" />
13
13
  <img src="https://img.shields.io/badge/Claude%20Code-plugin-blueviolet" />
14
14
  <img src="https://img.shields.io/badge/license-MIT-blue" />
15
15
  </p>
@@ -22,13 +22,13 @@
22
22
  > `litclaude@litclaude-ai`, so normal `claude` launches can load the
23
23
  > LitClaude skills and hooks without a long `--plugin-dir` command.
24
24
 
25
- This checkout is prepared as `litclaude-ai@0.2.2` for personal install
25
+ This checkout is prepared as `litclaude-ai@0.3.1` for personal install
26
26
  convenience. The repo can remain quiet; preparing npm package metadata here does
27
27
  not imply public repo promotion, marketplace publication, or advertisement.
28
- Future package releases still require explicit user approval. The v0.2.2
29
- release materials preserve the v0.2.0 workflow parity work, add Dynamic
30
- workflow hardening on top of v0.2.1 readiness, describe LitClaude in its own
31
- terms, and do not claim that npm publication has completed.
28
+ Future package releases still require explicit user approval. The v0.3.1
29
+ release materials preserve the v0.2.2 Dynamic workflow hardening work, add the
30
+ lit-family vocab rename and neon HUD on top of v0.2.2, describe LitClaude in
31
+ its own terms, and do not claim that npm publication has completed.
32
32
 
33
33
  ## Features
34
34
 
@@ -93,7 +93,7 @@ directory, the normal install command works:
93
93
 
94
94
  ```bash
95
95
  cd /tmp
96
- npx --yes litclaude-ai@0.2.2 install
96
+ npx --yes litclaude-ai@0.3.1 install
97
97
  ```
98
98
 
99
99
  Validate the installed plugin:
@@ -106,7 +106,7 @@ The installer also sets Claude Code's `statusLine` command to the packaged
106
106
  LitClaude HUD. A typical no-color render starts like:
107
107
 
108
108
  ```text
109
- [🔥LITCLAUDE v0.2.2] | O4.8 │ ctx [▎░░] 9%/1000k │ 5h [▏░] 4% ↻2h15m │ 1w [▊░] 35% ↻3d6h │ git main +3 ✓
109
+ [🔥LITCLAUDE v0.3.1] | O4.8 │ ctx [▎░░] 9%/1000k │ 5h [▏░] 4% ↻2h15m │ 1w [▊░] 35% ↻3d6h │ git main +3 ✓
110
110
  ```
111
111
 
112
112
  The `↻` suffix is a compact rate-limit reset countdown. It is separated from
package/README_ko-KR.md CHANGED
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
  <p align="center">
11
11
  <img src="https://img.shields.io/badge/npm-litclaude--ai-cb3837" />
12
- <img src="https://img.shields.io/badge/version-0.2.2-2ea44f" />
12
+ <img src="https://img.shields.io/badge/version-0.3.1-2ea44f" />
13
13
  <img src="https://img.shields.io/badge/Claude%20Code-plugin-blueviolet" />
14
14
  <img src="https://img.shields.io/badge/license-MIT-blue" />
15
15
  </p>
@@ -26,12 +26,12 @@
26
26
  > 설치되므로, 매번 긴 `--plugin-dir` 없이 일반 `claude` 실행에서
27
27
  > LitClaude skill과 hook을 불러올 수 있습니다.
28
28
 
29
- 현재 checkout은 `litclaude-ai@0.2.2` 배포 준비용으로 정리되어 있습니다. 목적은
29
+ 현재 checkout은 `litclaude-ai@0.3.1` 배포 준비용으로 정리되어 있습니다. 목적은
30
30
  다른 PC에서도 빠르게 설치하기 위한 개인용 package metadata를 갖추는 것입니다.
31
31
  npm package metadata를 준비했다고 해서 홍보, 공개 저장소 운영, Claude
32
32
  marketplace 등록을 의미하지는 않습니다. 새 버전 배포는 항상 별도의 명시적
33
- 승인 후에 진행합니다. v0.2.2 release material은 v0.2.0 workflow parity work를
34
- 보존하고, v0.2.1 readiness 위에 Dynamic workflow hardening을 추가하며,
33
+ 승인 후에 진행합니다. v0.3.1 release material은 v0.2.2 Dynamic workflow
34
+ hardening을 보존하고, lit-family vocab rename과 neon HUD를 추가하며,
35
35
  LitClaude 자체의 표현으로 정리되어 있습니다. npm publish가 완료됐다고
36
36
  주장하지 않습니다.
37
37
 
@@ -98,7 +98,7 @@ checkout을 먼저 해석해서 `sh: litclaude-ai: command not found`로 실패
98
98
 
99
99
  ```bash
100
100
  cd /tmp
101
- npx --yes litclaude-ai@0.2.2 install
101
+ npx --yes litclaude-ai@0.3.1 install
102
102
  ```
103
103
 
104
104
  설치 상태를 확인합니다.
@@ -111,7 +111,7 @@ installer는 Claude Code의 `statusLine` command도 packaged LitClaude HUD로
111
111
  설정합니다. 색상을 제거한 예시는 다음처럼 시작합니다.
112
112
 
113
113
  ```text
114
- [🔥LITCLAUDE v0.2.2] | O4.8 │ ctx [▎░░] 9%/1000k │ 5h [▏░] 4% ↻2h15m │ 1w [▊░] 35% ↻3d6h │ git main +3 ✓
114
+ [🔥LITCLAUDE v0.3.1] | O4.8 │ ctx [▎░░] 9%/1000k │ 5h [▏░] 4% ↻2h15m │ 1w [▊░] 35% ↻3d6h │ git main +3 ✓
115
115
  ```
116
116
 
117
117
  `↻` 표시는 rate-limit reset까지 남은 시간을 짧게 보여주는 countdown입니다.
@@ -1,8 +1,9 @@
1
1
  # LitClaude Release Checklist
2
2
 
3
- Status: `litclaude-ai@0.2.2` is the current release candidate for Dynamic workflow hardening.
4
- `package.json` is aligned to `0.2.2`, and
5
- `plugins/litclaude/.claude-plugin/plugin.json` is aligned to `0.2.2`.
3
+ Status: `litclaude-ai@0.3.1` is the current release candidate a patch that fixes neon-HUD truecolor
4
+ detection on Windows Terminal / WSL2 (and other 24-bit terminals that do not export `COLORTERM`).
5
+ `package.json` is aligned to `0.3.1`, and
6
+ `plugins/litclaude/.claude-plugin/plugin.json` is aligned to `0.3.1`.
6
7
 
7
8
  This release carries the v0.2.2 Dynamic workflow hardening surfaces:
8
9
  `/dynamic-workflow`, `workflow-check --json`, native `/goal` fallback guidance,
@@ -51,8 +52,8 @@ No npm publication is required for this track.
51
52
  Before requesting publication approval, confirm these artifacts from the current
52
53
  checkout:
53
54
 
54
- - `package.json` version is `0.2.2`.
55
- - `plugins/litclaude/.claude-plugin/plugin.json` version is `0.2.2`.
55
+ - `package.json` version is `0.3.1`.
56
+ - `plugins/litclaude/.claude-plugin/plugin.json` version is `0.3.1`.
56
57
  - `plugins/litclaude/commands/dynamic-workflow.md` documents subagent delegation.
57
58
  - `node bin/litclaude-ai.js workflow-check --json` reports `status: pass`.
58
59
  - `node bin/litclaude-ai.js workflow-check --json` reports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "litclaude-ai",
3
- "version": "0.2.2",
3
+ "version": "0.3.1",
4
4
  "description": "Claude Code-native workflow distribution.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -44,5 +44,13 @@
44
44
  "orchestration"
45
45
  ],
46
46
  "author": "LitClaude contributors",
47
- "license": "MIT"
47
+ "license": "MIT",
48
+ "homepage": "https://github.com/wjgoarxiv/litclaude#readme",
49
+ "repository": {
50
+ "type": "git",
51
+ "url": "git+https://github.com/wjgoarxiv/litclaude.git"
52
+ },
53
+ "bugs": {
54
+ "url": "https://github.com/wjgoarxiv/litclaude/issues"
55
+ }
48
56
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "litclaude",
3
3
  "description": "Claude Code-native workflow plugin.",
4
- "version": "0.2.2",
4
+ "version": "0.3.1",
5
5
  "author": {
6
6
  "name": "LitClaude contributors"
7
7
  },
@@ -34,8 +34,19 @@ const NEON_BRAND = "LITCLAUDE";
34
34
  const NEON_START = [255, 45, 149]; // #ff2d95 hot pink
35
35
  const NEON_END = [0, 229, 255]; // #00e5ff electric cyan
36
36
 
37
- export const supportsTruecolor = (env = process.env) =>
38
- /truecolor|24bit/iu.test(String(env.COLORTERM || ""));
37
+ export const supportsTruecolor = (env = process.env) => {
38
+ // The portable signal: terminals that export COLORTERM=truecolor|24bit.
39
+ if (/truecolor|24bit/iu.test(String(env.COLORTERM || ""))) return true;
40
+ // Windows Terminal (including WSL2) renders 24-bit color but does NOT export
41
+ // COLORTERM into the shell — it advertises itself via WT_SESSION instead.
42
+ // Without this, WSL2 users get the 256-color magenta fallback by mistake.
43
+ if (env.WT_SESSION) return true;
44
+ // 24-bit terminal emulators that may not set COLORTERM in every shell.
45
+ if (/\b(?:vscode|hyper|wezterm|ghostty|iterm\.app)\b/iu.test(String(env.TERM_PROGRAM || ""))) return true;
46
+ // terminfo direct-color / truecolor entries (e.g. xterm-direct, *-truecolor).
47
+ if (/-direct|truecolor/iu.test(String(env.TERM || ""))) return true;
48
+ return false;
49
+ };
39
50
 
40
51
  export const litBrandPrefix = (version, { noColor = false, truecolor = false } = {}) => {
41
52
  const label = `[🔥${NEON_BRAND} v${version}]`;