#!/bin/bash
# start_claude_glm5.sh - Inicia Claude Code con GLM-5 y modo equipos

export ANTHROPIC_BASE_URL="https://coding-intl.dashscope.aliyuncs.com/apps/anthropic"
export ANTHROPIC_AUTH_TOKEN="sk-sp-e87cea7b587c4af09e465726b084f41b"
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="1"
export ANTHROPIC_MODEL="glm-5"
export ANTHROPIC_SMALL_FAST_MODEL="glm-5"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="glm-5"
export ANTHROPIC_DEFAULT_SONNET_MODEL="glm-5"
export ANTHROPIC_DEFAULT_OPUS_MODEL="glm-5"
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS="1"

# Ir al directorio del proyecto
cd "/mnt/c/ProgramData/Ableton/Live 12 Suite/Resources/MIDI Remote Scripts"

echo "=== Claude Code + GLM-5 + Agent Teams ==="
echo "Model: glm-5"
echo "Base URL: $ANTHROPIC_BASE_URL"
echo "Agent Teams: enabled"
echo "MCP Server: ableton-mcp-ai"
echo ""

# Iniciar Claude Code
claude --dangerously-skip-permissions --teammate-mode tmux --effort max