telegram-claude-mcp 3.0.0 → 3.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/bin/claude-tg +18 -0
- package/bin/pclaude-tg +18 -0
- package/package.json +1 -1
package/bin/claude-tg
CHANGED
|
@@ -13,6 +13,24 @@
|
|
|
13
13
|
|
|
14
14
|
set -e
|
|
15
15
|
|
|
16
|
+
# Check for required dependencies
|
|
17
|
+
if ! command -v tmux &> /dev/null; then
|
|
18
|
+
echo "Error: tmux is required but not installed."
|
|
19
|
+
echo ""
|
|
20
|
+
echo "Install it with:"
|
|
21
|
+
echo " macOS: brew install tmux"
|
|
22
|
+
echo " Ubuntu/Debian: sudo apt install tmux"
|
|
23
|
+
echo " Fedora: sudo dnf install tmux"
|
|
24
|
+
exit 1
|
|
25
|
+
fi
|
|
26
|
+
|
|
27
|
+
if ! command -v claude &> /dev/null; then
|
|
28
|
+
echo "Error: claude CLI is required but not installed."
|
|
29
|
+
echo ""
|
|
30
|
+
echo "Install Claude Code from: https://claude.ai/code"
|
|
31
|
+
exit 1
|
|
32
|
+
fi
|
|
33
|
+
|
|
16
34
|
# Configuration
|
|
17
35
|
PROFILE="corporate"
|
|
18
36
|
CONFIG_DIR="$HOME/.claude"
|
package/bin/pclaude-tg
CHANGED
|
@@ -13,6 +13,24 @@
|
|
|
13
13
|
|
|
14
14
|
set -e
|
|
15
15
|
|
|
16
|
+
# Check for required dependencies
|
|
17
|
+
if ! command -v tmux &> /dev/null; then
|
|
18
|
+
echo "Error: tmux is required but not installed."
|
|
19
|
+
echo ""
|
|
20
|
+
echo "Install it with:"
|
|
21
|
+
echo " macOS: brew install tmux"
|
|
22
|
+
echo " Ubuntu/Debian: sudo apt install tmux"
|
|
23
|
+
echo " Fedora: sudo dnf install tmux"
|
|
24
|
+
exit 1
|
|
25
|
+
fi
|
|
26
|
+
|
|
27
|
+
if ! command -v claude &> /dev/null; then
|
|
28
|
+
echo "Error: claude CLI is required but not installed."
|
|
29
|
+
echo ""
|
|
30
|
+
echo "Install Claude Code from: https://claude.ai/code"
|
|
31
|
+
exit 1
|
|
32
|
+
fi
|
|
33
|
+
|
|
16
34
|
# Configuration
|
|
17
35
|
PROFILE="personal"
|
|
18
36
|
CONFIG_DIR="$HOME/.claude-personal"
|