gsd-init 1.0.4 → 1.0.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gsd-init",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Set up GSD observer/worker tmux system in a project",
5
5
  "bin": {
6
6
  "gsd-init": "bin/gsd-init.js"
@@ -6,7 +6,7 @@ tmux new-session -d -s "$SESSION"
6
6
  tmux send-keys -t "${SESSION}:0.0" "claude --allowedTools 'Bash,Read,Write,Glob,Grep'" Enter
7
7
  echo "[gsd-observer] Waiting for Observer Claude to start..."
8
8
  for i in $(seq 1 30); do
9
- pane=$(tmux capture-pane -pt "${SESSION}:0.0" -l 5 2>/dev/null || echo "")
9
+ pane=$(tmux capture-pane -pt "${SESSION}:0.0" 2>/dev/null || echo "")
10
10
  if echo "$pane" | grep -qE '❯|>|\$|✓|claude>'; then
11
11
  echo "[gsd-observer] Observer ready in session: $SESSION"
12
12
  exit 0
@@ -11,7 +11,7 @@ export GSD_WORKER_SESSION="gsd-worker-${PROJECT_NAME}"
11
11
  "$SCRIPT_DIR/start-worker.sh" "$PROJECT_DIR"
12
12
 
13
13
  # Open Terminal windows attached to each session
14
- osascript <<EOF
14
+ osascript <<EOF 2>/dev/null || true
15
15
  tell application "Terminal"
16
16
  do script "tmux attach -t ${GSD_OBSERVER_SESSION}"
17
17
  do script "tmux attach -t ${GSD_WORKER_SESSION}"