@integrity-labs/agt-cli 0.28.50 → 0.28.52
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-ZBQ4C6EA.js → chunk-GNRNPCJ6.js} +22 -7
- package/dist/{chunk-ZBQ4C6EA.js.map → chunk-GNRNPCJ6.js.map} +1 -1
- package/dist/{chunk-NCP6GVXS.js → chunk-QK4EU3TC.js} +2 -2
- package/dist/{chunk-MJKGJXKV.js → chunk-WBZFCFU6.js} +4 -1
- package/dist/chunk-WBZFCFU6.js.map +1 -0
- package/dist/{claude-pair-runtime-SAJMKK2M.js → claude-pair-runtime-XU7GFFQH.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/mcp/augmented-admin.js +55 -0
- package/dist/{persistent-session-HL2ANGTL.js → persistent-session-YSE6OUM6.js} +3 -3
- package/dist/{responsiveness-probe-KSY4M6NR.js → responsiveness-probe-4BU75QQV.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-MJKGJXKV.js.map +0 -1
- /package/dist/{chunk-NCP6GVXS.js.map → chunk-QK4EU3TC.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SAJMKK2M.js.map → claude-pair-runtime-XU7GFFQH.js.map} +0 -0
- /package/dist/{persistent-session-HL2ANGTL.js.map → persistent-session-YSE6OUM6.js.map} +0 -0
- /package/dist/{responsiveness-probe-KSY4M6NR.js.map → responsiveness-probe-4BU75QQV.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
success,
|
|
38
38
|
table,
|
|
39
39
|
warn
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-GNRNPCJ6.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
renderTemplate,
|
|
65
65
|
resolveChannels,
|
|
66
66
|
serializeManifestForSlackCli
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-WBZFCFU6.js";
|
|
68
68
|
|
|
69
69
|
// src/bin/agt.ts
|
|
70
70
|
import { join as join22 } from "path";
|
|
@@ -4777,7 +4777,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4777
4777
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4778
4778
|
import chalk18 from "chalk";
|
|
4779
4779
|
import ora16 from "ora";
|
|
4780
|
-
var cliVersion = true ? "0.28.
|
|
4780
|
+
var cliVersion = true ? "0.28.52" : "dev";
|
|
4781
4781
|
async function fetchLatestVersion() {
|
|
4782
4782
|
const host2 = getHost();
|
|
4783
4783
|
if (!host2) return null;
|
|
@@ -5791,7 +5791,7 @@ function handleError(err) {
|
|
|
5791
5791
|
}
|
|
5792
5792
|
|
|
5793
5793
|
// src/bin/agt.ts
|
|
5794
|
-
var cliVersion2 = true ? "0.28.
|
|
5794
|
+
var cliVersion2 = true ? "0.28.52" : "dev";
|
|
5795
5795
|
var program = new Command();
|
|
5796
5796
|
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");
|
|
5797
5797
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveConnectivityProbe,
|
|
23
23
|
worseConnectivityOutcome,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WBZFCFU6.js";
|
|
26
26
|
|
|
27
27
|
// ../../packages/core/dist/integrations/registry.js
|
|
28
28
|
var INTEGRATION_REGISTRY = [
|
|
@@ -7355,7 +7355,7 @@ function requireHost() {
|
|
|
7355
7355
|
}
|
|
7356
7356
|
|
|
7357
7357
|
// src/lib/api-client.ts
|
|
7358
|
-
var agtCliVersion = true ? "0.28.
|
|
7358
|
+
var agtCliVersion = true ? "0.28.52" : "dev";
|
|
7359
7359
|
var lastConfigHash = null;
|
|
7360
7360
|
function setConfigHash(hash) {
|
|
7361
7361
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7636,6 +7636,15 @@ var HostFlagStore = class {
|
|
|
7636
7636
|
log;
|
|
7637
7637
|
env;
|
|
7638
7638
|
initialised = false;
|
|
7639
|
+
/**
|
|
7640
|
+
* Per-flag record of the heartbeat value we last warned about being masked by
|
|
7641
|
+
* an env override. Used to log the env-masking WARN only on *transition* (when
|
|
7642
|
+
* masking newly begins or the masked-over heartbeat value changes) rather than
|
|
7643
|
+
* on every heartbeat — a stable, intentional operator override (e.g. a canary
|
|
7644
|
+
* pin in `agt-manager.env`) otherwise re-logs the same WARN every ~90s forever
|
|
7645
|
+
* (ENG-6478). A key is deleted when masking stops, so a later re-mask warns again.
|
|
7646
|
+
*/
|
|
7647
|
+
lastMaskWarn = /* @__PURE__ */ new Map();
|
|
7639
7648
|
constructor(opts) {
|
|
7640
7649
|
this.cachePath = opts.cachePath;
|
|
7641
7650
|
this.log = opts.log ?? (() => {
|
|
@@ -7682,10 +7691,16 @@ var HostFlagStore = class {
|
|
|
7682
7691
|
}
|
|
7683
7692
|
if (definition.envVar) {
|
|
7684
7693
|
const envValue = coerceEnvValue(definition, this.env[definition.envVar]);
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7694
|
+
const masking = envValue !== void 0 && after !== void 0 && envValue !== after;
|
|
7695
|
+
if (masking) {
|
|
7696
|
+
if (this.lastMaskWarn.get(definition.key) !== after) {
|
|
7697
|
+
this.log(
|
|
7698
|
+
`[flags] WARN env override ${definition.envVar}=${envValue} is masking heartbeat value ${after} for '${definition.key}' (env wins until unset)`
|
|
7699
|
+
);
|
|
7700
|
+
this.lastMaskWarn.set(definition.key, after);
|
|
7701
|
+
}
|
|
7702
|
+
} else {
|
|
7703
|
+
this.lastMaskWarn.delete(definition.key);
|
|
7689
7704
|
}
|
|
7690
7705
|
}
|
|
7691
7706
|
}
|
|
@@ -8636,4 +8651,4 @@ export {
|
|
|
8636
8651
|
managerInstallSystemUnitCommand,
|
|
8637
8652
|
managerUninstallSystemUnitCommand
|
|
8638
8653
|
};
|
|
8639
|
-
//# sourceMappingURL=chunk-
|
|
8654
|
+
//# sourceMappingURL=chunk-GNRNPCJ6.js.map
|