@integrity-labs/agt-cli 0.28.242 → 0.28.243
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-ISEWY25C.js → chunk-U2WPXD6Q.js} +3 -3
- package/dist/{chunk-LSOXMJYA.js → chunk-ZS2T67OF.js} +16 -3
- package/dist/chunk-ZS2T67OF.js.map +1 -0
- package/dist/{claude-pair-runtime-4NHJGZBH.js → claude-pair-runtime-OURKHXEW.js} +2 -2
- package/dist/lib/manager-worker.js +18 -10
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-W2MICXSS.js → persistent-session-X427LHOW.js} +2 -2
- package/dist/{responsiveness-probe-R7NX5NRH.js → responsiveness-probe-CFF27A7B.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-LSOXMJYA.js.map +0 -1
- /package/dist/{chunk-ISEWY25C.js.map → chunk-U2WPXD6Q.js.map} +0 -0
- /package/dist/{claude-pair-runtime-4NHJGZBH.js.map → claude-pair-runtime-OURKHXEW.js.map} +0 -0
- /package/dist/{persistent-session-W2MICXSS.js.map → persistent-session-X427LHOW.js.map} +0 -0
- /package/dist/{responsiveness-probe-R7NX5NRH.js.map → responsiveness-probe-CFF27A7B.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-X427LHOW.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-OURKHXEW.js.map
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
requireHost,
|
|
38
38
|
safeWriteJsonAtomic,
|
|
39
39
|
setConfigHash
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-U2WPXD6Q.js";
|
|
41
41
|
import {
|
|
42
42
|
getProjectDir as getProjectDir2,
|
|
43
43
|
getReadyTasks,
|
|
@@ -122,7 +122,7 @@ import {
|
|
|
122
122
|
takeZombieDetection,
|
|
123
123
|
transcriptActivityAgeSeconds,
|
|
124
124
|
writeEgressAllowlist
|
|
125
|
-
} from "../chunk-
|
|
125
|
+
} from "../chunk-ZS2T67OF.js";
|
|
126
126
|
import {
|
|
127
127
|
reapOrphanChannelMcps
|
|
128
128
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -6509,7 +6509,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6509
6509
|
var lastVersionCheckAt = 0;
|
|
6510
6510
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6511
6511
|
var lastResponsivenessProbeAt = 0;
|
|
6512
|
-
var agtCliVersion = true ? "0.28.
|
|
6512
|
+
var agtCliVersion = true ? "0.28.243" : "dev";
|
|
6513
6513
|
function resolveBrewPath(execFileSync2) {
|
|
6514
6514
|
try {
|
|
6515
6515
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7443,7 +7443,7 @@ async function pollCycle() {
|
|
|
7443
7443
|
}
|
|
7444
7444
|
try {
|
|
7445
7445
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
7446
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7446
|
+
const { collectDiagnostics } = await import("../persistent-session-X427LHOW.js");
|
|
7447
7447
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
7448
7448
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
7449
7449
|
let tailscaleHostname;
|
|
@@ -7591,7 +7591,7 @@ async function pollCycle() {
|
|
|
7591
7591
|
const {
|
|
7592
7592
|
collectResponsivenessProbes,
|
|
7593
7593
|
getResponsivenessIntervalMs
|
|
7594
|
-
} = await import("../responsiveness-probe-
|
|
7594
|
+
} = await import("../responsiveness-probe-CFF27A7B.js");
|
|
7595
7595
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
7596
7596
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
7597
7597
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -7623,7 +7623,7 @@ async function pollCycle() {
|
|
|
7623
7623
|
collectResponsivenessProbes,
|
|
7624
7624
|
livePendingInboundOldestAgeSeconds,
|
|
7625
7625
|
parkPendingInbound
|
|
7626
|
-
} = await import("../responsiveness-probe-
|
|
7626
|
+
} = await import("../responsiveness-probe-CFF27A7B.js");
|
|
7627
7627
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
7628
7628
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
7629
7629
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -7920,7 +7920,7 @@ async function pollCycle() {
|
|
|
7920
7920
|
if (restartedCodeNames.length > 0) {
|
|
7921
7921
|
void (async () => {
|
|
7922
7922
|
try {
|
|
7923
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7923
|
+
const { collectDiagnostics } = await import("../persistent-session-X427LHOW.js");
|
|
7924
7924
|
const freshDiagnostics = collectDiagnostics(restartedCodeNames);
|
|
7925
7925
|
await api.post("/host/heartbeat", {
|
|
7926
7926
|
host_id: hostId,
|
|
@@ -10179,6 +10179,14 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash10("sha256")
|
|
|
10179
10179
|
} : null,
|
|
10180
10180
|
runId: sessionRunResult.run_id,
|
|
10181
10181
|
agentTimezone,
|
|
10182
|
+
// ENG-6476: materialize the host-side reply-routing flags into the agent
|
|
10183
|
+
// spawn env so the channel MCP + Stop hook (which can't call the flag
|
|
10184
|
+
// evaluator) see the values the operator set. The HostFlagStore resolves
|
|
10185
|
+
// them from the flags-cache the manager already maintains; the launcher
|
|
10186
|
+
// injects AGT_SLACK_REPLY_BINDING / AGT_BLOCK_TURN_END_ALL_MARKERS_ENABLED
|
|
10187
|
+
// unless an operator env override is already present (which keeps precedence).
|
|
10188
|
+
slackReplyBindingMode: hostFlagStore().getString("slack-reply-binding"),
|
|
10189
|
+
blockTurnEndAllMarkers: hostFlagStore().getBoolean("block-turn-end-all-markers"),
|
|
10182
10190
|
egressAllowlist,
|
|
10183
10191
|
log
|
|
10184
10192
|
});
|
|
@@ -10439,7 +10447,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
10439
10447
|
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}`));
|
|
10440
10448
|
void (async () => {
|
|
10441
10449
|
try {
|
|
10442
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10450
|
+
const { collectDiagnostics } = await import("../persistent-session-X427LHOW.js");
|
|
10443
10451
|
await api.post("/host/heartbeat", {
|
|
10444
10452
|
host_id: hostId,
|
|
10445
10453
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -10489,7 +10497,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
10489
10497
|
}
|
|
10490
10498
|
try {
|
|
10491
10499
|
const hostId = await getHostId();
|
|
10492
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10500
|
+
const { collectDiagnostics } = await import("../persistent-session-X427LHOW.js");
|
|
10493
10501
|
await api.post("/host/heartbeat", {
|
|
10494
10502
|
host_id: hostId,
|
|
10495
10503
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -10880,7 +10888,7 @@ async function processClaudePairSessions(agents) {
|
|
|
10880
10888
|
killPairSession,
|
|
10881
10889
|
pairTmuxSession,
|
|
10882
10890
|
finalizeClaudePairOnboarding
|
|
10883
|
-
} = await import("../claude-pair-runtime-
|
|
10891
|
+
} = await import("../claude-pair-runtime-OURKHXEW.js");
|
|
10884
10892
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
10885
10893
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
10886
10894
|
const killed = await killPairSession(pairTmuxSession(pairId));
|