Add Claude Agent LXC setup and workflow scripts

- Create LXC 171 (claude-agent) on pveelite with Ubuntu 24.04
- Install Node.js 20.x, Claude Code, tmux, Tailscale
- Configure SSH access and Gitea integration
- Add workflow scripts: start-agent.sh, work.sh, new-task.sh, finish-task.sh
- Add code-server for mobile file browsing
- Document complete setup in proxmox/claude-agent/README.md

LXC Details:
- IP internal: 10.0.20.171
- IP Tailscale: 100.95.55.51
- code-server: port 8080

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Marius
2025-12-31 18:53:23 +02:00
parent f01341a707
commit 594b77e449
6 changed files with 522 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#!/bin/bash
# Script pentru a finaliza un task (commit + push)
PROJECT_DIR="/workspace/romfastsql"
cd "$PROJECT_DIR" || exit 1
BRANCH=$(git branch --show-current)
if [ "$BRANCH" = "main" ]; then
echo "❌ Ești pe main! Nu face commit direct pe main."
exit 1
fi
echo "📋 Status curent:"
git status --short
echo ""
read -p "Mesaj commit: " COMMIT_MSG
if [ -z "$COMMIT_MSG" ]; then
echo "❌ Trebuie să dai un mesaj pentru commit"
exit 1
fi
git add .
git commit -m "$COMMIT_MSG"
git push -u origin "$BRANCH"
echo ""
echo "✅ Done! Branch-ul $BRANCH a fost push-uit."
echo "🔗 Creează Pull Request în Gitea: https://gitea.romfast.ro/romfast/romfastsql/compare/main...$BRANCH"