@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,162 @@
1
+ {
2
+ "components": [
3
+ {
4
+ "type": "board",
5
+ "id": "problem-bg"
6
+ },
7
+ {
8
+ "type": "raw",
9
+ "id": "chart",
10
+ "html": "<div class='card problem-chart'><h4>{{problem.1}}</h4><span class='problem-note'>{{problem.2}}</span></div>"
11
+ },
12
+ {
13
+ "type": "svg",
14
+ "id": "bars",
15
+ "body": "<line x1='940' x2='1770' y1='740' y2='740' style='stroke:var(--hair);stroke-width:3'/><rect class='problem-bar' x='960' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1036' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1112' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1188' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1264' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1400' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1400' width='54' rx='8' style='fill:var(--accent)'/><rect class='problem-bar' x='1476' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1476' width='54' rx='8' style='fill:var(--accent)'/><rect class='problem-bar' x='1552' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1552' width='54' rx='8' style='fill:var(--accent)'/><rect class='problem-bar' x='1628' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1628' width='54' rx='8' style='fill:var(--accent)'/><rect class='problem-bar' x='1704' width='54' rx='8' style='fill:var(--main)'/><rect class='problem-bar' x='1704' width='54' rx='8' style='fill:var(--accent)'/>"
16
+ },
17
+ {
18
+ "type": "raw",
19
+ "id": "tags",
20
+ "html": "<span class='tag ok problem-ga' style='left:1139px;top:406px'>{{problem.3}}</span><span class='tag hot problem-ba' style='left:1579px;top:286px'>{{problem.4}}</span>"
21
+ },
22
+ {
23
+ "type": "raw",
24
+ "id": "key",
25
+ "html": "<div class='problem-key'><span><i style='background:var(--main)'></i>{{problem.5}}</span><span class='problem-kf'><i style='background:var(--accent)'></i>{{problem.6}}</span></div>"
26
+ },
27
+ {
28
+ "type": "head",
29
+ "id": "problem-head",
30
+ "at": "ground",
31
+ "eyebrow": "{{problem.eyebrow}}",
32
+ "line": "{{problem.line}}",
33
+ "sub": "{{problem.sub}}",
34
+ "style": "left:110px;top:300px;width:700px"
35
+ }
36
+ ],
37
+ "tracks": [
38
+ {
39
+ "kind": "effect",
40
+ "effect": "push",
41
+ "target": ".cam",
42
+ "t0": 0,
43
+ "dur": 8.5,
44
+ "from": 1,
45
+ "to": 1.02
46
+ },
47
+ {
48
+ "kind": "effect",
49
+ "effect": "showHead",
50
+ "target": ".problem-head",
51
+ "t0": -0.4
52
+ },
53
+ {
54
+ "kind": "tween",
55
+ "target": ".problem-chart",
56
+ "prop": "opacity",
57
+ "from": 0,
58
+ "to": 1,
59
+ "t0": 0.4,
60
+ "t1": 0.9,
61
+ "easing": "eo"
62
+ },
63
+ {
64
+ "kind": "effect",
65
+ "effect": "growBars",
66
+ "target": ".problem-bar",
67
+ "count": 15,
68
+ "t0s": [
69
+ 1,
70
+ 1.15,
71
+ 1.3,
72
+ 1.45,
73
+ 1.6,
74
+ 3,
75
+ 3.5,
76
+ 3.2,
77
+ 3.7,
78
+ 3.4,
79
+ 3.9,
80
+ 3.6,
81
+ 4.1,
82
+ 3.8,
83
+ 4.3
84
+ ],
85
+ "dur": 0.5,
86
+ "easing": "eob",
87
+ "o": 1.1,
88
+ "base": 740,
89
+ "hs": [
90
+ 201.6,
91
+ 240,
92
+ 220.8,
93
+ 264,
94
+ 230.39999999999998,
95
+ 144,
96
+ 172.79999999999998,
97
+ 124.80000000000001,
98
+ 211.2,
99
+ 153.6,
100
+ 192,
101
+ 134.4,
102
+ 240,
103
+ 144,
104
+ 220.8
105
+ ],
106
+ "bs": [
107
+ 0,
108
+ 0,
109
+ 0,
110
+ 0,
111
+ 0,
112
+ 0,
113
+ 144,
114
+ 0,
115
+ 124.80000000000001,
116
+ 0,
117
+ 153.6,
118
+ 0,
119
+ 134.4,
120
+ 0,
121
+ 144
122
+ ]
123
+ },
124
+ {
125
+ "kind": "effect",
126
+ "effect": "pop",
127
+ "target": ".problem-ga",
128
+ "t0": 2,
129
+ "base": "translate(-50%,0)"
130
+ },
131
+ {
132
+ "kind": "effect",
133
+ "effect": "pop",
134
+ "target": ".problem-ba",
135
+ "t0": 5,
136
+ "base": "translate(-50%,0)"
137
+ },
138
+ {
139
+ "kind": "effect",
140
+ "effect": "fade",
141
+ "target": ".problem-key",
142
+ "t0": 5.4
143
+ }
144
+ ],
145
+ "css": ".problem-chart { left:900px; top:170px; width:900px; height:640px; box-sizing:border-box; padding:26px 32px; box-shadow:0 14px 30px rgba(0,0,0,.07) }.problem-chart h4 { margin:0; font-size:24px; font-weight:600; letter-spacing:0.08em; color:var(--mute) } .problem-note { position:absolute; right:32px; top:28px; font-size:20px; color:var(--mute) }.problem-key { position:absolute; left:940px; top:840px; display:flex; gap:28px; font-size:24px; color:var(--mute) } .problem-key i { display:inline-block; width:18px; height:18px; border-radius:5px; margin-right:10px; vertical-align:-2px }",
146
+ "portrait": {
147
+ "hoist": [
148
+ ".problem-head"
149
+ ],
150
+ "frame": [
151
+ 640,
152
+ 1000
153
+ ],
154
+ "crop": [
155
+ 880,
156
+ 150,
157
+ 940,
158
+ 740
159
+ ],
160
+ "css": ".problem-head{left:70px!important;top:150px!important;width:940px!important}"
161
+ }
162
+ }
@@ -0,0 +1,19 @@
1
+ // @ts-nocheck: a scene module, run by the motion kit (src/lib/motion/films.ts), not imported.
2
+ kit.score(function (S, T) {
3
+ // Action tones only (no bed): a soft pitched note for each thing that happens.
4
+ S.tempo(70, { t0: 0 });
5
+ S.program('bell', 'vibes', { rev: 0.6, gain: -5 });
6
+ S.program('wood', 'marimba', { rev: 0.4, gain: -7, pan: 0.15 });
7
+ S.program('pl', 'pluck', { rev: 0.5, gain: -9, pan: -0.15 });
8
+ const P = (track, n, t, vel, dur) => S.note(track, n, { t, dur: dur || 0.8, vel });
9
+ S.ticks(Array.from({ length: 22 }, (_, i) => T.hook + 0.8 + i * 0.12), { vel: 10 });
10
+ P('bell', 'F5', T.hook + 3.8, 28, 1.4);
11
+ [0, 1, 2, 3, 4].forEach((i) => P('wood', ['C4', 'D4', 'E4', 'D4', 'E4'][i], T.problem + 1.0 + i * 0.15, 18, 0.3));
12
+ [0, 1, 2, 3, 4].forEach((i) => P('wood', ['F4', 'G4', 'A4', 'G4', 'A4'][i], T.problem + 3.0 + i * 0.2, 22, 0.3));
13
+ P('pl', 'C#5', T.problem + 5.0, 24, 0.6);
14
+ P('pl', 'A4', T.pair + 2.9, 22, 0.5); P('bell', 'E5', T.pair + 3.9, 24, 1.0);
15
+ P('pl', 'C5', T.pair + 6.3, 22, 0.5); S.chord('bell', ['A4', 'C5', 'E5'], { t: T.pair + 10.6, dur: 1.8, vel: 24 });
16
+ [0, 1, 2, 3, 4].forEach((i) => P('wood', ['D4', 'E4', 'F#4', 'A4', 'B4'][i], T.groups + 0.8 + i * 0.35, 20, 0.3));
17
+ S.chord('bell', ['D5', 'A5'], { t: T.groups + 4.8, dur: 1.6, vel: 26 });
18
+ S.chord('bell', ['D5', 'F#5', 'A5'], { t: T.close + 0.3, dur: 3.2, vel: 30 });
19
+ });
@@ -0,0 +1,50 @@
1
+ {
2
+ "hook.1": "TOKENS",
3
+ "hook.2": "COMMITS",
4
+ "hook.3": "LINES CHANGED",
5
+ "hook.eyebrow": "Developer productivity",
6
+ "hook.line": "More tokens. More commits. Is any of it right?",
7
+ "problem.1": "ACTIVITY PER DAY",
8
+ "problem.2": "Illustrative",
9
+ "problem.3": "Going well",
10
+ "problem.4": "Going badly",
11
+ "problem.5": "New work",
12
+ "problem.6": "Fixing",
13
+ "problem.eyebrow": "The problem",
14
+ "problem.line": "Volume is a vanity metric.",
15
+ "problem.sub": "It goes up when work goes badly too: fixing things is also activity.",
16
+ "pair.1": "First-turn resolution",
17
+ "pair.2": "Sessions done without a correction turn",
18
+ "pair.3": "Rework share",
19
+ "pair.4": "Effort that came from corrected sessions",
20
+ "pair.5": "High resolution and <b>rising rework</b>: work deferred, not done.",
21
+ "pair.8": "CORRECTED SESSIONS",
22
+ "pair.9": "THE REST",
23
+ "pair.10": "RESOLUTION",
24
+ "pair.11": "REWORK",
25
+ "pair.eyebrow": "The pair",
26
+ "pair.line": "Two numbers, read together.",
27
+ "pair.sub": "Never read a speed metric alone.",
28
+ "groups.1": "Outcome",
29
+ "groups.2": "Rework share",
30
+ "groups.3": "First-turn resolution",
31
+ "groups.4": "Spec deviation",
32
+ "groups.5": "Quality",
33
+ "groups.6": "Duplication",
34
+ "groups.7": "Edit before read",
35
+ "groups.8": "Churn",
36
+ "groups.9": "Velocity",
37
+ "groups.10": "Throughput",
38
+ "groups.11": "Time to useful result",
39
+ "groups.12": "Usage",
40
+ "groups.13": "Tokens per day",
41
+ "groups.14": "Cache reuse",
42
+ "groups.15": "Cost",
43
+ "groups.16": "Cost per result",
44
+ "groups.17": "Always shown together",
45
+ "groups.eyebrow": "In practice",
46
+ "groups.line": "Speed is never shown alone.",
47
+ "groups.sub": "Metrics grouped by what they answer, velocity next to its quality companion.",
48
+ "close.title": "Measure the right work, not more work.",
49
+ "close.sub": "Pair every speed metric with its quality companion."
50
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "hook.1": "TOKENS",
3
+ "hook.2": "COMMITS",
4
+ "hook.3": "LÍNEAS CAMBIADAS",
5
+ "hook.eyebrow": "Productividad del desarrollo",
6
+ "hook.line": "Más tokens. Más commits. ¿Algo de eso está bien?",
7
+ "problem.1": "ACTIVIDAD POR DÍA",
8
+ "problem.2": "Ilustrativo",
9
+ "problem.3": "Va bien",
10
+ "problem.4": "Va mal",
11
+ "problem.5": "Trabajo nuevo",
12
+ "problem.6": "Correcciones",
13
+ "problem.eyebrow": "El problema",
14
+ "problem.line": "El volumen es una métrica de vanidad.",
15
+ "problem.sub": "También sube cuando el trabajo va mal: corregir también es actividad.",
16
+ "pair.1": "Resolución al primer intento",
17
+ "pair.2": "Sesiones terminadas sin un turno de corrección",
18
+ "pair.3": "Cuota de retrabajo",
19
+ "pair.4": "Esfuerzo que vino de sesiones corregidas",
20
+ "pair.5": "Resolución alta y <b>retrabajo en aumento</b>: trabajo aplazado, no hecho.",
21
+ "pair.8": "SESIONES CORREGIDAS",
22
+ "pair.9": "EL RESTO",
23
+ "pair.10": "RESOLUCIÓN",
24
+ "pair.11": "RETRABAJO",
25
+ "pair.eyebrow": "El par",
26
+ "pair.line": "Dos números, leídos juntos.",
27
+ "pair.sub": "Nunca leas una métrica de velocidad sola.",
28
+ "groups.1": "Resultado",
29
+ "groups.2": "Cuota de retrabajo",
30
+ "groups.3": "Resolución al primer intento",
31
+ "groups.4": "Desvío de la especificación",
32
+ "groups.5": "Calidad",
33
+ "groups.6": "Duplicación",
34
+ "groups.7": "Editar antes de leer",
35
+ "groups.8": "Rotación",
36
+ "groups.9": "Velocidad",
37
+ "groups.10": "Rendimiento",
38
+ "groups.11": "Tiempo hasta un resultado útil",
39
+ "groups.12": "Uso",
40
+ "groups.13": "Tokens por día",
41
+ "groups.14": "Reutilización de caché",
42
+ "groups.15": "Coste",
43
+ "groups.16": "Coste por resultado",
44
+ "groups.17": "Siempre juntos",
45
+ "groups.eyebrow": "En la práctica",
46
+ "groups.line": "La velocidad nunca va sola.",
47
+ "groups.sub": "Métricas agrupadas por lo que responden, la velocidad junto a su compañera de calidad.",
48
+ "close.title": "Mide el trabajo correcto, no más trabajo.",
49
+ "close.sub": "Acompaña cada métrica de velocidad con su compañera de calidad."
50
+ }
@@ -0,0 +1,7 @@
1
+ [
2
+ { "scene": "hook", "text": "More tokens. More commits. More lines. Is any of it right?", "say": null },
3
+ { "scene": "problem", "text": "Volume goes up on bad weeks too, because fixing things is activity as well.", "say": null },
4
+ { "scene": "pair", "text": "So read two numbers together: first-turn resolution and rework share. High resolution with rising rework means work deferred, not done.", "say": null },
5
+ { "scene": "groups", "text": "Group the rest by the question they answer, and never show a speed metric without its quality companion.", "say": null },
6
+ { "scene": "close", "text": "Measure the right work, not more work.", "say": null }
7
+ ]
@@ -0,0 +1,7 @@
1
+ [
2
+ { "scene": "hook", "text": "Más tokens. Más commits. Más líneas. ¿Algo de eso está bien?", "say": null },
3
+ { "scene": "problem", "text": "El volumen también sube en las malas semanas, porque arreglar cosas también es actividad.", "say": null },
4
+ { "scene": "pair", "text": "Lee dos números juntos: la resolución al primer intento y la cuota de retrabajo. Mucha resolución con retrabajo en alza es trabajo aplazado, no hecho.", "say": null },
5
+ { "scene": "groups", "text": "Agrupa el resto por la pregunta que responde, y nunca muestres una métrica de velocidad sin su compañera de calidad.", "say": null },
6
+ { "scene": "close", "text": "Mide el trabajo correcto, no más trabajo.", "say": null }
7
+ ]
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="200" fill="none" stroke="#C25237" stroke-width="28"/><circle cx="256" cy="210" r="34" fill="#C25237"/><path d="M136 346 L222 262 L268 306 L312 252 L376 346 Z" fill="#C25237"/><rect x="150" y="368" width="212" height="14" rx="7" fill="#C25237"/></svg>
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "Acme Learning",
3
+ "url": "https://learn.example.com",
4
+ "timeZone": "America/Chicago",
5
+ "locales": ["en", "es"],
6
+ "defaultLocale": "en",
7
+ "rtl": ["ar", "he", "fa", "ur"],
8
+ "brand": { "logo": "brand", "accent": "#C25237" },
9
+ "topics": [{ "id": "metrics", "label": { "en": "Metrics", "es": "Métricas" } }]
10
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "title": "Measure the right work, not more work",
3
+ "dek": "Tokens, commits and lines tell you how much happened. They don't tell you whether it was right. Two paired numbers do better.",
4
+ "sections": [
5
+ { "id": "hook", "eyebrow": "The question", "title": "Busy is not the same as right", "body": ["Activity counters only go up. They rise on good weeks and bad ones alike."], "caption": "Counters that only go up." },
6
+ { "id": "problem", "eyebrow": "The problem", "title": "Volume is a vanity metric", "body": ["More commits, more tokens, more lines: all of these go up when work is going badly too, because fixing things is also activity."] },
7
+ { "id": "pair", "eyebrow": "The pair", "title": "First-turn resolution and rework share", "body": ["First-turn resolution is the share of sessions completed without a correction. Rework share is the share of effort that came from corrected sessions. Read them together: high resolution with rising rework means work is being deferred, not done."], "points": ["Never read a speed metric alone", "Look where the friction concentrates", "Treat rising rework as an early warning"] },
8
+ { "id": "groups", "eyebrow": "In practice", "title": "Grouped by what they answer", "body": ["Group metrics by the question they answer (outcome, quality, velocity, usage, cost) and always show a velocity number next to its quality companion."] }
9
+ ],
10
+ "takeaway": "Measure the right work, not more work.",
11
+ "takeawaySub": "Pair every speed metric with its quality companion.",
12
+ "sources": []
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "title": "Mide el trabajo correcto, no más trabajo",
3
+ "dek": "Los tokens, los commits y las líneas dicen cuánto pasó. No dicen si estuvo bien. Dos números en pareja lo hacen mejor.",
4
+ "sections": [
5
+ { "id": "hook", "eyebrow": "La pregunta", "title": "Estar ocupado no es lo mismo que acertar", "body": ["Los contadores de actividad solo suben. Suben en las buenas semanas y en las malas."], "caption": "Contadores que solo suben." },
6
+ { "id": "problem", "eyebrow": "El problema", "title": "El volumen es una métrica de vanidad", "body": ["Más commits, más tokens, más líneas: todo eso sube también cuando el trabajo va mal, porque corregir también es actividad."] },
7
+ { "id": "pair", "eyebrow": "El par", "title": "Resolución al primer intento y cuota de retrabajo", "body": ["La resolución al primer intento es la proporción de sesiones completadas sin una corrección. La cuota de retrabajo es la proporción del esfuerzo que vino de sesiones corregidas. Léelas juntas: una resolución alta con retrabajo en aumento significa trabajo aplazado, no hecho."], "points": ["Nunca leas una métrica de velocidad sola", "Mira dónde se concentra la fricción", "Trata el retrabajo en aumento como una alerta temprana"] },
8
+ { "id": "groups", "eyebrow": "En la práctica", "title": "Agrupadas por lo que responden", "body": ["Agrupa las métricas por la pregunta que responden (resultado, calidad, velocidad, uso, coste) y muestra siempre una cifra de velocidad junto a su compañera de calidad."] }
9
+ ],
10
+ "takeaway": "Mide el trabajo correcto, no más trabajo.",
11
+ "takeawaySub": "Acompaña cada métrica de velocidad con su compañera de calidad.",
12
+ "sources": []
13
+ }
@@ -0,0 +1,12 @@
1
+ [
2
+ {
3
+ "slug": "measure-the-right-work",
4
+ "publish_date": "2026-11-01",
5
+ "kind": "film",
6
+ "topic": "metrics",
7
+ "tags": ["metrics", "quality", "productivity"],
8
+ "minutes": 4,
9
+ "cover": "/covers/measure-the-right-work.jpg",
10
+ "social": { "youtube": "", "instagram": "", "x": "" }
11
+ }
12
+ ]
@@ -0,0 +1 @@
1
+ { "nav.stories": "Stories", "nav.topics": "Topics", "story.play": "Play the story", "story.withSound": "with sound", "story.minutes": "{n} min read", "story.shortVersion": "The short version", "story.notTranslated": "This story isn't available in your language yet; showing {lang}.", "story.related": "More stories", "search.placeholder": "Search stories" }
@@ -0,0 +1 @@
1
+ { "nav.stories": "Historias", "nav.topics": "Temas", "story.play": "Reproducir la historia", "story.withSound": "con sonido", "story.minutes": "{n} min de lectura", "story.shortVersion": "En resumen", "story.notTranslated": "Esta historia aún no está disponible en tu idioma; se muestra en {lang}.", "story.related": "Más historias", "search.placeholder": "Buscar historias" }
@@ -0,0 +1,67 @@
1
+ {
2
+ "content": "content",
3
+ "production": "production",
4
+ "port": 5199,
5
+ "devCommand": "npm run dev -- --port {port} --strictPort",
6
+ "showPath": "/show/{slug}?capture=1&o={layout}&locale={locale}",
7
+ "coversDir": "public/covers",
8
+ "lead": 0.6,
9
+ "tail": 1.2,
10
+ "scoreLevel": 0.55,
11
+ "voice": {
12
+ "_how": "No provider is chosen yet: run `emaki tts-check`, then `emaki set-voice --locale default --provider <name> --opt key=value`. Keys go in environment variables, never here.",
13
+ "_examples": {
14
+ "piper": {
15
+ "provider": "piper",
16
+ "model": "voices/en_US-lessac-medium.onnx"
17
+ },
18
+ "kokoro": {
19
+ "provider": "kokoro",
20
+ "voice": "af_heart",
21
+ "speed": 1.0
22
+ },
23
+ "macos": {
24
+ "provider": "macos",
25
+ "voice": "Samantha",
26
+ "rate": 175
27
+ },
28
+ "espeak": {
29
+ "provider": "espeak",
30
+ "voice": "en-us",
31
+ "speed": 160
32
+ },
33
+ "elevenlabs": {
34
+ "provider": "elevenlabs",
35
+ "voice_id": "YOUR_VOICE_ID",
36
+ "model": "eleven_multilingual_v2",
37
+ "stability": 0.55,
38
+ "similarity": 0.8
39
+ },
40
+ "openai": {
41
+ "provider": "openai",
42
+ "model": "gpt-4o-mini-tts",
43
+ "voice": "coral",
44
+ "instructions": "Calm, warm, unhurried explainer."
45
+ },
46
+ "azure": {
47
+ "provider": "azure",
48
+ "voice": "en-US-AvaMultilingualNeural",
49
+ "rate": "0%"
50
+ },
51
+ "google": {
52
+ "provider": "google",
53
+ "voice": "en-US-Neural2-F",
54
+ "speed": 1.0
55
+ },
56
+ "polly": {
57
+ "provider": "polly",
58
+ "voice": "Joanna",
59
+ "engine": "neural",
60
+ "region": "us-east-1"
61
+ },
62
+ "manual": {
63
+ "provider": "manual"
64
+ }
65
+ }
66
+ }
67
+ }
@@ -0,0 +1,16 @@
1
+ #stage { --ground:#F9F6F1; --main:#48413D; --second:#1F1916; --accent:#C25237; color:var(--second); font-family:var(--sans, system-ui, sans-serif) }
2
+ #stage { --jade:#599576; --board:#F3F0E9; --dot:#DCD7CD; --tile:#FCFAF6; --hair:#DCD7CD; --mute:#7F7975; --wire:#B2ADA9; --edge:color-mix(in srgb, var(--second) 14%, transparent); --shade:color-mix(in srgb, var(--second) 7%, transparent); --soft:var(--main) }
3
+ .ground { position:absolute; inset:0; background:var(--board) }
4
+ .art { position:absolute; inset:0; width:100%; height:100%; overflow:visible }
5
+ .cam { position:absolute; inset:0; transform-origin:960px 540px }
6
+ .words { position:absolute; margin:0; display:flex; flex-direction:column; gap:20px } .words > * { margin:0 }
7
+ .line { font-family:var(--display, var(--sans, system-ui, sans-serif)); font-size:84px; line-height:1.08; font-weight:400; letter-spacing:-0.02em }
8
+ .sub { font-size:36px; line-height:1.35; color:var(--soft) }
9
+ .eyebrow { font-size:26px; font-weight:600; letter-spacing:0.16em; text-transform:uppercase; color:var(--accent) }
10
+ .card { position:absolute; background:var(--tile); border:2px solid var(--hair); border-radius:18px }
11
+ .tag { position:absolute; transform:translate(-50%,0); padding:8px 18px; border-radius:999px; font-size:28px; font-weight:600; white-space:nowrap; background:var(--tile); color:var(--second); border:2px solid var(--hair) }
12
+ .tag.hot { background:var(--accent); color:var(--ground); border-color:var(--accent) } .tag.ink { background:var(--main); color:var(--ground); border-color:var(--main) } .tag.ok { background:var(--jade); color:var(--ground); border-color:var(--jade) }
13
+ .checks { position:absolute; display:flex; flex-direction:column; gap:14px }
14
+ .chk { display:flex; align-items:flex-start; gap:18px; padding:16px 22px; background:var(--tile); border:2px solid var(--hair); border-radius:14px; font-size:32px; line-height:1.25; font-weight:500 }
15
+ .chk i { flex:none; width:30px; height:30px; margin-top:3px; border-radius:50%; background:var(--jade); position:relative } .chk i::after { content:''; position:absolute; left:9px; top:5px; width:8px; height:14px; border:solid var(--ground); border-width:0 4px 4px 0; transform:rotate(45deg) }
16
+ .mono { font-family:var(--mono, ui-monospace, monospace) }
@@ -0,0 +1,153 @@
1
+ {
2
+ "components": [
3
+ {
4
+ "type": "board",
5
+ "id": "__ID__-bg"
6
+ },
7
+ {
8
+ "type": "group",
9
+ "id": "close-mark",
10
+ "style": "transform-origin:1530px 540px",
11
+ "children": [
12
+ {
13
+ "type": "logo",
14
+ "id": "close-logo",
15
+ "name": "brand",
16
+ "x": 1530,
17
+ "y": 540,
18
+ "size": 400
19
+ }
20
+ ]
21
+ },
22
+ {
23
+ "type": "box",
24
+ "id": "close-card",
25
+ "at": "ground",
26
+ "children": [
27
+ {
28
+ "type": "text",
29
+ "id": "close-title",
30
+ "tag": "h1",
31
+ "text": "{{close.title}}",
32
+ "split": true
33
+ },
34
+ {
35
+ "type": "raw",
36
+ "id": "close-bar",
37
+ "html": "<div class='close-bar'></div>"
38
+ },
39
+ {
40
+ "type": "text",
41
+ "id": "close-sub",
42
+ "cls": "sub",
43
+ "text": "{{close.sub}}"
44
+ }
45
+ ]
46
+ }
47
+ ],
48
+ "tracks": [
49
+ {
50
+ "kind": "effect",
51
+ "effect": "push",
52
+ "target": ".cam",
53
+ "t0": 0,
54
+ "dur": 5,
55
+ "from": 1,
56
+ "to": 1.025
57
+ },
58
+ {
59
+ "kind": "tween",
60
+ "target": ".close-card",
61
+ "prop": "opacity",
62
+ "from": 0,
63
+ "to": 1,
64
+ "t0": -0.2,
65
+ "t1": 0.4,
66
+ "easing": "eo"
67
+ },
68
+ {
69
+ "kind": "tween",
70
+ "target": ".close-card",
71
+ "prop": "transform",
72
+ "template": "translateY({v}px)",
73
+ "from": 24,
74
+ "to": 0,
75
+ "t0": -0.2,
76
+ "t1": 0.4,
77
+ "easing": "eo"
78
+ },
79
+ {
80
+ "kind": "effect",
81
+ "effect": "words",
82
+ "target": ".close-title",
83
+ "t0": 0
84
+ },
85
+ {
86
+ "kind": "tween",
87
+ "target": ".close-bar",
88
+ "prop": "transform",
89
+ "template": "scaleX({v})",
90
+ "from": 0,
91
+ "to": 1,
92
+ "t0": 0.6,
93
+ "t1": 1.1,
94
+ "easing": "eo",
95
+ "decimals": 3
96
+ },
97
+ {
98
+ "kind": "tween",
99
+ "target": ".close-sub",
100
+ "prop": "opacity",
101
+ "from": 0,
102
+ "to": 1,
103
+ "t0": 0.8,
104
+ "t1": 1.3,
105
+ "easing": "eo"
106
+ },
107
+ {
108
+ "kind": "tween",
109
+ "target": ".close-sub",
110
+ "prop": "transform",
111
+ "template": "translateX({v}px)",
112
+ "from": 26,
113
+ "to": 0,
114
+ "t0": 0.8,
115
+ "t1": 1.3,
116
+ "easing": "eo"
117
+ },
118
+ {
119
+ "kind": "effect",
120
+ "effect": "settle",
121
+ "target": ".close-mark",
122
+ "t0": 0.3,
123
+ "t1": 1,
124
+ "o": 1.4,
125
+ "scaleFrom": 0.7,
126
+ "scaleTo": 1,
127
+ "breatheAmp": 0.012,
128
+ "breatheFreq": 1.6,
129
+ "rotateFrom": -14,
130
+ "rotateTo": 0,
131
+ "rt0": 0.3,
132
+ "rt1": 1.4,
133
+ "opacityMult": 1.5
134
+ }
135
+ ],
136
+ "css": ".close-card { position:absolute; left:110px; top:330px; display:flex; flex-direction:column; gap:26px; max-width:1060px }.close-title { margin:0; font-family:var(--display, serif); font-weight:400; font-size:120px; line-height:1.04; letter-spacing:-0.02em }.close-bar { width:300px; height:3px; border-radius:2px; background:var(--accent); transform-origin:0 50% } .close-card .sub { font-size:42px }",
137
+ "portrait": {
138
+ "hoist": [
139
+ ".close-card"
140
+ ],
141
+ "frame": [
142
+ 700,
143
+ 920
144
+ ],
145
+ "crop": [
146
+ 1250,
147
+ 260,
148
+ 560,
149
+ 560
150
+ ],
151
+ "css": ".close-card{left:70px!important;top:180px!important;max-width:none!important;width:940px} .close-title{font-size:110px!important}"
152
+ }
153
+ }