Files
musica-ia/scripts/claude-cli.sh
renato97 1e634e8b2d chore: Add comprehensive sample library and production resources
📁 New Additions:
- Docker Compose configuration for easy deployment
- Sample Library: 20+ high-quality audio samples (FX & Rolls)
- Project Example: Complete reggaeton_2011_project with documentation
  * Clip programming details
  * Mixer effects configuration
  * Pattern details and README
- Scripts: Claude CLI integration script
- File Browser: Configuration for easy file management

📝 Updated Files:
- README.md: Enhanced documentation
- ai_clients.py: Further improvements to AI orchestration
- sample_library.py: Enhanced sample selection logic

🎵 Sample Library:
- FX & Rolls collection with various percussion elements
- Reverse snares, kicks, rolls, bells, and percussion
- All samples in .asd format (Ableton sample analysis data)

This adds substantial production-ready resources to MusiaIA, making it much more capable of generating diverse music projects!

Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 21:18:21 +00:00

25 lines
750 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# Load env vars from .env if available so ANTHROPIC_* persist across sessions
if [[ -f "${REPO_ROOT}/.env" ]]; then
# shellcheck disable=SC1090
source "${REPO_ROOT}/.env"
fi
export ANTHROPIC_BASE_URL="${ANTHROPIC_BASE_URL:-https://api.z.ai/api/anthropic}"
if [[ -z "${ANTHROPIC_AUTH_TOKEN:-}" ]]; then
echo "Missing ANTHROPIC_AUTH_TOKEN. Please set it in .env." >&2
exit 1
fi
CLAUDE_BIN="${CLAUDE_CLI_BIN:-claude}"
if ! command -v "${CLAUDE_BIN}" >/dev/null 2>&1; then
echo "Claude CLI binary '${CLAUDE_BIN}' not found in PATH. Configure CLAUDE_CLI_BIN in .env." >&2
exit 1
fi
exec "${CLAUDE_BIN}" --dangerously-skip-permissions "$@"