forkfeed-mcp 1.0.10 → 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.
@@ -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 repo and commits to process
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 commits
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 commits, use the latest commit. Otherwise respect what they asked (last N, specific SHA, since date).
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
 
@@ -197,11 +199,11 @@ Casual, cheeky, technically accurate. Like your funniest friend reviewing your c
197
199
  - Humor is the default
198
200
 
199
201
  ### Incremental updates
200
- Always call **forkfeed_status** before generating content. It lists published feeds by their externalFeedId (which contains the commit SHA, e.g. \`tfip-owner-repo-abc1234\`).
202
+ Always call **forkfeed_status** before generating content. It lists published feeds by their externalFeedId (which contains the commit SHA, e.g. \`tfip-owner-repo-abc1234\`). When presenting commits to the user, cross-reference with status results: match the 7-char SHA in each feed ID against commit SHAs to show which commits already have feeds.
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
- - **Multiple commits**: Generate one feed per commit. Include all feed IDs (old + new) in the fork's feedIds array.
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 commits to process (default: latest). Do NOT ask about image style (always use IT Scenes). If any selected commits already have feeds, warn the user and ask for confirmation before regenerating them.
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forkfeed-mcp",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "MCP server for pushing GitHub commits to forkfeed",
5
5
  "type": "module",
6
6
  "bin": {