@integrity-labs/agt-cli 0.28.314 → 0.28.316
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-R5AKZYDG.js → chunk-J6H7R3Y4.js} +85 -6
- package/dist/{chunk-R5AKZYDG.js.map → chunk-J6H7R3Y4.js.map} +1 -1
- package/dist/{chunk-KJE5Y4GF.js → chunk-ORTMG5E3.js} +18 -7
- package/dist/chunk-ORTMG5E3.js.map +1 -0
- package/dist/{claude-pair-runtime-UQHJTVEE.js → claude-pair-runtime-4PLFHGOI.js} +2 -2
- package/dist/lib/manager-worker.js +19 -15
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +12 -4
- package/dist/{persistent-session-3XOQWQJE.js → persistent-session-UZNQVUYB.js} +2 -2
- package/dist/{responsiveness-probe-DUGIDPLT.js → responsiveness-probe-5XF7ZCYF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-KJE5Y4GF.js.map +0 -1
- /package/dist/{claude-pair-runtime-UQHJTVEE.js.map → claude-pair-runtime-4PLFHGOI.js.map} +0 -0
- /package/dist/{persistent-session-3XOQWQJE.js.map → persistent-session-UZNQVUYB.js.map} +0 -0
- /package/dist/{responsiveness-probe-DUGIDPLT.js.map → responsiveness-probe-5XF7ZCYF.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-UZNQVUYB.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-4PLFHGOI.js.map
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
requireHost,
|
|
40
40
|
safeWriteJsonAtomic,
|
|
41
41
|
setConfigHash
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-J6H7R3Y4.js";
|
|
43
43
|
import {
|
|
44
44
|
getProjectDir as getProjectDir2,
|
|
45
45
|
getReadyTasks,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
takeZombieDetection,
|
|
128
128
|
transcriptActivityAgeSeconds,
|
|
129
129
|
writeEgressAllowlist
|
|
130
|
-
} from "../chunk-
|
|
130
|
+
} from "../chunk-ORTMG5E3.js";
|
|
131
131
|
import {
|
|
132
132
|
reapOrphanChannelMcps
|
|
133
133
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -7087,7 +7087,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
7087
7087
|
var lastVersionCheckAt = 0;
|
|
7088
7088
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
7089
7089
|
var lastResponsivenessProbeAt = 0;
|
|
7090
|
-
var agtCliVersion = true ? "0.28.
|
|
7090
|
+
var agtCliVersion = true ? "0.28.316" : "dev";
|
|
7091
7091
|
function resolveBrewPath(execFileSync2) {
|
|
7092
7092
|
try {
|
|
7093
7093
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7959,7 +7959,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
7959
7959
|
if (codeNames.length === 0) return;
|
|
7960
7960
|
void (async () => {
|
|
7961
7961
|
try {
|
|
7962
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7962
|
+
const { collectDiagnostics } = await import("../persistent-session-UZNQVUYB.js");
|
|
7963
7963
|
await api.post("/host/heartbeat", {
|
|
7964
7964
|
host_id: hostId,
|
|
7965
7965
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -8057,7 +8057,7 @@ async function pollCycle() {
|
|
|
8057
8057
|
}
|
|
8058
8058
|
try {
|
|
8059
8059
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
8060
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
8060
|
+
const { collectDiagnostics } = await import("../persistent-session-UZNQVUYB.js");
|
|
8061
8061
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
8062
8062
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
8063
8063
|
let tailscaleHostname;
|
|
@@ -8184,6 +8184,7 @@ async function pollCycle() {
|
|
|
8184
8184
|
if (hbResp?.feature_flags) {
|
|
8185
8185
|
hostFlagStore().applyHeartbeat(hbResp.feature_flags, hbResp.flags_schema_version);
|
|
8186
8186
|
}
|
|
8187
|
+
hostFlagStore().applyNotifyDispatchByAgent(hbResp?.notify_dispatch_by_agent);
|
|
8187
8188
|
setConfigHash(hbResp?.config_hash ?? null);
|
|
8188
8189
|
try {
|
|
8189
8190
|
if (decideMaintenanceWindowGate({ window: cachedMaintenanceWindow, now: /* @__PURE__ */ new Date() }) === "proceed") {
|
|
@@ -8205,7 +8206,7 @@ async function pollCycle() {
|
|
|
8205
8206
|
const {
|
|
8206
8207
|
collectResponsivenessProbes,
|
|
8207
8208
|
getResponsivenessIntervalMs
|
|
8208
|
-
} = await import("../responsiveness-probe-
|
|
8209
|
+
} = await import("../responsiveness-probe-5XF7ZCYF.js");
|
|
8209
8210
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
8210
8211
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
8211
8212
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8237,7 +8238,7 @@ async function pollCycle() {
|
|
|
8237
8238
|
collectResponsivenessProbes,
|
|
8238
8239
|
livePendingInboundOldestAgeSeconds,
|
|
8239
8240
|
parkPendingInbound
|
|
8240
|
-
} = await import("../responsiveness-probe-
|
|
8241
|
+
} = await import("../responsiveness-probe-5XF7ZCYF.js");
|
|
8241
8242
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
8242
8243
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
8243
8244
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -10987,11 +10988,14 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash11("sha256")
|
|
|
10987
10988
|
// (AGT_KANBAN_WAITING_ENABLED) so the stdio kanban MCP exposes the `waiting`
|
|
10988
10989
|
// option. Host-grained (HostFlagStore); the per-org API gate is authoritative.
|
|
10989
10990
|
kanbanWaitingEnabled: hostFlagStore().getBoolean("kanban-waiting-status"),
|
|
10990
|
-
// ENG-7682 (notify Slice 1)
|
|
10991
|
-
// (AGT_NOTIFY_DISPATCH) so the Slack
|
|
10992
|
-
// messages in member channels
|
|
10993
|
-
//
|
|
10994
|
-
|
|
10991
|
+
// ENG-7682 (notify Slice 1) + per-agent follow-up: materialize
|
|
10992
|
+
// notify-dispatch into the spawn env (AGT_NOTIFY_DISPATCH) so the Slack
|
|
10993
|
+
// channel MCP admits non-@mention channel messages in member channels
|
|
10994
|
+
// (membership mode). Resolved PER-AGENT: enabling the flag for one agent
|
|
10995
|
+
// (via an agent-grained override) no longer fans out to every agent on the
|
|
10996
|
+
// host. An agent with no per-agent override inherits the host-wide value;
|
|
10997
|
+
// the launcher still lets an operator AGT_NOTIFY_DISPATCH env override win.
|
|
10998
|
+
notifyDispatchMode: hostFlagStore().getStringForAgent("notify-dispatch", agent.agent_id),
|
|
10995
10999
|
egressAllowlist,
|
|
10996
11000
|
log
|
|
10997
11001
|
});
|
|
@@ -11253,7 +11257,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
11253
11257
|
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}`));
|
|
11254
11258
|
void (async () => {
|
|
11255
11259
|
try {
|
|
11256
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11260
|
+
const { collectDiagnostics } = await import("../persistent-session-UZNQVUYB.js");
|
|
11257
11261
|
await api.post("/host/heartbeat", {
|
|
11258
11262
|
host_id: hostId,
|
|
11259
11263
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -11303,7 +11307,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
11303
11307
|
}
|
|
11304
11308
|
try {
|
|
11305
11309
|
const hostId = await getHostId();
|
|
11306
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11310
|
+
const { collectDiagnostics } = await import("../persistent-session-UZNQVUYB.js");
|
|
11307
11311
|
await api.post("/host/heartbeat", {
|
|
11308
11312
|
host_id: hostId,
|
|
11309
11313
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -11727,7 +11731,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11727
11731
|
killPairSession,
|
|
11728
11732
|
pairTmuxSession,
|
|
11729
11733
|
finalizeClaudePairOnboarding
|
|
11730
|
-
} = await import("../claude-pair-runtime-
|
|
11734
|
+
} = await import("../claude-pair-runtime-4PLFHGOI.js");
|
|
11731
11735
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11732
11736
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11733
11737
|
const killed = await killPairSession(pairTmuxSession(pairId));
|