Correct scripts/generate-env.sh -> deploy/generate-env.sh and update shellcheck unlinted count in both English and Korean versions, as eb733cf already resolved the generate-env.sh lint gap.
Addresses Reviewer Claude's non-blocking nit.
35 lines
2.0 KiB
Bash
Executable File
35 lines
2.0 KiB
Bash
Executable File
#!/bin/bash
|
|
# resume_all.sh - MAM 에이전트 세션 (creator, reviewer, planner)을 한번에 복원하는 원클릭 복구 스크립트
|
|
set -euo pipefail
|
|
|
|
WORKSPACE="/home/godopu16/PuKi/laa/canary_projects/multi-agent-mux"
|
|
echo "=== MAM 에이전트 세션 복원 시작 ==="
|
|
|
|
# 1. Creator Claude
|
|
echo "1) Creator Claude 복원 중..."
|
|
UUID_CREATOR="589d2346-ad0c-496c-ab0c-e6e65191261c"
|
|
tmux -L multi-agent-mux new-session -d -s "canary-projects-multi-agent-mux-creator-claude" -x 140 -y 40 -c "$WORKSPACE" \
|
|
"claude --dangerously-skip-permissions -r $UUID_CREATOR; echo 'CLAUDE EXIT'; bash"
|
|
bash .agents/skills/multi-agent-mux-resume/scripts/update_yaml_resumed.sh \
|
|
--session "canary-projects-multi-agent-mux-creator-claude" --uuid "$UUID_CREATOR" --agent "claude"
|
|
|
|
# 2. Reviewer Cline (지시사항 숙지 완료 대화방 복구)
|
|
echo "2) Reviewer Cline 복원 중..."
|
|
UUID_ISO="e21a1f97-c44b-4611-8e2a-ec5cb39c40c7"
|
|
UUID_CONV="1783838676067_f6frb"
|
|
tmux -L multi-agent-mux new-session -d -s "canary-projects-multi-agent-mux-reviewer-cline" -x 140 -y 40 -c "$WORKSPACE" \
|
|
"/home/godopu16/.npm-global/bin/cline -i --data-dir $WORKSPACE/.mam/agent_homes/$UUID_ISO --id $UUID_CONV; echo 'CLINE EXIT'; bash"
|
|
bash .agents/skills/multi-agent-mux-resume/scripts/update_yaml_resumed.sh \
|
|
--session "canary-projects-multi-agent-mux-reviewer-cline" --uuid "$UUID_CONV" --agent "cline"
|
|
|
|
# 3. Planner Claude
|
|
echo "3) Planner Claude 복원 중..."
|
|
UUID_PLANNER="f67f1d79-31fe-404a-b369-0bc0a2d2f3b6"
|
|
tmux -L multi-agent-mux new-session -d -s "canary-projects-multi-agent-mux-planner-claude" -x 140 -y 40 -c "$WORKSPACE" \
|
|
"CLAUDE_CONFIG_DIR=$WORKSPACE/.mam/agent_homes/7488024e-88d9-4f5a-8f6f-d58adc29e94d claude --dangerously-skip-permissions -r $UUID_PLANNER; echo 'CLAUDE EXIT'; bash"
|
|
bash .agents/skills/multi-agent-mux-resume/scripts/update_yaml_resumed.sh \
|
|
--session "canary-projects-multi-agent-mux-planner-claude" --uuid "$UUID_PLANNER" --agent "claude"
|
|
|
|
echo "=== 복원 완료! ==="
|
|
bash .agents/skills/multi-agent-mux-status/scripts/status.sh
|