@litfamily/litopencode 1.0.18 → 1.0.19
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 +10 -0
- package/README-Ko-KR.md +56 -86
- package/README.md +57 -86
- package/dist/activation-routing.js +3 -1
- package/dist/cli/args.js +5 -1
- package/dist/cli/auto-update.js +1 -1
- package/dist/cli/doctor.js +7 -5
- package/dist/cli/host-limits.js +2 -5
- package/dist/cli/install-config.d.ts +4 -0
- package/dist/cli/install-config.js +27 -1
- package/dist/cli/install-report.js +4 -1
- package/dist/cli/install.js +89 -28
- package/dist/cli/json.d.ts +1 -0
- package/dist/cli/json.js +10 -4
- package/dist/cli/jsonc.d.ts +17 -0
- package/dist/cli/jsonc.js +174 -0
- package/dist/cli/loop.d.ts +1 -1
- package/dist/cli/loop.js +81 -1
- package/dist/cli/motion-runtime.d.ts +13 -1
- package/dist/cli/motion-runtime.js +89 -2
- package/dist/cli/plugin-mutation.js +11 -6
- package/dist/cli/tui-config.d.ts +52 -0
- package/dist/cli/tui-config.js +198 -0
- package/dist/cli/types.d.ts +4 -0
- package/dist/cli.js +8 -3
- package/dist/deliverable-hedge-guard.js +2 -2
- package/dist/tui/mission-band.d.ts +29 -0
- package/dist/tui/mission-band.js +116 -0
- package/dist/tui/mission-model.d.ts +139 -0
- package/dist/tui/mission-model.js +318 -0
- package/dist/tui/mission-motion.d.ts +66 -0
- package/dist/tui/mission-motion.js +147 -0
- package/dist/tui/mission-source.d.ts +56 -0
- package/dist/tui/mission-source.js +88 -0
- package/dist/tui/mission-text.d.ts +103 -0
- package/dist/tui/mission-text.js +613 -0
- package/dist/tui.d.ts +6 -0
- package/dist/tui.js +317 -0
- package/docs/assets/readme/badge-version.svg +1 -1
- package/docs/reference-Ko-KR.md +72 -1
- package/docs/reference.md +82 -1
- package/package.json +21 -2
- package/skills/lit-pptx/scripts/lib/template-registry.js +1 -1
- package/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -6
- package/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -6
- package/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -6
- package/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -6
- package/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -6
- package/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -6
- package/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -6
- package/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -6
- package/skills/managed-skill-manifest.json +9 -9
- package/tools/check-pack-payload.mjs +20 -5
- package/tools/version-manifests.json +18 -6
|
@@ -14,12 +14,6 @@ faces:
|
|
|
14
14
|
body: Pretendard Regular
|
|
15
15
|
label: Pretendard Regular
|
|
16
16
|
numeral: Pretendard Bold
|
|
17
|
-
faces-pretendard-only:
|
|
18
|
-
display: Pretendard Bold
|
|
19
|
-
title: Pretendard Bold
|
|
20
|
-
body: Pretendard Regular
|
|
21
|
-
label: Pretendard Regular
|
|
22
|
-
numeral: Pretendard Bold
|
|
23
17
|
faces-a2z:
|
|
24
18
|
display: A2Z Black
|
|
25
19
|
title: A2Z Medium
|
|
@@ -3624,7 +3624,7 @@
|
|
|
3624
3624
|
},
|
|
3625
3625
|
{
|
|
3626
3626
|
"path": "scripts/lib/template-registry.js",
|
|
3627
|
-
"sha256": "
|
|
3627
|
+
"sha256": "a90ef33bc2ff0821bc62a49ac6724a6ebee0761de7d95b764c42b73bf82b740f"
|
|
3628
3628
|
},
|
|
3629
3629
|
{
|
|
3630
3630
|
"path": "scripts/qa_deck.py",
|
|
@@ -3712,35 +3712,35 @@
|
|
|
3712
3712
|
},
|
|
3713
3713
|
{
|
|
3714
3714
|
"path": "templates/tonalities/atlas/pack.yaml",
|
|
3715
|
-
"sha256": "
|
|
3715
|
+
"sha256": "1d9d862dc084190ab933a21945fa970da1ccebadf914659ffbd6266c955e7e7f"
|
|
3716
3716
|
},
|
|
3717
3717
|
{
|
|
3718
3718
|
"path": "templates/tonalities/chalk/pack.yaml",
|
|
3719
|
-
"sha256": "
|
|
3719
|
+
"sha256": "61a562e019f7b2ef467cc1a675bc33cf44c5a2e48bb636ace629c7e6499a31cb"
|
|
3720
3720
|
},
|
|
3721
3721
|
{
|
|
3722
3722
|
"path": "templates/tonalities/gazette/pack.yaml",
|
|
3723
|
-
"sha256": "
|
|
3723
|
+
"sha256": "c3ec0d7a5c3c1053f224a0722c7a7e7736d3c9ee9b73b85a5b7578f9cba48f8d"
|
|
3724
3724
|
},
|
|
3725
3725
|
{
|
|
3726
3726
|
"path": "templates/tonalities/ledger/pack.yaml",
|
|
3727
|
-
"sha256": "
|
|
3727
|
+
"sha256": "46f6902354f8785094740ae3cea4150cb13dcd89797ab8902ba4801ec8c1bf15"
|
|
3728
3728
|
},
|
|
3729
3729
|
{
|
|
3730
3730
|
"path": "templates/tonalities/night/pack.yaml",
|
|
3731
|
-
"sha256": "
|
|
3731
|
+
"sha256": "5929fae4e70bc01a4c3e2d16636b01c85238c4f853d817e614f0b62f19d0101b"
|
|
3732
3732
|
},
|
|
3733
3733
|
{
|
|
3734
3734
|
"path": "templates/tonalities/paper/pack.yaml",
|
|
3735
|
-
"sha256": "
|
|
3735
|
+
"sha256": "112d3727e306e9ea4c4a3fb95e54e03530a2166a1d1bc9b88e12ba105987876d"
|
|
3736
3736
|
},
|
|
3737
3737
|
{
|
|
3738
3738
|
"path": "templates/tonalities/signal/pack.yaml",
|
|
3739
|
-
"sha256": "
|
|
3739
|
+
"sha256": "8dfde0527de309bcc2e41d9cfa63ec89a7c51c3c617d0d1085bf33070543350a"
|
|
3740
3740
|
},
|
|
3741
3741
|
{
|
|
3742
3742
|
"path": "templates/tonalities/studio/pack.yaml",
|
|
3743
|
-
"sha256": "
|
|
3743
|
+
"sha256": "f364bbe34bd042136fd91eaa157d8bdc7d2b30a1490776d5d04c665f66a56c31"
|
|
3744
3744
|
}
|
|
3745
3745
|
]
|
|
3746
3746
|
},
|
|
@@ -6,6 +6,10 @@ import { readStableRegularFile } from "../skills/frontend-ui-ux/scripts/stable-f
|
|
|
6
6
|
|
|
7
7
|
// Shown by the GitHub pages only; the npm cards never reference them, so they stay out of the package.
|
|
8
8
|
const GITHUB_ONLY_README_MEDIA = /^docs\/assets\/readme\/(?:jev-[^/]+\.webp|(?:install-output|doctor-output|ignition-toast|planner-permissions)-(?:dark|light)\.webp|promo(?:-[^/]+)?\.[^/]+|promo-source(?:\/.*)?)$/u;
|
|
9
|
+
// The landing README links these GitHub pages for what moved off it (guide, skills gallery, screens,
|
|
10
|
+
// artwork). They load images by paths relative to docs/, and they stay out of the package with the social preview.
|
|
11
|
+
const GITHUB_DOC_PAGES = ["docs/guide.md", "docs/guide-Ko-KR.md", "docs/skills.md", "docs/skills-Ko-KR.md", "docs/screens.md", "docs/screens-Ko-KR.md", "docs/brand.md", "docs/brand-Ko-KR.md"];
|
|
12
|
+
const GITHUB_ONLY_DOCS = /^docs\/(?:(?:guide|skills|screens|brand)(?:-Ko-KR)?\.md|assets\/(?:social-preview\.png|demo\.(?:gif|webp)))$/u;
|
|
9
13
|
|
|
10
14
|
const FORBIDDEN_PATH_RULES = [
|
|
11
15
|
{ label: "original prompt provenance", pattern: /^INITIAL_PROMPT\.md$/u },
|
|
@@ -17,6 +21,7 @@ const FORBIDDEN_PATH_RULES = [
|
|
|
17
21
|
{ label: "GitHub-only README media (Jev snapshots, on-screen pictures, promo film)", pattern: GITHUB_ONLY_README_MEDIA },
|
|
18
22
|
{ label: "unapproved README presentation asset", pattern: /^docs\/assets\/readme\/(?!(?:ascii-readme|badge-version|badge-license|lucide-book-open|lucide-play|lucide-shield-check)\.svg$|litopencode-wordmark\.svg$|litopencode-clay-icon\.png$|(?:litfamily-machines|poster)\.png$|ignition-film\.mp4$|ignition-readme\.gif$|(?:Lucide-LICENSE|JetBrainsMono-OFL)\.txt$)/u },
|
|
19
23
|
{ label: "maintainer release checklist", pattern: /^docs\/release-checklist\.md$/u },
|
|
24
|
+
{ label: "GitHub-only docs page, social preview or demo film", pattern: GITHUB_ONLY_DOCS },
|
|
20
25
|
{ label: "npm README source (packed as README.md / README-Ko-KR.md)", pattern: /^README-npm(?:-Ko-KR)?\.md$/u },
|
|
21
26
|
{ label: "GitHub README backup from the npm README swap", pattern: /^\.readme-npm-backup(?:\/|$)/u },
|
|
22
27
|
{ label: "npm README swap script", pattern: /^tools\/readme-for-npm\.mjs$/u },
|
|
@@ -77,9 +82,10 @@ const REQUIRED_README_PATHS = [
|
|
|
77
82
|
"docs/assets/readme/poster.png"
|
|
78
83
|
];
|
|
79
84
|
|
|
80
|
-
// Every image the READMEs show must ship, except the GitHub-only media above:
|
|
81
|
-
// pinned package-CDN copies, and the GitHub pages load the same files by relative path.
|
|
82
|
-
// packed artifact the npm sources are absent and README.md /
|
|
85
|
+
// Every image the READMEs and the GitHub docs pages show must ship, except the GitHub-only media above:
|
|
86
|
+
// the npm pages load pinned package-CDN copies, and the GitHub pages load the same files by relative path.
|
|
87
|
+
// Inside a packed artifact the npm sources and the GitHub docs pages are absent, and README.md /
|
|
88
|
+
// README-Ko-KR.md already hold the npm pages.
|
|
83
89
|
async function readmeImagePaths() {
|
|
84
90
|
const { version } = JSON.parse(await fs.readFile("package.json", "utf8"));
|
|
85
91
|
const prefix = `https://cdn.jsdelivr.net/npm/@litfamily/litopencode@${version}/`;
|
|
@@ -94,18 +100,27 @@ async function readmeImagePaths() {
|
|
|
94
100
|
// Packed artifact: the target already is the npm page.
|
|
95
101
|
}
|
|
96
102
|
}
|
|
103
|
+
for (const page of GITHUB_DOC_PAGES) {
|
|
104
|
+
try {
|
|
105
|
+
await fs.access(page);
|
|
106
|
+
sources.push(page);
|
|
107
|
+
} catch {
|
|
108
|
+
// Packed artifact: the GitHub docs pages stay in the repository.
|
|
109
|
+
}
|
|
110
|
+
}
|
|
97
111
|
for (const file of sources) {
|
|
98
112
|
const text = await fs.readFile(file, "utf8");
|
|
113
|
+
const base = path.posix.dirname(file);
|
|
99
114
|
const targets = [
|
|
100
115
|
...[...text.matchAll(/!\[[^\]]*\]\(([^)\s]+)\)/gu)].map((match) => match[1]),
|
|
101
116
|
...[...text.matchAll(/\b(?:src|srcset)="([^"\s]+)"/gu)].map((match) => match[1])
|
|
102
117
|
];
|
|
103
118
|
for (const target of targets) {
|
|
104
119
|
if (target.startsWith(prefix)) paths.add(target.slice(prefix.length));
|
|
105
|
-
else if (target.startsWith("./")) paths.add(target.slice(2));
|
|
120
|
+
else if (target.startsWith("./")) paths.add(path.posix.join(base, target.slice(2)));
|
|
106
121
|
}
|
|
107
122
|
}
|
|
108
|
-
return [...paths].filter((imagePath) => !GITHUB_ONLY_README_MEDIA.test(imagePath));
|
|
123
|
+
return [...paths].filter((imagePath) => !GITHUB_ONLY_README_MEDIA.test(imagePath) && !GITHUB_ONLY_DOCS.test(imagePath));
|
|
109
124
|
}
|
|
110
125
|
|
|
111
126
|
async function readManagedManifest() {
|
|
@@ -11,26 +11,26 @@
|
|
|
11
11
|
{
|
|
12
12
|
"path": "README-Ko-KR.md",
|
|
13
13
|
"kind": "pinned",
|
|
14
|
-
"occurrences":
|
|
15
|
-
"why": "The GitHub landing pages load assets by relative path; the release badge alt text
|
|
14
|
+
"occurrences": 1,
|
|
15
|
+
"why": "The GitHub landing pages load assets by relative path; the release badge alt text repeats the package version."
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"path": "README-npm-Ko-KR.md",
|
|
19
19
|
"kind": "pinned",
|
|
20
|
-
"occurrences":
|
|
20
|
+
"occurrences": 13,
|
|
21
21
|
"why": "The npm package pages pin artwork and package links to the current package version; tools/readme-for-npm.mjs copies them over README.md and README-Ko-KR.md at pack time."
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"path": "README-npm.md",
|
|
25
25
|
"kind": "pinned",
|
|
26
|
-
"occurrences":
|
|
26
|
+
"occurrences": 12,
|
|
27
27
|
"why": "The npm package pages pin artwork and package links to the current package version; tools/readme-for-npm.mjs copies them over README.md and README-Ko-KR.md at pack time."
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"path": "README.md",
|
|
31
31
|
"kind": "pinned",
|
|
32
|
-
"occurrences":
|
|
33
|
-
"why": "The GitHub landing pages load assets by relative path; the release badge alt text
|
|
32
|
+
"occurrences": 1,
|
|
33
|
+
"why": "The GitHub landing pages load assets by relative path; the release badge alt text repeats the package version."
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"path": "docs/assets/readme/badge-version.svg",
|
|
@@ -38,6 +38,18 @@
|
|
|
38
38
|
"occurrences": 3,
|
|
39
39
|
"why": "The local candidate badge repeats the checkout version in its accessible label, title, and visible text; it does not claim registry availability."
|
|
40
40
|
},
|
|
41
|
+
{
|
|
42
|
+
"path": "docs/guide-Ko-KR.md",
|
|
43
|
+
"kind": "pinned",
|
|
44
|
+
"occurrences": 1,
|
|
45
|
+
"why": "The user guide's install section names the checkout version, which moved there from the landing README."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "docs/guide.md",
|
|
49
|
+
"kind": "pinned",
|
|
50
|
+
"occurrences": 1,
|
|
51
|
+
"why": "The user guide's install section names the checkout version, which moved there from the landing README."
|
|
52
|
+
},
|
|
41
53
|
{
|
|
42
54
|
"path": "docs/release-checklist.md",
|
|
43
55
|
"kind": "pinned",
|