@integrity-labs/agt-cli 0.28.695 → 0.28.696
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 +5 -5
- package/dist/{chunk-OUERGATQ.js → chunk-QCYRC5FK.js} +2 -2
- package/dist/{chunk-A2W4K7IH.js → chunk-WB6ERJPU.js} +4 -4
- package/dist/{chunk-XB2RCS5S.js → chunk-Y7AHOXHP.js} +2 -2
- package/dist/chunk-Y7AHOXHP.js.map +1 -0
- package/dist/{claude-pair-runtime-MRA4KSDR.js → claude-pair-runtime-I7MIDQSW.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/origami.js +1 -1
- package/dist/mcp/slack-channel.js +1 -1
- package/dist/mcp/telegram-channel.js +1 -1
- package/dist/{persistent-session-PEY2TMJI.js → persistent-session-5ZWDVVIH.js} +3 -3
- package/dist/{responsiveness-probe-VJP2AHNR.js → responsiveness-probe-KDQFIROB.js} +3 -3
- package/dist/{session-auth-dead-QCZ2EOVS.js → session-auth-dead-7S7IQGNX.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-XB2RCS5S.js.map +0 -1
- /package/dist/{chunk-OUERGATQ.js.map → chunk-QCYRC5FK.js.map} +0 -0
- /package/dist/{chunk-A2W4K7IH.js.map → chunk-WB6ERJPU.js.map} +0 -0
- /package/dist/{claude-pair-runtime-MRA4KSDR.js.map → claude-pair-runtime-I7MIDQSW.js.map} +0 -0
- /package/dist/{persistent-session-PEY2TMJI.js.map → persistent-session-5ZWDVVIH.js.map} +0 -0
- /package/dist/{responsiveness-probe-VJP2AHNR.js.map → responsiveness-probe-KDQFIROB.js.map} +0 -0
- /package/dist/{session-auth-dead-QCZ2EOVS.js.map → session-auth-dead-7S7IQGNX.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-5ZWDVVIH.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-I7MIDQSW.js.map
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
safeWriteJsonAtomic,
|
|
55
55
|
setConfigHash,
|
|
56
56
|
tripClass
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-WB6ERJPU.js";
|
|
58
58
|
import {
|
|
59
59
|
getProjectDir as getProjectDir2,
|
|
60
60
|
getReadyTasks,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
takeZombieDetection,
|
|
113
113
|
toOpencodeModel,
|
|
114
114
|
writeEgressAllowlist
|
|
115
|
-
} from "../chunk-
|
|
115
|
+
} from "../chunk-QCYRC5FK.js";
|
|
116
116
|
import {
|
|
117
117
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
118
118
|
AnchorSessionClient,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
subagentActivityAgeSeconds,
|
|
197
197
|
sumTranscriptUsageInWindow,
|
|
198
198
|
transcriptActivityAgeSeconds
|
|
199
|
-
} from "../chunk-
|
|
199
|
+
} from "../chunk-Y7AHOXHP.js";
|
|
200
200
|
import {
|
|
201
201
|
reapOrphanChannelMcps
|
|
202
202
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -11840,7 +11840,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
11840
11840
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
11841
11841
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
11842
11842
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
11843
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
11843
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-KDQFIROB.js");
|
|
11844
11844
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
11845
11845
|
if (newest === null) return null;
|
|
11846
11846
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -12488,7 +12488,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
12488
12488
|
var lastVersionCheckAt = 0;
|
|
12489
12489
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
12490
12490
|
var lastResponsivenessProbeAt = 0;
|
|
12491
|
-
var agtCliVersion = true ? "0.28.
|
|
12491
|
+
var agtCliVersion = true ? "0.28.696" : "dev";
|
|
12492
12492
|
function resolveBrewPath(execFileSync3) {
|
|
12493
12493
|
try {
|
|
12494
12494
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -13989,7 +13989,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
13989
13989
|
if (codeNames.length === 0) return;
|
|
13990
13990
|
void (async () => {
|
|
13991
13991
|
try {
|
|
13992
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13992
|
+
const { collectDiagnostics } = await import("../persistent-session-5ZWDVVIH.js");
|
|
13993
13993
|
await api.post("/host/heartbeat", {
|
|
13994
13994
|
host_id: hostId,
|
|
13995
13995
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -14107,7 +14107,7 @@ async function pollCycleInner() {
|
|
|
14107
14107
|
}
|
|
14108
14108
|
try {
|
|
14109
14109
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
14110
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14110
|
+
const { collectDiagnostics } = await import("../persistent-session-5ZWDVVIH.js");
|
|
14111
14111
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
14112
14112
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
|
|
14113
14113
|
let tailscaleHostname;
|
|
@@ -14259,7 +14259,7 @@ async function pollCycleInner() {
|
|
|
14259
14259
|
collectPanelessActivityProbes,
|
|
14260
14260
|
getResponsivenessIntervalMs,
|
|
14261
14261
|
occupancyQualificationClassifications
|
|
14262
|
-
} = await import("../responsiveness-probe-
|
|
14262
|
+
} = await import("../responsiveness-probe-KDQFIROB.js");
|
|
14263
14263
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
14264
14264
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
14265
14265
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -14369,7 +14369,7 @@ async function pollCycleInner() {
|
|
|
14369
14369
|
collectResponsivenessProbes,
|
|
14370
14370
|
livePendingInboundOldestAgeSeconds,
|
|
14371
14371
|
parkPendingInbound
|
|
14372
|
-
} = await import("../responsiveness-probe-
|
|
14372
|
+
} = await import("../responsiveness-probe-KDQFIROB.js");
|
|
14373
14373
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
14374
14374
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
14375
14375
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14525,7 +14525,7 @@ async function pollCycleInner() {
|
|
|
14525
14525
|
}
|
|
14526
14526
|
try {
|
|
14527
14527
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
14528
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
14528
|
+
const { probeSessionAuth } = await import("../session-auth-dead-7S7IQGNX.js");
|
|
14529
14529
|
const observations = [];
|
|
14530
14530
|
const pendingCacheCommits = [];
|
|
14531
14531
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -18285,7 +18285,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
18285
18285
|
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}`));
|
|
18286
18286
|
void (async () => {
|
|
18287
18287
|
try {
|
|
18288
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18288
|
+
const { collectDiagnostics } = await import("../persistent-session-5ZWDVVIH.js");
|
|
18289
18289
|
await api.post("/host/heartbeat", {
|
|
18290
18290
|
host_id: hostId,
|
|
18291
18291
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -18336,7 +18336,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
18336
18336
|
}
|
|
18337
18337
|
try {
|
|
18338
18338
|
const hostId = await getHostId();
|
|
18339
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18339
|
+
const { collectDiagnostics } = await import("../persistent-session-5ZWDVVIH.js");
|
|
18340
18340
|
await api.post("/host/heartbeat", {
|
|
18341
18341
|
host_id: hostId,
|
|
18342
18342
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -18968,7 +18968,7 @@ async function processClaudePairSessions(agents) {
|
|
|
18968
18968
|
killPairSession,
|
|
18969
18969
|
pairTmuxSession,
|
|
18970
18970
|
finalizeClaudePairOnboarding
|
|
18971
|
-
} = await import("../claude-pair-runtime-
|
|
18971
|
+
} = await import("../claude-pair-runtime-I7MIDQSW.js");
|
|
18972
18972
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
18973
18973
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
18974
18974
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -35960,7 +35960,7 @@ var FLAG_REGISTRY = [
|
|
|
35960
35960
|
},
|
|
35961
35961
|
{
|
|
35962
35962
|
key: "tool-call-audit",
|
|
35963
|
-
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate;
|
|
35963
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; when off the manager reads no transcripts and sends nothing. ARMED STAGE-WIDE SINCE 2026-08-17 \u2014 the compiled default below is what a host resolves when nothing else says otherwise, NOT a description of the fleet. This text once asserted the opposite and outlived its truth by nine days, which is what got ENG-9472 filed to arm an already-armed flag. Query the table, do not infer it from this line. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
35964
35964
|
flagType: "boolean",
|
|
35965
35965
|
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
35966
35966
|
// flag-DB read error must never start shipping tool-call metadata across the
|
package/dist/mcp/index.js
CHANGED
|
@@ -42921,7 +42921,7 @@ var FLAG_REGISTRY = [
|
|
|
42921
42921
|
},
|
|
42922
42922
|
{
|
|
42923
42923
|
key: "tool-call-audit",
|
|
42924
|
-
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate;
|
|
42924
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; when off the manager reads no transcripts and sends nothing. ARMED STAGE-WIDE SINCE 2026-08-17 \u2014 the compiled default below is what a host resolves when nothing else says otherwise, NOT a description of the fleet. This text once asserted the opposite and outlived its truth by nine days, which is what got ENG-9472 filed to arm an already-armed flag. Query the table, do not infer it from this line. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
42925
42925
|
flagType: "boolean",
|
|
42926
42926
|
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
42927
42927
|
// flag-DB read error must never start shipping tool-call metadata across the
|
package/dist/mcp/origami.js
CHANGED
|
@@ -41708,7 +41708,7 @@ var FLAG_REGISTRY = [
|
|
|
41708
41708
|
},
|
|
41709
41709
|
{
|
|
41710
41710
|
key: "tool-call-audit",
|
|
41711
|
-
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate;
|
|
41711
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; when off the manager reads no transcripts and sends nothing. ARMED STAGE-WIDE SINCE 2026-08-17 \u2014 the compiled default below is what a host resolves when nothing else says otherwise, NOT a description of the fleet. This text once asserted the opposite and outlived its truth by nine days, which is what got ENG-9472 filed to arm an already-armed flag. Query the table, do not infer it from this line. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
41712
41712
|
flagType: "boolean",
|
|
41713
41713
|
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
41714
41714
|
// flag-DB read error must never start shipping tool-call metadata across the
|
|
@@ -36169,7 +36169,7 @@ var FLAG_REGISTRY = [
|
|
|
36169
36169
|
},
|
|
36170
36170
|
{
|
|
36171
36171
|
key: "tool-call-audit",
|
|
36172
|
-
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate;
|
|
36172
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; when off the manager reads no transcripts and sends nothing. ARMED STAGE-WIDE SINCE 2026-08-17 \u2014 the compiled default below is what a host resolves when nothing else says otherwise, NOT a description of the fleet. This text once asserted the opposite and outlived its truth by nine days, which is what got ENG-9472 filed to arm an already-armed flag. Query the table, do not infer it from this line. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
36173
36173
|
flagType: "boolean",
|
|
36174
36174
|
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
36175
36175
|
// flag-DB read error must never start shipping tool-call metadata across the
|
|
@@ -36325,7 +36325,7 @@ var FLAG_REGISTRY = [
|
|
|
36325
36325
|
},
|
|
36326
36326
|
{
|
|
36327
36327
|
key: "tool-call-audit",
|
|
36328
|
-
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate;
|
|
36328
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; when off the manager reads no transcripts and sends nothing. ARMED STAGE-WIDE SINCE 2026-08-17 \u2014 the compiled default below is what a host resolves when nothing else says otherwise, NOT a description of the fleet. This text once asserted the opposite and outlived its truth by nine days, which is what got ENG-9472 filed to arm an already-armed flag. Query the table, do not infer it from this line. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
36329
36329
|
flagType: "boolean",
|
|
36330
36330
|
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
36331
36331
|
// flag-DB read error must never start shipping tool-call metadata across the
|
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
writeDirectChatSessionState,
|
|
44
44
|
writeEgressAllowlist,
|
|
45
45
|
writePersistentClaudeWrapper
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-QCYRC5FK.js";
|
|
47
|
+
import "./chunk-Y7AHOXHP.js";
|
|
48
48
|
import "./chunk-XWVM4KPK.js";
|
|
49
49
|
export {
|
|
50
50
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -92,4 +92,4 @@ export {
|
|
|
92
92
|
writeEgressAllowlist,
|
|
93
93
|
writePersistentClaudeWrapper
|
|
94
94
|
};
|
|
95
|
-
//# sourceMappingURL=persistent-session-
|
|
95
|
+
//# sourceMappingURL=persistent-session-5ZWDVVIH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QCYRC5FK.js";
|
|
4
|
+
import "./chunk-Y7AHOXHP.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -745,4 +745,4 @@ export {
|
|
|
745
745
|
readAndResetSlackReplyBindingClassifications,
|
|
746
746
|
readAndResetSlackReplyTargetClassifications
|
|
747
747
|
};
|
|
748
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
748
|
+
//# sourceMappingURL=responsiveness-probe-KDQFIROB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y7AHOXHP.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-7S7IQGNX.js.map
|