Adding updates to agent
This commit is contained in:
File diff suppressed because one or more lines are too long
+9
-7
@@ -271,17 +271,19 @@ info "Agent0 .env written"
|
|||||||
info "Building glitch-tunnel image..."
|
info "Building glitch-tunnel image..."
|
||||||
docker compose build --quiet
|
docker compose build --quiet
|
||||||
|
|
||||||
info "Starting agent0 container..."
|
info "Starting agent containers..."
|
||||||
docker compose up -d agent0
|
docker compose up -d dobby gemma gunnar rind abyssinthia hermes
|
||||||
|
|
||||||
info "Waiting for agent0 to finish initializing..."
|
AGENT_CONTAINERS=(dobby gemma gunnar rind abyssinthia hermes)
|
||||||
until docker exec agent0 bash -c "! pgrep -x apt-get > /dev/null && ! pgrep -x dpkg > /dev/null" 2>/dev/null; do
|
for container in "${AGENT_CONTAINERS[@]}"; do
|
||||||
|
info "Waiting for ${container} to finish initializing..."
|
||||||
|
until docker exec "$container" bash -c "! pgrep -x apt-get > /dev/null && ! pgrep -x dpkg > /dev/null" 2>/dev/null; do
|
||||||
sleep 3
|
sleep 3
|
||||||
|
done
|
||||||
|
info "Installing gutasktool inside ${container}..."
|
||||||
|
docker exec "$container" bash -c "apt-get update -q && apt-get install -y -q python3-pip && python3 -m pip install --break-system-packages -q -e /opt/gutasktool"
|
||||||
done
|
done
|
||||||
|
|
||||||
info "Installing gutasktool inside agent0 container..."
|
|
||||||
docker exec agent0 bash -c "apt-get update -q && apt-get install -y -q python3-pip && python3 -m pip install --break-system-packages -q -e /a0/usr/gutasktool"
|
|
||||||
|
|
||||||
info "Starting tunnel..."
|
info "Starting tunnel..."
|
||||||
docker compose up -d glitch-tunnel
|
docker compose up -d glitch-tunnel
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
#1/bin/bash
|
||||||
|
|
||||||
|
claude --resume d7994658-94c6-404b-af79-48c74b5b0349
|
||||||
|
|
||||||
|
|
||||||
@@ -98,6 +98,7 @@ services:
|
|||||||
- ./agents/dobby:/a0/usr
|
- ./agents/dobby:/a0/usr
|
||||||
- ./shared/skills:/a0/usr/skills
|
- ./shared/skills:/a0/usr/skills
|
||||||
- ${HOME}/.ssh:/root/.ssh
|
- ${HOME}/.ssh:/root/.ssh
|
||||||
|
- ../gutasktool:/opt/gutasktool
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
dobby-init:
|
dobby-init:
|
||||||
@@ -121,6 +122,7 @@ services:
|
|||||||
- ./agents/gemma:/a0/usr
|
- ./agents/gemma:/a0/usr
|
||||||
- ./shared/skills:/a0/usr/skills
|
- ./shared/skills:/a0/usr/skills
|
||||||
- ${HOME}/.ssh:/root/.ssh
|
- ${HOME}/.ssh:/root/.ssh
|
||||||
|
- ../gutasktool:/opt/gutasktool
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
gemma-init:
|
gemma-init:
|
||||||
@@ -144,6 +146,7 @@ services:
|
|||||||
- ./agents/gunnar:/a0/usr
|
- ./agents/gunnar:/a0/usr
|
||||||
- ./shared/skills:/a0/usr/skills
|
- ./shared/skills:/a0/usr/skills
|
||||||
- ${HOME}/.ssh:/root/.ssh
|
- ${HOME}/.ssh:/root/.ssh
|
||||||
|
- ../gutasktool:/opt/gutasktool
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
gunnar-init:
|
gunnar-init:
|
||||||
@@ -167,6 +170,7 @@ services:
|
|||||||
- ./agents/rind:/a0/usr
|
- ./agents/rind:/a0/usr
|
||||||
- ./shared/skills:/a0/usr/skills
|
- ./shared/skills:/a0/usr/skills
|
||||||
- ${HOME}/.ssh:/root/.ssh
|
- ${HOME}/.ssh:/root/.ssh
|
||||||
|
- ../gutasktool:/opt/gutasktool
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
rind-init:
|
rind-init:
|
||||||
@@ -190,6 +194,7 @@ services:
|
|||||||
- ./agents/abyssinthia:/a0/usr
|
- ./agents/abyssinthia:/a0/usr
|
||||||
- ./shared/skills:/a0/usr/skills
|
- ./shared/skills:/a0/usr/skills
|
||||||
- ${HOME}/.ssh:/root/.ssh
|
- ${HOME}/.ssh:/root/.ssh
|
||||||
|
- ../gutasktool:/opt/gutasktool
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
abyssinthia-init:
|
abyssinthia-init:
|
||||||
@@ -212,6 +217,7 @@ services:
|
|||||||
- ./agents/hermes:/a0/usr
|
- ./agents/hermes:/a0/usr
|
||||||
- ./shared/skills:/a0/usr/skills
|
- ./shared/skills:/a0/usr/skills
|
||||||
- ${HOME}/.ssh:/root/.ssh
|
- ${HOME}/.ssh:/root/.ssh
|
||||||
|
- ../gutasktool:/opt/gutasktool
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
hermes-init:
|
hermes-init:
|
||||||
|
|||||||
Reference in New Issue
Block a user