@walwal-harness/cli 5.0.0 → 5.0.1

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.
@@ -50,8 +50,8 @@
50
50
  "actions/api-contract.json"
51
51
  ],
52
52
  "model": "opus",
53
- "thinking_mode": "ultraplan",
54
- "thinking_mode_description": "최고 수준의 계획 모드. 아키텍처 결정, API 설계, 서비스 분할에 깊은 사고 필요."
53
+ "thinking_mode": null,
54
+ "thinking_mode_description": null
55
55
  },
56
56
  "generator-backend": {
57
57
  "role": "NestJS MSA 서비스 구현, API 엔드포인트, DB 스키마",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walwal-harness/cli",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Production harness for AI agent engineering — Solo/Team mode, Planner, Generator(BE/FE), Evaluator(Func/Visual), optional Brainstormer. Supports React, Next.js, and Flutter FE stacks.",
5
5
  "bin": {
6
6
  "walwal-harness": "bin/init.js"
@@ -177,6 +177,16 @@ if [ "$DETACH" = true ]; then
177
177
  echo ""
178
178
  echo "Session created. Attach: tmux attach -t $SESSION_NAME"
179
179
  echo "Layout ready"
180
+ elif ! tty -s 2>/dev/null; then
181
+ # Non-terminal environment (e.g., Claude Code agent session)
182
+ # Try opening Terminal.app on macOS, otherwise detach silently
183
+ if [ "$(uname)" = "Darwin" ]; then
184
+ osascript -e "tell application \"Terminal\" to do script \"tmux attach -t $SESSION_NAME\"" 2>/dev/null && \
185
+ echo "OPENED_TERMINAL=true" || echo "Layout ready"
186
+ else
187
+ echo "Session created (non-terminal). Attach: tmux attach -t $SESSION_NAME"
188
+ echo "Layout ready"
189
+ fi
180
190
  else
181
191
  if [ -n "${TMUX:-}" ]; then
182
192
  tmux switch-client -t "$SESSION_NAME"