@integrity-labs/agt-cli 0.28.283 → 0.28.285
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-DDQKILX6.js → chunk-RV3QCCHF.js} +3 -3
- package/dist/{chunk-CUQUOIPW.js → chunk-TZKHPDOH.js} +7 -1
- package/dist/{chunk-CUQUOIPW.js.map → chunk-TZKHPDOH.js.map} +1 -1
- package/dist/{claude-pair-runtime-ERIXG5MQ.js → claude-pair-runtime-2VTCDNBY.js} +2 -2
- package/dist/lib/manager-worker.js +15 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/origami.js +6 -0
- package/dist/{persistent-session-WRL7JV3G.js → persistent-session-MIA4XYG4.js} +2 -2
- package/dist/{responsiveness-probe-LSRBQ5OJ.js → responsiveness-probe-C4OMAIZQ.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-DDQKILX6.js.map → chunk-RV3QCCHF.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ERIXG5MQ.js.map → claude-pair-runtime-2VTCDNBY.js.map} +0 -0
- /package/dist/{persistent-session-WRL7JV3G.js.map → persistent-session-MIA4XYG4.js.map} +0 -0
- /package/dist/{responsiveness-probe-LSRBQ5OJ.js.map → responsiveness-probe-C4OMAIZQ.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-MIA4XYG4.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-2VTCDNBY.js.map
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
requireHost,
|
|
39
39
|
safeWriteJsonAtomic,
|
|
40
40
|
setConfigHash
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-RV3QCCHF.js";
|
|
42
42
|
import {
|
|
43
43
|
getProjectDir as getProjectDir2,
|
|
44
44
|
getReadyTasks,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
takeZombieDetection,
|
|
126
126
|
transcriptActivityAgeSeconds,
|
|
127
127
|
writeEgressAllowlist
|
|
128
|
-
} from "../chunk-
|
|
128
|
+
} from "../chunk-TZKHPDOH.js";
|
|
129
129
|
import {
|
|
130
130
|
reapOrphanChannelMcps
|
|
131
131
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -6886,7 +6886,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6886
6886
|
var lastVersionCheckAt = 0;
|
|
6887
6887
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6888
6888
|
var lastResponsivenessProbeAt = 0;
|
|
6889
|
-
var agtCliVersion = true ? "0.28.
|
|
6889
|
+
var agtCliVersion = true ? "0.28.285" : "dev";
|
|
6890
6890
|
function resolveBrewPath(execFileSync2) {
|
|
6891
6891
|
try {
|
|
6892
6892
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7732,11 +7732,14 @@ function reorderRestartedFirst(agents, restartedIds) {
|
|
|
7732
7732
|
}
|
|
7733
7733
|
return [...restarted, ...rest];
|
|
7734
7734
|
}
|
|
7735
|
+
function resolveManagedMcpServerId(toolkit) {
|
|
7736
|
+
return toolkit.mcp_server_key ?? toolkit.toolkit_id.replace(/[^a-z0-9]/gi, "_").toLowerCase();
|
|
7737
|
+
}
|
|
7735
7738
|
function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
7736
7739
|
if (codeNames.length === 0) return;
|
|
7737
7740
|
void (async () => {
|
|
7738
7741
|
try {
|
|
7739
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7742
|
+
const { collectDiagnostics } = await import("../persistent-session-MIA4XYG4.js");
|
|
7740
7743
|
await api.post("/host/heartbeat", {
|
|
7741
7744
|
host_id: hostId,
|
|
7742
7745
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -7834,7 +7837,7 @@ async function pollCycle() {
|
|
|
7834
7837
|
}
|
|
7835
7838
|
try {
|
|
7836
7839
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
7837
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7840
|
+
const { collectDiagnostics } = await import("../persistent-session-MIA4XYG4.js");
|
|
7838
7841
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
7839
7842
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
7840
7843
|
let tailscaleHostname;
|
|
@@ -7982,7 +7985,7 @@ async function pollCycle() {
|
|
|
7982
7985
|
const {
|
|
7983
7986
|
collectResponsivenessProbes,
|
|
7984
7987
|
getResponsivenessIntervalMs
|
|
7985
|
-
} = await import("../responsiveness-probe-
|
|
7988
|
+
} = await import("../responsiveness-probe-C4OMAIZQ.js");
|
|
7986
7989
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
7987
7990
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
7988
7991
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8014,7 +8017,7 @@ async function pollCycle() {
|
|
|
8014
8017
|
collectResponsivenessProbes,
|
|
8015
8018
|
livePendingInboundOldestAgeSeconds,
|
|
8016
8019
|
parkPendingInbound
|
|
8017
|
-
} = await import("../responsiveness-probe-
|
|
8020
|
+
} = await import("../responsiveness-probe-C4OMAIZQ.js");
|
|
8018
8021
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
8019
8022
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
8020
8023
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -9602,7 +9605,7 @@ async function processAgent(agent, agentStates) {
|
|
|
9602
9605
|
const expectedServerIds = /* @__PURE__ */ new Set();
|
|
9603
9606
|
const desiredEntries = [];
|
|
9604
9607
|
for (const tk of agentToolkits) {
|
|
9605
|
-
const serverId = tk
|
|
9608
|
+
const serverId = resolveManagedMcpServerId(tk);
|
|
9606
9609
|
expectedServerIds.add(serverId);
|
|
9607
9610
|
managedToolkitIdByAgentAndServerId.set(
|
|
9608
9611
|
managedToolkitMapKey(agent.agent_id, serverId),
|
|
@@ -10934,7 +10937,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
10934
10937
|
void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
|
|
10935
10938
|
void (async () => {
|
|
10936
10939
|
try {
|
|
10937
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10940
|
+
const { collectDiagnostics } = await import("../persistent-session-MIA4XYG4.js");
|
|
10938
10941
|
await api.post("/host/heartbeat", {
|
|
10939
10942
|
host_id: hostId,
|
|
10940
10943
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -10984,7 +10987,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
10984
10987
|
}
|
|
10985
10988
|
try {
|
|
10986
10989
|
const hostId = await getHostId();
|
|
10987
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10990
|
+
const { collectDiagnostics } = await import("../persistent-session-MIA4XYG4.js");
|
|
10988
10991
|
await api.post("/host/heartbeat", {
|
|
10989
10992
|
host_id: hostId,
|
|
10990
10993
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -11388,7 +11391,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11388
11391
|
killPairSession,
|
|
11389
11392
|
pairTmuxSession,
|
|
11390
11393
|
finalizeClaudePairOnboarding
|
|
11391
|
-
} = await import("../claude-pair-runtime-
|
|
11394
|
+
} = await import("../claude-pair-runtime-2VTCDNBY.js");
|
|
11392
11395
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11393
11396
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11394
11397
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -12300,6 +12303,7 @@ export {
|
|
|
12300
12303
|
maybeInjectKanbanCheck,
|
|
12301
12304
|
maybeUpgradeClaudeCode,
|
|
12302
12305
|
reorderRestartedFirst,
|
|
12306
|
+
resolveManagedMcpServerId,
|
|
12303
12307
|
restartReasonBindsNewMcp,
|
|
12304
12308
|
shouldSkipRevokedCleanup,
|
|
12305
12309
|
shouldUpdateOnLatest,
|