mcp-prompt-optimizer 3.4.0 → 3.4.1

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/index.js +3 -9
  2. package/package.json +11 -2
package/index.js CHANGED
@@ -711,7 +711,7 @@ class MCPPromptOptimizer {
711
711
  const baseResult = {
712
712
  ...rulesResult,
713
713
  rules_based: false, // Show as normal optimized output in mock mode
714
- tier: 'explorer',
714
+ tier: 'free',
715
715
  mock_mode: true,
716
716
  template_saved: true,
717
717
  template_id: 'test-template-123',
@@ -1278,14 +1278,8 @@ class MCPPromptOptimizer {
1278
1278
  } catch (error) {
1279
1279
  const msg = error?.message || String(error);
1280
1280
  if (msg.includes("TIER_LIMIT_REACHED")) {
1281
- const CREATOR_ONLY = ["amazon_q", "aider", "continue_dev", "crewai"];
1282
- const needsCreator =
1283
- msg.includes("creator") ||
1284
- deployTargets.length > 1 ||
1285
- CREATOR_ONLY.some(t => deployTargets.includes(t));
1286
- const tierNeeded = needsCreator ? "Creator" : "Explorer";
1287
1281
  return { content: [{ type: "text",
1288
- text: `Upgrade required: this deploy target requires ${tierNeeded} tier or higher. Upgrade at /pricing.`
1282
+ text: `Upgrade required: this deploy target requires Pro tier or higher. Upgrade at /pricing.`
1289
1283
  }] };
1290
1284
  }
1291
1285
  throw error;
@@ -1555,7 +1549,7 @@ class MCPPromptOptimizer {
1555
1549
  }
1556
1550
 
1557
1551
  formatQuotaStatus(result) {
1558
- let output = `# 📊 Account Status\n\n**Plan:** ${result.tier || 'explorer'}\n`;
1552
+ let output = `# 📊 Account Status\n\n**Plan:** ${result.tier || 'free'}\n`;
1559
1553
 
1560
1554
  const quota = result.quota || {};
1561
1555
  if (quota.unlimited) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-prompt-optimizer",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "Professional cloud-based MCP server for AI-powered prompt optimization with intelligent context detection, Bayesian optimization, AG-UI real-time optimization, template auto-save, optimization insights, personal model configuration via WebUI, team collaboration, enterprise-grade features, production resilience, and startup validation. Universal compatibility with Claude Desktop, Cursor, Windsurf, and 17+ MCP clients.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -191,9 +191,18 @@
191
191
  "feature_parity": true,
192
192
  "bayesian_support": true,
193
193
  "agui_support": true,
194
- "last_sync": "2026-05-23T00:00:00Z"
194
+ "last_sync": "2026-06-01T00:00:00Z"
195
195
  },
196
196
  "release_notes": {
197
+ "v3.4.1": {
198
+ "major_features": [
199
+ "D6 pricing migration: tier names updated to free/pro/enterprise (was free_trial/explorer/creator/innovator)",
200
+ "Tier-limit error message simplified to 'Pro tier or higher' matching new backend tier model",
201
+ "Mock mode and account status display default to 'free' tier"
202
+ ],
203
+ "breaking_changes": [],
204
+ "migration_guide": "No migration required. Existing API keys and configurations remain valid."
205
+ },
197
206
  "v3.3.0": {
198
207
  "major_features": [
199
208
  "New tool: generate_harness_bundle — generate a deployment-ready Agentic Harness ZIP for 9 platforms (claude_code, claude_desktop, cursor, copilot, windsurf, cline, zed, replit, openai_agents)",