gsd-init 1.0.15 → 1.0.16
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
CHANGED
|
@@ -6,13 +6,6 @@ PROJECT_NAME="$(basename "$PROJECT_DIR")"
|
|
|
6
6
|
WORKER_SESSION="${GSD_WORKER_SESSION:-gsd-worker-${PROJECT_NAME}}"
|
|
7
7
|
OBSERVER_SESSION="${GSD_OBSERVER_SESSION:-gsd-observer-${PROJECT_NAME}}"
|
|
8
8
|
|
|
9
|
-
echo "[gsd] Tearing down sessions..."
|
|
10
|
-
tmux kill-session -t "$WORKER_SESSION" 2>/dev/null && echo " Killed: $WORKER_SESSION" || echo " Not running: $WORKER_SESSION"
|
|
11
|
-
tmux kill-session -t "$OBSERVER_SESSION" 2>/dev/null && echo " Killed: $OBSERVER_SESSION" || echo " Not running: $OBSERVER_SESSION"
|
|
12
|
-
|
|
13
|
-
echo "[gsd] Cleaning up temp files..."
|
|
14
|
-
rm -f /tmp/gsd-event-*.json /tmp/gsd-response-*.json /tmp/gsd-last-event-phase
|
|
15
|
-
|
|
16
9
|
echo "[gsd] Closing Terminal windows..."
|
|
17
10
|
osascript <<EOF 2>/dev/null || true
|
|
18
11
|
tell application "Terminal"
|
|
@@ -48,4 +41,11 @@ tell application "Terminal"
|
|
|
48
41
|
end tell
|
|
49
42
|
EOF
|
|
50
43
|
|
|
44
|
+
echo "[gsd] Tearing down sessions..."
|
|
45
|
+
tmux kill-session -t "$WORKER_SESSION" 2>/dev/null && echo " Killed: $WORKER_SESSION" || echo " Not running: $WORKER_SESSION"
|
|
46
|
+
tmux kill-session -t "$OBSERVER_SESSION" 2>/dev/null && echo " Killed: $OBSERVER_SESSION" || echo " Not running: $OBSERVER_SESSION"
|
|
47
|
+
|
|
48
|
+
echo "[gsd] Cleaning up temp files..."
|
|
49
|
+
rm -f /tmp/gsd-event-*.json /tmp/gsd-response-*.json /tmp/gsd-last-event-phase
|
|
50
|
+
|
|
51
51
|
echo " Done."
|