@integrity-labs/agt-cli 0.28.337 → 0.28.338
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-J2WYEOBH.js → chunk-O4V3TMUI.js} +2 -1
- package/dist/{chunk-N7XPDFCW.js → chunk-S2JJ532Q.js} +16 -5
- package/dist/{chunk-N7XPDFCW.js.map → chunk-S2JJ532Q.js.map} +1 -1
- package/dist/{claude-pair-runtime-T7EFAWS5.js → claude-pair-runtime-XPWI2M2Z.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/{persistent-session-ENQXJNBJ.js → persistent-session-G7WNWWJZ.js} +2 -2
- package/dist/{responsiveness-probe-46XFHCPY.js → responsiveness-probe-X735BG2Q.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-J2WYEOBH.js.map → chunk-O4V3TMUI.js.map} +0 -0
- /package/dist/{claude-pair-runtime-T7EFAWS5.js.map → claude-pair-runtime-XPWI2M2Z.js.map} +0 -0
- /package/dist/{persistent-session-ENQXJNBJ.js.map → persistent-session-G7WNWWJZ.js.map} +0 -0
- /package/dist/{responsiveness-probe-46XFHCPY.js.map → responsiveness-probe-X735BG2Q.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-S2JJ532Q.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-O4V3TMUI.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.338" : "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.338" : "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) => {
|
|
@@ -10011,6 +10011,7 @@ export {
|
|
|
10011
10011
|
normalizeFlagValue,
|
|
10012
10012
|
coerceEnvValue,
|
|
10013
10013
|
FLAGS_SCHEMA_VERSION,
|
|
10014
|
+
LATE_BOUND_VARS,
|
|
10014
10015
|
expandTemplateVars,
|
|
10015
10016
|
parseEnvIntegrations,
|
|
10016
10017
|
sessionTranscriptDir,
|
|
@@ -10061,4 +10062,4 @@ export {
|
|
|
10061
10062
|
stopAllSessionsAndWait,
|
|
10062
10063
|
getProjectDir
|
|
10063
10064
|
};
|
|
10064
|
-
//# sourceMappingURL=chunk-
|
|
10065
|
+
//# sourceMappingURL=chunk-O4V3TMUI.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
INTEGRATION_REGISTRY,
|
|
3
|
+
LATE_BOUND_VARS,
|
|
3
4
|
OAUTH_PROVIDERS,
|
|
4
5
|
coerceEnvValue,
|
|
5
6
|
expandTemplateVars,
|
|
@@ -19,7 +20,7 @@ import {
|
|
|
19
20
|
resolveConnectivityProbe,
|
|
20
21
|
worseConnectivityOutcome,
|
|
21
22
|
wrapScheduledTaskPrompt
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-O4V3TMUI.js";
|
|
23
24
|
import {
|
|
24
25
|
parsePsRows
|
|
25
26
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -7042,7 +7043,7 @@ function requireHost() {
|
|
|
7042
7043
|
}
|
|
7043
7044
|
|
|
7044
7045
|
// src/lib/api-client.ts
|
|
7045
|
-
var agtCliVersion = true ? "0.28.
|
|
7046
|
+
var agtCliVersion = true ? "0.28.338" : "dev";
|
|
7046
7047
|
var lastConfigHash = null;
|
|
7047
7048
|
function setConfigHash(hash) {
|
|
7048
7049
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8309,11 +8310,21 @@ function readMcpStdioServerConfig(projectDir2, serverKey, env) {
|
|
|
8309
8310
|
const sub = (value) => {
|
|
8310
8311
|
if (!env) return value;
|
|
8311
8312
|
const r = expandTemplateVars(value, env);
|
|
8312
|
-
for (const name of r.unresolved) unresolved.add(name);
|
|
8313
|
+
for (const name of r.unresolved) if (!LATE_BOUND_VARS.has(name)) unresolved.add(name);
|
|
8313
8314
|
return r.value;
|
|
8314
8315
|
};
|
|
8315
8316
|
const resolvedEnv = {};
|
|
8316
|
-
for (const [k, v] of Object.entries(entry.env ?? {}))
|
|
8317
|
+
for (const [k, v] of Object.entries(entry.env ?? {})) {
|
|
8318
|
+
if (!env) {
|
|
8319
|
+
resolvedEnv[k] = v;
|
|
8320
|
+
continue;
|
|
8321
|
+
}
|
|
8322
|
+
const r = expandTemplateVars(v, env);
|
|
8323
|
+
const hardUnresolved = r.unresolved.filter((name) => !LATE_BOUND_VARS.has(name));
|
|
8324
|
+
for (const name of hardUnresolved) unresolved.add(name);
|
|
8325
|
+
if (hardUnresolved.length === 0 && r.unresolved.length > 0) continue;
|
|
8326
|
+
resolvedEnv[k] = r.value;
|
|
8327
|
+
}
|
|
8317
8328
|
return {
|
|
8318
8329
|
command: entry.command,
|
|
8319
8330
|
args: (entry.args ?? []).map(sub),
|
|
@@ -9476,4 +9487,4 @@ export {
|
|
|
9476
9487
|
managerInstallSystemUnitCommand,
|
|
9477
9488
|
managerUninstallSystemUnitCommand
|
|
9478
9489
|
};
|
|
9479
|
-
//# sourceMappingURL=chunk-
|
|
9490
|
+
//# sourceMappingURL=chunk-S2JJ532Q.js.map
|