AI-Relay-Kit/scripts/setup-ai-workspace.sh
2026-06-21 14:30:57 +08:00

20 lines
380 B
Bash
Executable File

#!/usr/bin/env bash
set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(dirname "$DIR")"
echo "Starting AI-Relay-Kit Configuration Injection..."
cd "$PROJECT_ROOT"
# Ensure dependencies are installed
if [ ! -d "node_modules" ]; then
echo "Installing dependencies..."
npm install
fi
# Run the injector
npx tsx src/injector/index.ts
echo "Done."