@integrity-labs/agt-cli 0.27.75 → 0.27.77
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/dist/bin/agt.js +14 -14
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-AWAKTFWY.js → chunk-CMOPDYMM.js} +1 -1
- package/dist/{chunk-VTAXNSGS.js → chunk-FAR2FJBQ.js} +12 -1
- package/dist/{chunk-VTAXNSGS.js.map → chunk-FAR2FJBQ.js.map} +1 -1
- package/dist/{claude-pair-runtime-XMX2QOGP.js → claude-pair-runtime-EZ73GJW7.js} +2 -2
- package/dist/lib/manager-worker.js +11 -7
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-CXKB7FU3.js → persistent-session-4HYXVGKO.js} +2 -2
- package/dist/responsiveness-probe-NUGYDDMS.js +73 -0
- package/dist/responsiveness-probe-NUGYDDMS.js.map +1 -0
- package/package.json +1 -1
- package/dist/responsiveness-probe-EKB5VBCX.js +0 -33
- package/dist/responsiveness-probe-EKB5VBCX.js.map +0 -1
- /package/dist/{chunk-AWAKTFWY.js.map → chunk-CMOPDYMM.js.map} +0 -0
- /package/dist/{claude-pair-runtime-XMX2QOGP.js.map → claude-pair-runtime-EZ73GJW7.js.map} +0 -0
- /package/dist/{persistent-session-CXKB7FU3.js.map → persistent-session-4HYXVGKO.js.map} +0 -0
|
@@ -444,6 +444,9 @@ function checkChannelInputs(codeNames, io, config = {}, states = sharedStates) {
|
|
|
444
444
|
for (const key of [...states.keys()]) {
|
|
445
445
|
if (!live.has(key)) states.delete(key);
|
|
446
446
|
}
|
|
447
|
+
for (const key of [...giveUpCounts.keys()]) {
|
|
448
|
+
if (!live.has(key)) giveUpCounts.delete(key);
|
|
449
|
+
}
|
|
447
450
|
}
|
|
448
451
|
function checkOne(codeName, io, config, states) {
|
|
449
452
|
const pane = io.capturePane(codeName);
|
|
@@ -477,6 +480,7 @@ function checkOne(codeName, io, config, states) {
|
|
|
477
480
|
io.log(
|
|
478
481
|
`[channel-input-watchdog] '${codeName}': GIVING UP after ${maxFires} Enter attempts \u2014 input remains unsubmitted (input_hash=${hash}, len=${text.length})`
|
|
479
482
|
);
|
|
483
|
+
giveUpCounts.set(codeName, (giveUpCounts.get(codeName) ?? 0) + 1);
|
|
480
484
|
return;
|
|
481
485
|
}
|
|
482
486
|
if (fire) {
|
|
@@ -488,6 +492,12 @@ function checkOne(codeName, io, config, states) {
|
|
|
488
492
|
}
|
|
489
493
|
}
|
|
490
494
|
var sharedStates = /* @__PURE__ */ new Map();
|
|
495
|
+
var giveUpCounts = /* @__PURE__ */ new Map();
|
|
496
|
+
function takeWatchdogGiveUpCount(codeName) {
|
|
497
|
+
const count = giveUpCounts.get(codeName) ?? 0;
|
|
498
|
+
giveUpCounts.delete(codeName);
|
|
499
|
+
return count;
|
|
500
|
+
}
|
|
491
501
|
|
|
492
502
|
// src/lib/persistent-session.ts
|
|
493
503
|
function syncClaudeCredsToRoot() {
|
|
@@ -1418,6 +1428,7 @@ export {
|
|
|
1418
1428
|
isStaleForToday,
|
|
1419
1429
|
peekCurrentSession,
|
|
1420
1430
|
checkChannelInputs,
|
|
1431
|
+
takeWatchdogGiveUpCount,
|
|
1421
1432
|
resolveClaudeBinary,
|
|
1422
1433
|
writePersistentClaudeWrapper,
|
|
1423
1434
|
paneLogPath,
|
|
@@ -1441,4 +1452,4 @@ export {
|
|
|
1441
1452
|
stopAllSessionsAndWait,
|
|
1442
1453
|
getProjectDir
|
|
1443
1454
|
};
|
|
1444
|
-
//# sourceMappingURL=chunk-
|
|
1455
|
+
//# sourceMappingURL=chunk-FAR2FJBQ.js.map
|