@integrity-labs/agt-cli 0.28.210 → 0.28.212
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 +42 -46
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-G42GLXB6.js → chunk-PJCSU3OI.js} +14 -20
- package/dist/{chunk-G42GLXB6.js.map → chunk-PJCSU3OI.js.map} +1 -1
- package/dist/{chunk-WFCCBTA6.js → chunk-ZV4PUS7E.js} +19 -2
- package/dist/chunk-ZV4PUS7E.js.map +1 -0
- package/dist/{claude-pair-runtime-UUTPSE2V.js → claude-pair-runtime-J2EPW7J2.js} +2 -2
- package/dist/lib/manager-worker.js +14 -10
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-Z46SCCQM.js → persistent-session-56STIRFQ.js} +4 -2
- package/dist/{responsiveness-probe-4MUX7FBH.js → responsiveness-probe-S74AWIEF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-WFCCBTA6.js.map +0 -1
- /package/dist/{claude-pair-runtime-UUTPSE2V.js.map → claude-pair-runtime-J2EPW7J2.js.map} +0 -0
- /package/dist/{persistent-session-Z46SCCQM.js.map → persistent-session-56STIRFQ.js.map} +0 -0
- /package/dist/{responsiveness-probe-4MUX7FBH.js.map → responsiveness-probe-S74AWIEF.js.map} +0 -0
|
@@ -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-56STIRFQ.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-J2EPW7J2.js.map
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
requireHost,
|
|
37
37
|
safeWriteJsonAtomic,
|
|
38
38
|
setConfigHash
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-PJCSU3OI.js";
|
|
40
40
|
import {
|
|
41
41
|
getProjectDir as getProjectDir2,
|
|
42
42
|
getReadyTasks,
|
|
@@ -99,6 +99,7 @@ import {
|
|
|
99
99
|
parseUsageBanner,
|
|
100
100
|
peekCurrentSession,
|
|
101
101
|
prepareForRespawn,
|
|
102
|
+
readDirectChatSessionState,
|
|
102
103
|
readPaneLogTail,
|
|
103
104
|
reloadEgressSidecar,
|
|
104
105
|
resetRestartCount,
|
|
@@ -120,7 +121,7 @@ import {
|
|
|
120
121
|
takeZombieDetection,
|
|
121
122
|
transcriptActivityAgeSeconds,
|
|
122
123
|
writeEgressAllowlist
|
|
123
|
-
} from "../chunk-
|
|
124
|
+
} from "../chunk-ZV4PUS7E.js";
|
|
124
125
|
import {
|
|
125
126
|
reapOrphanChannelMcps
|
|
126
127
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -4668,7 +4669,8 @@ var DEFAULTS = {
|
|
|
4668
4669
|
};
|
|
4669
4670
|
function parseMode(raw) {
|
|
4670
4671
|
const v = (raw ?? "").trim().toLowerCase();
|
|
4671
|
-
|
|
4672
|
+
if (v === "shadow" || v === "enforce" || v === "off") return v;
|
|
4673
|
+
return "shadow";
|
|
4672
4674
|
}
|
|
4673
4675
|
function parsePositiveInt(raw, fallback, floor) {
|
|
4674
4676
|
const n = raw ? Number.parseInt(raw, 10) : NaN;
|
|
@@ -5962,9 +5964,11 @@ async function runAgentConnectivityProbes(agent, integrations, projectDir) {
|
|
|
5962
5964
|
async function runAgentSessionToolBindProbes(agent, integrations, projectDir) {
|
|
5963
5965
|
if (integrations.length === 0) return;
|
|
5964
5966
|
const intervalSec = Number(process.env.AGT_CONNECTIVITY_PROBE_INTERVAL_SECONDS) || 3600;
|
|
5965
|
-
const
|
|
5967
|
+
const sessionLoadedServerKeys = new Set(
|
|
5968
|
+
readDirectChatSessionState(agent.agent_id)?.mcpServerKeys ?? []
|
|
5969
|
+
);
|
|
5966
5970
|
const result = await gatherSessionToolBindProbe(agent, integrations, projectDir, {
|
|
5967
|
-
|
|
5971
|
+
sessionLoadedServerKeys,
|
|
5968
5972
|
intervalMs: intervalSec * 1e3
|
|
5969
5973
|
});
|
|
5970
5974
|
if (result && result.reports.length > 0) {
|
|
@@ -6159,7 +6163,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6159
6163
|
var lastVersionCheckAt = 0;
|
|
6160
6164
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6161
6165
|
var lastResponsivenessProbeAt = 0;
|
|
6162
|
-
var agtCliVersion = true ? "0.28.
|
|
6166
|
+
var agtCliVersion = true ? "0.28.212" : "dev";
|
|
6163
6167
|
function resolveBrewPath(execFileSync2) {
|
|
6164
6168
|
try {
|
|
6165
6169
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7068,7 +7072,7 @@ async function pollCycle() {
|
|
|
7068
7072
|
}
|
|
7069
7073
|
try {
|
|
7070
7074
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
7071
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7075
|
+
const { collectDiagnostics } = await import("../persistent-session-56STIRFQ.js");
|
|
7072
7076
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
7073
7077
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
7074
7078
|
let tailscaleHostname;
|
|
@@ -7216,7 +7220,7 @@ async function pollCycle() {
|
|
|
7216
7220
|
const {
|
|
7217
7221
|
collectResponsivenessProbes,
|
|
7218
7222
|
getResponsivenessIntervalMs
|
|
7219
|
-
} = await import("../responsiveness-probe-
|
|
7223
|
+
} = await import("../responsiveness-probe-S74AWIEF.js");
|
|
7220
7224
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
7221
7225
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
7222
7226
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -7248,7 +7252,7 @@ async function pollCycle() {
|
|
|
7248
7252
|
collectResponsivenessProbes,
|
|
7249
7253
|
livePendingInboundOldestAgeSeconds,
|
|
7250
7254
|
parkPendingInbound
|
|
7251
|
-
} = await import("../responsiveness-probe-
|
|
7255
|
+
} = await import("../responsiveness-probe-S74AWIEF.js");
|
|
7252
7256
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
7253
7257
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
7254
7258
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -10281,7 +10285,7 @@ async function processClaudePairSessions(agents) {
|
|
|
10281
10285
|
killPairSession,
|
|
10282
10286
|
pairTmuxSession,
|
|
10283
10287
|
finalizeClaudePairOnboarding
|
|
10284
|
-
} = await import("../claude-pair-runtime-
|
|
10288
|
+
} = await import("../claude-pair-runtime-J2EPW7J2.js");
|
|
10285
10289
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
10286
10290
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
10287
10291
|
const killed = await killPairSession(pairTmuxSession(pairId));
|