@litfamily/litclaude 1.0.34 → 1.0.36
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 +59 -44
- package/README.md +8 -8
- package/README_ko-KR.md +8 -8
- package/bin/litclaude-ai.js +24 -11
- package/docs/agents.md +5 -0
- package/docs/assets/cover-motion-still.webp +0 -0
- package/docs/assets/cover-motion.webp +0 -0
- package/docs/assets/cover.webp +0 -0
- package/docs/assets/litfamily-machines.png +0 -0
- package/docs/assets/readme/ascii-readme.svg +1 -1
- package/docs/assets/readme/badge-version.svg +1 -1
- package/docs/assets/skills/lit-brainstorm.webp +0 -0
- package/docs/hooks.md +77 -14
- package/docs/migration.md +2 -2
- package/package.json +2 -1
- package/plugins/litclaude/.claude-plugin/plugin.json +1 -1
- package/plugins/litclaude/bin/litclaude-hook.js +166 -17
- package/plugins/litclaude/bin/litclaude-lsp-doctor.js +10 -3
- package/plugins/litclaude/bin/litclaude-mcp.js +1 -1
- package/plugins/litclaude/bundled-rules/lit-humanizer.md +1 -0
- package/plugins/litclaude/commands/deep-interview.md +4 -0
- package/plugins/litclaude/commands/lit-brainstorm.md +108 -0
- package/plugins/litclaude/commands/litgoal.md +1 -1
- package/plugins/litclaude/commands/review-work.md +13 -4
- package/plugins/litclaude/hooks/lit-band-client.mjs +7 -4
- package/plugins/litclaude/hooks/lit-mod.mjs +35 -10
- package/plugins/litclaude/lib/automatic-update.mjs +15 -4
- package/plugins/litclaude/lib/canonical-skill-catalog.mjs +1 -0
- package/plugins/litclaude/lib/canonical-skill-resources.mjs +72 -38
- package/plugins/litclaude/lib/deliverable-hedge-guard.mjs +173 -48
- package/plugins/litclaude/lib/lit-activation.mjs +60 -0
- package/plugins/litclaude/lib/lit-mark.mjs +1 -1
- package/plugins/litclaude/lib/mod/frame.mjs +24 -7
- package/plugins/litclaude/lib/mod/motion.mjs +2 -1
- package/plugins/litclaude/lib/mod/skills.mjs +1 -0
- package/plugins/litclaude/lib/mod/svg-card.mjs +2 -2
- package/plugins/litclaude/lib/mod/timeline.mjs +12 -0
- package/plugins/litclaude/lib/mod/toasts.mjs +89 -0
- package/plugins/litclaude/lib/mod/view.mjs +16 -10
- package/plugins/litclaude/lib/mod/workflow.mjs +1 -0
- package/plugins/litclaude/lib/motion-render-gate.mjs +9 -4
- package/plugins/litclaude/lib/npm-invocation.mjs +64 -0
- package/plugins/litclaude/lib/office-runtime.mjs +40 -14
- package/plugins/litclaude/lib/office_runtime_bootstrap.py +13 -1
- package/plugins/litclaude/lib/rules/engine.mjs +23 -5
- package/plugins/litclaude/lib/start-work-lifecycle.mjs +125 -9
- package/plugins/litclaude/skills/deep-interview/SKILL.md +1 -1
- package/plugins/litclaude/skills/lit-brainstorm/SKILL.md +430 -0
- package/plugins/litclaude/skills/lit-brainstorm/references/idea-lenses.md +192 -0
- package/plugins/litclaude/skills/lit-brainstorm/references/scoring-and-convergence.md +149 -0
- package/plugins/litclaude/skills/lit-brainstorm/references/session-notes-template.md +106 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/export.mjs +3 -4
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/renderer.mjs +10 -2
- package/plugins/litclaude/skills/lit-docx/SKILL.md +1 -1
- package/plugins/litclaude/skills/lit-docx/scripts/convert_md_to_pdf.py +23 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/acs/template.tex +14 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/elsevier/template.tex +14 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/ieee/template.tex +14 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/korean-generic/template.tex +14 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/nature/template.tex +14 -0
- package/plugins/litclaude/skills/lit-humanizer/SKILL.md +4 -0
- package/plugins/litclaude/skills/lit-humanizer/scripts/core.mjs +94 -1
- package/plugins/litclaude/skills/lit-humanizer/scripts/detect.mjs +3 -2
- package/plugins/litclaude/skills/lit-humanizer/scripts/scan-input.mjs +15 -2
- package/plugins/litclaude/skills/lit-loop/SKILL.md +11 -0
- package/plugins/litclaude/skills/lit-plan/SKILL.md +2 -1
- package/plugins/litclaude/skills/lit-typographic-motion/SKILL.md +14 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +6 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/constants.mjs +35 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/chrome.mjs +3 -7
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-assets.mjs +102 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-capture.mjs +210 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-gate.mjs +346 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-image.mjs +141 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +76 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +106 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-worker.mjs +32 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover.mjs +373 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/done.mjs +68 -2
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/encode.mjs +3 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/host.mjs +31 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/look.mjs +53 -17
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/runtime.mjs +42 -12
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-capture.mjs +2 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-serve.mjs +6 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage.mjs +2 -2
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/treatment.mjs +2 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/webp.mjs +145 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/cover-init.js +37 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/loop-kit.js +106 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +93 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/manifest.json +18 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +16 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +27 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +16 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +17 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +17 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +18 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +17 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +30 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +67 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/orbit-loop/index.html +152 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/painted-light/expected.json +95 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/painted-light/index.html +202 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/weight-tide/expected.json +67 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/weight-tide/index.html +100 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/cover.md +372 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/look.md +2 -1
- package/plugins/litclaude/skills/lit-typographic-motion/references/runtime.md +4 -3
- package/plugins/litclaude/skills/lit-typographic-motion/references/stage.md +1 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/treatment.md +4 -0
- package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion-doctor.mjs +26 -6
- package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion.mjs +43 -10
- package/plugins/litclaude/skills/litgoal/SKILL.md +9 -1
- package/plugins/litclaude/skills/lsp-setup/scripts/verify-lsp.ts +47 -6
- package/plugins/litclaude/skills/review-work/SKILL.md +37 -1
- package/plugins/litclaude/skills/start-work/SKILL.md +5 -0
- package/scripts/doctor.mjs +2 -2
- package/scripts/qa-cover-recipes.mjs +172 -0
- package/scripts/validate-plugin.mjs +12 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.36 - 2026-10-22
|
|
4
|
+
|
|
5
|
+
- Repeating `lit` during active work now continues the current workflow. The new `lit-brainstorm` skill helps shape an idea before implementation, while litgoal and review-work give clearer guidance for setting goals and reviewing completed work. Start-work receives the full request.
|
|
6
|
+
- The LIT card now shows status-change toasts, keeps running review lanes visible, and gives the active border a little more light.
|
|
7
|
+
- Motion covers can now loop seamlessly with any machine as the hero. Checks inspect the decoded file and catch cover defects; motion audio setup picks a supported Python interpreter. The painted-light recipe keeps its own five-panel base.
|
|
8
|
+
- Windows process launches now handle npm and Claude, browser and language-server helpers safely, preserve failure exit codes, and find `ffmpeg.exe`. Office tools select a supported Python, and cover contract errors stop promptly.
|
|
9
|
+
- The README artwork and LIT mark now show all seven LitFamily products. The humanizer regression cases also cover seven more mutation-checked pledge examples.
|
|
10
|
+
|
|
11
|
+
### Previously undated entries: output styles and lit-comprehend
|
|
12
|
+
|
|
13
|
+
- Add output styles enrollment to the installer: a `chooseOutputStyle` prompt
|
|
14
|
+
(mirroring `chooseHudAccent`) lets users pick `off`, `asd-ste100`,
|
|
15
|
+
`asd-ste100-ko`, `eli5`, or `eli5-ko` on every install run, defaulted from
|
|
16
|
+
the prior choice. The installer writes `settings.outputStyle` clobber-safely —
|
|
17
|
+
skipping the write and printing a note when the field was changed outside
|
|
18
|
+
LitClaude — and tracks `outputStyleChoice`/`outputStyleWrittenName` under
|
|
19
|
+
the `litclaude` settings key for idempotent reinstall defaulting.
|
|
20
|
+
|
|
21
|
+
- Add the `lit-comprehend` skill, the `/litclaude:lit-comprehend` command, and the
|
|
22
|
+
`lit-comprehend` / `comprehend` / `lit comprehend` / `$lit-comprehend` /
|
|
23
|
+
`$comprehend` hook routes. The trigger surface is deliberately wider than the
|
|
24
|
+
skill id — bare `comprehend` is what users type, the same reasoning that keeps
|
|
25
|
+
bare `recap` routed to `lit-recap`.
|
|
26
|
+
- Gate execution instead of narrowing activation: being invoked is not permission
|
|
27
|
+
to build. When the invocation names the file or commit set directly (a path, a
|
|
28
|
+
git range, a branch, a PR) the skill proceeds; otherwise it proposes the scope,
|
|
29
|
+
its countable size, what it excluded, and the rough cost, offers a one-sentence
|
|
30
|
+
answer when the request deserves one, and waits. The proposal is derived from
|
|
31
|
+
`git status` / `git diff --stat` / durable state, never by reading the tree — a
|
|
32
|
+
gate that costs as much as the thing it gates is not a gate.
|
|
33
|
+
- Fix a routing defect found while wiring this: `lit comprehend` and
|
|
34
|
+
`litwork comprehend` matched the bare `lit` / `litwork` tokens first and
|
|
35
|
+
activated lit-loop, injecting the wrong skill body. The two-token phrase now
|
|
36
|
+
resolves ahead of the leading-bare check, with a regression test.
|
|
37
|
+
- Where `lit-recap` answers *what happened*, `lit-comprehend` builds the artifact
|
|
38
|
+
a reader needs to reason about the work: it anchors on what they already knew
|
|
39
|
+
and explains only the delta, walks the change in conceptual rather than file
|
|
40
|
+
order, ships an interactive micro-world, discloses what is **not** verified,
|
|
41
|
+
and closes with a quiz framed as a speed regulator rather than a grade.
|
|
42
|
+
- Bundle `assets/explainer-scaffold.html` so the CSS, diagram components, and
|
|
43
|
+
quiz engine are written once instead of per invocation, plus
|
|
44
|
+
`references/artifact-template.md` and `references/micro-worlds.md`.
|
|
45
|
+
- Add `scripts/verify-explainer.mjs` as a real verification gate. It fails a
|
|
46
|
+
phantom code quote, a quote attributed to a missing file, an external resource
|
|
47
|
+
reference, a missing canonical section, an artifact written inside the
|
|
48
|
+
worktree, a quiz option without feedback or with a positional tell, collapsed
|
|
49
|
+
code blocks, and ASCII-art diagrams — the defect classes that leave a reader
|
|
50
|
+
confidently wrong rather than merely uninformed.
|
|
51
|
+
- Pin the whole `skills/lit-comprehend` tree in the canonical resource manifest so
|
|
52
|
+
the installer, install-time integrity gate, `doctor`, and package payload
|
|
53
|
+
guard all cover the bundled scaffold and verifier.
|
|
54
|
+
|
|
55
|
+
## 1.0.35 - 2026-10-19
|
|
56
|
+
|
|
57
|
+
- The lit-humanizer check now catches a block that keeps saying what something is not. It counts plain negations such as `아님` or `is not` and reworded ones such as `~로 볼 수 없음`, `~와는 다르다`, `~로 읽으면 안 된다` or `does not mean`, per paragraph, list block or table column. Two Korean ones in one block, or three in any language, make the pre-write guard refuse the write and ask for wording that says what the thing is first and gives the caveat once; two in mixed languages stay a warning. Short table cells such as a `해당 아님` status, code, inline code and quotations are left out. The skill and its always-on rule explain positive-first wording with an example.
|
|
58
|
+
- An Edit or MultiEdit is now checked against the whole edited file, and only findings on edited lines count. Code fences, quotes and the paragraph break between two edited paragraphs stay visible to the check, so an edit inside a fence or across two paragraphs passes. When the file cannot be read, each replacement is checked on its own. An English negation glued to a Hangul word is ignored.
|
|
59
|
+
- A phrase repeated across a document is now tied to the lines it sits on, so an edit that adds a repeat is refused and an edit placed between two existing ones passes.
|
|
60
|
+
- A file written outside the folder Claude Code reports as current, for example after a `cd` into a subfolder, is now checked when it belongs to the session's project (from `CLAUDE_PROJECT_DIR`, else the git root, else the current folder). Plans, ledgers and handoffs stay exempt there, and files elsewhere on disk, such as host settings, memory and temporary notes, are left alone.
|
|
61
|
+
|
|
3
62
|
## 1.0.34 - 2026-10-18
|
|
4
63
|
|
|
5
64
|
- The README now says in two sentences what adding `lit` to a prompt does, then shows the install command and a first prompt before the demo. It adds who LitClaude is for, a short session sketch taken from the demo and a one-line summary to share. Install switches, card options and maintenance commands are explained first and then listed with when to use each, the stacked bold labels in the requirements section are gone, and the automatic update check is mentioned beside `update`. The npm and Korean pages follow, with the same images, version pins and anchors.
|
|
@@ -475,50 +534,6 @@
|
|
|
475
534
|
tools, so the harness read-before-write guard never sees them — copying an
|
|
476
535
|
example literally could clobber a file in the user's working directory.
|
|
477
536
|
|
|
478
|
-
## Unreleased — output styles enrollment and `lit-comprehend` explainer artifacts
|
|
479
|
-
|
|
480
|
-
- Add output styles enrollment to the installer: a `chooseOutputStyle` prompt
|
|
481
|
-
(mirroring `chooseHudAccent`) lets users pick `off`, `asd-ste100`,
|
|
482
|
-
`asd-ste100-ko`, `eli5`, or `eli5-ko` on every install run, defaulted from
|
|
483
|
-
the prior choice. The installer writes `settings.outputStyle` clobber-safely —
|
|
484
|
-
skipping the write and printing a note when the field was changed outside
|
|
485
|
-
LitClaude — and tracks `outputStyleChoice`/`outputStyleWrittenName` under
|
|
486
|
-
the `litclaude` settings key for idempotent reinstall defaulting.
|
|
487
|
-
|
|
488
|
-
- Add the `lit-comprehend` skill, the `/litclaude:lit-comprehend` command, and the
|
|
489
|
-
`lit-comprehend` / `comprehend` / `lit comprehend` / `$lit-comprehend` /
|
|
490
|
-
`$comprehend` hook routes. The trigger surface is deliberately wider than the
|
|
491
|
-
skill id — bare `comprehend` is what users type, the same reasoning that keeps
|
|
492
|
-
bare `recap` routed to `lit-recap`.
|
|
493
|
-
- Gate execution instead of narrowing activation: being invoked is not permission
|
|
494
|
-
to build. When the invocation names the file or commit set directly (a path, a
|
|
495
|
-
git range, a branch, a PR) the skill proceeds; otherwise it proposes the scope,
|
|
496
|
-
its countable size, what it excluded, and the rough cost, offers a one-sentence
|
|
497
|
-
answer when the request deserves one, and waits. The proposal is derived from
|
|
498
|
-
`git status` / `git diff --stat` / durable state, never by reading the tree — a
|
|
499
|
-
gate that costs as much as the thing it gates is not a gate.
|
|
500
|
-
- Fix a routing defect found while wiring this: `lit comprehend` and
|
|
501
|
-
`litwork comprehend` matched the bare `lit` / `litwork` tokens first and
|
|
502
|
-
activated lit-loop, injecting the wrong skill body. The two-token phrase now
|
|
503
|
-
resolves ahead of the leading-bare check, with a regression test.
|
|
504
|
-
- Where `lit-recap` answers *what happened*, `lit-comprehend` builds the artifact
|
|
505
|
-
a reader needs to reason about the work: it anchors on what they already knew
|
|
506
|
-
and explains only the delta, walks the change in conceptual rather than file
|
|
507
|
-
order, ships an interactive micro-world, discloses what is **not** verified,
|
|
508
|
-
and closes with a quiz framed as a speed regulator rather than a grade.
|
|
509
|
-
- Bundle `assets/explainer-scaffold.html` so the CSS, diagram components, and
|
|
510
|
-
quiz engine are written once instead of per invocation, plus
|
|
511
|
-
`references/artifact-template.md` and `references/micro-worlds.md`.
|
|
512
|
-
- Add `scripts/verify-explainer.mjs` as a real verification gate. It fails a
|
|
513
|
-
phantom code quote, a quote attributed to a missing file, an external resource
|
|
514
|
-
reference, a missing canonical section, an artifact written inside the
|
|
515
|
-
worktree, a quiz option without feedback or with a positional tell, collapsed
|
|
516
|
-
code blocks, and ASCII-art diagrams — the defect classes that leave a reader
|
|
517
|
-
confidently wrong rather than merely uninformed.
|
|
518
|
-
- Pin the whole `skills/lit-comprehend` tree in the canonical resource manifest so
|
|
519
|
-
the installer, install-time integrity gate, `doctor`, and package payload
|
|
520
|
-
guard all cover the bundled scaffold and verifier.
|
|
521
|
-
|
|
522
537
|
## 0.3.37 - 2026-07-29 — canonical frontend corpus and workflow families
|
|
523
538
|
|
|
524
539
|
- Ship the exact canonical frontend library with byte-pinned manifests, legal
|
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
1
|
+
<p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/assets/cover-motion.webp" width="100%" alt="LitFamily motion cover: seven armored robots power on one by one, the LitClaude robot wakes with glowing eyes and a lit frame, then LITFAMILY and KEEP THE WORK LIT. light up." /></picture></p>
|
|
2
2
|
|
|
3
3
|
<h1 align="center">LitClaude</h1>
|
|
4
4
|
<p align="center"><strong>Keep the work lit.</strong></p>
|
|
5
5
|
<p align="center">A Claude Code plugin that helps every session plan the work, build it, check it, and leave a note the next session can pick up.</p>
|
|
6
6
|
<p align="center">
|
|
7
|
-
<img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
8
|
-
<a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
7
|
+
<img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/assets/readme/badge-version.svg" alt="1.0.36" />
|
|
8
|
+
<a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
|
|
9
9
|
</p>
|
|
10
10
|
<p align="center">
|
|
11
|
-
<a href="https://github.com/wjgoarxiv/litclaude#readme">Full guide and skills gallery on GitHub</a> · <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
11
|
+
<a href="https://github.com/wjgoarxiv/litclaude#readme">Full guide and skills gallery on GitHub</a> · <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/README_ko-KR.md">한국어</a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
Add `lit` to a Claude Code prompt and Claude pins the goal, writes a failing test first,
|
|
@@ -74,7 +74,7 @@ the `/plugin` menu.
|
|
|
74
74
|
## More
|
|
75
75
|
|
|
76
76
|
- [Full guide and skills gallery on GitHub](https://github.com/wjgoarxiv/litclaude#readme)
|
|
77
|
-
- [Privacy and network behavior](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
78
|
-
- [Migration and ownership conflicts](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
79
|
-
- [Release history](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
80
|
-
- [MIT license](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
77
|
+
- [Privacy and network behavior](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/privacy.md)
|
|
78
|
+
- [Migration and ownership conflicts](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/migration.md)
|
|
79
|
+
- [Release history](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/CHANGELOG.md)
|
|
80
|
+
- [MIT license](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/LICENSE)
|
package/README_ko-KR.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
1
|
+
<p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/assets/cover-motion.webp" width="100%" alt="LitFamily 모션 커버: 일곱 로봇 패널이 차례로 켜지고, LitClaude 로봇의 눈과 테두리가 빛난 뒤 LITFAMILY와 KEEP THE WORK LIT. 문구가 밝아지는 영상" /></picture></p>
|
|
2
2
|
|
|
3
3
|
<h1 align="center">LitClaude</h1>
|
|
4
4
|
<p align="center"><strong>Keep the work lit.</strong></p>
|
|
5
5
|
<p align="center">Claude Code에서 세션마다 계획하고, 만들고, 확인한 뒤 다음 세션이 이어받을 기록을 남기게 돕는 플러그인입니다.</p>
|
|
6
6
|
<p align="center">
|
|
7
|
-
<img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
8
|
-
<a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
7
|
+
<img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/assets/readme/badge-version.svg" alt="1.0.36" />
|
|
8
|
+
<a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
|
|
9
9
|
</p>
|
|
10
10
|
<p align="center">
|
|
11
|
-
<a href="https://github.com/wjgoarxiv/litclaude/blob/main/README_ko-KR.md">전체 안내와 스킬 갤러리는 GitHub에서</a> · <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
11
|
+
<a href="https://github.com/wjgoarxiv/litclaude/blob/main/README_ko-KR.md">전체 안내와 스킬 갤러리는 GitHub에서</a> · <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/README.md">English</a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
Claude Code 프롬프트에 `lit`을 붙이면 Claude가 목표를 고정하고, 실패하는 테스트를 먼저 쓰고,
|
|
@@ -72,7 +72,7 @@ npx @litfamily/litclaude@latest uninstall
|
|
|
72
72
|
## 더 보기
|
|
73
73
|
|
|
74
74
|
- [전체 안내와 스킬 갤러리 (GitHub)](https://github.com/wjgoarxiv/litclaude/blob/main/README_ko-KR.md)
|
|
75
|
-
- [개인정보와 네트워크 동작](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
76
|
-
- [이전과 소유권 충돌](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
77
|
-
- [변경 이력](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
78
|
-
- [MIT 라이선스](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
75
|
+
- [개인정보와 네트워크 동작](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/privacy.md)
|
|
76
|
+
- [이전과 소유권 충돌](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/docs/migration.md)
|
|
77
|
+
- [변경 이력](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/CHANGELOG.md)
|
|
78
|
+
- [MIT 라이선스](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.36/LICENSE)
|
package/bin/litclaude-ai.js
CHANGED
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
themeForAccent,
|
|
31
31
|
} from "../plugins/litclaude/lib/hud-accent-palette.mjs";
|
|
32
32
|
import { readPublicSource } from "../plugins/litclaude/lib/public-source-reader/reader.mjs";
|
|
33
|
+
import { shellFreeCommand } from "../plugins/litclaude/lib/npm-invocation.mjs";
|
|
33
34
|
import { MOD_CHOICES } from "../plugins/litclaude/lib/mod/settings.mjs";
|
|
34
35
|
import { verifyBundledSkillsIntegrity } from "../plugins/litclaude/lib/bundled-skills-integrity.mjs";
|
|
35
36
|
import { verifyCanonicalFrontendCorpus } from "../plugins/litclaude/lib/canonical-frontend-corpus.mjs";
|
|
@@ -76,7 +77,7 @@ const prewarmMotionRuntime = () => {
|
|
|
76
77
|
timeout: Number(process.env.LITCLAUDE_MOTION_PREWARM_TIMEOUT_MS ?? 600000),
|
|
77
78
|
});
|
|
78
79
|
if (result.status === 0) return "MOTION_RUNTIME: pre-warmed (engine deps and fonts ready)";
|
|
79
|
-
const why = `${result.stderr || result.error?.message || "unknown error"}`.trim().split(
|
|
80
|
+
const why = `${result.stderr || result.error?.message || "unknown error"}`.trim().split(/\r?\n/u).filter(Boolean).pop()?.slice(0, 200) ?? "unknown error";
|
|
80
81
|
return `MOTION_RUNTIME: not pre-warmed (${why}); run: litclaude-ai motion-runtime install`;
|
|
81
82
|
};
|
|
82
83
|
const version = packageJson.version;
|
|
@@ -1132,8 +1133,20 @@ const requireInstalledPluginPath = (home = claudeHome()) => {
|
|
|
1132
1133
|
return path;
|
|
1133
1134
|
};
|
|
1134
1135
|
|
|
1136
|
+
// claude and the language servers are npm .cmd shims on Windows; they run unwrapped, never through
|
|
1137
|
+
// cmd.exe. A spawn that could not start comes back as { error }, like spawnSync's own.
|
|
1138
|
+
const spawnTool = (name, args, options) => {
|
|
1139
|
+
let invocation;
|
|
1140
|
+
try {
|
|
1141
|
+
invocation = shellFreeCommand(name, args);
|
|
1142
|
+
} catch (error) {
|
|
1143
|
+
return { status: null, stdout: "", stderr: "", error };
|
|
1144
|
+
}
|
|
1145
|
+
return spawnSync(invocation.command, invocation.args, options);
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1135
1148
|
const commandExists = (command) => {
|
|
1136
|
-
const result =
|
|
1149
|
+
const result = spawnTool(command, ["--version"], {
|
|
1137
1150
|
encoding: "utf8",
|
|
1138
1151
|
stdio: "ignore",
|
|
1139
1152
|
});
|
|
@@ -1586,33 +1599,33 @@ const doctor = ({ dryRun }) => {
|
|
|
1586
1599
|
// lit-pptx and lit-docx install their pinned runtime on first use; the doctor reports
|
|
1587
1600
|
// readiness and the optional host tools but never installs and never fails on them.
|
|
1588
1601
|
const officeRuntime = spawnSync(process.execPath, [join(pluginPath, "lib", "office-runtime.mjs"), "status"], { encoding: "utf8" });
|
|
1589
|
-
for (const line of `${officeRuntime.stdout || officeRuntime.stderr || ""}`.trim().split(
|
|
1602
|
+
for (const line of `${officeRuntime.stdout || officeRuntime.stderr || ""}`.trim().split(/\r?\n/u).filter(Boolean)) {
|
|
1590
1603
|
process.stdout.write(`OFFICE_RUNTIME: ${line}\n`);
|
|
1591
1604
|
}
|
|
1592
1605
|
writeAutoHandoffDoctorLines();
|
|
1593
1606
|
process.stdout.write(`${iconFontDoctorLine()}\n`);
|
|
1594
1607
|
process.stdout.write(`MOD_OPTIONS: ${modOptionsLine(readClaudeSettings())}\n`);
|
|
1595
1608
|
|
|
1596
|
-
// lit-typographic-motion: the
|
|
1609
|
+
// lit-typographic-motion: the six readiness probes, every run. Read-only and never fatal; a
|
|
1597
1610
|
// missing pre-warm names the command that fixes it.
|
|
1598
1611
|
const motionDoctor = spawnSync(process.execPath, [join(pluginPath, "skills", "lit-typographic-motion", "scripts", "motion-doctor.mjs")], { encoding: "utf8", timeout: 120000 });
|
|
1599
|
-
const motionLines = `${motionDoctor.stdout || ""}`.trim().split(
|
|
1612
|
+
const motionLines = `${motionDoctor.stdout || ""}`.trim().split(/\r?\n/u).filter(Boolean);
|
|
1600
1613
|
if (motionLines.length) for (const line of motionLines) process.stdout.write(`${line}\n`);
|
|
1601
|
-
else process.stdout.write(`MOTION_DOCTOR_WARNING: probes did not run (${`${motionDoctor.stderr || motionDoctor.error?.message || "no output"}`.trim().split(
|
|
1614
|
+
else process.stdout.write(`MOTION_DOCTOR_WARNING: probes did not run (${`${motionDoctor.stderr || motionDoctor.error?.message || "no output"}`.trim().split(/\r?\n/u)[0]})\n`);
|
|
1602
1615
|
|
|
1603
|
-
const claude =
|
|
1616
|
+
const claude = spawnTool("claude", ["--version"], { encoding: "utf8" });
|
|
1604
1617
|
if (claude.error) {
|
|
1605
|
-
process.stdout.write(
|
|
1618
|
+
process.stdout.write(`CLAUDE_WARNING: ${claude.error.code === "ENOENT" ? "claude executable not found in PATH" : claude.error.message}\n`);
|
|
1606
1619
|
} else {
|
|
1607
1620
|
process.stdout.write(`CLAUDE_VERSION: ${(claude.stdout || claude.stderr).trim()}\n`);
|
|
1608
|
-
const validation =
|
|
1621
|
+
const validation = spawnTool("claude", ["plugin", "validate", pluginPath], { encoding: "utf8" });
|
|
1609
1622
|
if (validation.status !== 0) {
|
|
1610
1623
|
if (validation.stdout) process.stderr.write(validation.stdout);
|
|
1611
1624
|
if (validation.stderr) process.stderr.write(validation.stderr);
|
|
1612
1625
|
fail("Claude plugin validation failed.");
|
|
1613
1626
|
}
|
|
1614
1627
|
process.stdout.write("CLAUDE_PLUGIN_VALIDATE_PASS\n");
|
|
1615
|
-
const details =
|
|
1628
|
+
const details = spawnTool("claude", ["plugin", "details", pluginKey], { encoding: "utf8" });
|
|
1616
1629
|
if (details.status !== 0) {
|
|
1617
1630
|
if (details.stdout) process.stderr.write(details.stdout);
|
|
1618
1631
|
if (details.stderr) process.stderr.write(details.stderr);
|
|
@@ -1692,7 +1705,7 @@ const runClaude = ({ dryRun, rest }) => {
|
|
|
1692
1705
|
return;
|
|
1693
1706
|
}
|
|
1694
1707
|
|
|
1695
|
-
const result =
|
|
1708
|
+
const result = spawnTool(command[0], command.slice(1), { stdio: "inherit" });
|
|
1696
1709
|
if (result.error) fail(`failed to start claude: ${result.error.message}`);
|
|
1697
1710
|
exitAfterFlush(result.status ?? 1);
|
|
1698
1711
|
};
|
package/docs/agents.md
CHANGED
|
@@ -56,6 +56,11 @@ instructions" remains inert source text.
|
|
|
56
56
|
|
|
57
57
|
## Review Work Routing
|
|
58
58
|
|
|
59
|
+
`review-work` has two named modes, plan review and work review, and names the mode on the
|
|
60
|
+
first line of its report. It picks from what exists (a named PR or diff, ticked plan rows or a
|
|
61
|
+
start-work run mean work review; a plan with no ticked rows and no diff means plan review;
|
|
62
|
+
neither means it asks), and `lit review plan` or `lit review work` forces one.
|
|
63
|
+
|
|
59
64
|
For a draft plan, `review-work` stays read-only and audits bounded scope,
|
|
60
65
|
objective-achievability, Action/Output/Verification atomicity, acceptance
|
|
61
66
|
evidence, and applicable failure/decision/cleanup branches. It returns `PASS`,
|
|
Binary file
|
|
Binary file
|
package/docs/assets/cover.webp
CHANGED
|
Binary file
|
|
Binary file
|