claude-pro-minmax 1.0.0 → 1.0.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.
package/README.ko.md CHANGED
@@ -1,6 +1,8 @@
1
1
  > **[English Version](README.md)**
2
2
 
3
3
  <!-- Badges -->
4
+ [![npm version](https://img.shields.io/npm/v/claude-pro-minmax.svg)](https://www.npmjs.com/package/claude-pro-minmax)
5
+ [![npm downloads](https://img.shields.io/npm/dm/claude-pro-minmax.svg)](https://www.npmjs.com/package/claude-pro-minmax)
4
6
  ![License](https://img.shields.io/badge/license-MIT-blue.svg)
5
7
  ![Claude Code](https://img.shields.io/badge/Claude_Code-Compatible-purple.svg)
6
8
  ![Pro Plan](https://img.shields.io/badge/Pro_Plan-Optimized-green.svg)
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  > **[한국어 버전](README.ko.md)**
2
2
 
3
3
  <!-- Badges -->
4
+ [![npm version](https://img.shields.io/npm/v/claude-pro-minmax.svg)](https://www.npmjs.com/package/claude-pro-minmax)
5
+ [![npm downloads](https://img.shields.io/npm/dm/claude-pro-minmax.svg)](https://www.npmjs.com/package/claude-pro-minmax)
4
6
  ![License](https://img.shields.io/badge/license-MIT-blue.svg)
5
7
  ![Claude Code](https://img.shields.io/badge/Claude_Code-Compatible-purple.svg)
6
8
  ![Pro Plan](https://img.shields.io/badge/Pro_Plan-Optimized-green.svg)
package/install.sh CHANGED
@@ -30,9 +30,6 @@ mkdir -p ~/.claude/{agents,commands,rules,skills/cli-wrappers/references,context
30
30
  SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
31
31
  cp "$SCRIPT_DIR/.claude/CLAUDE.md" ~/.claude/
32
32
  cp "$SCRIPT_DIR/.claude/settings.json" ~/.claude/
33
- if [ -f "$SCRIPT_DIR/.claudeignore" ]; then
34
- cp "$SCRIPT_DIR/.claudeignore" ~/.claude/
35
- fi
36
33
  # Copy settings.local.json from example template (users customize after install)
37
34
  if [ -f "$SCRIPT_DIR/.claude/settings.local.example.json" ]; then
38
35
  cp "$SCRIPT_DIR/.claude/settings.local.example.json" ~/.claude/settings.local.json
@@ -71,28 +68,30 @@ if [ -f "$SCRIPT_DIR/.claude.json" ]; then
71
68
  echo "✅ Created .mcp.json → .claude.json symlink (Ensured Link)"
72
69
  # Interactive Perplexity Setup (Read from /dev/tty for curl support)
73
70
  if [ -t 0 ] || [ -c /dev/tty ]; then
74
- echo ""
75
- echo "🔍 Perplexity API Setup (Recommended for /dplan)"
76
- echo -n " Enter your API Key (Press Enter to skip): "
77
- read -rs PERPLEXITY_KEY < /dev/tty || PERPLEXITY_KEY=""
78
- echo "" # Newline for silent read
79
-
80
- if [ -n "$PERPLEXITY_KEY" ]; then
81
- # Enable Perplexity (Rename key and inject API Key)
82
- # Use jq for reliable JSON editing
83
- jq --arg key "$PERPLEXITY_KEY" \
84
- '.mcpServers.perplexity = .mcpServers._perplexity_disabled_by_default |
85
- .mcpServers.perplexity.env.PERPLEXITY_API_KEY = $key |
86
- del(.mcpServers._perplexity_disabled_by_default)' \
87
- ~/.claude.json > ~/.claude.json.tmp && mv ~/.claude.json.tmp ~/.claude.json
88
- echo "✅ Perplexity API Key configured!"
71
+ if ! command -v jq &> /dev/null; then
72
+ echo "⚠️ Skipping Perplexity setup (jq not installed). Install jq and re-run to configure."
89
73
  else
90
- # Skip: Completely remove the disabled block to keep config clean
91
- echo "⚠️ Skipping Perplexity setup. Disabling feature..."
92
- jq 'del(.mcpServers._perplexity_disabled_by_default)' ~/.claude.json > ~/.claude.json.tmp && mv ~/.claude.json.tmp ~/.claude.json
93
- echo " (Feature removed from config. Add manually to functionality if needed)"
74
+ echo ""
75
+ echo "🔍 Perplexity API Setup (Recommended for /dplan)"
76
+ echo -n " Enter your API Key (Press Enter to skip): "
77
+ read -rs PERPLEXITY_KEY < /dev/tty || PERPLEXITY_KEY=""
78
+ echo "" # Newline for silent read
79
+
80
+ if [ -n "$PERPLEXITY_KEY" ]; then
81
+ # Enable Perplexity (Rename key and inject API Key)
82
+ jq --arg key "$PERPLEXITY_KEY" \
83
+ '.mcpServers.perplexity = .mcpServers._perplexity_disabled_by_default |
84
+ .mcpServers.perplexity.env.PERPLEXITY_API_KEY = $key |
85
+ del(.mcpServers._perplexity_disabled_by_default)' \
86
+ ~/.claude.json > ~/.claude.json.tmp && mv ~/.claude.json.tmp ~/.claude.json
87
+ echo "✅ Perplexity API Key configured!"
88
+ else
89
+ # Skip: Completely remove the disabled block to keep config clean
90
+ echo "⚠️ Skipping Perplexity setup. Disabling feature..."
91
+ jq 'del(.mcpServers._perplexity_disabled_by_default)' ~/.claude.json > ~/.claude.json.tmp && mv ~/.claude.json.tmp ~/.claude.json
92
+ echo " (Feature removed from config. Add manually to functionality if needed)"
93
+ fi
94
94
  fi
95
- # No temp file cleanup needed for jq approach as we mv content
96
95
  fi
97
96
  fi
98
97
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-pro-minmax",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Quota-first routing and safety layer for Claude Code Pro workflows.",
5
5
  "author": "donghoon <move-hoon@users.noreply.github.com>",
6
6
  "license": "MIT",