@litfamily/litclaude 1.0.1 โ 1.0.3
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 +16 -16
- package/README_ko-KR.md +15 -15
- package/bin/install-ownership.mjs +4 -4
- package/docs/assets/readme/badge-version.svg +1 -1
- package/package.json +1 -1
- package/plugins/litclaude/.claude-plugin/plugin.json +1 -1
- package/plugins/litclaude/bin/litclaude-hud.js +13 -5
- package/plugins/litclaude/bin/litclaude-mcp.js +1 -1
- package/plugins/litclaude/lib/hud-accent-palette.mjs +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@
|
|
|
7
7
|
envelopes and plain-output policy; use flat orange/lime/ivory cell colors with
|
|
8
8
|
fixed 256-color approximations and no background or extrusion.
|
|
9
9
|
|
|
10
|
+
## 1.0.3
|
|
11
|
+
|
|
12
|
+
- Restore the original colored HUD as the default: with `LITCLAUDE_HUD_APPEARANCE`
|
|
13
|
+
unset, model, context, usage, reset and Git text carry the accent again, usage
|
|
14
|
+
percentages are colored by level, and the brand uses the neon gradient.
|
|
15
|
+
`light` and `unknown` keep the default-foreground text introduced earlier.
|
|
16
|
+
|
|
17
|
+
## 1.0.2
|
|
18
|
+
|
|
19
|
+
- Accept a pristine install of the registry-published `litclaude-ai@0.4.6` as a
|
|
20
|
+
migration baseline. 1.0.1 pinned digests from a locally rebuilt 0.4.6, so every
|
|
21
|
+
published 0.4.6 installation stopped with `INSTALL_OWNERSHIP_CONFLICT`.
|
|
22
|
+
- Add a regression test that installs the published 0.4.6 tarball and upgrades it.
|
|
23
|
+
|
|
10
24
|
## 1.0.1
|
|
11
25
|
|
|
12
26
|
- Ship the landing cover, wordmark, clay mark and badges in the package and
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
1
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/cover.webp" width="100%" alt="LitClaude v5 armory cover" /></p>
|
|
2
2
|
|
|
3
3
|
<h1 align="center">LitClaude</h1>
|
|
4
4
|
<p align="center"><strong>Keep the work lit.</strong></p>
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
|
|
39
39
|
</details>
|
|
40
40
|
|
|
41
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
42
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
41
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/litclaude-wordmark.svg" width="480" alt="LITCLAUDE display type" /></p>
|
|
42
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/litclaude-clay-icon.png" width="160" alt="LitClaude clay mark" /></p>
|
|
43
43
|
|
|
44
44
|
<p align="center">
|
|
45
|
-
<img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
46
|
-
<a href="./LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
45
|
+
<img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/readme/badge-version.svg" alt="1.0.3" />
|
|
46
|
+
<a href="./LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
|
|
47
47
|
</p>
|
|
48
48
|
|
|
49
49
|
<p align="center">
|
|
@@ -355,13 +355,13 @@ npm exec --yes --package @litfamily/litclaude@latest -- litclaude install
|
|
|
355
355
|
For a reproducible install, pin the current package version:
|
|
356
356
|
|
|
357
357
|
```bash
|
|
358
|
-
npm view @litfamily/litclaude@1.0.
|
|
358
|
+
npm view @litfamily/litclaude@1.0.3 version
|
|
359
359
|
```
|
|
360
360
|
|
|
361
|
-
If that lookup returns `1.0.
|
|
361
|
+
If that lookup returns `1.0.3`, the exact install is available:
|
|
362
362
|
|
|
363
363
|
```bash
|
|
364
|
-
npm exec --yes --package @litfamily/litclaude@1.0.
|
|
364
|
+
npm exec --yes --package @litfamily/litclaude@1.0.3 -- litclaude install
|
|
365
365
|
```
|
|
366
366
|
|
|
367
367
|
Otherwise, wait for explicit human publication before using that pin. Check the
|
|
@@ -414,14 +414,14 @@ uses `[๐ฅLITCLAUDE vX.Y.Z]`, a compact `ctx [โโโ]` bar, and a `5h [โ
|
|
|
414
414
|
rate-limit reset countdown. Set `LITCLAUDE_HUD_ACCENT` before installation to
|
|
415
415
|
choose an accent.
|
|
416
416
|
|
|
417
|
-
HUD appearance and color capability are independent.
|
|
418
|
-
usage, reset, and Git text
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
default
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
417
|
+
HUD appearance and color capability are independent. By default (`dark`) the
|
|
418
|
+
model, context, usage, reset, and Git text carry the selected accent, usage
|
|
419
|
+
percentages are colored by level, and the brand uses the neon gradient. Set
|
|
420
|
+
`LITCLAUDE_HUD_APPEARANCE=light` or `unknown` to keep that essential text and the
|
|
421
|
+
brand on the terminal's default foreground, with only bar shapes and separators
|
|
422
|
+
accented. Set `LITCLAUDE_HUD_COLOR_DEPTH=truecolor|256|16|plain` when an explicit
|
|
423
|
+
depth is needed; it takes precedence over capability detection, including WSL
|
|
424
|
+
truecolor detection. `NO_COLOR` disables every HUD escape even
|
|
425
425
|
when its value is empty, and `TERM=dumb` stays plain even if another signal or
|
|
426
426
|
depth override advertises color; `LITCLAUDE_HUD_NO_COLOR=1` remains supported.
|
|
427
427
|
The HUD never forces a background color or invents a rate-limit value when Claude
|
package/README_ko-KR.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
1
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/cover.webp" width="100%" alt="LitClaude v5 armory cover" /></p>
|
|
2
2
|
|
|
3
3
|
<h1 align="center">LitClaude</h1>
|
|
4
4
|
<p align="center"><strong>Keep the work lit.</strong></p>
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
|
|
39
39
|
</details>
|
|
40
40
|
|
|
41
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
42
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
41
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/litclaude-wordmark.svg" width="480" alt="LITCLAUDE ๋์คํ๋ ์ด ํ์
" /></p>
|
|
42
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/litclaude-clay-icon.png" width="160" alt="LitClaude ํด๋ ์ด ๋งํฌ" /></p>
|
|
43
43
|
|
|
44
44
|
<p align="center">
|
|
45
|
-
<img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
46
|
-
<a href="./LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
45
|
+
<img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/readme/badge-version.svg" alt="1.0.3" />
|
|
46
|
+
<a href="./LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.3/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
|
|
47
47
|
</p>
|
|
48
48
|
|
|
49
49
|
<p align="center">
|
|
@@ -350,13 +350,13 @@ npm exec --yes --package @litfamily/litclaude@latest -- litclaude install
|
|
|
350
350
|
์ค์น๋ฅผ ์ฌํํ๋ ค๋ฉด registry์์ ํ์ฌ package version์ ์กฐํํ ๋ค ๊ณ ์ ํฉ๋๋ค.
|
|
351
351
|
|
|
352
352
|
```bash
|
|
353
|
-
npm view @litfamily/litclaude@1.0.
|
|
353
|
+
npm view @litfamily/litclaude@1.0.3 version
|
|
354
354
|
```
|
|
355
355
|
|
|
356
|
-
์กฐํ ๊ฒฐ๊ณผ๊ฐ `1.0.
|
|
356
|
+
์กฐํ ๊ฒฐ๊ณผ๊ฐ `1.0.3`์ด๋ฉด exact install์ ์ฌ์ฉํ ์ ์์ต๋๋ค.
|
|
357
357
|
|
|
358
358
|
```bash
|
|
359
|
-
npm exec --yes --package @litfamily/litclaude@1.0.
|
|
359
|
+
npm exec --yes --package @litfamily/litclaude@1.0.3 -- litclaude install
|
|
360
360
|
```
|
|
361
361
|
|
|
362
362
|
๊ทธ๋ ์ง ์์ผ๋ฉด ๋ช
์์ ์ธ human publication์ ๊ธฐ๋ค๋ฆฝ๋๋ค. Pin์ ๊ทธ ๋ค์ ์ฌ์ฉํฉ๋๋ค.
|
|
@@ -390,13 +390,13 @@ LitClaude HUD๋ `[๐ฅLITCLAUDE vX.Y.Z]`, `ctx [โโโ]` context bar,
|
|
|
390
390
|
`5h [โโ] 4% โป` rate-limit reset countdown์ ์ฌ์ฉํฉ๋๋ค. ์ค์น ์ ์
|
|
391
391
|
`LITCLAUDE_HUD_ACCENT`๋ฅผ ์ง์ ํด accent๋ฅผ ์ ํํ ์ ์์ต๋๋ค.
|
|
392
392
|
|
|
393
|
-
HUD์ ๋ฐฐ๊ฒฝ ์ค์ ๊ณผ ํฐ๋ฏธ๋ ์์ ์ง์ ์์ค์ ๋ณ๊ฐ์
๋๋ค. model,
|
|
394
|
-
reset, Git
|
|
395
|
-
|
|
396
|
-
`LITCLAUDE_HUD_APPEARANCE=light
|
|
397
|
-
|
|
398
|
-
์ ๊น์ด๋ฅผ ์ง์ ํ๋ฉด WSL
|
|
399
|
-
|
|
393
|
+
HUD์ ๋ฐฐ๊ฒฝ ์ค์ ๊ณผ ํฐ๋ฏธ๋ ์์ ์ง์ ์์ค์ ๋ณ๊ฐ์
๋๋ค. ๊ธฐ๋ณธ๊ฐ(`dark`)์์๋ model,
|
|
394
|
+
context, usage, reset, Git ๊ธ์์ ์ ํํ accent๊ฐ ๋ค์ด๊ฐ๊ณ , ์ฌ์ฉ๋ ํผ์ผํธ๋ ์์ค์
|
|
395
|
+
๋ฐ๋ผ ์์ด ๋ฐ๋๋ฉฐ, brand๋ ๋ค์จ ๊ทธ๋ผ๋ฐ์ด์
์ผ๋ก ํ์๋ฉ๋๋ค.
|
|
396
|
+
`LITCLAUDE_HUD_APPEARANCE=light` ๋๋ `unknown`์ผ๋ก ์ง์ ํ๋ฉด ํ์ ๊ธ์์ brand๋
|
|
397
|
+
ํฐ๋ฏธ๋์ ๊ธฐ๋ณธ ์ ๊ฒฝ์์ ์ฐ๊ณ , bar ๋ชจ์๊ณผ ๊ตฌ๋ถ์ ๋ง accent๋ฅผ ์ฌ์ฉํฉ๋๋ค.
|
|
398
|
+
`LITCLAUDE_HUD_COLOR_DEPTH=truecolor|256|16|plain`์ผ๋ก ์ ๊น์ด๋ฅผ ์ง์ ํ๋ฉด WSL
|
|
399
|
+
truecolor ๊ฐ์ง๋ฅผ ํฌํจํ ์๋ ๊ฐ์ง๋ณด๋ค ์ฐ์ ํฉ๋๋ค. `NO_COLOR`๋ ๊ฐ์ด ๋น ๋ฌธ์์ด์ด์ด๋
|
|
400
400
|
HUD ANSI๋ฅผ ๋ชจ๋ ๋๋ฉฐ, `TERM=dumb`๋ ๋ค๋ฅธ ์์ ์ ํธ๋ ๊น์ด ์ค์ ์ด ์์ด๋ plain์
|
|
401
401
|
์ ์งํฉ๋๋ค. `LITCLAUDE_HUD_NO_COLOR=1`๋ ๊ณ์ ์ง์ํฉ๋๋ค. HUD๋ ๋ฐฐ๊ฒฝ์์ ๊ฐ์ ๋ก
|
|
402
402
|
์ง์ ํ์ง ์๊ณ Claude๊ฐ `--`๋ฅผ ๋ณด๋ธ rate-limit ๊ฐ์ ์์๋ก ์ฑ์ฐ์ง ์์ต๋๋ค.
|
|
@@ -5,12 +5,12 @@ import { compareStableSemver } from "./update-notifier.mjs";
|
|
|
5
5
|
|
|
6
6
|
const stableVersion = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/u;
|
|
7
7
|
const receiptName = ".litclaude-install-receipt.json";
|
|
8
|
-
// Exact pristine trees from the
|
|
8
|
+
// Exact pristine trees installed from the registry-published litclaude-ai@0.4.6 tarball.
|
|
9
9
|
const legacyVersion = "0.4.6";
|
|
10
10
|
const legacy046 = {
|
|
11
|
-
plugin: "
|
|
12
|
-
marketplace: "
|
|
13
|
-
compatibility: "
|
|
11
|
+
plugin: "64c73f9cb5e5c3070297f56816fc8e5413f03050ea129783d6a6c77a6f3f1ba9",
|
|
12
|
+
marketplace: "b632abbbdbce223063c9c8016b5b34e9bed2d1a0568d348b291d58943ad0363f",
|
|
13
|
+
compatibility: "91bca1a8aec25faafa6ccd6f45346c29a9f1c8f141c5f5d254776fa88efa1ec0",
|
|
14
14
|
};
|
|
15
15
|
const legacyVendorPathMap = [
|
|
16
16
|
["018_llm-wikify", "llm-wikify", "18a4a7f2ceb014634b1b6a814896caee91606884098ca999e14eb6aa5e750ddd"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.3"><title>release: 1.0.3</title><g shape-rendering="crispEdges"><rect width="49" height="20" fill="#080d14"/><rect x="49" width="97" height="20" fill="#ff6337"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text x="255" y="140" textLength="390" transform="scale(.1)">release</text><text x="965" y="140" textLength="870" transform="scale(.1)" fill="#080D14">1.0.3</text></g></svg>
|
package/package.json
CHANGED
|
@@ -226,12 +226,20 @@ const formatReset = (value) => {
|
|
|
226
226
|
return `โป${minutes}m`;
|
|
227
227
|
};
|
|
228
228
|
|
|
229
|
+
const coloredText = appearance === "dark";
|
|
230
|
+
const text = (value) => (coloredText ? accent(value) : value);
|
|
231
|
+
|
|
229
232
|
const formatUsageSegment = (label, value, reset) => {
|
|
230
|
-
const labelText = label;
|
|
231
|
-
if (value === null)
|
|
233
|
+
const labelText = text(label);
|
|
234
|
+
if (value === null) {
|
|
235
|
+
return coloredText
|
|
236
|
+
? `${labelText} ${accent("[")}${colors.accent}โโ${colors.reset}${accent("]")} ${accent("--%")}`
|
|
237
|
+
: `${labelText} [${makeBlockBar(0, 2)}] --%`;
|
|
238
|
+
}
|
|
232
239
|
const pct = displayPercent(value);
|
|
233
240
|
const resetText = formatReset(reset);
|
|
234
|
-
|
|
241
|
+
const pctText = coloredText ? `${barColor(pct)}${pct}%${colors.reset}` : `${pct}%`;
|
|
242
|
+
return `${labelText} ${accent("[")}${makeBlockBar(pct, 2)}${accent("]")} ${pctText}${resetText ? ` ${text(resetText)}` : ""}`;
|
|
235
243
|
};
|
|
236
244
|
|
|
237
245
|
const main = async () => {
|
|
@@ -254,8 +262,8 @@ const main = async () => {
|
|
|
254
262
|
depth: colorDepth,
|
|
255
263
|
appearance,
|
|
256
264
|
});
|
|
257
|
-
const contextText =
|
|
258
|
-
const line = `${prefix} ${accent("|")} ${model} ${accent(sep)} ${contextText}${usageText}${git ? ` ${accent(sep)} git ${git}` : ""}`;
|
|
265
|
+
const contextText = `${text("ctx")} ${accent("[")}${makeContextBar(contextPct)}${accent("]")} ${text(`${contextPct}%/${maxK}k`)}`;
|
|
266
|
+
const line = `${prefix} ${accent("|")} ${text(model)} ${accent(sep)} ${contextText}${usageText}${git ? ` ${accent(sep)} ${text("git")} ${text(git)}` : ""}`;
|
|
259
267
|
process.stdout.write(`${line}\n`);
|
|
260
268
|
|
|
261
269
|
const lastMessage = latestUserMessage(status.transcript_path);
|
|
@@ -25,8 +25,11 @@ export const themeForAccent = (value) => {
|
|
|
25
25
|
|
|
26
26
|
export const accentCodeForName = (value) => themeForAccent(value).code;
|
|
27
27
|
|
|
28
|
+
// An unset appearance keeps the original dark-terminal look; light and unknown opt
|
|
29
|
+
// into default-foreground text.
|
|
28
30
|
export const normalizeHudAppearance = (value) => {
|
|
29
31
|
const normalized = String(value || "").trim().toLowerCase();
|
|
32
|
+
if (!normalized) return "dark";
|
|
30
33
|
return normalized === "light" || normalized === "dark" ? normalized : "unknown";
|
|
31
34
|
};
|
|
32
35
|
|