pmpt-cli 1.14.1 → 1.14.2

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/mcp.js +2 -2
  2. package/package.json +1 -1
package/dist/mcp.js CHANGED
@@ -582,7 +582,7 @@ server.tool('pmpt_log_decision', 'Record an architectural or technical decision
582
582
  return { content: [{ type: 'text', text: `Error: ${error instanceof Error ? error.message : String(error)}` }], isError: true };
583
583
  }
584
584
  });
585
- server.tool('pmpt_publish', 'Publish the project to pmptwiki.com. Requires prior login via `pmpt login` in CLI. Packages project docs and history into a .pmpt file and uploads it.', {
585
+ server.tool('pmpt_publish', 'Publish the project to pmptwiki.com. This tool handles everything non-interactively — just provide the slug and optional metadata. Note: the user must have run `pmpt login` once before (check if auth exists). If not logged in, ask the user to run `pmpt login` in their terminal, then retry this tool.', {
586
586
  projectPath: z.string().optional().describe('Project root path. Defaults to cwd.'),
587
587
  slug: z.string().describe('Project slug (3-50 chars, lowercase alphanumeric and hyphens).'),
588
588
  description: z.string().optional().describe('Project description (max 500 chars).'),
@@ -674,7 +674,7 @@ server.tool('pmpt_publish', 'Publish the project to pmptwiki.com. Requires prior
674
674
  return { content: [{ type: 'text', text: `Error: ${error instanceof Error ? error.message : String(error)}` }], isError: true };
675
675
  }
676
676
  });
677
- server.tool('pmpt_graduate', 'Graduate a project on pmptwiki — archives it with a Hall of Fame badge. The project can no longer be updated. Requires prior login via `pmpt login`.', {
677
+ server.tool('pmpt_graduate', 'Graduate a project on pmptwiki — archives it with a Hall of Fame badge. The project can no longer be updated. Non-interactive. User must have run `pmpt login` once before.', {
678
678
  slug: z.string().describe('Project slug to graduate.'),
679
679
  note: z.string().optional().describe('Graduation note (e.g., "Reached 1000 users!").'),
680
680
  }, async ({ slug, note }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmpt-cli",
3
- "version": "1.14.1",
3
+ "version": "1.14.2",
4
4
  "description": "Record and share your AI-driven product development journey",
5
5
  "type": "module",
6
6
  "bin": {