@integrity-labs/agt-cli 0.28.1272 → 0.28.1274
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/{api-client-NKQCPDDZ.js → api-client-GIY2I6DY.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-QLNKB2E3.js → chunk-6ZGAF4SD.js} +16 -8
- package/dist/chunk-6ZGAF4SD.js.map +1 -0
- package/dist/{chunk-AIDGMBY5.js → chunk-END74F3P.js} +3 -3
- package/dist/{chunk-N6NICNIH.js → chunk-HG46MG2F.js} +10 -8
- package/dist/{chunk-N6NICNIH.js.map → chunk-HG46MG2F.js.map} +1 -1
- package/dist/{chunk-QOH2AE5I.js → chunk-MXCJUNEP.js} +9 -2
- package/dist/{chunk-QOH2AE5I.js.map → chunk-MXCJUNEP.js.map} +1 -1
- package/dist/{chunk-5J56SF6P.js → chunk-UTWVB3MI.js} +2 -2
- package/dist/{chunk-H2CESPPE.js → chunk-YHTQMJE3.js} +2 -2
- package/dist/{claude-code-updater-NWNHKBJE.js → claude-code-updater-U6ESCPIL.js} +3 -3
- package/dist/{claude-pair-runtime-EMBJDR4W.js → claude-pair-runtime-GZHUPW2V.js} +3 -3
- package/dist/lib/manager-worker.js +765 -447
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +8 -1
- package/dist/mcp/index.js +14 -5
- package/dist/mcp/origami.js +8 -1
- package/dist/mcp/slack-channel.js +8 -1
- package/dist/mcp/telegram-channel.js +8 -1
- package/dist/{persistent-session-7VJJ4AD7.js → persistent-session-C62TH4M6.js} +6 -4
- package/dist/{responsiveness-probe-XGTPNCKO.js → responsiveness-probe-FMFTIMHU.js} +4 -4
- package/dist/{session-auth-dead-4CCOVCU3.js → session-auth-dead-B6UDTSKE.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-QLNKB2E3.js.map +0 -1
- /package/dist/{api-client-NKQCPDDZ.js.map → api-client-GIY2I6DY.js.map} +0 -0
- /package/dist/{chunk-AIDGMBY5.js.map → chunk-END74F3P.js.map} +0 -0
- /package/dist/{chunk-5J56SF6P.js.map → chunk-UTWVB3MI.js.map} +0 -0
- /package/dist/{chunk-H2CESPPE.js.map → chunk-YHTQMJE3.js.map} +0 -0
- /package/dist/{claude-code-updater-NWNHKBJE.js.map → claude-code-updater-U6ESCPIL.js.map} +0 -0
- /package/dist/{claude-pair-runtime-EMBJDR4W.js.map → claude-pair-runtime-GZHUPW2V.js.map} +0 -0
- /package/dist/{persistent-session-7VJJ4AD7.js.map → persistent-session-C62TH4M6.js.map} +0 -0
- /package/dist/{responsiveness-probe-XGTPNCKO.js.map → responsiveness-probe-FMFTIMHU.js.map} +0 -0
- /package/dist/{session-auth-dead-4CCOVCU3.js.map → session-auth-dead-B6UDTSKE.js.map} +0 -0
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
mintRotatedHostKey,
|
|
16
16
|
probeHostKey,
|
|
17
17
|
setConfigHash
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-END74F3P.js";
|
|
19
|
+
import "./chunk-MXCJUNEP.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
22
22
|
ApiError,
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
probeHostKey,
|
|
37
37
|
setConfigHash
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=api-client-
|
|
39
|
+
//# sourceMappingURL=api-client-GIY2I6DY.js.map
|
package/dist/bin/agt.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
success,
|
|
32
32
|
table,
|
|
33
33
|
warn
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-HG46MG2F.js";
|
|
35
35
|
import {
|
|
36
36
|
ApiError,
|
|
37
37
|
PROD_AGT_HOST,
|
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
getHost,
|
|
43
43
|
getHostId,
|
|
44
44
|
setActiveTeam
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-END74F3P.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir,
|
|
48
48
|
isSessionResumeDisabled,
|
|
49
49
|
readDirectChatSessionState
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-6ZGAF4SD.js";
|
|
51
51
|
import {
|
|
52
52
|
markDailySessionSpawn,
|
|
53
53
|
sessionFileExists,
|
|
54
54
|
sessionTranscriptDir
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-YHTQMJE3.js";
|
|
56
56
|
import "../chunk-XL2HPM67.js";
|
|
57
57
|
import "../chunk-6HBXEJHO.js";
|
|
58
58
|
import "../chunk-XWVM4KPK.js";
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
requiredMcpWildcard,
|
|
86
86
|
resolveChannels,
|
|
87
87
|
serializeManifestForSlackCli
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-MXCJUNEP.js";
|
|
89
89
|
import "../chunk-AIUIMEUS.js";
|
|
90
90
|
import "../chunk-DGUM43GV.js";
|
|
91
91
|
|
|
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5207
5207
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
5208
5208
|
import chalk17 from "chalk";
|
|
5209
5209
|
import ora15 from "ora";
|
|
5210
|
-
var cliVersion = true ? "0.28.
|
|
5210
|
+
var cliVersion = true ? "0.28.1274" : "dev";
|
|
5211
5211
|
async function fetchLatestVersion() {
|
|
5212
5212
|
const host2 = getHost();
|
|
5213
5213
|
if (!host2) return null;
|
|
@@ -6467,7 +6467,7 @@ function handleError(err) {
|
|
|
6467
6467
|
}
|
|
6468
6468
|
|
|
6469
6469
|
// src/bin/agt.ts
|
|
6470
|
-
var cliVersion2 = true ? "0.28.
|
|
6470
|
+
var cliVersion2 = true ? "0.28.1274" : "dev";
|
|
6471
6471
|
var program = new Command();
|
|
6472
6472
|
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");
|
|
6473
6473
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
rotateDailySession,
|
|
5
5
|
sessionFileExists,
|
|
6
6
|
todayLocalIso
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YHTQMJE3.js";
|
|
8
8
|
import {
|
|
9
9
|
classifyUnanswerablePane,
|
|
10
10
|
customApiKeyDialogKeys,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
remoteMcpConnectionEnvInfix,
|
|
55
55
|
remoteMcpConnectionLabel,
|
|
56
56
|
remoteMcpConnectionScopedEnvVar
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-MXCJUNEP.js";
|
|
58
58
|
import {
|
|
59
59
|
CLAUDE_CONFIG_DIR_ENV,
|
|
60
60
|
approveApiKeyInClaudeConfig,
|
|
@@ -4042,6 +4042,16 @@ function projectClaudeSettingsNotice(codeName, outcome) {
|
|
|
4042
4042
|
}
|
|
4043
4043
|
}
|
|
4044
4044
|
|
|
4045
|
+
// src/lib/isolation-allowlist.ts
|
|
4046
|
+
function warnIgnoredIsolationAllowlist(log2, env = process.env) {
|
|
4047
|
+
const raw = env.AGT_ISOLATION_AGENTS;
|
|
4048
|
+
if (raw == null || raw.trim() === "") return null;
|
|
4049
|
+
const scope = env.AGT_ISOLATION === "docker" ? "Docker isolation is requested (AGT_ISOLATION=docker) for every agent on this host; the isolation readiness check reports whether it is in effect" : 'AGT_ISOLATION is not "docker", so no agent on this host is isolated';
|
|
4050
|
+
const msg = `[isolation] WARNING: AGT_ISOLATION_AGENTS is set (${JSON.stringify(raw)}) but is IGNORED since ENG-11871: ${scope}. Remove it from the manager environment (e.g. /etc/systemd/system/agt-manager.service.d/*.conf). To take a host out of isolation, follow the ADR-0014 rollback: a last-sorting drop-in setting Environment="AGT_ISOLATION=none" (deleting 10-isolation.conf alone is not enough, the unit body also sets it).`;
|
|
4051
|
+
log2(msg);
|
|
4052
|
+
return msg;
|
|
4053
|
+
}
|
|
4054
|
+
|
|
4045
4055
|
// src/lib/persistent-session.ts
|
|
4046
4056
|
var OPENROUTER_ANTHROPIC_BASE_URL = "https://openrouter.ai/api";
|
|
4047
4057
|
function syncClaudeCredsToRoot() {
|
|
@@ -4127,11 +4137,8 @@ function resolveClaudeBinary() {
|
|
|
4127
4137
|
}
|
|
4128
4138
|
return "claude";
|
|
4129
4139
|
}
|
|
4130
|
-
function isolationMode(
|
|
4131
|
-
|
|
4132
|
-
const allow = (process.env.AGT_ISOLATION_AGENTS ?? "").split(",").map((s) => s.trim()).filter(Boolean);
|
|
4133
|
-
if (allow.length > 0 && (!codeName || !allow.includes(codeName))) return "none";
|
|
4134
|
-
return "docker";
|
|
4140
|
+
function isolationMode(_codeName) {
|
|
4141
|
+
return process.env.AGT_ISOLATION === "docker" ? "docker" : "none";
|
|
4135
4142
|
}
|
|
4136
4143
|
var dockerReadinessCache = null;
|
|
4137
4144
|
var isolationDegradationLogged = false;
|
|
@@ -6413,6 +6420,7 @@ export {
|
|
|
6413
6420
|
resolveModelPolicySpawnEnv,
|
|
6414
6421
|
failoverRestartNotice,
|
|
6415
6422
|
policyResolvedModel,
|
|
6423
|
+
warnIgnoredIsolationAllowlist,
|
|
6416
6424
|
resolveSessionTz,
|
|
6417
6425
|
resolveOAuthCredAction,
|
|
6418
6426
|
resolveClaudeBinary,
|
|
@@ -6496,4 +6504,4 @@ export {
|
|
|
6496
6504
|
stopAllSessionsAndWait,
|
|
6497
6505
|
getProjectDir
|
|
6498
6506
|
};
|
|
6499
|
-
//# sourceMappingURL=chunk-
|
|
6507
|
+
//# sourceMappingURL=chunk-6ZGAF4SD.js.map
|