@integrity-labs/agt-cli 0.28.649 → 0.28.650
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 +5 -5
- package/dist/{chunk-2E3VWDVA.js → chunk-5DXWVKCZ.js} +11 -10
- package/dist/{chunk-2E3VWDVA.js.map → chunk-5DXWVKCZ.js.map} +1 -1
- package/dist/{chunk-UTNGCJLO.js → chunk-CSLG2XMX.js} +12 -3
- package/dist/{chunk-UTNGCJLO.js.map → chunk-CSLG2XMX.js.map} +1 -1
- package/dist/{chunk-WP6LYCRS.js → chunk-ZAZKEL4Y.js} +1 -1
- package/dist/{chunk-WP6LYCRS.js.map → chunk-ZAZKEL4Y.js.map} +1 -1
- package/dist/{claude-pair-runtime-XTTGSEFA.js → claude-pair-runtime-ENRW5IDG.js} +2 -2
- package/dist/lib/manager-worker.js +16 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-TE6CKC5R.js → persistent-session-2JT7HIFF.js} +3 -3
- package/dist/{responsiveness-probe-BQNVH63L.js → responsiveness-probe-5TOZHK3H.js} +3 -3
- package/dist/{session-auth-dead-SZXCIJ4S.js → session-auth-dead-PFCVB7MZ.js} +2 -2
- package/package.json +1 -1
- /package/dist/{claude-pair-runtime-XTTGSEFA.js.map → claude-pair-runtime-ENRW5IDG.js.map} +0 -0
- /package/dist/{persistent-session-TE6CKC5R.js.map → persistent-session-2JT7HIFF.js.map} +0 -0
- /package/dist/{responsiveness-probe-BQNVH63L.js.map → responsiveness-probe-5TOZHK3H.js.map} +0 -0
- /package/dist/{session-auth-dead-SZXCIJ4S.js.map → session-auth-dead-PFCVB7MZ.js.map} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
rotateDailySession,
|
|
17
17
|
sessionFileExists,
|
|
18
18
|
todayLocalIso
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZAZKEL4Y.js";
|
|
20
20
|
import {
|
|
21
21
|
reapOrphanChannelMcps
|
|
22
22
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -2445,6 +2445,15 @@ function isMcpServersDialogVisible(screen) {
|
|
|
2445
2445
|
if (!block) return false;
|
|
2446
2446
|
return block.some((l) => MCP_DIALOG_OPTIONS.some((label) => optionRowDigit(l, label) !== null));
|
|
2447
2447
|
}
|
|
2448
|
+
var MCP_CHECKBOX_HEADER = /new MCP servers? found in this project/i;
|
|
2449
|
+
var MCP_CHECKED_ROW = /^[^\S\n]*(?:❯[^\S\n]*)?\[[✓x]\][^\S\n]*\S/iu;
|
|
2450
|
+
var MCP_CHECKBOX_BLOCK_LINES = 20;
|
|
2451
|
+
function isMcpCheckboxDialogVisible(screen) {
|
|
2452
|
+
const block = focusedModalBlock(screen, MCP_CHECKBOX_BLOCK_LINES);
|
|
2453
|
+
if (!block) return false;
|
|
2454
|
+
if (!block.some((l) => MCP_CHECKBOX_HEADER.test(l))) return false;
|
|
2455
|
+
return block.some((l) => MCP_CHECKED_ROW.test(l));
|
|
2456
|
+
}
|
|
2448
2457
|
function usageLimitModalBlock(screen) {
|
|
2449
2458
|
const lines = screen.split("\n");
|
|
2450
2459
|
let footer = -1;
|
|
@@ -2541,7 +2550,7 @@ function sweepDialogs(screen) {
|
|
|
2541
2550
|
logMessage: "Auto-accepted dev channels"
|
|
2542
2551
|
};
|
|
2543
2552
|
}
|
|
2544
|
-
if (isMcpServersDialogVisible(screen)) {
|
|
2553
|
+
if (isMcpServersDialogVisible(screen) || isMcpCheckboxDialogVisible(screen)) {
|
|
2545
2554
|
return {
|
|
2546
2555
|
kind: "mcp-servers",
|
|
2547
2556
|
keys: ["Enter"],
|
|
@@ -4313,4 +4322,4 @@ export {
|
|
|
4313
4322
|
stopAllSessionsAndWait,
|
|
4314
4323
|
getProjectDir
|
|
4315
4324
|
};
|
|
4316
|
-
//# sourceMappingURL=chunk-
|
|
4325
|
+
//# sourceMappingURL=chunk-CSLG2XMX.js.map
|