@walwal-harness/cli 5.0.0 → 5.0.2
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":
|
|
54
|
-
"thinking_mode_description":
|
|
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.
|
|
3
|
+
"version": "5.0.2",
|
|
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"
|
|
@@ -246,11 +246,14 @@ cmd_requeue() {
|
|
|
246
246
|
local fid="${1:-}"
|
|
247
247
|
if [ -z "$fid" ]; then echo "[queue] Usage: requeue <feature_id>"; exit 1; fi
|
|
248
248
|
|
|
249
|
+
acquire_queue_lock
|
|
250
|
+
|
|
249
251
|
jq --arg fid "$fid" '
|
|
250
252
|
.queue.failed -= [$fid] |
|
|
251
253
|
.queue.ready += [$fid]
|
|
252
254
|
' "$QUEUE" > "${QUEUE}.tmp" && mv "${QUEUE}.tmp" "$QUEUE"
|
|
253
255
|
|
|
256
|
+
release_queue_lock
|
|
254
257
|
echo "[queue] $fid requeued to ready."
|
|
255
258
|
}
|
|
256
259
|
|
package/scripts/harness-tmux.sh
CHANGED
|
@@ -177,6 +177,21 @@ 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 "
|
|
185
|
+
tell application \"Terminal\"
|
|
186
|
+
do script \"tmux attach -t $SESSION_NAME\"
|
|
187
|
+
activate
|
|
188
|
+
end tell
|
|
189
|
+
" 2>/dev/null && \
|
|
190
|
+
echo "OPENED_TERMINAL=true" || echo "Layout ready"
|
|
191
|
+
else
|
|
192
|
+
echo "Session created (non-terminal). Attach: tmux attach -t $SESSION_NAME"
|
|
193
|
+
echo "Layout ready"
|
|
194
|
+
fi
|
|
180
195
|
else
|
|
181
196
|
if [ -n "${TMUX:-}" ]; then
|
|
182
197
|
tmux switch-client -t "$SESSION_NAME"
|