@litfamily/litmuse 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +23 -1
  3. package/README_ko-KR.md +23 -1
  4. package/TRADEMARK.md +12 -0
  5. package/bin/litmuse.mjs +4 -0
  6. package/lib/stage-card.mjs +249 -6
  7. package/package.json +3 -2
  8. package/plugin/.muse-plugin/plugin.json +26 -11
  9. package/plugin/commands/lit-status.md +3 -1
  10. package/plugin/commands/lit.md +1 -1
  11. package/plugin/hooks/lib/digest.mjs +1 -1
  12. package/plugin/hooks/lib/next-step.mjs +112 -0
  13. package/plugin/hooks/lib/routes.mjs +59 -0
  14. package/plugin/hooks/lib/stage.mjs +53 -6
  15. package/plugin/hooks/lib/workflow-stack.mjs +336 -0
  16. package/plugin/hooks/post-tool-use-failure.mjs +2 -0
  17. package/plugin/hooks/post-tool-use.mjs +2 -0
  18. package/plugin/hooks/session-end.mjs +2 -1
  19. package/plugin/hooks/session-start.mjs +32 -2
  20. package/plugin/hooks/stop.mjs +23 -3
  21. package/plugin/hooks/user-prompt-submit.mjs +138 -7
  22. package/plugin/lib/capped-fetch.mjs +25 -0
  23. package/plugin/lib/pinned-fetch.mjs +79 -0
  24. package/plugin/lib/plan-task-rows.mjs +32 -0
  25. package/plugin/lib/render_pages.py +29 -1
  26. package/plugin/lib/rewind/collect.mjs +808 -0
  27. package/plugin/lib/rewind/gauge.mjs +72 -0
  28. package/plugin/lib/rewind/next-step.mjs +91 -0
  29. package/plugin/lib/rewind/redact.mjs +83 -0
  30. package/plugin/lib/rewind/transcripts.mjs +229 -0
  31. package/plugin/skills/frontend-ui-ux/SKILL.md +24 -9
  32. package/plugin/skills/frontend-ui-ux/kit/components.css +414 -0
  33. package/plugin/skills/frontend-ui-ux/kit/fonts.json +22 -0
  34. package/plugin/skills/frontend-ui-ux/kit/layouts/landing.html +164 -0
  35. package/plugin/skills/frontend-ui-ux/kit/layouts/settings.html +114 -0
  36. package/plugin/skills/frontend-ui-ux/kit/layouts/workspace.html +115 -0
  37. package/plugin/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +227 -0
  38. package/plugin/skills/frontend-ui-ux/kit/styles/field-notes.json +205 -0
  39. package/plugin/skills/frontend-ui-ux/kit/styles/graphite.json +200 -0
  40. package/plugin/skills/frontend-ui-ux/kit/styles/meadow.json +199 -0
  41. package/plugin/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +222 -0
  42. package/plugin/skills/frontend-ui-ux/kit/ui.js +226 -0
  43. package/plugin/skills/frontend-ui-ux/references/complete-contract.md +2 -1
  44. package/plugin/skills/frontend-ui-ux/references/craft-floor.md +9 -4
  45. package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +59 -7
  46. package/plugin/skills/frontend-ui-ux/references/house-styles.md +234 -0
  47. package/plugin/skills/frontend-ui-ux/references/motion-guide.md +3 -3
  48. package/plugin/skills/frontend-ui-ux/references/slop-register.md +7 -7
  49. package/plugin/skills/frontend-ui-ux/scripts/design-lock.mjs +400 -0
  50. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +196 -0
  51. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +31 -10
  52. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +19 -7
  53. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +4 -0
  54. package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +59 -7
  55. package/plugin/skills/frontend-ui-ux/scripts/pixel-art.mjs +60 -0
  56. package/plugin/skills/lit-adhd/SKILL.md +195 -0
  57. package/plugin/skills/lit-adhd/references/card-examples.md +121 -0
  58. package/plugin/skills/lit-adhd/references/status-taxonomy.md +45 -0
  59. package/plugin/skills/lit-adhd/scripts/rewind.mjs +11 -0
  60. package/plugin/skills/lit-diagram-drawer/SKILL.md +3 -3
  61. package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +1 -2
  62. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -1
  63. package/plugin/skills/lit-docx/SKILL.md +1 -1
  64. package/plugin/skills/lit-hijack/SKILL.md +589 -0
  65. package/plugin/skills/lit-hijack/references/capture-and-provenance.md +123 -0
  66. package/plugin/skills/lit-hijack/references/clean-room-build.md +133 -0
  67. package/plugin/skills/lit-hijack/references/distil-and-licence.md +128 -0
  68. package/plugin/skills/lit-hijack/references/gap-and-port-design.md +152 -0
  69. package/plugin/skills/lit-hijack/references/parity-and-report.md +133 -0
  70. package/plugin/skills/lit-hijack/scripts/hijack.mjs +879 -0
  71. package/plugin/skills/lit-plan/SKILL.md +12 -1
  72. package/plugin/skills/lit-plan/scripts/check-plan.mjs +71 -4
  73. package/plugin/skills/lit-pptx/SKILL.md +20 -9
  74. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  75. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  76. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +93 -0
  77. package/plugin/skills/lit-pptx/fonts/provenance.json +32 -1
  78. package/plugin/skills/lit-pptx/references/direction-step.md +19 -2
  79. package/plugin/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +173 -0
  80. package/plugin/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +154 -0
  81. package/plugin/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +139 -0
  82. package/plugin/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +158 -0
  83. package/plugin/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +179 -0
  84. package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +112 -0
  85. package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +118 -0
  86. package/plugin/skills/lit-pptx/references/tonalities/neo-brutalism.md +125 -0
  87. package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +115 -0
  88. package/plugin/skills/lit-pptx/references/tonalities/riso.md +109 -0
  89. package/plugin/skills/lit-pptx/scripts/compile-deck.js +1 -1
  90. package/plugin/skills/lit-pptx/scripts/craft_extras.py +136 -92
  91. package/plugin/skills/lit-pptx/scripts/embed_fonts.py +13 -1
  92. package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +105 -116
  93. package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +9 -15
  94. package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +368 -561
  95. package/plugin/skills/lit-pptx/scripts/lib/slide-grid.js +104 -0
  96. package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +57 -6
  97. package/plugin/skills/lit-pptx/scripts/qa_deck.py +4 -4
  98. package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +1 -1
  99. package/plugin/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +98 -0
  100. package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +1 -1
  101. package/plugin/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +99 -0
  102. package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +1 -1
  103. package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +1 -1
  104. package/plugin/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +107 -0
  105. package/plugin/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +99 -0
  106. package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +1 -1
  107. package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +1 -1
  108. package/plugin/skills/lit-pptx/templates/tonalities/riso/pack.yaml +99 -0
  109. package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +2 -2
  110. package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +1 -1
  111. package/plugin/skills/lit-recap/SKILL.md +3 -0
  112. package/plugin/skills/lit-schematic/SKILL.md +241 -0
  113. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +14 -0
  114. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +8 -0
  115. package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +22 -0
  116. package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +73 -0
  117. package/plugin/skills/lit-schematic/references/cutaway-outputs.md +25 -0
  118. package/plugin/skills/lit-schematic/references/isometric-craft.md +24 -0
  119. package/plugin/skills/lit-schematic/references/journal-figures.md +19 -0
  120. package/plugin/skills/lit-schematic/references/kit-api.md +27 -0
  121. package/plugin/skills/lit-schematic/references/pfd-and-layout.md +20 -0
  122. package/plugin/skills/lit-schematic/references/pid-drafting.md +26 -0
  123. package/plugin/skills/lit-schematic/references/pid-symbols.md +27 -0
  124. package/plugin/skills/lit-schematic/references/verification.md +24 -0
  125. package/plugin/skills/lit-schematic/scripts/doctor.mjs +13 -0
  126. package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +49 -0
  127. package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +18 -0
  128. package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +58 -0
  129. package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +10 -0
  130. package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +241 -0
  131. package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +446 -0
  132. package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +39 -0
  133. package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +25 -0
  134. package/plugin/skills/lit-schematic/scripts/motion.mjs +8 -0
  135. package/plugin/skills/lit-schematic/scripts/qa.mjs +21 -0
  136. package/plugin/skills/lit-schematic/scripts/render.mjs +38 -0
  137. package/plugin/skills/lit-schematic/scripts/scaffold.mjs +73 -0
  138. package/plugin/skills/lit-scientific-visualization/SKILL.md +2 -0
  139. package/plugin/skills/lit-team/scripts/state-root.mjs +5 -18
  140. package/plugin/skills/lit-typographic-motion/SKILL.md +12 -8
  141. package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +11 -0
  142. package/plugin/skills/lit-typographic-motion/engine/blender/runner.py +218 -0
  143. package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +1 -1
  144. package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +218 -0
  145. package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +144 -0
  146. package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +136 -0
  147. package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +42 -3
  148. package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +120 -0
  149. package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +44 -0
  150. package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +18 -7
  151. package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +6 -3
  152. package/plugin/skills/lit-typographic-motion/engine/node/scaffold.mjs +210 -0
  153. package/plugin/skills/lit-typographic-motion/engine/node/score.mjs +639 -0
  154. package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +21 -4
  155. package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +126 -27
  156. package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +29 -5
  157. package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +82 -14
  158. package/plugin/skills/lit-typographic-motion/engine/node/styles.mjs +214 -0
  159. package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +311 -10
  160. package/plugin/skills/lit-typographic-motion/engine/vendor/three/LICENSE +21 -0
  161. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +144 -0
  162. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +155 -0
  163. package/plugin/skills/lit-typographic-motion/engine/vendor/three/three.module.js +54571 -0
  164. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/expected.json +69 -0
  165. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/index.html +139 -0
  166. package/plugin/skills/lit-typographic-motion/references/depth.md +122 -0
  167. package/plugin/skills/lit-typographic-motion/references/sound.md +74 -16
  168. package/plugin/skills/lit-typographic-motion/references/stage.md +29 -5
  169. package/plugin/skills/lit-typographic-motion/references/studio.md +245 -0
  170. package/plugin/skills/lit-typographic-motion/references/treatment.md +31 -8
  171. package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +48 -7
  172. package/plugin/skills/lit-typographic-motion/styles/paper.json +41 -0
  173. package/plugin/skills/lit-typographic-motion/styles/swiss-signal.json +41 -0
  174. package/plugin/skills/lit-typographic-motion/styles/terminalcore.json +42 -0
  175. package/plugin/skills/lit-typographic-motion/styles/tidal.json +41 -0
  176. package/plugin/skills/readme-studio/SKILL.md +1 -1
  177. package/plugin/skills/start-work/SKILL.md +10 -1
@@ -0,0 +1,41 @@
1
+ {
2
+ "schema": "litmuse.motion-style/v1",
3
+ "id": "tidal",
4
+ "name": "Tidal",
5
+ "summary": "Indigo ground with a slow teal-to-violet flow, off-white type that drifts with it, one coral moment.",
6
+ "light": false,
7
+ "typePreset": "tidal",
8
+ "palette": { "ground": "#0E1420", "surface": "#18223A", "ink": "#E8ECEF", "muted": "#A9B3C1", "signal": "#5FB3C4", "accent": "#E07856", "line": "#3A4660", "stopA": "#124559", "stopB": "#4C3B6E" },
9
+ "accents": [{ "role": "a warm highlight", "color": "#E8C07A" }, { "role": "a second current", "color": "#7FD6B0" }, { "role": "a far layer", "color": "#B9A3E3" }],
10
+ "textRoles": ["ink", "muted", "signal", "accent", "ground"],
11
+ "faces": {
12
+ "display": { "family": "Archivo", "weight": 700, "stretch": "100%" },
13
+ "headline": { "family": "Archivo", "weight": 700, "stretch": "100%" },
14
+ "body": { "family": "Pretendard", "weight": 400 },
15
+ "label": { "family": "MesloLGS NF", "weight": 400 }
16
+ },
17
+ "scale": {
18
+ "16:9": { "display": 116, "headline": 72, "body": 40, "label": 26 },
19
+ "9:16": { "display": 112, "headline": 76, "body": 46, "label": 32 }
20
+ },
21
+ "leading": { "display": 1.12, "headline": 1.22, "body": 1.6, "label": 1.4 },
22
+ "motion": {
23
+ "ease": { "enter": [0.37, 0, 0.63, 1], "move": [0.45, 0, 0.55, 1], "exit": [0.5, 0, 0.75, 0] },
24
+ "dur": { "micro": 0.25, "move": 0.9, "hero": 1.2, "exit": 0.6 },
25
+ "stagger": { "letter": 0.04, "word": 0.12, "item": 0.14 },
26
+ "spring": { "micro": { "zeta": 1, "hz": 2.5 }, "panel": { "zeta": 1, "hz": 1.2 }, "headline": { "zeta": 1, "hz": 1.4 }, "subject": { "zeta": 0.9, "hz": 1 }, "camera": { "zeta": 1, "hz": 0.35 } },
27
+ "secondary": { "delay": 0.2, "travel": 0.6 },
28
+ "ambient": { "travel": 0.05 },
29
+ "push": 0.025
30
+ },
31
+ "transitions": ["dissolve", "match", "wipe"],
32
+ "ground": { "kind": "flow", "stops": ["stopA", "stopB"] },
33
+ "sound": { "timbre": "felt-strings", "key": "D", "mode": "major", "tempo": 84 },
34
+ "score": { "genre": "deep-house" },
35
+ "beds": [
36
+ { "timbre": "felt-strings", "key": "D", "mode": "major", "tempo": 84 },
37
+ { "timbre": "glass", "key": "F#", "mode": "minor", "tempo": 76 },
38
+ { "timbre": "soft-keys", "key": "Bb", "mode": "major", "tempo": 72 }
39
+ ],
40
+ "bans": ["a rainbow or hue-cycling ramp", "bloom on the flow", "hard snaps on type", "glitch as texture", "flow so fast that held type smears"]
41
+ }
@@ -47,7 +47,7 @@ Produces a README whose every claim traces to the repository and whose every com
47
47
 
48
48
  A clean report is structure-only: `source_contents_compared: false`, `badge_truth_checked: false`, `factual_accuracy: "not-checked"`. It rejects unsafe paths, symlinks, missing sources, duplicate `id` values in `claims[]` and malformed badge URLs, and it certifies no fact. Reopen the cited sources before using a claim.
49
49
  3. **Run the commands.** Execute install-free checks in the sandbox: `<cli> --help`, `<cli> --version`, the quick-start example, the test command. Keep exit codes and the first lines of output in `commands.txt`. A command that needs network, credentials or a publish step goes into the README with its prerequisites, and the facts file labels it as not run.
50
- 4. **Interview only when material.** Follow `references/production-interview.md`. Ask one high-impact question per turn (audience conflict, content scope, static versus motion delivery that changes accessibility or package contents, unresolved output location) and carry answers forward. A default is fine for details the brief settled, delegated or left immaterial.
50
+ 4. **Interview, theme first when building.** Follow `references/production-interview.md`. Ask one high-impact question per turn (audience conflict, content scope, static versus motion delivery that changes accessibility or package contents, unresolved output location) and carry answers forward. A default is fine for details the brief settled, delegated or left immaterial. Exception: on a build or refresh request, the first question is always the cover direction (static cover, motion header, both, neither — recommended first) unless the brief names it or says "you choose": then take the recommended, log a `decision` line, and carry on. Headless runs take the recommended and log it the same way.
51
51
  5. **Outline.** Default order:
52
52
  1. Title and one-sentence description
53
53
  2. Why it exists (two or three sentences, concrete problem)
@@ -74,7 +74,10 @@ okay. When the two disagree, ask.
74
74
 
75
75
  ### Authority envelope
76
76
 
77
- The envelope is the plan's Scope plus the user's messages. Work inside it freely:
77
+ The envelope is the plan's Scope, its `Scope roots: <path> (<actions>)` lines and the user's messages. A
78
+ `Scope roots` line grants exactly its listed actions under that folder outside the workspace; a todo that reaches
79
+ an uncovered outside folder fails the structure check (`check-plan.mjs --check` prints the line to add), so ask
80
+ the user before treating that folder as in scope. Work inside the envelope freely:
78
81
 
79
82
  - read: any file in the workspace;
80
83
  - write: the paths on the current row's Files line, new test files for that row, `.litmuse/` records, and the one
@@ -106,6 +109,12 @@ action named, on the paths named, for this run.
106
109
  - **Resume** happens when the user grants the boundary in their own words, or sends a bare `lit` / `lit continue` /
107
110
  `/start-work`. Re-read the plan, ledger and evidence before acting; quote the grant in a `decision` line with the
108
111
  scope it covers. A grant for one action does not extend to the next boundary.
112
+ - **Typed answers.** A `lit approve` / `lit deny` prompt routes here and carries the boundary's decision: `lit approve`
113
+ allows the named action on the named paths for this run (record it as the grant), `lit deny` refuses it for this
114
+ run (carry on without it, and say so if a task cannot be done otherwise). With no paused boundary waiting, either
115
+ word changes nothing: say so in one sentence and start no other work.
116
+ - **Typed start.** A prompt that names the plan file (`lit start plans/<slug>.md`) is the approval for that plan:
117
+ begin row 1 without a separate approval turn. Ask only when no single plan can be chosen.
109
118
  - **Cancel** when the user says stop. Stop spawning work, cancel running children (`subagent_cancel`), stop the
110
119
  processes the run started, remove the run's scratch files, append `CANCELLED: <reason>` as a ledger `note`, leave
111
120
  the plan as it stands (ticked rows stay ticked; an open row stays open), set the goal record to `blocked` with the