forkfeed-mcp 1.0.11 → 1.0.12
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 +6 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/guide-content.js
CHANGED
|
@@ -8,20 +8,22 @@ export const GUIDE_CONTENT = `
|
|
|
8
8
|
|
|
9
9
|
Turn GitHub commits into swipeable card content. One fork per repo, one feed per commit, 8 cards per feed (35-62 variants total).
|
|
10
10
|
|
|
11
|
+
**Important: process exactly ONE commit at a time, never multiple commits in a single run.**
|
|
12
|
+
|
|
11
13
|
## Quick start
|
|
12
14
|
|
|
13
|
-
1. Ask which
|
|
15
|
+
1. Ask which single commit to process
|
|
14
16
|
2. Fetch commit data via git or gh CLI
|
|
15
17
|
3. Generate 8-card manifest JSON
|
|
16
18
|
4. Call forkfeed_push with the manifest
|
|
17
19
|
|
|
18
20
|
---
|
|
19
21
|
|
|
20
|
-
## Phase 1: Resolve repo and
|
|
22
|
+
## Phase 1: Resolve repo and commit
|
|
21
23
|
|
|
22
24
|
Use the **current working directory** as the repo. Do not ask which repo.
|
|
23
25
|
|
|
24
|
-
If the user didn't specify
|
|
26
|
+
Process exactly one commit per run. If the user didn't specify, use the latest commit. If they ask for multiple commits, process only the first and tell them to run again for the next.
|
|
25
27
|
|
|
26
28
|
Use **IT Scenes** images. Call **forkfeed_images** to get the full catalog (200 scene images + 30 backgrounds). Match images to content by tags and semantic similarity. Do not ask about image style.
|
|
27
29
|
|
|
@@ -201,7 +203,7 @@ Always call **forkfeed_status** before generating content. It lists published fe
|
|
|
201
203
|
|
|
202
204
|
- **New commit**: Generate only the new feed and cards. The fork's feedIds must include ALL existing feed IDs plus the new one. Missing old IDs causes them to be deleted.
|
|
203
205
|
- **Existing commit**: Warn the user that this commit already has a feed. Only regenerate if they confirm. The old cards will be replaced.
|
|
204
|
-
- **
|
|
206
|
+
- **One commit per run**: Never process multiple commits at once. If the user wants more, they run the command again.
|
|
205
207
|
|
|
206
208
|
---
|
|
207
209
|
|
package/dist/index.js
CHANGED
|
@@ -233,7 +233,7 @@ server.prompt('forkfeed', 'Turn GitHub commits into swipeable forkfeed content.
|
|
|
233
233
|
2. Call **forkfeed_images** to get the IT Scenes image catalog (200 scenes + 30 backgrounds).
|
|
234
234
|
3. Call **forkfeed_status** to check for existing content. Note which feeds (commits) are already published.
|
|
235
235
|
4. Detect the current repo from the working directory. Use git to get commit data.
|
|
236
|
-
5. Ask which
|
|
236
|
+
5. Ask which ONE commit to process (default: latest). Only one commit at a time, never more. Do NOT ask about image style (always use IT Scenes). Show a table of recent commits with a column indicating whether each already has a published feed (match the 7-char SHA from forkfeed_status feed IDs against the commit SHAs). If the user selects a commit that already has a feed, warn and ask for confirmation before regenerating.
|
|
237
237
|
6. Fetch the diff, analyze it, and generate the 8-card manifest following the guide exactly. Include ALL existing feed IDs in the fork's feedIds array (see "Incremental updates" in the guide).
|
|
238
238
|
7. Match images from the catalog to card content by tags and semantic similarity.
|
|
239
239
|
8. Validate the manifest against the checklist in the guide.
|