@integrity-labs/agt-cli 0.27.69 → 0.27.71
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 +5 -29
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-HAM7MGCF.js → chunk-EWWJUVDY.js} +270 -32
- package/dist/chunk-EWWJUVDY.js.map +1 -0
- package/dist/{chunk-DA3KY3D2.js → chunk-H4AZSFJX.js} +2 -1
- package/dist/{claude-pair-runtime-6GSA5KRH.js → claude-pair-runtime-DKWME5OD.js} +2 -2
- package/dist/lib/manager-worker.js +13 -17
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-2WJIWIMQ.js → persistent-session-EGNKRWVB.js} +2 -2
- package/dist/{responsiveness-probe-RAWYP7LQ.js → responsiveness-probe-MW7CR63L.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-HAM7MGCF.js.map +0 -1
- /package/dist/{chunk-DA3KY3D2.js.map → chunk-H4AZSFJX.js.map} +0 -0
- /package/dist/{claude-pair-runtime-6GSA5KRH.js.map → claude-pair-runtime-DKWME5OD.js.map} +0 -0
- /package/dist/{persistent-session-2WJIWIMQ.js.map → persistent-session-EGNKRWVB.js.map} +0 -0
- /package/dist/{responsiveness-probe-RAWYP7LQ.js.map → responsiveness-probe-MW7CR63L.js.map} +0 -0
|
@@ -1179,6 +1179,7 @@ function writeAcpxConfig(config) {
|
|
|
1179
1179
|
|
|
1180
1180
|
export {
|
|
1181
1181
|
formatMissingVar,
|
|
1182
|
+
parseEnvIntegrations,
|
|
1182
1183
|
probeMcpEnvSubstitution,
|
|
1183
1184
|
sanitizeMcpJson,
|
|
1184
1185
|
buildAllowedTools,
|
|
@@ -1209,4 +1210,4 @@ export {
|
|
|
1209
1210
|
stopAllSessionsAndWait,
|
|
1210
1211
|
getProjectDir
|
|
1211
1212
|
};
|
|
1212
|
-
//# sourceMappingURL=chunk-
|
|
1213
|
+
//# sourceMappingURL=chunk-H4AZSFJX.js.map
|
|
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
|
|
|
100
100
|
return { ok: true };
|
|
101
101
|
} catch {
|
|
102
102
|
}
|
|
103
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
103
|
+
const { resolveClaudeBinary } = await import("./persistent-session-EGNKRWVB.js");
|
|
104
104
|
const claudeBin = resolveClaudeBinary();
|
|
105
105
|
const pairEnv = {
|
|
106
106
|
...process.env,
|
|
@@ -373,4 +373,4 @@ export {
|
|
|
373
373
|
startClaudePair,
|
|
374
374
|
submitClaudePairCode
|
|
375
375
|
};
|
|
376
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
376
|
+
//# sourceMappingURL=claude-pair-runtime-DKWME5OD.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
provisionStopHook,
|
|
17
17
|
requireHost,
|
|
18
18
|
safeWriteJsonAtomic
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-EWWJUVDY.js";
|
|
20
20
|
import {
|
|
21
21
|
getProjectDir as getProjectDir2,
|
|
22
22
|
getReadyTasks,
|
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
isSessionHealthy,
|
|
38
38
|
isStaleForToday,
|
|
39
39
|
paneLogPath,
|
|
40
|
+
parseEnvIntegrations,
|
|
40
41
|
peekCurrentSession,
|
|
41
42
|
prepareForRespawn,
|
|
42
43
|
probeMcpEnvSubstitution,
|
|
@@ -50,7 +51,7 @@ import {
|
|
|
50
51
|
stopAllSessionsAndWait,
|
|
51
52
|
stopPersistentSession,
|
|
52
53
|
takeZombieDetection
|
|
53
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-H4AZSFJX.js";
|
|
54
55
|
import {
|
|
55
56
|
KANBAN_CHECK_COMMAND,
|
|
56
57
|
appendDmFooter,
|
|
@@ -3747,7 +3748,7 @@ var cachedMaintenanceWindow = null;
|
|
|
3747
3748
|
var lastVersionCheckAt = 0;
|
|
3748
3749
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
3749
3750
|
var lastResponsivenessProbeAt = 0;
|
|
3750
|
-
var agtCliVersion = true ? "0.27.
|
|
3751
|
+
var agtCliVersion = true ? "0.27.71" : "dev";
|
|
3751
3752
|
function resolveBrewPath(execFileSync4) {
|
|
3752
3753
|
try {
|
|
3753
3754
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -4861,7 +4862,7 @@ async function pollCycle() {
|
|
|
4861
4862
|
}
|
|
4862
4863
|
try {
|
|
4863
4864
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
4864
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
4865
|
+
const { collectDiagnostics } = await import("../persistent-session-EGNKRWVB.js");
|
|
4865
4866
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
4866
4867
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
4867
4868
|
let tailscaleHostname;
|
|
@@ -4934,7 +4935,7 @@ async function pollCycle() {
|
|
|
4934
4935
|
const {
|
|
4935
4936
|
collectResponsivenessProbes,
|
|
4936
4937
|
getResponsivenessIntervalMs
|
|
4937
|
-
} = await import("../responsiveness-probe-
|
|
4938
|
+
} = await import("../responsiveness-probe-MW7CR63L.js");
|
|
4938
4939
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
4939
4940
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
4940
4941
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -5842,7 +5843,10 @@ async function processAgent(agent, agentStates) {
|
|
|
5842
5843
|
if (existsSync5(localDirectChatChannel)) {
|
|
5843
5844
|
const directChatEnv = {
|
|
5844
5845
|
AGT_HOST: requireHost(),
|
|
5845
|
-
|
|
5846
|
+
// ENG-5901 Track D: templated — the manager exports the real
|
|
5847
|
+
// AGT_API_KEY to every spawn env (getApiKey()); Claude Code
|
|
5848
|
+
// substitutes at MCP-launch. No literal in .mcp.json.
|
|
5849
|
+
AGT_API_KEY: "${AGT_API_KEY}",
|
|
5846
5850
|
AGT_AGENT_ID: agent.agent_id
|
|
5847
5851
|
};
|
|
5848
5852
|
if (directChatTz) directChatEnv["TZ"] = directChatTz;
|
|
@@ -7205,11 +7209,7 @@ async function executeAndProcessClaudeTask(codeName, agentId, task, prompt) {
|
|
|
7205
7209
|
const envIntPath = join7(projectDir, ".env.integrations");
|
|
7206
7210
|
if (existsSync5(envIntPath)) {
|
|
7207
7211
|
try {
|
|
7208
|
-
|
|
7209
|
-
if (!line || line.startsWith("#") || !line.includes("=")) continue;
|
|
7210
|
-
const eqIdx = line.indexOf("=");
|
|
7211
|
-
childEnv[line.slice(0, eqIdx)] = line.slice(eqIdx + 1);
|
|
7212
|
-
}
|
|
7212
|
+
Object.assign(childEnv, parseEnvIntegrations(readFileSync8(envIntPath, "utf-8")));
|
|
7213
7213
|
} catch {
|
|
7214
7214
|
}
|
|
7215
7215
|
}
|
|
@@ -8067,11 +8067,7 @@ ${escapeXml(msg.content)}
|
|
|
8067
8067
|
const childEnv = { ...process.env };
|
|
8068
8068
|
if (existsSync5(envIntPath)) {
|
|
8069
8069
|
try {
|
|
8070
|
-
|
|
8071
|
-
if (!line || line.startsWith("#") || !line.includes("=")) continue;
|
|
8072
|
-
const eqIdx = line.indexOf("=");
|
|
8073
|
-
childEnv[line.slice(0, eqIdx)] = line.slice(eqIdx + 1);
|
|
8074
|
-
}
|
|
8070
|
+
Object.assign(childEnv, parseEnvIntegrations(readFileSync8(envIntPath, "utf-8")));
|
|
8075
8071
|
} catch {
|
|
8076
8072
|
}
|
|
8077
8073
|
}
|
|
@@ -9097,7 +9093,7 @@ async function processClaudePairSessions(agents) {
|
|
|
9097
9093
|
killPairSession,
|
|
9098
9094
|
pairTmuxSession,
|
|
9099
9095
|
finalizeClaudePairOnboarding
|
|
9100
|
-
} = await import("../claude-pair-runtime-
|
|
9096
|
+
} = await import("../claude-pair-runtime-DKWME5OD.js");
|
|
9101
9097
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
9102
9098
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
9103
9099
|
const killed = await killPairSession(pairTmuxSession(pairId));
|