@integrity-labs/agt-cli 0.28.384 → 0.28.386
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 +4 -4
- package/dist/{chunk-MQHDPJZD.js → chunk-LAO2CUZU.js} +20 -4
- package/dist/chunk-LAO2CUZU.js.map +1 -0
- package/dist/{chunk-IXN2AFOX.js → chunk-O37EMHVE.js} +15 -7
- package/dist/{chunk-IXN2AFOX.js.map → chunk-O37EMHVE.js.map} +1 -1
- package/dist/{claude-pair-runtime-OIK6HKPS.js → claude-pair-runtime-NVMVUAGS.js} +2 -2
- package/dist/lib/manager-worker.js +53 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +13 -0
- package/dist/mcp/origami.js +13 -0
- package/dist/mcp/slack-channel.js +13 -0
- package/dist/mcp/telegram-channel.js +13 -0
- package/dist/{persistent-session-MDQVHXKX.js → persistent-session-KQHWYEQF.js} +2 -2
- package/dist/{responsiveness-probe-CG7XM7GL.js → responsiveness-probe-5X6WVKUZ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-MQHDPJZD.js.map +0 -1
- /package/dist/{claude-pair-runtime-OIK6HKPS.js.map → claude-pair-runtime-NVMVUAGS.js.map} +0 -0
- /package/dist/{persistent-session-MDQVHXKX.js.map → persistent-session-KQHWYEQF.js.map} +0 -0
- /package/dist/{responsiveness-probe-CG7XM7GL.js.map → responsiveness-probe-5X6WVKUZ.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-O37EMHVE.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
renderTemplate,
|
|
71
71
|
resolveChannels,
|
|
72
72
|
serializeManifestForSlackCli
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-LAO2CUZU.js";
|
|
74
74
|
import "../chunk-XWVM4KPK.js";
|
|
75
75
|
|
|
76
76
|
// src/bin/agt.ts
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.386" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.386" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -8240,6 +8240,19 @@ var FLAG_REGISTRY = [
|
|
|
8240
8240
|
// with no pre-flags env gate to migrate (ADR-0022 / check-new-env-gates.sh).
|
|
8241
8241
|
defaultValue: "off"
|
|
8242
8242
|
},
|
|
8243
|
+
{
|
|
8244
|
+
key: "mcp-quarantine-mode",
|
|
8245
|
+
description: "MCP bind-failure auto-quarantine (ENG-7916): off = disabled, shadow = log only (would-quarantine without acting), enforce = mark integration status=unhealthy after DEFAULT_BIND_FAILURE_QUARANTINE_THRESHOLD consecutive missing|unreachable session-tool-bind verdicts. Unhealthy integrations are excluded from .mcp.json by the existing ENG-5292 writer, breaking the storm \u2192 restart \u2192 probe \u2192 storm loop for permanently-failing MCPs. Declared safe value is shadow (observe-only, non-destructive, stays diagnosable). A flag-DB read error degrades here. Flip to enforce only after shadow metrics confirm the threshold is tuned correctly.",
|
|
8246
|
+
flagType: "enum",
|
|
8247
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
8248
|
+
// shadow = observe-only safe default. See comment block above.
|
|
8249
|
+
defaultValue: "shadow",
|
|
8250
|
+
// Enforcement-mode control: like the sibling off/shadow/enforce flags
|
|
8251
|
+
// (channel-quarantine-mode, composio-hitl-mode) it's masked on public
|
|
8252
|
+
// surfaces and mutations require explicit confirmation (CodeRabbit PR #3576).
|
|
8253
|
+
sensitive: true
|
|
8254
|
+
// No envVar - net-new API-side control with no pre-flags env gate to migrate (ADR-0022).
|
|
8255
|
+
},
|
|
8243
8256
|
{
|
|
8244
8257
|
key: "channel-quarantine-mode",
|
|
8245
8258
|
description: "Optional-channel quarantine (ENG-5932): off = disabled, shadow = log matches only, enforce = quarantine.",
|
|
@@ -11907,8 +11920,9 @@ function resetRestartCount(codeName) {
|
|
|
11907
11920
|
const session = sessions2.get(codeName);
|
|
11908
11921
|
if (session) session.restartCount = 0;
|
|
11909
11922
|
}
|
|
11910
|
-
function collectDiagnostics(codeNames) {
|
|
11923
|
+
function collectDiagnostics(codeNames, quarantineEntriesFor) {
|
|
11911
11924
|
return codeNames.map((codeName) => {
|
|
11925
|
+
const quarantinedChannels = quarantineEntriesFor?.(codeName) ?? [];
|
|
11912
11926
|
const oc = getOpencodeSessionState(codeName);
|
|
11913
11927
|
if (oc) {
|
|
11914
11928
|
const serveAlive = isOpencodeSessionHealthy(codeName);
|
|
@@ -11925,7 +11939,8 @@ function collectDiagnostics(codeNames) {
|
|
|
11925
11939
|
screenCapture: null,
|
|
11926
11940
|
launchArgs: null,
|
|
11927
11941
|
channelStatus: null,
|
|
11928
|
-
isolated: isolationMode(codeName) === "docker"
|
|
11942
|
+
isolated: isolationMode(codeName) === "docker",
|
|
11943
|
+
quarantinedChannels
|
|
11929
11944
|
};
|
|
11930
11945
|
}
|
|
11931
11946
|
const session = sessions2.get(codeName);
|
|
@@ -11986,7 +12001,8 @@ function collectDiagnostics(codeNames) {
|
|
|
11986
12001
|
// limit size
|
|
11987
12002
|
launchArgs,
|
|
11988
12003
|
channelStatus,
|
|
11989
|
-
isolated: isolationMode(codeName) === "docker"
|
|
12004
|
+
isolated: isolationMode(codeName) === "docker",
|
|
12005
|
+
quarantinedChannels
|
|
11990
12006
|
};
|
|
11991
12007
|
});
|
|
11992
12008
|
}
|
|
@@ -12159,4 +12175,4 @@ export {
|
|
|
12159
12175
|
stopAllSessionsAndWait,
|
|
12160
12176
|
getProjectDir
|
|
12161
12177
|
};
|
|
12162
|
-
//# sourceMappingURL=chunk-
|
|
12178
|
+
//# sourceMappingURL=chunk-LAO2CUZU.js.map
|