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 +2 -0
- package/README.md +2 -0
- package/install.sh +22 -23
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
> **[English Version](README.md)**
|
|
2
2
|
|
|
3
3
|
<!-- Badges -->
|
|
4
|
+
[](https://www.npmjs.com/package/claude-pro-minmax)
|
|
5
|
+
[](https://www.npmjs.com/package/claude-pro-minmax)
|
|
4
6
|

|
|
5
7
|

|
|
6
8
|

|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
> **[한국어 버전](README.ko.md)**
|
|
2
2
|
|
|
3
3
|
<!-- Badges -->
|
|
4
|
+
[](https://www.npmjs.com/package/claude-pro-minmax)
|
|
5
|
+
[](https://www.npmjs.com/package/claude-pro-minmax)
|
|
4
6
|

|
|
5
7
|

|
|
6
8
|

|
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
|
-
|
|
75
|
-
|
|
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
|
-
|
|
91
|
-
echo "
|
|
92
|
-
|
|
93
|
-
|
|
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