@litfamily/litclaude 1.0.45 → 1.0.47
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 +26 -0
- package/README.md +8 -8
- package/README_ko-KR.md +8 -8
- package/bin/litclaude-ai.js +10 -4
- package/docs/assets/readme/badge-version.svg +1 -1
- package/package.json +5 -2
- package/plugins/litclaude/.claude-plugin/plugin.json +1 -1
- package/plugins/litclaude/.lsp.json +5 -2
- package/plugins/litclaude/agents/korean-prose-editor.md +0 -1
- package/plugins/litclaude/agents/korean-style-analyzer.md +0 -1
- package/plugins/litclaude/agents/librarian-researcher.md +0 -1
- package/plugins/litclaude/agents/lit-executor.md +0 -1
- package/plugins/litclaude/agents/lit-planner.md +0 -1
- package/plugins/litclaude/agents/lit-verifier.md +0 -1
- package/plugins/litclaude/agents/meaning-preservation-auditor.md +0 -1
- package/plugins/litclaude/agents/native-flow-reviewer.md +0 -1
- package/plugins/litclaude/agents/polish-orchestrator.md +0 -1
- package/plugins/litclaude/agents/qa-runner.md +0 -1
- package/plugins/litclaude/agents/quality-reviewer.md +0 -1
- package/plugins/litclaude/bin/litclaude-lsp-doctor.js +2 -1
- package/plugins/litclaude/bin/litclaude-mcp.js +1 -1
- package/plugins/litclaude/lib/canonical-skill-resources.mjs +8 -8
- package/plugins/litclaude/lib/mod/state.mjs +12 -0
- package/plugins/litclaude/lib/mod/view.mjs +9 -3
- package/plugins/litclaude/lib/rewind/collect.mjs +6 -2
- package/plugins/litclaude/skills/lit-typographic-motion/SKILL.md +1 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover.mjs +1 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-gate.mjs +1 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-serve.mjs +126 -4
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage.mjs +1 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/stage-kit.js +40 -1
- package/plugins/litclaude/skills/lit-typographic-motion/references/stage.md +43 -2
- package/plugins/litclaude/skills/lsp-setup/SKILL.md +8 -5
- package/plugins/litclaude/skills/lsp-setup/references/bash/README.md +2 -1
- package/plugins/litclaude/skills/lsp-setup/references/c-cpp/README.md +5 -4
- package/plugins/litclaude/skills/lsp-setup/references/csharp/README.md +3 -2
- package/plugins/litclaude/skills/lsp-setup/references/dart/README.md +2 -1
- package/plugins/litclaude/skills/lsp-setup/references/elixir/README.md +3 -3
- package/plugins/litclaude/skills/lsp-setup/references/go/README.md +1 -1
- package/plugins/litclaude/skills/lsp-setup/references/haskell/README.md +2 -1
- package/plugins/litclaude/skills/lsp-setup/references/java/README.md +1 -1
- package/plugins/litclaude/skills/lsp-setup/references/julia/README.md +2 -1
- package/plugins/litclaude/skills/lsp-setup/references/kotlin/README.md +1 -1
- package/plugins/litclaude/skills/lsp-setup/references/lua/README.md +1 -1
- package/plugins/litclaude/skills/lsp-setup/references/php/README.md +3 -2
- package/plugins/litclaude/skills/lsp-setup/references/python/README.md +9 -8
- package/plugins/litclaude/skills/lsp-setup/references/ruby/README.md +4 -3
- package/plugins/litclaude/skills/lsp-setup/references/rust/README.md +1 -1
- package/plugins/litclaude/skills/lsp-setup/references/swift/README.md +1 -1
- package/plugins/litclaude/skills/lsp-setup/references/terraform/README.md +2 -1
- package/plugins/litclaude/skills/lsp-setup/references/typescript/README.md +24 -21
- package/plugins/litclaude/skills/lsp-setup/references/yaml/README.md +2 -1
- package/plugins/litclaude/skills/lsp-setup/references/zig/README.md +1 -1
- package/plugins/litclaude/skills/lsp-setup/scripts/detect-lsp.ts +1 -1
- package/plugins/litclaude/skills/lsp-setup/scripts/lsp-server-table.ts +4 -3
- package/plugins/litclaude/skills/lsp-setup/scripts/verify-lsp.ts +3 -2
- package/scripts/prepublish-test-gate.mjs +22 -11
- package/tools/check-model-routing.mjs +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.47 - 2026-11-09
|
|
4
|
+
|
|
5
|
+
- The TypeScript language server loads again. `.lsp.json` gave `command` as an argv array, which Claude Code
|
|
6
|
+
rejects (`LSP config validation failed`, `expected string`), so no LSP server came up from the plugin. It now
|
|
7
|
+
names the executable in `command` and passes `--stdio` in `args`, and also maps `.mts` and `.cts`. The
|
|
8
|
+
lsp-setup skill teaches the same shape in every language snippet, and a test parses each one. Thanks to a user
|
|
9
|
+
report.
|
|
10
|
+
- Plugin agents no longer declare `permissionMode`. Claude Code ignores that field for plugin agents and printed a
|
|
11
|
+
warning for each of the eleven files. The planner and the other read-only agents stay read-only through their
|
|
12
|
+
`tools` lists, which now carry the guard tests.
|
|
13
|
+
- Install hints for the TypeScript server now pin `typescript@6`. TypeScript 7 ships no `lib/tsserver.js`, which
|
|
14
|
+
`typescript-language-server` loads.
|
|
15
|
+
|
|
16
|
+
## 1.0.46 - 2026-11-01
|
|
17
|
+
|
|
18
|
+
- A film stage can declare chroma-keyed overlay clips in `stage/clips/clips.json` (id, directory, frame count, fps).
|
|
19
|
+
Declared frames are checked against the clip limits and exempt from the flipbook rule; undeclared frame sets are
|
|
20
|
+
still refused. A page shows a clip frame-exactly from film time with `LitStage.clip`. Cover mode takes no clips.
|
|
21
|
+
- lit-adhd no longer reports a session that stopped as a lane still at work. A paused frame left in its workflow
|
|
22
|
+
stack from an earlier day kept the session marked as waiting on you, and that mark was exempt from the Stop hook's
|
|
23
|
+
idle record, so the brief said to wait for a lane that was not running. A session that stopped now reads idle or
|
|
24
|
+
ended; one that asked you a question, or holds a start-work approval, still waits.
|
|
25
|
+
- The LitClaude card no longer shows a cancelled or finished start-work as running. Another session's workflow stack
|
|
26
|
+
keeps its start-work step until that session ends, and the card drew it from the stack alone. It now checks
|
|
27
|
+
`boulder.json` and leaves out a start-work whose plan only cancelled or completed works ran.
|
|
28
|
+
|
|
3
29
|
## 1.0.45 - 2026-10-30
|
|
4
30
|
|
|
5
31
|
- lit-adhd no longer tells this session to `lit continue` a paused workflow, or `go` on its own run, while other
|
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.47/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/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.47/docs/assets/readme/badge-version.svg" alt="1.0.47" />
|
|
8
|
+
<a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/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.47/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,
|
|
@@ -77,7 +77,7 @@ the `/plugin` menu.
|
|
|
77
77
|
## More
|
|
78
78
|
|
|
79
79
|
- [Full guide and skills gallery on GitHub](https://github.com/wjgoarxiv/litclaude#readme)
|
|
80
|
-
- [Privacy and network behavior](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
81
|
-
- [Migration and ownership conflicts](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
82
|
-
- [Release history](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
83
|
-
- [MIT license](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
80
|
+
- [Privacy and network behavior](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/docs/privacy.md)
|
|
81
|
+
- [Migration and ownership conflicts](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/docs/migration.md)
|
|
82
|
+
- [Release history](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/CHANGELOG.md)
|
|
83
|
+
- [MIT license](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/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.47/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/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.47/docs/assets/readme/badge-version.svg" alt="1.0.47" />
|
|
8
|
+
<a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/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.47/README.md">English</a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
Claude Code 프롬프트에 `lit`을 붙이면 Claude가 목표를 고정하고, 실패하는 테스트를 먼저 쓰고,
|
|
@@ -75,7 +75,7 @@ npx @litfamily/litclaude@latest uninstall
|
|
|
75
75
|
## 더 보기
|
|
76
76
|
|
|
77
77
|
- [전체 안내와 스킬 갤러리 (GitHub)](https://github.com/wjgoarxiv/litclaude/blob/main/README_ko-KR.md)
|
|
78
|
-
- [개인정보와 네트워크 동작](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
79
|
-
- [이전과 소유권 충돌](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
80
|
-
- [변경 이력](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
81
|
-
- [MIT 라이선스](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.
|
|
78
|
+
- [개인정보와 네트워크 동작](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/docs/privacy.md)
|
|
79
|
+
- [이전과 소유권 충돌](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/docs/migration.md)
|
|
80
|
+
- [변경 이력](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/CHANGELOG.md)
|
|
81
|
+
- [MIT 라이선스](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.47/LICENSE)
|
package/bin/litclaude-ai.js
CHANGED
|
@@ -313,6 +313,11 @@ const parseInstallOptions = (rest, existingPermissionMode = "safe") => {
|
|
|
313
313
|
return { permissionMode, permissionExplicit, assumeYes, iconFont, agentFile };
|
|
314
314
|
};
|
|
315
315
|
|
|
316
|
+
// Claude Code ignores permissionMode in plugin agent frontmatter, so the planner stays
|
|
317
|
+
// read-only through its tools list. Settings written by earlier installs carry the old text.
|
|
318
|
+
const plannerSafeguard = "lit-planner stays read-only through its tools list (no Write, Edit, MultiEdit or Bash)";
|
|
319
|
+
const legacyPlannerSafeguard = "lit-planner remains permissionMode: plan";
|
|
320
|
+
|
|
316
321
|
const permissionProfile = (mode) => {
|
|
317
322
|
switch (mode) {
|
|
318
323
|
case "balanced":
|
|
@@ -321,7 +326,7 @@ const permissionProfile = (mode) => {
|
|
|
321
326
|
description: `global Claude settings permissions.allow/deny: adds bounded routine allow rules and dangerous-shell denies; ${permissionOwnershipDescription}`,
|
|
322
327
|
routineAutomation: true,
|
|
323
328
|
dangerousShellDenyPreserved: true,
|
|
324
|
-
plannerSafeguard
|
|
329
|
+
plannerSafeguard,
|
|
325
330
|
};
|
|
326
331
|
case "yolo":
|
|
327
332
|
return {
|
|
@@ -329,7 +334,7 @@ const permissionProfile = (mode) => {
|
|
|
329
334
|
description: `global Claude settings permissions.allow/deny: adds broader edit/write and command allow rules plus dangerous-shell denies; ${permissionOwnershipDescription}`,
|
|
330
335
|
routineAutomation: true,
|
|
331
336
|
dangerousShellDenyPreserved: true,
|
|
332
|
-
plannerSafeguard
|
|
337
|
+
plannerSafeguard,
|
|
333
338
|
};
|
|
334
339
|
case "safe":
|
|
335
340
|
default:
|
|
@@ -338,7 +343,7 @@ const permissionProfile = (mode) => {
|
|
|
338
343
|
description: `global Claude settings permissions.allow/deny: adds no rules; ${permissionOwnershipDescription}`,
|
|
339
344
|
routineAutomation: false,
|
|
340
345
|
dangerousShellDenyPreserved: true,
|
|
341
|
-
plannerSafeguard
|
|
346
|
+
plannerSafeguard,
|
|
342
347
|
};
|
|
343
348
|
}
|
|
344
349
|
};
|
|
@@ -1219,7 +1224,8 @@ const permissionIntegrityFailures = (settings) => {
|
|
|
1219
1224
|
&& typeof actualProfile === "object"
|
|
1220
1225
|
&& !Array.isArray(actualProfile)
|
|
1221
1226
|
&& Object.keys(actualProfile).length === Object.keys(expectedProfile).length
|
|
1222
|
-
&& Object.entries(expectedProfile).every(([key, value]) => actualProfile[key] === value
|
|
1227
|
+
&& Object.entries(expectedProfile).every(([key, value]) => actualProfile[key] === value
|
|
1228
|
+
|| (key === "plannerSafeguard" && actualProfile[key] === legacyPlannerSafeguard));
|
|
1223
1229
|
if (
|
|
1224
1230
|
!profileMatches
|
|
1225
1231
|
) failures.push("permissionPreference does not match permissionMode");
|
|
@@ -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.47"><title>release: 1.0.47</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.47</text></g></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@litfamily/litclaude",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"description": "Claude Code plugin: add lit to a prompt and Claude plans, tests, checks and reviews the work, then leaves a handoff for the next session.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -57,7 +57,10 @@
|
|
|
57
57
|
"postpack": "node tools/readme-for-npm.mjs restore",
|
|
58
58
|
"check:npm-readme": "node tools/readme-for-npm.mjs check",
|
|
59
59
|
"postinstall": "node scripts/postinstall.mjs",
|
|
60
|
-
"test": "node
|
|
60
|
+
"test": "node tools/test-tier.mjs fast",
|
|
61
|
+
"test:heavy": "node tools/test-tier.mjs heavy",
|
|
62
|
+
"test:all": "node tools/test-tier.mjs all",
|
|
63
|
+
"test:shard": "node tools/test-shard.mjs",
|
|
61
64
|
"validate:plugin": "node scripts/validate-plugin.mjs",
|
|
62
65
|
"doctor": "node scripts/doctor.mjs",
|
|
63
66
|
"qa:tmux": "bash scripts/qa-claude-plugin-smoke.sh",
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"typescript": {
|
|
3
|
-
"command":
|
|
3
|
+
"command": "typescript-language-server",
|
|
4
|
+
"args": ["--stdio"],
|
|
4
5
|
"extensionToLanguage": {
|
|
5
6
|
".ts": "typescript",
|
|
6
7
|
".tsx": "typescriptreact",
|
|
7
8
|
".js": "javascript",
|
|
8
9
|
".jsx": "javascriptreact",
|
|
9
10
|
".mjs": "javascript",
|
|
10
|
-
".cjs": "javascript"
|
|
11
|
+
".cjs": "javascript",
|
|
12
|
+
".mts": "typescript",
|
|
13
|
+
".cts": "typescript"
|
|
11
14
|
}
|
|
12
15
|
}
|
|
13
16
|
}
|
|
@@ -15,7 +15,8 @@ const result = run("typescript-language-server", ["--version"]);
|
|
|
15
15
|
|
|
16
16
|
if (result.error) {
|
|
17
17
|
console.log("typescript-language-server is not available.");
|
|
18
|
-
console.log("Install with: npm install -g typescript-language-server typescript");
|
|
18
|
+
console.log("Install with: npm install -g typescript-language-server typescript@6");
|
|
19
|
+
console.log("Pin typescript@6: TypeScript 7 ships no lib/tsserver.js, which typescript-language-server loads.");
|
|
19
20
|
process.exit(0);
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -26,7 +26,7 @@ export const canonicalSkillResourceManifest = Object.freeze(
|
|
|
26
26
|
["lib/rename-aliases.mjs", "3ee93aec10d0dbe785c554ab3040173ee94fde27da1b440a54b0513e5d11a508"],
|
|
27
27
|
["lib/render_pages.py", "56312e376659a83a8547f60491ca2eac8ef2f3ddd763132cac0016f4d0cce542"],
|
|
28
28
|
["lib/rewind/brief.mjs", "11904c66063ff7c66556c22d198be746768ef0b5a31d40e3b4c6988dbf4b537c"],
|
|
29
|
-
["lib/rewind/collect.mjs", "
|
|
29
|
+
["lib/rewind/collect.mjs", "ffac66406d182a131b79197f4038fc43b205d73da2fc25dce34a10d12781ac91"],
|
|
30
30
|
["lib/rewind/gauge.mjs", "347095c1d36492bb996a679b67847261d15388b29962ed2ebaabec3cf0a5d9df"],
|
|
31
31
|
["lib/rewind/next-step.mjs", "75936e3f80ce3328f0a1487a5001dd73c625c996f14d43e4ffbc07c70b56fdd2"],
|
|
32
32
|
["lib/rewind/redact.mjs", "5bff5f69191f2ec07720f2dde20a850730fed884efb47a43f2604d7295a1615a"],
|
|
@@ -822,7 +822,7 @@ export const canonicalSkillResourceManifest = Object.freeze(
|
|
|
822
822
|
["skills/lit-schematic/scripts/scaffold.mjs", "0934eef6321c69ce06730343ebb48c84494d7e8e28bda3c2dd0cfa14f85088db"],
|
|
823
823
|
["skills/lit-team/SKILL.md", "48f67ed6990ab36a9303ea0aa06b488d845b3608c247ba4aa1c07f866b848166"],
|
|
824
824
|
["skills/lit-team/scripts/team.mjs", "2c6df317dbe726315676e8632cba0a229653e80a9fe8456eaa617d4185e9577f"],
|
|
825
|
-
["skills/lit-typographic-motion/SKILL.md", "
|
|
825
|
+
["skills/lit-typographic-motion/SKILL.md", "80a757ddc97a4abd110a3b980348c7703db8bb678a4c095059d4817b26e8ee36"],
|
|
826
826
|
["skills/lit-typographic-motion/engine/NOTICE", "6734178ad953e5f40585d000c13e4803e670d9e8982b7f6ef0395d47a9eedf30"],
|
|
827
827
|
["skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES", "886c7e1b43afcb8b0e04d30cd3e941b35f5f03838ad31523ad3607586f877bf1"],
|
|
828
828
|
["skills/lit-typographic-motion/engine/audio/beat_grid.py", "bd2b3ab2a522371c4b2ccf65d888c5553b8bce95a78bf2839271622b8f8ec51f"],
|
|
@@ -852,7 +852,7 @@ export const canonicalSkillResourceManifest = Object.freeze(
|
|
|
852
852
|
["skills/lit-typographic-motion/engine/node/cover-sheet.mjs", "2be97f3034364bf1bbb8c9ee9257a032f0fed9dda2a77ba4e245476dfa440c92"],
|
|
853
853
|
["skills/lit-typographic-motion/engine/node/cover-treatment.mjs", "cae66ea0450f208757d91e6e0272525dcba1e974c692571129f3b644aa0ca97c"],
|
|
854
854
|
["skills/lit-typographic-motion/engine/node/cover-worker.mjs", "c2af1efba3f0d1a08331a5dbb23bc4c32ba9449c4472da8140a48c5726d6053b"],
|
|
855
|
-
["skills/lit-typographic-motion/engine/node/cover.mjs", "
|
|
855
|
+
["skills/lit-typographic-motion/engine/node/cover.mjs", "48cac4ea6f891c0c14fdee2462de25ab8f72844945e6e680718ba46f2a3d34f5"],
|
|
856
856
|
["skills/lit-typographic-motion/engine/node/coverage.mjs", "1ac00bcb4526dde4318fbf899a4a3633288db335efd1a40e1903a73d0f7b4f2b"],
|
|
857
857
|
["skills/lit-typographic-motion/engine/node/done.mjs", "f90ffaa64ac4c77de7158460147c406eb729de1e7fe7edf061392ac6cd36df42"],
|
|
858
858
|
["skills/lit-typographic-motion/engine/node/encode.mjs", "29205272e1ec50ff29acfb4b02d92e713e2a3321eea5f01065a8b8c7ef88f799"],
|
|
@@ -872,10 +872,10 @@ export const canonicalSkillResourceManifest = Object.freeze(
|
|
|
872
872
|
["skills/lit-typographic-motion/engine/node/sound-cli.mjs", "e262c42f69b6c3ef0272f7c0f3bae9aa4ddcd2bc19f09eaed181b63fe63ace9f"],
|
|
873
873
|
["skills/lit-typographic-motion/engine/node/sound.mjs", "9f07961f118176d7a7a3580e02b6d6e17248a305510c28187b1995bc82254254"],
|
|
874
874
|
["skills/lit-typographic-motion/engine/node/stage-capture.mjs", "df061c2847a43156edec18a1d6ed54c42b01b42a24575adb32d640c6697a54b7"],
|
|
875
|
-
["skills/lit-typographic-motion/engine/node/stage-gate.mjs", "
|
|
875
|
+
["skills/lit-typographic-motion/engine/node/stage-gate.mjs", "3faefb8868446dcff600f69d7cd681966e4f7c2d09f3ec8bf330a221679f9a31"],
|
|
876
876
|
["skills/lit-typographic-motion/engine/node/stage-qa.mjs", "409c5fd3dc17bb998647245b6bb2bf58b96d2a6538f96c7d8ca9e2847c5988fe"],
|
|
877
|
-
["skills/lit-typographic-motion/engine/node/stage-serve.mjs", "
|
|
878
|
-
["skills/lit-typographic-motion/engine/node/stage.mjs", "
|
|
877
|
+
["skills/lit-typographic-motion/engine/node/stage-serve.mjs", "adef6d7c13c38bd111459ccf2a2a39908472358a48d90355f0ae56f0b5af0089"],
|
|
878
|
+
["skills/lit-typographic-motion/engine/node/stage.mjs", "4387a235dd2ad6158a42dc1242886285d46285390b6ef25eef37cfbb0908fb42"],
|
|
879
879
|
["skills/lit-typographic-motion/engine/node/stills.mjs", "be783fa50136be4dcbee7edfac8fcd60e3130ba7aeebb53cb11251a7c49ddbb7"],
|
|
880
880
|
["skills/lit-typographic-motion/engine/node/styles.mjs", "16533b7d404781788d25d0d7d0be3d876f0e4b05d13df929d04f871c1c86109b"],
|
|
881
881
|
["skills/lit-typographic-motion/engine/node/treatment.mjs", "4cbf449bf7d4611c5803ed21dbd6449b326358bd82a180be78c559bd0e9e8482"],
|
|
@@ -887,7 +887,7 @@ export const canonicalSkillResourceManifest = Object.freeze(
|
|
|
887
887
|
["skills/lit-typographic-motion/engine/stage/init.js", "c5b76f3e3242ab5d4f39abda72eb4040af2e6c8c329c71f8def99ef023d91832"],
|
|
888
888
|
["skills/lit-typographic-motion/engine/stage/loop-kit.js", "dd2839c093c20ae1a0deca3a7a7099af2b4700e70ebcd38435d3bf6ff16f121f"],
|
|
889
889
|
["skills/lit-typographic-motion/engine/stage/qa.js", "9240b2b2f15955ccaec7b8447b69ce7335ffcea95336ed262323a4392f610b22"],
|
|
890
|
-
["skills/lit-typographic-motion/engine/stage/stage-kit.js", "
|
|
890
|
+
["skills/lit-typographic-motion/engine/stage/stage-kit.js", "6edc53b56a0a702150b029a85730dc8942ed92b52d9bcb901b9bc5fa6e9d3f0b"],
|
|
891
891
|
["skills/lit-typographic-motion/engine/vendor/three/LICENSE", "4c40a1ef62450b857c3b2aaf294936304cd552d965fbcd9d32d4c5bcf4ba4454"],
|
|
892
892
|
["skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js", "85869bdd22f7cf0b22e68dcefe6cb710480af0f5c901a76f7a7764fd07fc8014"],
|
|
893
893
|
["skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js", "d20aeaf7077c459a8d952d215738d7b44fba028440bb862d84b622a34f0c80bb"],
|
|
@@ -965,7 +965,7 @@ export const canonicalSkillResourceManifest = Object.freeze(
|
|
|
965
965
|
["skills/lit-typographic-motion/references/look.md", "fc0e09d9d2af4841d4490c0c35474275393ca175afab5f6092496f00d3a79568"],
|
|
966
966
|
["skills/lit-typographic-motion/references/runtime.md", "c9f3febf0fb86afcd326ecc92e118bc9d82e471c500d6b298563102ef84197d2"],
|
|
967
967
|
["skills/lit-typographic-motion/references/sound.md", "7073e16c8a082d36527087614e00b8471feee339061b527e9b392f9a3f78ff3a"],
|
|
968
|
-
["skills/lit-typographic-motion/references/stage.md", "
|
|
968
|
+
["skills/lit-typographic-motion/references/stage.md", "6f44235acf220ea463774043acddf8fbc63ec5f2babf5c53e81fa4e63fad7bbd"],
|
|
969
969
|
["skills/lit-typographic-motion/references/studio.md", "02e88aa9540057bcd60dfb8adb126110d17e67c7e8dcea55e9c079e2b76f8159"],
|
|
970
970
|
["skills/lit-typographic-motion/references/style-bibles.md", "2b7a6117d4774fec7a18cf0cf0d7fb26cf3b642b6688a60169de9336e46836da"],
|
|
971
971
|
["skills/lit-typographic-motion/references/treatment.md", "0456ec5d17356be3d3f1b2b28394d723f9ec511a677901191ed6323abd36f548"],
|
|
@@ -222,6 +222,17 @@ export const parseBoulder = (state, sessionId) => {
|
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
224
|
|
|
225
|
+
// Plan file names whose start-work is over: every work of the project that was cancelled or
|
|
226
|
+
// completed, minus any plan a live (active or paused) work runs again. Another session's stack keeps
|
|
227
|
+
// its start-work frame until that session ends, so the card asks boulder.json whether it still runs.
|
|
228
|
+
export const settledPlansOf = (state) => {
|
|
229
|
+
const works = state && state.works && typeof state.works === "object" ? Object.values(state.works) : [];
|
|
230
|
+
const planOf = (work) => (typeof work?.active_plan === "string" ? work.active_plan.split("/").at(-1) : "");
|
|
231
|
+
const live = new Set(works.filter((work) => ["active", "paused"].includes(work?.status)).map(planOf));
|
|
232
|
+
return [...new Set(works.filter((work) => ["cancelled", "completed"].includes(work?.status)).map(planOf))]
|
|
233
|
+
.filter((name) => name && !live.has(name));
|
|
234
|
+
};
|
|
235
|
+
|
|
225
236
|
const CRITERION_STATUSES = new Set(["pass", "fail", "blocked", "pending"]);
|
|
226
237
|
|
|
227
238
|
export const parseGoals = (state, sessionId) => {
|
|
@@ -509,6 +520,7 @@ export const readLitSnapshot = async (io, { cwd, sessionId, env = {} }) => {
|
|
|
509
520
|
ignition: parseIgnition(ignition, sessionId),
|
|
510
521
|
work,
|
|
511
522
|
completedWorkIds: completed,
|
|
523
|
+
settledPlans: settledPlansOf(boulder),
|
|
512
524
|
goal: parseGoals(goals, sessionId),
|
|
513
525
|
autoloop: parseAutoloop(autoloop),
|
|
514
526
|
litPlan: parseLitPlanTurn(litPlan, sessionId),
|
|
@@ -278,6 +278,11 @@ const seenAt = (other) => Math.max(Number.isFinite(other.at) ? other.at : -Infin
|
|
|
278
278
|
const STATE_ORDER = { running: 0, idle: 1 };
|
|
279
279
|
const runningFirst = (a, b) => (STATE_ORDER[a.state] ?? 2) - (STATE_ORDER[b.state] ?? 2) || b.seenAt - a.seenAt;
|
|
280
280
|
|
|
281
|
+
// Another session's start-work frame outlives its work: cancelling or finishing the work does not
|
|
282
|
+
// touch that session's stack. A frame whose plan only settled works ran (snapshot.settledPlans, from
|
|
283
|
+
// boulder.json) is over, so the top of another session is its last frame that is not.
|
|
284
|
+
const topLiveFrame = (other, settledPlans) => other?.frames?.findLast((frame) => !(frame.skill === "start-work" && frame.planRef && settledPlans.includes(frame.planRef.split("/").at(-1)))) ?? null;
|
|
285
|
+
|
|
281
286
|
// herdr lanes of this project: sessions whose hooks ran in a herdr pane (their liveness record keeps
|
|
282
287
|
// the pane id), drawn as lanes named `<top skill or claude> · <pane>`. This session, and any session
|
|
283
288
|
// in this session's own pane, are never listed.
|
|
@@ -291,7 +296,8 @@ const herdrLanesOf = (snapshot, others, now) => {
|
|
|
291
296
|
const other = others.find((candidate) => candidate.sessionId === id);
|
|
292
297
|
const live = currentLiveness(entry, other?.at);
|
|
293
298
|
if (live?.state === "ended" || (!live && other?.ended) || now - Math.max(entry.at, other?.at ?? -Infinity) > OTHER_SESSION_MS) return null;
|
|
294
|
-
const
|
|
299
|
+
const topFrame = topLiveFrame(other, snapshot.settledPlans ?? []);
|
|
300
|
+
const top = topFrame ? frameThread(topFrame, 0, {}, false, null, now) : { name: "claude", stage: null, done: null, total: null, state: "running", doneAt: null, active: false, elapsedMs: null };
|
|
295
301
|
return { ...top, key: `herdr-${entry.herdrPane}`, sessionId: id, name: `${top.name} · ${entry.herdrPane}`, state: otherState(top, live), seenAt: Math.max(entry.at, other?.at ?? -Infinity) };
|
|
296
302
|
})
|
|
297
303
|
.filter((thread) => thread && lingering(thread, now))
|
|
@@ -332,10 +338,10 @@ const threadsOf = ({ snapshot, lanes, tasks, lists, now, threadReserve }) => {
|
|
|
332
338
|
const others = (snapshot.workflow?.others ?? [])
|
|
333
339
|
.filter((other) => {
|
|
334
340
|
const live = currentLiveness(other.liveness, other.at);
|
|
335
|
-
return (live ? live.state !== "ended" : !other.ended) && !inHerdr.has(other.sessionId) && now - seenAt(other) <= OTHER_SESSION_MS && other.
|
|
341
|
+
return (live ? live.state !== "ended" : !other.ended) && !inHerdr.has(other.sessionId) && now - seenAt(other) <= OTHER_SESSION_MS && topLiveFrame(other, snapshot.settledPlans ?? []);
|
|
336
342
|
})
|
|
337
343
|
.map((other) => {
|
|
338
|
-
const thread = frameThread(other.
|
|
344
|
+
const thread = frameThread(topLiveFrame(other, snapshot.settledPlans ?? []), 0, {}, false, null, now);
|
|
339
345
|
return { ...thread, key: `session-${other.id8}`, session: other.id8, state: otherState(thread, currentLiveness(other.liveness, other.at)), seenAt: seenAt(other) };
|
|
340
346
|
})
|
|
341
347
|
.filter((thread) => lingering(thread, now))
|
|
@@ -422,14 +422,18 @@ export const collectRewind = ({
|
|
|
422
422
|
}
|
|
423
423
|
const recentRuns = (runs ?? []).filter((run) => now - run.atMs <= sinceMs).sort((a, b) => b.atMs - a.atMs);
|
|
424
424
|
for (const session of sessions) {
|
|
425
|
-
|
|
425
|
+
// A paused frame in a stack can be a day old, so it alone does not keep a session that stopped
|
|
426
|
+
// from reading as waiting (and as a lane at work); a question it asked, or a boundary, does.
|
|
427
|
+
const pausedOnly = session.waitingReason === "paused workflow";
|
|
428
|
+
if ((sessionId && session.sessionId === sessionId) || (session.status === "waiting-on-user" && !pausedOnly)) continue;
|
|
426
429
|
const live = newestLiveness.get(session.sessionId);
|
|
427
430
|
const run = recentRuns.find((item) => item.sessionId === session.sessionId);
|
|
428
|
-
if (run && !(live?.state === "alive" && live.atMs > run.atMs)) {
|
|
431
|
+
if (!pausedOnly && run && !(live?.state === "alive" && live.atMs > run.atMs)) {
|
|
429
432
|
session.status = "done";
|
|
430
433
|
session.finishedPlan = run.plan;
|
|
431
434
|
} else if (live && live.state !== "alive" && live.atMs >= (session.lastMs ?? 0) - LIVENESS_SLACK_MS) {
|
|
432
435
|
session.status = live.state === "ended" ? "ended" : "idle";
|
|
436
|
+
delete session.waitingReason;
|
|
433
437
|
}
|
|
434
438
|
}
|
|
435
439
|
sessions.sort((a, b) => statusRank[a.status] - statusRank[b.status] || (b.lastMs ?? 0) - (a.lastMs ?? 0));
|
|
@@ -124,7 +124,7 @@ Done needs all of: a valid treatment; gate PASS; at least two look rounds, the f
|
|
|
124
124
|
| 14 | BLOCKED_DEPS_NOT_PREWARMED | Tell the user to run `litclaude-ai motion-runtime install` outside this session. |
|
|
125
125
|
| 15 | BLOCKED_FONT_FETCH | A cached font is missing or its sha256 differs; same fix. |
|
|
126
126
|
| 16 | BLOCKED_TREATMENT_INVALID | Fix the named field. |
|
|
127
|
-
| 17 | STAGE_CONTRACT_ERROR | Fix the named element, API, raster, size or missing copy line. |
|
|
127
|
+
| 17 | STAGE_CONTRACT_ERROR | Fix the named element, API, raster, clip, size or missing copy line. |
|
|
128
128
|
| 18 | STAGE_NONDETERMINISTIC | Seed it or drive it from `t`. |
|
|
129
129
|
| 19 | STAGE_NETWORK_REQUEST | Remove the named URL; everything is local. |
|
|
130
130
|
| 20 | SOUND_INVALID | Fix the planned sound. |
|
|
@@ -216,7 +216,7 @@ function prepare({ out, env, log }) {
|
|
|
216
216
|
const treatment = asBlocked(() => loadCoverTreatment(out));
|
|
217
217
|
const stageDir = path.join(out, COVER_STAGE);
|
|
218
218
|
if (!existsSync(path.join(stageDir, "index.html"))) throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, `STAGE_CONTRACT_ERROR: ${path.join(stageDir, "index.html")} is missing; write the cover page first (references/cover.md)`);
|
|
219
|
-
const scan = scanStage(stageDir);
|
|
219
|
+
const scan = scanStage(stageDir, { clips: false });
|
|
220
220
|
for (const w of scan.warnings) log(`warning: ${w}`);
|
|
221
221
|
const { assets } = checkAssets({ out, treatment, rasters: scan.rasters, coverDir: COVER_STAGE });
|
|
222
222
|
return { treatment, stageDir, assets, faces: stageFonts(env) };
|
|
@@ -164,6 +164,7 @@ export function formatStageReport({ gate, manifest, outputs, round, framesViewed
|
|
|
164
164
|
`format / duration / fps: ${manifest.format} ${manifest.width}x${manifest.height}, ${manifest.durationSec} s (treatment ${manifest.treatmentDurationSec} s) @ ${manifest.fps} fps, ${manifest.frameCount} frames`,
|
|
165
165
|
`renderer: ${manifest.renderer} (${manifest.rung ?? "software"} rung, stage flags: ${manifest.chromeFlags.join(" ")})`,
|
|
166
166
|
...(manifest.plate ? [`plate: Blender ${manifest.plate.blender}, ${manifest.plate.engine} ${manifest.plate.device}, ${manifest.plate.samples} spp, ${manifest.plate.frames} frames at ${manifest.plate.fps} fps`] : []),
|
|
167
|
+
...(manifest.clips?.length ? [`clips: ${manifest.clips.map((c) => `${c.id} ${c.frames} frames at ${c.fps} fps`).join(", ")} (keyed overlays, chosen from film time)`] : []),
|
|
167
168
|
`sound: ${manifest.sound?.mode ?? "none"}${manifest.sound?.label ? ` (${manifest.sound.label})` : ""}`,
|
|
168
169
|
"",
|
|
169
170
|
`QA gate: ${gate.pass ? "PASS" : "FAIL"}`,
|