@cocorograph/hub-agent 0.7.1 → 0.7.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.
- package/package.json +1 -1
- package/src/main.mjs +5 -0
package/package.json
CHANGED
package/src/main.mjs
CHANGED
|
@@ -1179,6 +1179,7 @@ function startStateLoop({ client, plugins, logger, intervalMs, claudeBridge, rea
|
|
|
1179
1179
|
prev.permission_mode !== permissionMode ||
|
|
1180
1180
|
prev.stable !== stable ||
|
|
1181
1181
|
prev.proc_busy !== procBusy ||
|
|
1182
|
+
prev.child_busy !== childBusy ||
|
|
1182
1183
|
prev.stalled !== stalled
|
|
1183
1184
|
) {
|
|
1184
1185
|
lastByName.set(s.session_name, {
|
|
@@ -1187,6 +1188,7 @@ function startStateLoop({ client, plugins, logger, intervalMs, claudeBridge, rea
|
|
|
1187
1188
|
permission_mode: permissionMode,
|
|
1188
1189
|
stable,
|
|
1189
1190
|
proc_busy: procBusy,
|
|
1191
|
+
child_busy: childBusy,
|
|
1190
1192
|
stalled,
|
|
1191
1193
|
})
|
|
1192
1194
|
// 計装 (2026-06-19, 既定 OFF=2026-06-20): 状態変化時に値を記録する。常時 info はログ肥大の
|
|
@@ -1216,6 +1218,9 @@ function startStateLoop({ client, plugins, logger, intervalMs, claudeBridge, rea
|
|
|
1216
1218
|
permission_mode: permissionMode,
|
|
1217
1219
|
stable,
|
|
1218
1220
|
proc_busy: procBusy,
|
|
1221
|
+
// child_busy: outputActive を含まない真の子プロセス busy。frontend の shouldQueue が
|
|
1222
|
+
// 出力残り火 (proc_busy 残存) でアイドルなのにキューへ逃がす誤キュー (症状A) を断つために使う。
|
|
1223
|
+
child_busy: childBusy,
|
|
1219
1224
|
stalled,
|
|
1220
1225
|
})
|
|
1221
1226
|
}
|