forkfeed-mcp 1.0.14 → 1.0.15
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/dist/guide-content.js +3 -2
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/guide-content.js
CHANGED
|
@@ -211,7 +211,7 @@ Generate all 8 cards simultaneously using the Agent tool. This is critical for s
|
|
|
211
211
|
|
|
212
212
|
**Planning phase** (main context, before launching agents):
|
|
213
213
|
1. Assign images upfront: pick 8 unique covers (img*), 8 unique backgrounds (bg*), and split the remaining scene images into 8 non-overlapping pools for inline CONTENT_IMAGE use per card.
|
|
214
|
-
2. Pre-generate 8 card UUIDs
|
|
214
|
+
2. Pre-generate 8 card UUIDs (use \`crypto.randomUUID()\` inline or a single node command).
|
|
215
215
|
3. Output the skeleton (fork, feed, image assignments, UUIDs) so it's visible.
|
|
216
216
|
|
|
217
217
|
**Agent prompts** (launch ALL 8 in a single message):
|
|
@@ -221,7 +221,7 @@ Each agent generates exactly one card. The agent prompt must include:
|
|
|
221
221
|
- The full commit diff and stats
|
|
222
222
|
- Assigned cover imageSrc (img*), backgroundSrc (bg*), and the pool of available inline images for this card
|
|
223
223
|
- The card UUID (\`_id\`) and feed ID (\`feedId\`)
|
|
224
|
-
- "Return ONLY the raw JSON card object, no markdown, no explanation"
|
|
224
|
+
- "Return ONLY the raw JSON card object, no markdown, no explanation. Do NOT use any tools, scripts, or commands - just output the JSON directly."
|
|
225
225
|
|
|
226
226
|
Example agent prompt structure:
|
|
227
227
|
\`\`\`
|
|
@@ -240,6 +240,7 @@ Commit diff:
|
|
|
240
240
|
{diff}
|
|
241
241
|
|
|
242
242
|
Return ONLY the JSON object. No markdown fences, no explanation.
|
|
243
|
+
Do NOT use any tools, scripts, or commands. Just output the JSON directly as text.
|
|
243
244
|
\`\`\`
|
|
244
245
|
|
|
245
246
|
**Assembly** (main context, after agents complete):
|
package/dist/index.js
CHANGED
|
@@ -341,6 +341,7 @@ server.prompt('forkfeed', 'Turn GitHub commits into swipeable forkfeed content.
|
|
|
341
341
|
6. Generate all 8 cards IN PARALLEL using the Agent tool. Launch ALL 8 agents in a SINGLE message.
|
|
342
342
|
Each agent prompt must include: the card number, section type and rules (from the guide), the full commit diff, assigned cover/background/inline images, the card UUID, and the feed ID.
|
|
343
343
|
Each agent must return ONLY the raw card JSON object: { "_id": "...", "feedId": "...", "order": N, "variants": [...] }
|
|
344
|
+
Tell each agent: "Do NOT use any tools, scripts, or commands. Just output the JSON directly as text."
|
|
344
345
|
See "Parallel card generation" in the guide for details.
|
|
345
346
|
7. Assemble the full manifest from the skeleton + 8 card JSON results. Validate against the checklist.
|
|
346
347
|
8. Call **forkfeed_push** with the complete manifest.
|