-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
38 lines (31 loc) · 999 Bytes
/
setup.sh
File metadata and controls
38 lines (31 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# Chat Memory Manager Extension - Setup Script
echo "🚀 Setting up Chat Memory Manager Extension..."
# Check if npm is installed
if ! command -v npm &> /dev/null; then
echo "❌ npm is not installed. Please install Node.js and npm first."
echo "Visit: https://nodejs.org/"
exit 1
fi
echo "✓ npm found"
# Install dependencies
echo "📦 Installing dependencies..."
npm install
# Compile TypeScript
echo "🔨 Compiling TypeScript..."
npm run compile
echo ""
echo "✅ Setup complete!"
echo ""
echo "Next steps:"
echo "1. Open this folder in VS Code"
echo "2. Press F5 to run the extension in debug mode"
echo "3. In the Extension Development Host, the extension will activate"
echo "4. Use Ctrl+Shift+P to access Chat Memory commands"
echo ""
echo "Commands available:"
echo " - Chat Memory: Save Current Chat Session"
echo " - Chat Memory: Restore Chat Session"
echo " - Chat Memory: Save Repository Context"
echo " - Chat Memory: View Saved Sessions"
echo ""