@kritchoff/agent-browser 0.9.39 → 0.9.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sdk.sh +5 -0
package/package.json
CHANGED
package/sdk.sh
CHANGED
|
@@ -88,6 +88,11 @@ cmd_start() {
|
|
|
88
88
|
# Ensure images are present (Production robustness)
|
|
89
89
|
pull_images_with_retry
|
|
90
90
|
|
|
91
|
+
# --- ALWAYS CLEAN UP PREVIOUS STATE ---
|
|
92
|
+
# This prevents network namespace corruption and port binding failures on warm boots
|
|
93
|
+
log_info "Cleaning up previous container state..."
|
|
94
|
+
docker compose -f "$COMPOSE_FILE" down -v --remove-orphans >/dev/null 2>&1 || true
|
|
95
|
+
|
|
91
96
|
if [ -f "$SNAPSHOT_FILE" ]; then
|
|
92
97
|
# === WARM START ===
|
|
93
98
|
log_success "Found cached baseline snapshot. Performing WARM BOOT..."
|