- Rename proxmox/claude-agent/ to proxmox/lxc171-claude-agent/ - Move scripts to scripts/ subdirectory - Add complete installation guide for new LXC from scratch - Update proxmox/README.md with LXC 171 documentation and navigation - Add LXC 171 to containers table - Remove .serena/project.yml Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
473 B
Bash
18 lines
473 B
Bash
#!/bin/bash
|
|
# Start or attach to Claude agent tmux session
|
|
|
|
SESSION_NAME="agent"
|
|
|
|
# Load nvm
|
|
export NVM_DIR="$HOME/.nvm"
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
|
|
|
# Check if session exists
|
|
if tmux has-session -t $SESSION_NAME 2>/dev/null; then
|
|
echo "Attaching to existing session: $SESSION_NAME"
|
|
tmux attach-session -t $SESSION_NAME
|
|
else
|
|
echo "Creating new session: $SESSION_NAME"
|
|
tmux new-session -s $SESSION_NAME -c /workspace
|
|
fi
|