@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.
Files changed (76) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +34 -2
  3. package/package.json +42 -4
  4. package/plugin/.claude-plugin/plugin.json +19 -0
  5. package/plugin/PLAYBOOK.md +137 -0
  6. package/plugin/README.md +51 -0
  7. package/plugin/agents/fact-checker.md +28 -0
  8. package/plugin/agents/localizer.md +34 -0
  9. package/plugin/agents/scene-builder.md +43 -0
  10. package/plugin/agents/story-planner.md +42 -0
  11. package/plugin/agents/story-writer.md +34 -0
  12. package/plugin/agents/visual-reviewer.md +33 -0
  13. package/plugin/modules/campaign/README.md +23 -0
  14. package/plugin/modules/campaign/calendar.csv +2 -0
  15. package/plugin/modules/campaign/day-script.template.md +41 -0
  16. package/plugin/modules/posting-desk/README.md +37 -0
  17. package/plugin/skills/emaki/SKILL.md +107 -0
  18. package/plugin/skills/emaki/references/01-interview.md +68 -0
  19. package/plugin/skills/emaki/references/02-architecture.md +69 -0
  20. package/plugin/skills/emaki/references/03-content-model.md +65 -0
  21. package/plugin/skills/emaki/references/04-scene-authoring.md +96 -0
  22. package/plugin/skills/emaki/references/05-voice-and-video.md +64 -0
  23. package/plugin/skills/emaki/references/06-i18n.md +37 -0
  24. package/plugin/skills/emaki/references/07-quality-gates.md +44 -0
  25. package/plugin/skills/emaki/references/08-feedback-loop.md +32 -0
  26. package/plugin/skills/emaki/references/09-publishing.md +11 -0
  27. package/plugin/skills/story-build/SKILL.md +37 -0
  28. package/plugin/skills/story-localize/SKILL.md +24 -0
  29. package/plugin/skills/story-media/SKILL.md +36 -0
  30. package/plugin/skills/story-publish/SKILL.md +22 -0
  31. package/plugin/skills/story-review/SKILL.md +29 -0
  32. package/plugin/templates/brief.md +32 -0
  33. package/plugin/templates/change-request.md +7 -0
  34. package/plugin/templates/changelog.md +4 -0
  35. package/plugin/templates/decisions.md +5 -0
  36. package/plugin/templates/glossary.md +4 -0
  37. package/plugin/templates/item-card.md +34 -0
  38. package/plugin/templates/outline.md +19 -0
  39. package/plugin/templates/review-sheet.md +12 -0
  40. package/plugin/templates/style-guide.md +21 -0
  41. package/plugin/templates/tracker.md +11 -0
  42. package/src/api.js +9 -0
  43. package/src/capture.js +169 -0
  44. package/src/config.js +32 -0
  45. package/src/films.js +145 -0
  46. package/src/index.js +195 -0
  47. package/src/init.js +109 -0
  48. package/src/plugin.js +106 -0
  49. package/src/tts.js +290 -0
  50. package/src/util.js +59 -0
  51. package/src/voice.js +216 -0
  52. package/templates/content/films/index.json +1 -0
  53. package/templates/content/films/measure-the-right-work/film.json +59 -0
  54. package/templates/content/films/measure-the-right-work/look.css +16 -0
  55. package/templates/content/films/measure-the-right-work/scene-close.json +153 -0
  56. package/templates/content/films/measure-the-right-work/scene-groups.json +99 -0
  57. package/templates/content/films/measure-the-right-work/scene-hook.json +96 -0
  58. package/templates/content/films/measure-the-right-work/scene-pair.json +190 -0
  59. package/templates/content/films/measure-the-right-work/scene-problem.json +162 -0
  60. package/templates/content/films/measure-the-right-work/score.js +19 -0
  61. package/templates/content/films/measure-the-right-work/strings/en.json +50 -0
  62. package/templates/content/films/measure-the-right-work/strings/es.json +50 -0
  63. package/templates/content/films/measure-the-right-work/voice/en.json +7 -0
  64. package/templates/content/films/measure-the-right-work/voice/es.json +7 -0
  65. package/templates/content/logos/brand.svg +1 -0
  66. package/templates/content/site.json +10 -0
  67. package/templates/content/stories/en/measure-the-right-work.json +13 -0
  68. package/templates/content/stories/es/measure-the-right-work.json +13 -0
  69. package/templates/content/stories/index.json +12 -0
  70. package/templates/content/ui/en.json +1 -0
  71. package/templates/content/ui/es.json +1 -0
  72. package/templates/emaki.config.json +67 -0
  73. package/templates/film/look.css +16 -0
  74. package/templates/film/scene-close.json +153 -0
  75. package/templates/film/scene-template.json +71 -0
  76. 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
+ });