@integrity-labs/agt-cli 0.28.295 → 0.28.296
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-VT2HBF2H.js → chunk-DZLBOAQ2.js} +3 -3
- package/dist/{chunk-IGADZDYT.js → chunk-QXU5FMXN.js} +43 -1
- package/dist/chunk-QXU5FMXN.js.map +1 -0
- package/dist/{claude-pair-runtime-EWJQ5QXS.js → claude-pair-runtime-BIBIVB7I.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 +42 -0
- package/dist/{persistent-session-7Z33SV2X.js → persistent-session-A5N7BYS3.js} +2 -2
- package/dist/{responsiveness-probe-RPX63Y5S.js → responsiveness-probe-OZP2HO2F.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-IGADZDYT.js.map +0 -1
- /package/dist/{chunk-VT2HBF2H.js.map → chunk-DZLBOAQ2.js.map} +0 -0
- /package/dist/{claude-pair-runtime-EWJQ5QXS.js.map → claude-pair-runtime-BIBIVB7I.js.map} +0 -0
- /package/dist/{persistent-session-7Z33SV2X.js.map → persistent-session-A5N7BYS3.js.map} +0 -0
- /package/dist/{responsiveness-probe-RPX63Y5S.js.map → responsiveness-probe-OZP2HO2F.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-A5N7BYS3.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-BIBIVB7I.js.map
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
requireHost,
|
|
40
40
|
safeWriteJsonAtomic,
|
|
41
41
|
setConfigHash
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-DZLBOAQ2.js";
|
|
43
43
|
import {
|
|
44
44
|
getProjectDir as getProjectDir2,
|
|
45
45
|
getReadyTasks,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
takeZombieDetection,
|
|
127
127
|
transcriptActivityAgeSeconds,
|
|
128
128
|
writeEgressAllowlist
|
|
129
|
-
} from "../chunk-
|
|
129
|
+
} from "../chunk-QXU5FMXN.js";
|
|
130
130
|
import {
|
|
131
131
|
reapOrphanChannelMcps
|
|
132
132
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -6947,7 +6947,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6947
6947
|
var lastVersionCheckAt = 0;
|
|
6948
6948
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6949
6949
|
var lastResponsivenessProbeAt = 0;
|
|
6950
|
-
var agtCliVersion = true ? "0.28.
|
|
6950
|
+
var agtCliVersion = true ? "0.28.296" : "dev";
|
|
6951
6951
|
function resolveBrewPath(execFileSync2) {
|
|
6952
6952
|
try {
|
|
6953
6953
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7800,7 +7800,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
7800
7800
|
if (codeNames.length === 0) return;
|
|
7801
7801
|
void (async () => {
|
|
7802
7802
|
try {
|
|
7803
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7803
|
+
const { collectDiagnostics } = await import("../persistent-session-A5N7BYS3.js");
|
|
7804
7804
|
await api.post("/host/heartbeat", {
|
|
7805
7805
|
host_id: hostId,
|
|
7806
7806
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -7898,7 +7898,7 @@ async function pollCycle() {
|
|
|
7898
7898
|
}
|
|
7899
7899
|
try {
|
|
7900
7900
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
7901
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7901
|
+
const { collectDiagnostics } = await import("../persistent-session-A5N7BYS3.js");
|
|
7902
7902
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
7903
7903
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
7904
7904
|
let tailscaleHostname;
|
|
@@ -8046,7 +8046,7 @@ async function pollCycle() {
|
|
|
8046
8046
|
const {
|
|
8047
8047
|
collectResponsivenessProbes,
|
|
8048
8048
|
getResponsivenessIntervalMs
|
|
8049
|
-
} = await import("../responsiveness-probe-
|
|
8049
|
+
} = await import("../responsiveness-probe-OZP2HO2F.js");
|
|
8050
8050
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
8051
8051
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
8052
8052
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8078,7 +8078,7 @@ async function pollCycle() {
|
|
|
8078
8078
|
collectResponsivenessProbes,
|
|
8079
8079
|
livePendingInboundOldestAgeSeconds,
|
|
8080
8080
|
parkPendingInbound
|
|
8081
|
-
} = await import("../responsiveness-probe-
|
|
8081
|
+
} = await import("../responsiveness-probe-OZP2HO2F.js");
|
|
8082
8082
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
8083
8083
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
8084
8084
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -10332,7 +10332,11 @@ async function processAgent(agent, agentStates) {
|
|
|
10332
10332
|
notifiedWaitingHumanIds.set(agent.code_name, freshWaitingHumanIds);
|
|
10333
10333
|
if (prevWaitingHumanIds) {
|
|
10334
10334
|
const newlyWaiting = freshBoard.filter(
|
|
10335
|
-
(b) => b.status === "waiting" && b.waiting_kind === "human" && !prevWaitingHumanIds.has(b.id) && b.metadata?.requester
|
|
10335
|
+
(b) => b.status === "waiting" && b.waiting_kind === "human" && !prevWaitingHumanIds.has(b.id) && b.metadata?.requester && // ENG-7643 (P5b-2): the API posts inline Slack buttons for a Slack
|
|
10336
|
+
// requester WITH choices; suppress the text DM for that exact case
|
|
10337
|
+
// so the requester isn't pinged twice. Non-Slack or no-choices
|
|
10338
|
+
// still gets the manager text DM.
|
|
10339
|
+
!(b.metadata.requester.channel === "slack" && (b.waiting_context?.choices?.length ?? 0) > 0)
|
|
10336
10340
|
);
|
|
10337
10341
|
if (newlyWaiting.length > 0) {
|
|
10338
10342
|
const waitingDisplayName = agentState.agentDisplayNames.get(agent.code_name) ?? agent.code_name;
|
|
@@ -11045,7 +11049,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
11045
11049
|
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}`));
|
|
11046
11050
|
void (async () => {
|
|
11047
11051
|
try {
|
|
11048
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11052
|
+
const { collectDiagnostics } = await import("../persistent-session-A5N7BYS3.js");
|
|
11049
11053
|
await api.post("/host/heartbeat", {
|
|
11050
11054
|
host_id: hostId,
|
|
11051
11055
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -11095,7 +11099,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
11095
11099
|
}
|
|
11096
11100
|
try {
|
|
11097
11101
|
const hostId = await getHostId();
|
|
11098
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11102
|
+
const { collectDiagnostics } = await import("../persistent-session-A5N7BYS3.js");
|
|
11099
11103
|
await api.post("/host/heartbeat", {
|
|
11100
11104
|
host_id: hostId,
|
|
11101
11105
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -11500,7 +11504,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11500
11504
|
killPairSession,
|
|
11501
11505
|
pairTmuxSession,
|
|
11502
11506
|
finalizeClaudePairOnboarding
|
|
11503
|
-
} = await import("../claude-pair-runtime-
|
|
11507
|
+
} = await import("../claude-pair-runtime-BIBIVB7I.js");
|
|
11504
11508
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11505
11509
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11506
11510
|
const killed = await killPairSession(pairTmuxSession(pairId));
|