@ztffn/presentation-generator-plugin 1.1.2 → 1.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.
|
@@ -41,21 +41,22 @@ You are a design and JSON generation specialist. Your job is to translate an app
|
|
|
41
41
|
|
|
42
42
|
## Output
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
1. Derive the presentation slug from the deck title in `_temp/presentation-outline.md`: lowercase kebab-case, strip special characters. Example: "Calora Investor Pitch" → `calora-investor-pitch`.
|
|
45
|
+
2. Create the directory `presentations/{slug}/` if it does not exist.
|
|
46
|
+
3. Write the JSON to `presentations/{slug}/{slug}.json`:
|
|
45
47
|
|
|
46
48
|
```json
|
|
47
49
|
{
|
|
48
50
|
"meta": {
|
|
49
|
-
"name": "<deck title from _temp/presentation-outline.md>"
|
|
51
|
+
"name": "<deck title from _temp/presentation-outline.md verbatim>"
|
|
50
52
|
},
|
|
51
53
|
"nodes": [ ... ],
|
|
52
54
|
"edges": [ ... ]
|
|
53
55
|
}
|
|
54
56
|
```
|
|
55
57
|
|
|
56
|
-
The `meta.name` value must be the presentation title exactly as it appears in the outline — verbatim, no reformatting.
|
|
57
|
-
|
|
58
58
|
After writing, output a summary listing:
|
|
59
|
+
- Output path (e.g. `presentations/calora-investor-pitch/calora-investor-pitch.json`)
|
|
59
60
|
- Total node count
|
|
60
61
|
- Total edge count
|
|
61
62
|
- Any slides with video placeholders requiring manual upload
|
package/package.json
CHANGED
|
@@ -106,7 +106,7 @@ Call to Action: [headline]
|
|
|
106
106
|
Write the tree to `_temp/presentation-plan.md` and present it in the chat.
|
|
107
107
|
|
|
108
108
|
Wait for the user to respond:
|
|
109
|
-
- **"approved"** or similar → proceed to Phase 5
|
|
109
|
+
- **"approved"** or similar → derive the slug (lowercase kebab-case of the deck title, e.g. `calora-investor-pitch`) and proceed to Phase 5
|
|
110
110
|
- **change requests** → update the outline, re-render the tree, wait again
|
|
111
111
|
- **"start over"** → return to Phase 1
|
|
112
112
|
|
|
@@ -119,24 +119,28 @@ Invoke the `presentation-design` sub-agent:
|
|
|
119
119
|
```
|
|
120
120
|
Agent: presentation-design
|
|
121
121
|
Input: Reads _temp/presentation-outline.md
|
|
122
|
-
Output:
|
|
122
|
+
Output: presentations/{slug}/{slug}.json
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
The design agent translates each slide into a fully specified graph node, wires all edges with bidirectional pairs, and validates the result.
|
|
126
126
|
|
|
127
127
|
## Phase 6 — Delivery
|
|
128
128
|
|
|
129
|
-
After `
|
|
129
|
+
After `presentations/{slug}/{slug}.json` is written:
|
|
130
130
|
|
|
131
|
-
1.
|
|
132
|
-
|
|
131
|
+
1. Copy the three intermediate files into the presentation folder so everything is self-contained:
|
|
132
|
+
- `_temp/presentation-content-brief.json` → `presentations/{slug}/content-brief.json`
|
|
133
|
+
- `_temp/presentation-outline.md` → `presentations/{slug}/outline.md`
|
|
134
|
+
- `_temp/presentation-plan.md` → `presentations/{slug}/plan.md`
|
|
135
|
+
|
|
136
|
+
2. Confirm the output path and provide import instructions:
|
|
133
137
|
|
|
134
138
|
```
|
|
135
139
|
Import your presentation:
|
|
136
140
|
1. Open the graph editor at /present/plan
|
|
137
141
|
2. Click "New presentation"
|
|
138
142
|
3. Choose "Import JSON"
|
|
139
|
-
4. Select
|
|
143
|
+
4. Select presentations/{slug}/{slug}.json
|
|
140
144
|
```
|
|
141
145
|
|
|
142
146
|
3. If any slides have video placeholders, list them:
|
|
@@ -187,4 +191,7 @@ All intermediate and output files:
|
|
|
187
191
|
| `_temp/presentation-content-brief.json` | Content agent or orchestrator | Narrative agent |
|
|
188
192
|
| `_temp/presentation-outline.md` | Narrative agent | Design agent, orchestrator |
|
|
189
193
|
| `_temp/presentation-plan.md` | Orchestrator | User (approval) |
|
|
190
|
-
| `
|
|
194
|
+
| `presentations/{slug}/{slug}.json` | Design agent | User (import) |
|
|
195
|
+
| `presentations/{slug}/content-brief.json` | Orchestrator (Phase 6) | Reference |
|
|
196
|
+
| `presentations/{slug}/outline.md` | Orchestrator (Phase 6) | Reference |
|
|
197
|
+
| `presentations/{slug}/plan.md` | Orchestrator (Phase 6) | Reference |
|