plyo-mcp 0.1.0 → 0.2.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 (2) hide show
  1. package/dist/index.js +8 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -138,12 +138,18 @@ server.tool("save_checkpoint", "Save the current state of the project as a check
138
138
  note: z
139
139
  .string()
140
140
  .describe("One plain-English sentence describing what changed, written for a non-technical user, e.g. 'Added a pricing page with three plans'"),
141
- }, async ({ note }) => {
141
+ intent: z
142
+ .string()
143
+ .max(500)
144
+ .optional()
145
+ .describe("One sentence summarizing what the user actually asked for, in their own words, e.g. 'Make the pricing page feel more premium and add a yearly toggle'. Always pass this — it becomes the project's memory of why changes were made."),
146
+ }, async ({ note, intent }) => {
142
147
  const link = await requireLink();
143
148
  await ensureRemote(link.slug);
144
149
  await git(["add", "-A"]);
145
150
  try {
146
- await git(["commit", "-m", note]);
151
+ const message = intent ? `${note}\n\nPlyo-Intent: ${intent}` : note;
152
+ await git(["commit", "-m", message]);
147
153
  }
148
154
  catch (err) {
149
155
  const msg = String(err);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "plyo-mcp",
3
- "version": "0.1.0",
4
- "description": "MCP server for Plyo Undo and Publish for everything your AI builds. Save checkpoints, publish, restore.",
3
+ "version": "0.2.0",
4
+ "description": "MCP server for Plyo \u2014 Undo and Publish for everything your AI builds. Save checkpoints, publish, restore.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "plyo-mcp": "./dist/index.js"