litclaude-ai 0.3.0 โ†’ 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,5 +1,14 @@
1
1
  # Changelog
2
2
 
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
+
3
12
  ## 0.3.0 - 2026-06-14 โ€” LitClaude rebrand + lit-family vocab + neon HUD
4
13
 
5
14
  - Rename `ulw`/`ultra*` trigger vocabulary to the **lit family**: `lit`, `litwork`, `lit-loop`,
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.3.0-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,10 +22,10 @@
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.3.0` 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.3.0
28
+ Future package releases still require explicit user approval. The v0.3.1
29
29
  release materials preserve the v0.2.2 Dynamic workflow hardening work, add the
30
30
  lit-family vocab rename and neon HUD on top of v0.2.2, describe LitClaude in
31
31
  its own terms, and do not claim that npm publication has completed.
@@ -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.3.0 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.3.0] | 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.3.0-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,11 +26,11 @@
26
26
  > ์„ค์น˜๋˜๋ฏ€๋กœ, ๋งค๋ฒˆ ๊ธด `--plugin-dir` ์—†์ด ์ผ๋ฐ˜ `claude` ์‹คํ–‰์—์„œ
27
27
  > LitClaude skill๊ณผ hook์„ ๋ถˆ๋Ÿฌ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
28
28
 
29
- ํ˜„์žฌ checkout์€ `litclaude-ai@0.3.0` ๋ฐฐํฌ ์ค€๋น„์šฉ์œผ๋กœ ์ •๋ฆฌ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋ชฉ์ ์€
29
+ ํ˜„์žฌ checkout์€ `litclaude-ai@0.3.1` ๋ฐฐํฌ ์ค€๋น„์šฉ์œผ๋กœ ์ •๋ฆฌ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋ชฉ์ ์€
30
30
  ๋‹ค๋ฅธ PC์—์„œ๋„ ๋น ๋ฅด๊ฒŒ ์„ค์น˜ํ•˜๊ธฐ ์œ„ํ•œ ๊ฐœ์ธ์šฉ package metadata๋ฅผ ๊ฐ–์ถ”๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.
31
31
  npm package metadata๋ฅผ ์ค€๋น„ํ–ˆ๋‹ค๊ณ  ํ•ด์„œ ํ™๋ณด, ๊ณต๊ฐœ ์ €์žฅ์†Œ ์šด์˜, Claude
32
32
  marketplace ๋“ฑ๋ก์„ ์˜๋ฏธํ•˜์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค. ์ƒˆ ๋ฒ„์ „ ๋ฐฐํฌ๋Š” ํ•ญ์ƒ ๋ณ„๋„์˜ ๋ช…์‹œ์ 
33
- ์Šน์ธ ํ›„์— ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. v0.3.0 release material์€ v0.2.2 Dynamic workflow
33
+ ์Šน์ธ ํ›„์— ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. v0.3.1 release material์€ v0.2.2 Dynamic workflow
34
34
  hardening์„ ๋ณด์กดํ•˜๊ณ , lit-family vocab rename๊ณผ neon HUD๋ฅผ ์ถ”๊ฐ€ํ•˜๋ฉฐ,
35
35
  LitClaude ์ž์ฒด์˜ ํ‘œํ˜„์œผ๋กœ ์ •๋ฆฌ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. npm publish๊ฐ€ ์™„๋ฃŒ๋๋‹ค๊ณ 
36
36
  ์ฃผ์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
@@ -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.3.0 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.3.0] | 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.3.0` is the current release candidate for the lit-family vocab rename and neon HUD.
4
- `package.json` is aligned to `0.3.0`, and
5
- `plugins/litclaude/.claude-plugin/plugin.json` is aligned to `0.3.0`.
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.3.0`.
55
- - `plugins/litclaude/.claude-plugin/plugin.json` version is `0.3.0`.
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.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Claude Code-native workflow distribution.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "litclaude",
3
3
  "description": "Claude Code-native workflow plugin.",
4
- "version": "0.3.0",
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}]`;