@litfamily/litclaude 1.0.35 → 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.
Files changed (115) hide show
  1. package/CHANGELOG.md +52 -44
  2. package/README.md +8 -8
  3. package/README_ko-KR.md +8 -8
  4. package/bin/litclaude-ai.js +24 -11
  5. package/docs/agents.md +5 -0
  6. package/docs/assets/cover-motion-still.webp +0 -0
  7. package/docs/assets/cover-motion.webp +0 -0
  8. package/docs/assets/cover.webp +0 -0
  9. package/docs/assets/litfamily-machines.png +0 -0
  10. package/docs/assets/readme/ascii-readme.svg +1 -1
  11. package/docs/assets/readme/badge-version.svg +1 -1
  12. package/docs/assets/skills/lit-brainstorm.webp +0 -0
  13. package/docs/hooks.md +77 -14
  14. package/docs/migration.md +2 -2
  15. package/package.json +2 -1
  16. package/plugins/litclaude/.claude-plugin/plugin.json +1 -1
  17. package/plugins/litclaude/bin/litclaude-hook.js +164 -15
  18. package/plugins/litclaude/bin/litclaude-lsp-doctor.js +10 -3
  19. package/plugins/litclaude/bin/litclaude-mcp.js +1 -1
  20. package/plugins/litclaude/commands/deep-interview.md +4 -0
  21. package/plugins/litclaude/commands/lit-brainstorm.md +108 -0
  22. package/plugins/litclaude/commands/litgoal.md +1 -1
  23. package/plugins/litclaude/commands/review-work.md +13 -4
  24. package/plugins/litclaude/hooks/lit-band-client.mjs +7 -4
  25. package/plugins/litclaude/hooks/lit-mod.mjs +35 -10
  26. package/plugins/litclaude/lib/automatic-update.mjs +15 -4
  27. package/plugins/litclaude/lib/canonical-skill-catalog.mjs +1 -0
  28. package/plugins/litclaude/lib/canonical-skill-resources.mjs +66 -32
  29. package/plugins/litclaude/lib/lit-activation.mjs +60 -0
  30. package/plugins/litclaude/lib/lit-mark.mjs +1 -1
  31. package/plugins/litclaude/lib/mod/frame.mjs +24 -7
  32. package/plugins/litclaude/lib/mod/motion.mjs +2 -1
  33. package/plugins/litclaude/lib/mod/skills.mjs +1 -0
  34. package/plugins/litclaude/lib/mod/svg-card.mjs +2 -2
  35. package/plugins/litclaude/lib/mod/timeline.mjs +12 -0
  36. package/plugins/litclaude/lib/mod/toasts.mjs +89 -0
  37. package/plugins/litclaude/lib/mod/view.mjs +16 -10
  38. package/plugins/litclaude/lib/mod/workflow.mjs +1 -0
  39. package/plugins/litclaude/lib/motion-render-gate.mjs +9 -4
  40. package/plugins/litclaude/lib/npm-invocation.mjs +64 -0
  41. package/plugins/litclaude/lib/office-runtime.mjs +40 -14
  42. package/plugins/litclaude/lib/office_runtime_bootstrap.py +13 -1
  43. package/plugins/litclaude/lib/rules/engine.mjs +23 -5
  44. package/plugins/litclaude/lib/start-work-lifecycle.mjs +125 -9
  45. package/plugins/litclaude/skills/deep-interview/SKILL.md +1 -1
  46. package/plugins/litclaude/skills/lit-brainstorm/SKILL.md +430 -0
  47. package/plugins/litclaude/skills/lit-brainstorm/references/idea-lenses.md +192 -0
  48. package/plugins/litclaude/skills/lit-brainstorm/references/scoring-and-convergence.md +149 -0
  49. package/plugins/litclaude/skills/lit-brainstorm/references/session-notes-template.md +106 -0
  50. package/plugins/litclaude/skills/lit-diagram-drawer/scripts/export.mjs +3 -4
  51. package/plugins/litclaude/skills/lit-diagram-drawer/scripts/renderer.mjs +10 -2
  52. package/plugins/litclaude/skills/lit-docx/SKILL.md +1 -1
  53. package/plugins/litclaude/skills/lit-docx/scripts/convert_md_to_pdf.py +23 -0
  54. package/plugins/litclaude/skills/lit-docx/templates/latex/acs/template.tex +14 -0
  55. package/plugins/litclaude/skills/lit-docx/templates/latex/elsevier/template.tex +14 -0
  56. package/plugins/litclaude/skills/lit-docx/templates/latex/ieee/template.tex +14 -0
  57. package/plugins/litclaude/skills/lit-docx/templates/latex/korean-generic/template.tex +14 -0
  58. package/plugins/litclaude/skills/lit-docx/templates/latex/nature/template.tex +14 -0
  59. package/plugins/litclaude/skills/lit-loop/SKILL.md +11 -0
  60. package/plugins/litclaude/skills/lit-plan/SKILL.md +2 -1
  61. package/plugins/litclaude/skills/lit-typographic-motion/SKILL.md +14 -5
  62. package/plugins/litclaude/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +6 -0
  63. package/plugins/litclaude/skills/lit-typographic-motion/engine/core/constants.mjs +35 -0
  64. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/chrome.mjs +3 -7
  65. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-assets.mjs +102 -0
  66. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-capture.mjs +210 -0
  67. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-gate.mjs +346 -0
  68. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-image.mjs +141 -0
  69. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +76 -0
  70. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +106 -0
  71. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-worker.mjs +32 -0
  72. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover.mjs +373 -0
  73. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/done.mjs +68 -2
  74. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/encode.mjs +3 -5
  75. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/host.mjs +31 -0
  76. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/look.mjs +53 -17
  77. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/runtime.mjs +42 -12
  78. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-capture.mjs +2 -1
  79. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-serve.mjs +6 -1
  80. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage.mjs +2 -2
  81. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/treatment.mjs +2 -1
  82. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/webp.mjs +145 -0
  83. package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/cover-init.js +37 -0
  84. package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/loop-kit.js +106 -0
  85. package/plugins/litclaude/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  86. package/plugins/litclaude/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +93 -0
  87. package/plugins/litclaude/skills/lit-typographic-motion/fonts/manifest.json +18 -0
  88. package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +16 -0
  89. package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +27 -0
  90. package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +16 -0
  91. package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +17 -0
  92. package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +17 -0
  93. package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +18 -0
  94. package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +17 -0
  95. package/plugins/litclaude/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +30 -0
  96. package/plugins/litclaude/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +67 -0
  97. package/plugins/litclaude/skills/lit-typographic-motion/recipes/orbit-loop/index.html +152 -0
  98. package/plugins/litclaude/skills/lit-typographic-motion/recipes/painted-light/expected.json +95 -0
  99. package/plugins/litclaude/skills/lit-typographic-motion/recipes/painted-light/index.html +202 -0
  100. package/plugins/litclaude/skills/lit-typographic-motion/recipes/weight-tide/expected.json +67 -0
  101. package/plugins/litclaude/skills/lit-typographic-motion/recipes/weight-tide/index.html +100 -0
  102. package/plugins/litclaude/skills/lit-typographic-motion/references/cover.md +372 -0
  103. package/plugins/litclaude/skills/lit-typographic-motion/references/look.md +2 -1
  104. package/plugins/litclaude/skills/lit-typographic-motion/references/runtime.md +4 -3
  105. package/plugins/litclaude/skills/lit-typographic-motion/references/stage.md +1 -0
  106. package/plugins/litclaude/skills/lit-typographic-motion/references/treatment.md +4 -0
  107. package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion-doctor.mjs +26 -6
  108. package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion.mjs +43 -10
  109. package/plugins/litclaude/skills/litgoal/SKILL.md +9 -1
  110. package/plugins/litclaude/skills/lsp-setup/scripts/verify-lsp.ts +47 -6
  111. package/plugins/litclaude/skills/review-work/SKILL.md +37 -1
  112. package/plugins/litclaude/skills/start-work/SKILL.md +5 -0
  113. package/scripts/doctor.mjs +2 -2
  114. package/scripts/qa-cover-recipes.mjs +172 -0
  115. package/scripts/validate-plugin.mjs +12 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
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
+
3
55
  ## 1.0.35 - 2026-10-19
4
56
 
5
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.
@@ -482,50 +534,6 @@
482
534
  tools, so the harness read-before-write guard never sees them — copying an
483
535
  example literally could clobber a file in the user's working directory.
484
536
 
485
- ## Unreleased — output styles enrollment and `lit-comprehend` explainer artifacts
486
-
487
- - Add output styles enrollment to the installer: a `chooseOutputStyle` prompt
488
- (mirroring `chooseHudAccent`) lets users pick `off`, `asd-ste100`,
489
- `asd-ste100-ko`, `eli5`, or `eli5-ko` on every install run, defaulted from
490
- the prior choice. The installer writes `settings.outputStyle` clobber-safely —
491
- skipping the write and printing a note when the field was changed outside
492
- LitClaude — and tracks `outputStyleChoice`/`outputStyleWrittenName` under
493
- the `litclaude` settings key for idempotent reinstall defaulting.
494
-
495
- - Add the `lit-comprehend` skill, the `/litclaude:lit-comprehend` command, and the
496
- `lit-comprehend` / `comprehend` / `lit comprehend` / `$lit-comprehend` /
497
- `$comprehend` hook routes. The trigger surface is deliberately wider than the
498
- skill id — bare `comprehend` is what users type, the same reasoning that keeps
499
- bare `recap` routed to `lit-recap`.
500
- - Gate execution instead of narrowing activation: being invoked is not permission
501
- to build. When the invocation names the file or commit set directly (a path, a
502
- git range, a branch, a PR) the skill proceeds; otherwise it proposes the scope,
503
- its countable size, what it excluded, and the rough cost, offers a one-sentence
504
- answer when the request deserves one, and waits. The proposal is derived from
505
- `git status` / `git diff --stat` / durable state, never by reading the tree — a
506
- gate that costs as much as the thing it gates is not a gate.
507
- - Fix a routing defect found while wiring this: `lit comprehend` and
508
- `litwork comprehend` matched the bare `lit` / `litwork` tokens first and
509
- activated lit-loop, injecting the wrong skill body. The two-token phrase now
510
- resolves ahead of the leading-bare check, with a regression test.
511
- - Where `lit-recap` answers *what happened*, `lit-comprehend` builds the artifact
512
- a reader needs to reason about the work: it anchors on what they already knew
513
- and explains only the delta, walks the change in conceptual rather than file
514
- order, ships an interactive micro-world, discloses what is **not** verified,
515
- and closes with a quiz framed as a speed regulator rather than a grade.
516
- - Bundle `assets/explainer-scaffold.html` so the CSS, diagram components, and
517
- quiz engine are written once instead of per invocation, plus
518
- `references/artifact-template.md` and `references/micro-worlds.md`.
519
- - Add `scripts/verify-explainer.mjs` as a real verification gate. It fails a
520
- phantom code quote, a quote attributed to a missing file, an external resource
521
- reference, a missing canonical section, an artifact written inside the
522
- worktree, a quiz option without feedback or with a positional tell, collapsed
523
- code blocks, and ASCII-art diagrams — the defect classes that leave a reader
524
- confidently wrong rather than merely uninformed.
525
- - Pin the whole `skills/lit-comprehend` tree in the canonical resource manifest so
526
- the installer, install-time integrity gate, `doctor`, and package payload
527
- guard all cover the bundled scaffold and verifier.
528
-
529
537
  ## 0.3.37 - 2026-07-29 — canonical frontend corpus and workflow families
530
538
 
531
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.35/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/docs/assets/cover-motion.webp" width="100%" alt="LitFamily motion cover: five 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>
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.35/docs/assets/readme/badge-version.svg" alt="1.0.35" />
8
- <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
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.35/README_ko-KR.md">한국어</a>
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.35/docs/privacy.md)
78
- - [Migration and ownership conflicts](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/docs/migration.md)
79
- - [Release history](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/CHANGELOG.md)
80
- - [MIT license](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/LICENSE)
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.35/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/docs/assets/cover-motion.webp" width="100%" alt="LitFamily 모션 커버: 다섯 로봇 패널이 차례로 켜지고, LitClaude 로봇의 눈과 테두리가 빛난 뒤 LITFAMILY와 KEEP THE WORK LIT. 문구가 밝아지는 영상" /></picture></p>
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.35/docs/assets/readme/badge-version.svg" alt="1.0.35" />
8
- <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
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.35/README.md">English</a>
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.35/docs/privacy.md)
76
- - [이전과 소유권 충돌](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/docs/migration.md)
77
- - [변경 이력](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/CHANGELOG.md)
78
- - [MIT 라이선스](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.35/LICENSE)
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)
@@ -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("\n").filter(Boolean).pop()?.slice(0, 200) ?? "unknown error";
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 = spawnSync(command, ["--version"], {
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("\n").filter(Boolean)) {
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 five readiness probes, every run. Read-only and never fatal; a
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("\n").filter(Boolean);
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("\n")[0]})\n`);
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 = spawnSync("claude", ["--version"], { encoding: "utf8" });
1616
+ const claude = spawnTool("claude", ["--version"], { encoding: "utf8" });
1604
1617
  if (claude.error) {
1605
- process.stdout.write("CLAUDE_WARNING: claude executable not found in PATH\n");
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 = spawnSync("claude", ["plugin", "validate", pluginPath], { encoding: "utf8" });
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 = spawnSync("claude", ["plugin", "details", pluginKey], { encoding: "utf8" });
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 = spawnSync(command[0], command.slice(1), { stdio: "inherit" });
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
Binary file
Binary file