@integrity-labs/agt-cli 0.28.480 → 0.28.481
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-EOH75U22.js → chunk-4XLEJP7G.js} +30 -13
- package/dist/chunk-4XLEJP7G.js.map +1 -0
- package/dist/{chunk-JBDLGPQU.js → chunk-YYNUZWK7.js} +32 -26
- package/dist/chunk-YYNUZWK7.js.map +1 -0
- package/dist/{claude-pair-runtime-RU7ZJDDB.js → claude-pair-runtime-7CI63PCV.js} +2 -2
- package/dist/lib/manager-worker.js +11 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +18 -10
- package/dist/mcp/origami.js +18 -10
- package/dist/mcp/slack-channel.js +18 -10
- package/dist/mcp/telegram-channel.js +18 -10
- package/dist/{persistent-session-USTI74Q5.js → persistent-session-Q4YE53I5.js} +2 -2
- package/dist/{responsiveness-probe-3PRCIAML.js → responsiveness-probe-MOFFFCOY.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-EOH75U22.js.map +0 -1
- package/dist/chunk-JBDLGPQU.js.map +0 -1
- /package/dist/{claude-pair-runtime-RU7ZJDDB.js.map → claude-pair-runtime-7CI63PCV.js.map} +0 -0
- /package/dist/{persistent-session-USTI74Q5.js.map → persistent-session-Q4YE53I5.js.map} +0 -0
- /package/dist/{responsiveness-probe-3PRCIAML.js.map → responsiveness-probe-MOFFFCOY.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-YYNUZWK7.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
requiredMcpWildcard,
|
|
72
72
|
resolveChannels,
|
|
73
73
|
serializeManifestForSlackCli
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-4XLEJP7G.js";
|
|
75
75
|
import "../chunk-XWVM4KPK.js";
|
|
76
76
|
|
|
77
77
|
// src/bin/agt.ts
|
|
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4830
4830
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4831
4831
|
import chalk18 from "chalk";
|
|
4832
4832
|
import ora16 from "ora";
|
|
4833
|
-
var cliVersion = true ? "0.28.
|
|
4833
|
+
var cliVersion = true ? "0.28.481" : "dev";
|
|
4834
4834
|
async function fetchLatestVersion() {
|
|
4835
4835
|
const host2 = getHost();
|
|
4836
4836
|
if (!host2) return null;
|
|
@@ -6002,7 +6002,7 @@ function handleError(err) {
|
|
|
6002
6002
|
}
|
|
6003
6003
|
|
|
6004
6004
|
// src/bin/agt.ts
|
|
6005
|
-
var cliVersion2 = true ? "0.28.
|
|
6005
|
+
var cliVersion2 = true ? "0.28.481" : "dev";
|
|
6006
6006
|
var program = new Command();
|
|
6007
6007
|
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");
|
|
6008
6008
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import { spawn as spawn2, execSync as execSync2, execFileSync as execFileSync3 } from "child_process";
|
|
7
7
|
import { join as join5, dirname as dirname3 } from "path";
|
|
8
8
|
import { homedir as homedir5, platform, userInfo as userInfo2 } from "os";
|
|
9
|
-
import { existsSync as existsSync6, readFileSync as readFileSync7, readdirSync as readdirSync3, writeFileSync as writeFileSync5, appendFileSync as appendFileSync2, mkdirSync as mkdirSync5, chmodSync as chmodSync3, copyFileSync, rmSync as rmSync3 } from "fs";
|
|
9
|
+
import { existsSync as existsSync6, readFileSync as readFileSync7, readdirSync as readdirSync3, writeFileSync as writeFileSync5, appendFileSync as appendFileSync2, mkdirSync as mkdirSync5, chmodSync as chmodSync3, copyFileSync, rmSync as rmSync3, lstatSync, realpathSync } from "fs";
|
|
10
10
|
|
|
11
11
|
// src/lib/mcp-sanitize.ts
|
|
12
12
|
import { readFileSync, writeFileSync } from "fs";
|
|
@@ -9601,17 +9601,25 @@ var FLAG_REGISTRY = [
|
|
|
9601
9601
|
},
|
|
9602
9602
|
{
|
|
9603
9603
|
key: "synthetic-probe-enabled",
|
|
9604
|
-
description: 'Global gate for the agent synthetic-liveness cron (ENG-8074). When OFF, the cron exits after reading the flag \u2014 no probes sent, no metrics emitted, no CloudWatch alarms fired, near-zero DB footprint.
|
|
9604
|
+
description: 'Global gate for the agent synthetic-liveness cron (ENG-8074). When OFF, the cron exits after reading the flag \u2014 no probes sent, no metrics emitted, no CloudWatch alarms fired, near-zero DB footprint. This is the fleet-wide kill switch for synthetic probing, flippable per-environment from the admin Feature Flags page. The AUGMENTED_SYNTHETIC_PROBE_ENABLED env var is the declared envVar for this flag (ADR-0022): set it in the deploy environment to "true"/"1" to force-enable or "false"/"0" to force-disable without a DB lookup. Leave it UNSET (the default on every stage since ENG-8303) so this flag governs. Evaluated as a global stage value by the central cron (no per-org targeting). Boolean gate.',
|
|
9605
9605
|
flagType: "boolean",
|
|
9606
|
-
//
|
|
9607
|
-
//
|
|
9608
|
-
//
|
|
9609
|
-
//
|
|
9610
|
-
//
|
|
9611
|
-
//
|
|
9612
|
-
//
|
|
9613
|
-
//
|
|
9614
|
-
|
|
9606
|
+
// ON by default — this deliberately matches the fleet's live behaviour rather than the
|
|
9607
|
+
// dark default ENG-8074 declared, and the history is worth keeping straight:
|
|
9608
|
+
//
|
|
9609
|
+
// ENG-8074 set `false` to hold the probe dark until its reliability issues were fixed
|
|
9610
|
+
// (probe_timeout false positives, ENG-8048; open cron_invocation_errors alarms). That
|
|
9611
|
+
// default was never reachable: sst.config.ts pinned the declared envVar to the literal
|
|
9612
|
+
// 'true' on every deployed stage, and a declared envVar outranks the DB value, so the
|
|
9613
|
+
// probe ran throughout (ENG-8303). ENG-8303 un-pinned the env var, which hands this flag
|
|
9614
|
+
// real authority for the first time — so its value must now be chosen for the fleet it
|
|
9615
|
+
// actually controls, not inherited from an intent that never took effect.
|
|
9616
|
+
//
|
|
9617
|
+
// `true` keeps prod exactly as it has been running. Flipping to `false` here instead
|
|
9618
|
+
// would have silently switched agent liveness probing off at the next deploy — including
|
|
9619
|
+
// the prod verification of ENG-8302's PutMetricAlarm quota fix, which needs the cron
|
|
9620
|
+
// alive to observe. The reliability concern behind ENG-8074 is addressed by ENG-8302;
|
|
9621
|
+
// if it recurs, the kill switch is now a genuine admin-UI flip rather than a redeploy.
|
|
9622
|
+
defaultValue: true,
|
|
9615
9623
|
envVar: "AUGMENTED_SYNTHETIC_PROBE_ENABLED"
|
|
9616
9624
|
},
|
|
9617
9625
|
{
|
|
@@ -14284,8 +14292,17 @@ async function stopAllSessionsAndWait(log2, opts) {
|
|
|
14284
14292
|
}
|
|
14285
14293
|
await new Promise((resolve) => setTimeout(resolve, Math.min(opts.timeoutMs, 2e3)));
|
|
14286
14294
|
}
|
|
14295
|
+
function resolveRealAgentPath(codeNamePath) {
|
|
14296
|
+
try {
|
|
14297
|
+
if (lstatSync(codeNamePath).isSymbolicLink()) {
|
|
14298
|
+
return realpathSync(codeNamePath);
|
|
14299
|
+
}
|
|
14300
|
+
} catch {
|
|
14301
|
+
}
|
|
14302
|
+
return codeNamePath;
|
|
14303
|
+
}
|
|
14287
14304
|
function getProjectDir(codeName) {
|
|
14288
|
-
return join5(homedir5(), ".augmented", codeName, "project");
|
|
14305
|
+
return join5(resolveRealAgentPath(join5(homedir5(), ".augmented", codeName)), "project");
|
|
14289
14306
|
}
|
|
14290
14307
|
|
|
14291
14308
|
export {
|
|
@@ -14460,4 +14477,4 @@ export {
|
|
|
14460
14477
|
stopAllSessionsAndWait,
|
|
14461
14478
|
getProjectDir
|
|
14462
14479
|
};
|
|
14463
|
-
//# sourceMappingURL=chunk-
|
|
14480
|
+
//# sourceMappingURL=chunk-4XLEJP7G.js.map
|