@integrity-labs/agt-cli 0.28.110 → 0.28.112
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-D22IMWAZ.js → chunk-63VABDNF.js} +1 -1
- package/dist/{chunk-O4OYAFTZ.js → chunk-O3YG5F6U.js} +8 -4
- package/dist/chunk-O3YG5F6U.js.map +1 -0
- package/dist/{chunk-XQTQRU7P.js → chunk-XJYSXBCO.js} +28 -3
- package/dist/chunk-XJYSXBCO.js.map +1 -0
- package/dist/{claude-pair-runtime-6DZEDQAG.js → claude-pair-runtime-RYAG2B2J.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/{persistent-session-RMRG5HXI.js → persistent-session-F4OLAQ6B.js} +3 -3
- package/dist/{responsiveness-probe-QU5TY2K4.js → responsiveness-probe-EI47P45I.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-O4OYAFTZ.js.map +0 -1
- package/dist/chunk-XQTQRU7P.js.map +0 -1
- /package/dist/{chunk-D22IMWAZ.js.map → chunk-63VABDNF.js.map} +0 -0
- /package/dist/{claude-pair-runtime-6DZEDQAG.js.map → claude-pair-runtime-RYAG2B2J.js.map} +0 -0
- /package/dist/{persistent-session-RMRG5HXI.js.map → persistent-session-F4OLAQ6B.js.map} +0 -0
- /package/dist/{responsiveness-probe-QU5TY2K4.js.map → responsiveness-probe-EI47P45I.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-XJYSXBCO.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-63VABDNF.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.112" : "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.112" : "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) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMissingVar,
|
|
4
4
|
isClaudeFastMode,
|
|
5
5
|
probeMcpEnvSubstitution
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-63VABDNF.js";
|
|
7
7
|
import {
|
|
8
8
|
reapOrphanChannelMcps
|
|
9
9
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -658,7 +658,7 @@ function restartEgressSidecar(codeName) {
|
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
function buildDockerRunCommand(args) {
|
|
661
|
-
const { codeName, agentId, wrapperPath, projectDir, homeDir, runId, passApiKey, egress } = args;
|
|
661
|
+
const { codeName, agentId, wrapperPath, projectDir, homeDir, runId, passApiKey, egress, npmCache } = args;
|
|
662
662
|
const q = (s) => `'${s.replace(/'/g, `'\\''`)}'`;
|
|
663
663
|
const agentDir = join2(homeDir, ".augmented", codeName);
|
|
664
664
|
const agentIdDir = join2(homeDir, ".augmented", agentId);
|
|
@@ -672,6 +672,7 @@ function buildDockerRunCommand(args) {
|
|
|
672
672
|
`-v ${q(`${claudeHome}:${claudeHome}`)}`,
|
|
673
673
|
`-v ${q(`${claudeJson}:${claudeJson}`)}`
|
|
674
674
|
];
|
|
675
|
+
if (npmCache) mounts.push(`-v ${q(`${npmCache}:${npmCache}:ro`)}`);
|
|
675
676
|
const image = process.env.AGT_ISOLATION_IMAGE || "agt-runtime:latest";
|
|
676
677
|
const memory = process.env.AGT_ISOLATION_MEMORY || "512m";
|
|
677
678
|
const cpus = process.env.AGT_ISOLATION_CPUS || "1.0";
|
|
@@ -992,6 +993,8 @@ function spawnSession(config, session) {
|
|
|
992
993
|
egress = { allowlistHostPath };
|
|
993
994
|
log(`[persistent-session] egress allowlist for '${codeName}': ${allowlist.length} domains (deny-by-default)`);
|
|
994
995
|
}
|
|
996
|
+
const npmCachePath = join2(sessionHomeDir, ".npm");
|
|
997
|
+
const npmCache = existsSync2(npmCachePath) ? npmCachePath : void 0;
|
|
995
998
|
const claudeCmd = isolationMode(codeName) === "docker" ? buildDockerRunCommand({
|
|
996
999
|
codeName,
|
|
997
1000
|
agentId: config.agentId,
|
|
@@ -1000,7 +1003,8 @@ function spawnSession(config, session) {
|
|
|
1000
1003
|
homeDir: sessionHomeDir,
|
|
1001
1004
|
runId: config.runId ?? void 0,
|
|
1002
1005
|
passApiKey: claudeAuthMode === "api_key" && !!config.anthropicApiKey,
|
|
1003
|
-
egress
|
|
1006
|
+
egress,
|
|
1007
|
+
npmCache
|
|
1004
1008
|
}) : JSON.stringify(wrapperPath);
|
|
1005
1009
|
const tmuxEnv = {
|
|
1006
1010
|
...process.env,
|
|
@@ -1565,4 +1569,4 @@ export {
|
|
|
1565
1569
|
stopAllSessionsAndWait,
|
|
1566
1570
|
getProjectDir
|
|
1567
1571
|
};
|
|
1568
|
-
//# sourceMappingURL=chunk-
|
|
1572
|
+
//# sourceMappingURL=chunk-O3YG5F6U.js.map
|