@senseihq/emaki-cli 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +34 -2
- package/package.json +42 -4
- package/plugin/.claude-plugin/plugin.json +19 -0
- package/plugin/PLAYBOOK.md +137 -0
- package/plugin/README.md +51 -0
- package/plugin/agents/fact-checker.md +28 -0
- package/plugin/agents/localizer.md +34 -0
- package/plugin/agents/scene-builder.md +43 -0
- package/plugin/agents/story-planner.md +42 -0
- package/plugin/agents/story-writer.md +34 -0
- package/plugin/agents/visual-reviewer.md +33 -0
- package/plugin/modules/campaign/README.md +23 -0
- package/plugin/modules/campaign/calendar.csv +2 -0
- package/plugin/modules/campaign/day-script.template.md +41 -0
- package/plugin/modules/posting-desk/README.md +37 -0
- package/plugin/skills/emaki/SKILL.md +107 -0
- package/plugin/skills/emaki/references/01-interview.md +68 -0
- package/plugin/skills/emaki/references/02-architecture.md +69 -0
- package/plugin/skills/emaki/references/03-content-model.md +65 -0
- package/plugin/skills/emaki/references/04-scene-authoring.md +96 -0
- package/plugin/skills/emaki/references/05-voice-and-video.md +64 -0
- package/plugin/skills/emaki/references/06-i18n.md +37 -0
- package/plugin/skills/emaki/references/07-quality-gates.md +44 -0
- package/plugin/skills/emaki/references/08-feedback-loop.md +32 -0
- package/plugin/skills/emaki/references/09-publishing.md +11 -0
- package/plugin/skills/story-build/SKILL.md +37 -0
- package/plugin/skills/story-localize/SKILL.md +24 -0
- package/plugin/skills/story-media/SKILL.md +36 -0
- package/plugin/skills/story-publish/SKILL.md +22 -0
- package/plugin/skills/story-review/SKILL.md +29 -0
- package/plugin/templates/brief.md +32 -0
- package/plugin/templates/change-request.md +7 -0
- package/plugin/templates/changelog.md +4 -0
- package/plugin/templates/decisions.md +5 -0
- package/plugin/templates/glossary.md +4 -0
- package/plugin/templates/item-card.md +34 -0
- package/plugin/templates/outline.md +19 -0
- package/plugin/templates/review-sheet.md +12 -0
- package/plugin/templates/style-guide.md +21 -0
- package/plugin/templates/tracker.md +11 -0
- package/src/api.js +9 -0
- package/src/capture.js +169 -0
- package/src/config.js +32 -0
- package/src/films.js +145 -0
- package/src/index.js +195 -0
- package/src/init.js +109 -0
- package/src/plugin.js +106 -0
- package/src/tts.js +290 -0
- package/src/util.js +59 -0
- package/src/voice.js +216 -0
- package/templates/content/films/index.json +1 -0
- package/templates/content/films/measure-the-right-work/film.json +59 -0
- package/templates/content/films/measure-the-right-work/look.css +16 -0
- package/templates/content/films/measure-the-right-work/scene-close.json +153 -0
- package/templates/content/films/measure-the-right-work/scene-groups.json +99 -0
- package/templates/content/films/measure-the-right-work/scene-hook.json +96 -0
- package/templates/content/films/measure-the-right-work/scene-pair.json +190 -0
- package/templates/content/films/measure-the-right-work/scene-problem.json +162 -0
- package/templates/content/films/measure-the-right-work/score.js +19 -0
- package/templates/content/films/measure-the-right-work/strings/en.json +50 -0
- package/templates/content/films/measure-the-right-work/strings/es.json +50 -0
- package/templates/content/films/measure-the-right-work/voice/en.json +7 -0
- package/templates/content/films/measure-the-right-work/voice/es.json +7 -0
- package/templates/content/logos/brand.svg +1 -0
- package/templates/content/site.json +10 -0
- package/templates/content/stories/en/measure-the-right-work.json +13 -0
- package/templates/content/stories/es/measure-the-right-work.json +13 -0
- package/templates/content/stories/index.json +12 -0
- package/templates/content/ui/en.json +1 -0
- package/templates/content/ui/es.json +1 -0
- package/templates/emaki.config.json +67 -0
- package/templates/film/look.css +16 -0
- package/templates/film/scene-close.json +153 -0
- package/templates/film/scene-template.json +71 -0
- package/templates/film/score.js +12 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"type": "board",
|
|
5
|
+
"id": "__ID__-bg"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "box",
|
|
9
|
+
"id": "__ID__-card",
|
|
10
|
+
"cls": "card",
|
|
11
|
+
"style": "left:900px;top:200px;width:880px;height:560px;padding:32px",
|
|
12
|
+
"children": [
|
|
13
|
+
{
|
|
14
|
+
"type": "text",
|
|
15
|
+
"id": "__ID__-label",
|
|
16
|
+
"tag": "h4",
|
|
17
|
+
"text": "{{__ID__.label}}"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "head",
|
|
23
|
+
"id": "__ID__-head",
|
|
24
|
+
"at": "ground",
|
|
25
|
+
"eyebrow": "{{__ID__.eyebrow}}",
|
|
26
|
+
"line": "{{__ID__.line}}",
|
|
27
|
+
"sub": "{{__ID__.sub}}",
|
|
28
|
+
"style": "left:110px;top:300px;width:700px"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"tracks": [
|
|
32
|
+
{
|
|
33
|
+
"kind": "effect",
|
|
34
|
+
"effect": "push",
|
|
35
|
+
"target": ".cam",
|
|
36
|
+
"t0": 0,
|
|
37
|
+
"dur": 10,
|
|
38
|
+
"from": 1,
|
|
39
|
+
"to": 1.02
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"kind": "effect",
|
|
43
|
+
"effect": "showHead",
|
|
44
|
+
"target": ".__ID__-head",
|
|
45
|
+
"t0": -0.4
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "effect",
|
|
49
|
+
"effect": "fade",
|
|
50
|
+
"target": ".__ID__-card",
|
|
51
|
+
"t0": 0.8
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"css": ".__ID__-card { position:absolute; box-sizing:border-box; box-shadow:0 14px 30px rgba(0,0,0,.07) } .__ID__-label { margin:0; font-size:24px; font-weight:600; letter-spacing:.08em; color:var(--mute) }",
|
|
55
|
+
"portrait": {
|
|
56
|
+
"hoist": [
|
|
57
|
+
".__ID__-head"
|
|
58
|
+
],
|
|
59
|
+
"frame": [
|
|
60
|
+
640,
|
|
61
|
+
1000
|
|
62
|
+
],
|
|
63
|
+
"crop": [
|
|
64
|
+
880,
|
|
65
|
+
180,
|
|
66
|
+
920,
|
|
67
|
+
600
|
|
68
|
+
],
|
|
69
|
+
"css": ".__ID__-head{left:70px!important;top:150px!important;width:940px!important}"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// The film's sound: action tones only (no bed). T.<scene> is each scene's running start; time a note to the
|
|
2
|
+
// moment it marks (a card landing, a tick, a reveal). Instruments: vibes, marimba, pluck, ep, bass. Effects via
|
|
3
|
+
// S.fx(name, t): click, tick, thud, pop, whoosh, ding, chime, sparkle, roll.
|
|
4
|
+
kit.score(function (S, T) {
|
|
5
|
+
S.tempo(70, { t0: 0 });
|
|
6
|
+
S.program('bell', 'vibes', { rev: 0.6, gain: -5 });
|
|
7
|
+
S.program('wood', 'marimba', { rev: 0.4, gain: -7, pan: 0.15 });
|
|
8
|
+
S.program('pl', 'pluck', { rev: 0.5, gain: -9, pan: -0.15 });
|
|
9
|
+
const P = (track, n, t, vel, dur) => S.note(track, n, { t, dur: dur || 0.8, vel });
|
|
10
|
+
Object.keys(T).forEach((id, i) => P('wood', ['D4', 'E4', 'F#4', 'A4', 'B4', 'D5'][i % 6], T[id] + 0.8, 20, 0.4));
|
|
11
|
+
if (T.close !== undefined) S.chord('bell', ['D5', 'F#5', 'A5'], { t: T.close + 0.3, dur: 3.2, vel: 30 });
|
|
12
|
+
});
|