@integrity-labs/agt-cli 0.28.114 → 0.28.115
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 +3 -3
- package/dist/{chunk-UMLIIH4T.js → chunk-QUZUBFG6.js} +2 -2
- package/dist/{chunk-LU55ZAOK.js → chunk-UN77SCIM.js} +4 -7
- package/dist/chunk-UN77SCIM.js.map +1 -0
- package/dist/{claude-pair-runtime-ILZX4PUT.js → claude-pair-runtime-D775URZU.js} +2 -2
- package/dist/lib/manager-worker.js +7 -7
- package/dist/{persistent-session-VSY2PPSJ.js → persistent-session-YK3ZCRLF.js} +2 -2
- package/dist/{responsiveness-probe-TZPXX73W.js → responsiveness-probe-TXOKXJPR.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-LU55ZAOK.js.map +0 -1
- /package/dist/{chunk-UMLIIH4T.js.map → chunk-QUZUBFG6.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ILZX4PUT.js.map → claude-pair-runtime-D775URZU.js.map} +0 -0
- /package/dist/{persistent-session-VSY2PPSJ.js.map → persistent-session-YK3ZCRLF.js.map} +0 -0
- /package/dist/{responsiveness-probe-TZPXX73W.js.map → responsiveness-probe-TXOKXJPR.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-QUZUBFG6.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -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.115" : "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.115" : "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) => {
|
|
@@ -7625,7 +7625,7 @@ function requireHost() {
|
|
|
7625
7625
|
}
|
|
7626
7626
|
|
|
7627
7627
|
// src/lib/api-client.ts
|
|
7628
|
-
var agtCliVersion = true ? "0.28.
|
|
7628
|
+
var agtCliVersion = true ? "0.28.115" : "dev";
|
|
7629
7629
|
var lastConfigHash = null;
|
|
7630
7630
|
function setConfigHash(hash) {
|
|
7631
7631
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8922,4 +8922,4 @@ export {
|
|
|
8922
8922
|
managerInstallSystemUnitCommand,
|
|
8923
8923
|
managerUninstallSystemUnitCommand
|
|
8924
8924
|
};
|
|
8925
|
-
//# sourceMappingURL=chunk-
|
|
8925
|
+
//# sourceMappingURL=chunk-QUZUBFG6.js.map
|
|
@@ -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
|
|
661
|
+
const { codeName, agentId, wrapperPath, projectDir, homeDir, runId, passApiKey, egress } = 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,12 +672,12 @@ 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`)}`);
|
|
676
675
|
const image = process.env.AGT_ISOLATION_IMAGE || "agt-runtime:latest";
|
|
677
676
|
const memory = process.env.AGT_ISOLATION_MEMORY || "2g";
|
|
678
677
|
const cpus = process.env.AGT_ISOLATION_CPUS || "1.0";
|
|
679
678
|
const pids = process.env.AGT_ISOLATION_PIDS || "512";
|
|
680
679
|
const envArgs = [`-e ${q(`HOME=${homeDir}`)}`];
|
|
680
|
+
envArgs.push(`-e ${q(`npm_config_cache=${join2(agentDir, ".npm-cache")}`)}`);
|
|
681
681
|
if (passApiKey) envArgs.push("-e ANTHROPIC_API_KEY");
|
|
682
682
|
if (runId) envArgs.push(`-e ${q(`AGT_RUN_ID=${runId}`)}`);
|
|
683
683
|
const egressImage = process.env.AGT_EGRESS_IMAGE || "agt-squid:latest";
|
|
@@ -993,8 +993,6 @@ function spawnSession(config, session) {
|
|
|
993
993
|
egress = { allowlistHostPath };
|
|
994
994
|
log(`[persistent-session] egress allowlist for '${codeName}': ${allowlist.length} domains (deny-by-default)`);
|
|
995
995
|
}
|
|
996
|
-
const npmCachePath = join2(sessionHomeDir, ".npm");
|
|
997
|
-
const npmCache = existsSync2(npmCachePath) ? npmCachePath : void 0;
|
|
998
996
|
const claudeCmd = isolationMode(codeName) === "docker" ? buildDockerRunCommand({
|
|
999
997
|
codeName,
|
|
1000
998
|
agentId: config.agentId,
|
|
@@ -1003,8 +1001,7 @@ function spawnSession(config, session) {
|
|
|
1003
1001
|
homeDir: sessionHomeDir,
|
|
1004
1002
|
runId: config.runId ?? void 0,
|
|
1005
1003
|
passApiKey: claudeAuthMode === "api_key" && !!config.anthropicApiKey,
|
|
1006
|
-
egress
|
|
1007
|
-
npmCache
|
|
1004
|
+
egress
|
|
1008
1005
|
}) : JSON.stringify(wrapperPath);
|
|
1009
1006
|
const tmuxEnv = {
|
|
1010
1007
|
...process.env,
|
|
@@ -1569,4 +1566,4 @@ export {
|
|
|
1569
1566
|
stopAllSessionsAndWait,
|
|
1570
1567
|
getProjectDir
|
|
1571
1568
|
};
|
|
1572
|
-
//# sourceMappingURL=chunk-
|
|
1569
|
+
//# sourceMappingURL=chunk-UN77SCIM.js.map
|