@integrity-labs/agt-cli 0.28.649 → 0.28.651
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-UTNGCJLO.js → chunk-EUXCRRZU.js} +12 -3
- package/dist/{chunk-UTNGCJLO.js.map → chunk-EUXCRRZU.js.map} +1 -1
- package/dist/{chunk-2E3VWDVA.js → chunk-EXMRWMXQ.js} +11 -10
- package/dist/{chunk-2E3VWDVA.js.map → chunk-EXMRWMXQ.js.map} +1 -1
- package/dist/{chunk-WP6LYCRS.js → chunk-V5MUX3GI.js} +14 -7
- package/dist/chunk-V5MUX3GI.js.map +1 -0
- package/dist/{claude-pair-runtime-XTTGSEFA.js → claude-pair-runtime-U52EA7NZ.js} +2 -2
- package/dist/lib/manager-worker.js +16 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +13 -6
- package/dist/mcp/index.js +13 -6
- package/dist/mcp/origami.js +13 -6
- package/dist/mcp/slack-channel.js +13 -6
- package/dist/mcp/telegram-channel.js +13 -6
- package/dist/{persistent-session-TE6CKC5R.js → persistent-session-DVZESZDD.js} +3 -3
- package/dist/{responsiveness-probe-BQNVH63L.js → responsiveness-probe-Q7SVASQS.js} +3 -3
- package/dist/{session-auth-dead-SZXCIJ4S.js → session-auth-dead-RV3Z64TM.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-WP6LYCRS.js.map +0 -1
- /package/dist/{claude-pair-runtime-XTTGSEFA.js.map → claude-pair-runtime-U52EA7NZ.js.map} +0 -0
- /package/dist/{persistent-session-TE6CKC5R.js.map → persistent-session-DVZESZDD.js.map} +0 -0
- /package/dist/{responsiveness-probe-BQNVH63L.js.map → responsiveness-probe-Q7SVASQS.js.map} +0 -0
- /package/dist/{session-auth-dead-SZXCIJ4S.js.map → session-auth-dead-RV3Z64TM.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-EXMRWMXQ.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-EUXCRRZU.js";
|
|
47
47
|
import {
|
|
48
48
|
AnchorSessionClient,
|
|
49
49
|
CHANNEL_REGISTRY,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
requiredMcpWildcard,
|
|
74
74
|
resolveChannels,
|
|
75
75
|
serializeManifestForSlackCli
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-V5MUX3GI.js";
|
|
77
77
|
import "../chunk-XWVM4KPK.js";
|
|
78
78
|
|
|
79
79
|
// src/bin/agt.ts
|
|
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4909
4909
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4910
4910
|
import chalk18 from "chalk";
|
|
4911
4911
|
import ora16 from "ora";
|
|
4912
|
-
var cliVersion = true ? "0.28.
|
|
4912
|
+
var cliVersion = true ? "0.28.651" : "dev";
|
|
4913
4913
|
async function fetchLatestVersion() {
|
|
4914
4914
|
const host2 = getHost();
|
|
4915
4915
|
if (!host2) return null;
|
|
@@ -6089,7 +6089,7 @@ function handleError(err) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
|
|
6091
6091
|
// src/bin/agt.ts
|
|
6092
|
-
var cliVersion2 = true ? "0.28.
|
|
6092
|
+
var cliVersion2 = true ? "0.28.651" : "dev";
|
|
6093
6093
|
var program = new Command();
|
|
6094
6094
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
6095
6095
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
rotateDailySession,
|
|
17
17
|
sessionFileExists,
|
|
18
18
|
todayLocalIso
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-V5MUX3GI.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-EUXCRRZU.js.map
|