@integrity-labs/agt-cli 0.28.1027 → 0.28.1029
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-BHKFVSIX.js → chunk-3V43FBP4.js} +14 -4
- package/dist/chunk-3V43FBP4.js.map +1 -0
- package/dist/{chunk-LDC3CQEA.js → chunk-4KX6ZCA2.js} +4 -4
- package/dist/{chunk-34GFI2WX.js → chunk-7LBSHOJ7.js} +8 -2
- package/dist/chunk-7LBSHOJ7.js.map +1 -0
- package/dist/{claude-pair-runtime-2RYLRYI6.js → claude-pair-runtime-A4JF2ZGD.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- 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-2ZBF77YE.js → persistent-session-U2DXYFIU.js} +3 -3
- package/dist/{responsiveness-probe-M4BIZZ4G.js → responsiveness-probe-7KPMAX2A.js} +3 -3
- package/dist/{session-auth-dead-ZKC2HH6T.js → session-auth-dead-PZGGUZWK.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-34GFI2WX.js.map +0 -1
- package/dist/chunk-BHKFVSIX.js.map +0 -1
- /package/dist/{chunk-LDC3CQEA.js.map → chunk-4KX6ZCA2.js.map} +0 -0
- /package/dist/{claude-pair-runtime-2RYLRYI6.js.map → claude-pair-runtime-A4JF2ZGD.js.map} +0 -0
- /package/dist/{persistent-session-2ZBF77YE.js.map → persistent-session-U2DXYFIU.js.map} +0 -0
- /package/dist/{responsiveness-probe-M4BIZZ4G.js.map → responsiveness-probe-7KPMAX2A.js.map} +0 -0
- /package/dist/{session-auth-dead-ZKC2HH6T.js.map → session-auth-dead-PZGGUZWK.js.map} +0 -0
|
@@ -266,7 +266,7 @@ async function spawnPairSession(session) {
|
|
|
266
266
|
return { ok: true };
|
|
267
267
|
} catch {
|
|
268
268
|
}
|
|
269
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
269
|
+
const { resolveClaudeBinary } = await import("./persistent-session-U2DXYFIU.js");
|
|
270
270
|
const claudeBin = resolveClaudeBinary();
|
|
271
271
|
const pairEnv = {
|
|
272
272
|
...process.env,
|
|
@@ -734,4 +734,4 @@ export {
|
|
|
734
734
|
startClaudePair,
|
|
735
735
|
submitClaudePairCode
|
|
736
736
|
};
|
|
737
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
737
|
+
//# sourceMappingURL=claude-pair-runtime-A4JF2ZGD.js.map
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
safeWriteJsonAtomic,
|
|
67
67
|
setConfigHash,
|
|
68
68
|
tripClass
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-4KX6ZCA2.js";
|
|
70
70
|
import {
|
|
71
71
|
getProjectDir as getProjectDir2,
|
|
72
72
|
getReadyTasks,
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
takeZombieDetection,
|
|
150
150
|
toOpencodeModel,
|
|
151
151
|
writeEgressAllowlist
|
|
152
|
-
} from "../chunk-
|
|
152
|
+
} from "../chunk-7LBSHOJ7.js";
|
|
153
153
|
import {
|
|
154
154
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
155
155
|
AnchorSessionClient,
|
|
@@ -254,7 +254,7 @@ import {
|
|
|
254
254
|
subagentActivityAgeSeconds,
|
|
255
255
|
sumTranscriptUsageInWindow,
|
|
256
256
|
transcriptActivityAgeSeconds
|
|
257
|
-
} from "../chunk-
|
|
257
|
+
} from "../chunk-3V43FBP4.js";
|
|
258
258
|
import {
|
|
259
259
|
classifyUnanswerablePane,
|
|
260
260
|
paneRemedy
|
|
@@ -13927,7 +13927,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13927
13927
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13928
13928
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13929
13929
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13930
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13930
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-7KPMAX2A.js");
|
|
13931
13931
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13932
13932
|
if (newest === null) return null;
|
|
13933
13933
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -14673,7 +14673,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14673
14673
|
var lastVersionCheckAt = 0;
|
|
14674
14674
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14675
14675
|
var lastResponsivenessProbeAt = 0;
|
|
14676
|
-
var agtCliVersion = true ? "0.28.
|
|
14676
|
+
var agtCliVersion = true ? "0.28.1029" : "dev";
|
|
14677
14677
|
function resolveBrewPath(execFileSync3) {
|
|
14678
14678
|
try {
|
|
14679
14679
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -16308,7 +16308,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
16308
16308
|
if (codeNames.length === 0) return;
|
|
16309
16309
|
void (async () => {
|
|
16310
16310
|
try {
|
|
16311
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16311
|
+
const { collectDiagnostics } = await import("../persistent-session-U2DXYFIU.js");
|
|
16312
16312
|
await api.post("/host/heartbeat", {
|
|
16313
16313
|
host_id: hostId,
|
|
16314
16314
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -16450,7 +16450,7 @@ async function pollCycleInner() {
|
|
|
16450
16450
|
}
|
|
16451
16451
|
try {
|
|
16452
16452
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
16453
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16453
|
+
const { collectDiagnostics } = await import("../persistent-session-U2DXYFIU.js");
|
|
16454
16454
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
16455
16455
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
16456
16456
|
let tailscaleHostname;
|
|
@@ -16626,7 +16626,7 @@ async function pollCycleInner() {
|
|
|
16626
16626
|
collectPanelessActivityProbes,
|
|
16627
16627
|
getResponsivenessIntervalMs,
|
|
16628
16628
|
occupancyQualificationClassifications
|
|
16629
|
-
} = await import("../responsiveness-probe-
|
|
16629
|
+
} = await import("../responsiveness-probe-7KPMAX2A.js");
|
|
16630
16630
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
16631
16631
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
16632
16632
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -16743,7 +16743,7 @@ async function pollCycleInner() {
|
|
|
16743
16743
|
collectResponsivenessProbes,
|
|
16744
16744
|
livePendingInboundOldestAgeSeconds,
|
|
16745
16745
|
parkPendingInbound
|
|
16746
|
-
} = await import("../responsiveness-probe-
|
|
16746
|
+
} = await import("../responsiveness-probe-7KPMAX2A.js");
|
|
16747
16747
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
16748
16748
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
16749
16749
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -16899,7 +16899,7 @@ async function pollCycleInner() {
|
|
|
16899
16899
|
}
|
|
16900
16900
|
try {
|
|
16901
16901
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
16902
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
16902
|
+
const { probeSessionAuth } = await import("../session-auth-dead-PZGGUZWK.js");
|
|
16903
16903
|
const observations = [];
|
|
16904
16904
|
const pendingCacheCommits = [];
|
|
16905
16905
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -21442,7 +21442,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
21442
21442
|
try {
|
|
21443
21443
|
const freshId = rotateSessionForWedge(codeName);
|
|
21444
21444
|
consecutiveWedgeCycles.delete(codeName);
|
|
21445
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
21445
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-7KPMAX2A.js");
|
|
21446
21446
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
21447
21447
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
21448
21448
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -21485,7 +21485,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
21485
21485
|
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}`));
|
|
21486
21486
|
void (async () => {
|
|
21487
21487
|
try {
|
|
21488
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21488
|
+
const { collectDiagnostics } = await import("../persistent-session-U2DXYFIU.js");
|
|
21489
21489
|
await api.post("/host/heartbeat", {
|
|
21490
21490
|
host_id: hostId,
|
|
21491
21491
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -21536,7 +21536,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
21536
21536
|
}
|
|
21537
21537
|
try {
|
|
21538
21538
|
const hostId = await getHostId();
|
|
21539
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21539
|
+
const { collectDiagnostics } = await import("../persistent-session-U2DXYFIU.js");
|
|
21540
21540
|
await api.post("/host/heartbeat", {
|
|
21541
21541
|
host_id: hostId,
|
|
21542
21542
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22208,7 +22208,7 @@ async function processClaudePairSessions(agents) {
|
|
|
22208
22208
|
// cannot take it for itself — by the time it runs, the write it is looking
|
|
22209
22209
|
// for may already have happened.
|
|
22210
22210
|
snapshotPairConfig
|
|
22211
|
-
} = await import("../claude-pair-runtime-
|
|
22211
|
+
} = await import("../claude-pair-runtime-A4JF2ZGD.js");
|
|
22212
22212
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
22213
22213
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
22214
22214
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -31588,7 +31588,7 @@ var GUARDRAIL_ENFORCERS = [
|
|
|
31588
31588
|
{ id: "schedule.operating_hours", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
31589
31589
|
{ id: "spend.hourly_limit", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
31590
31590
|
{ id: "tool.allow_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
31591
|
-
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-
|
|
31591
|
+
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-11005" },
|
|
31592
31592
|
{ id: "tool.financial_txn", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
31593
31593
|
{ id: "working-hours-only", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" }
|
|
31594
31594
|
];
|
package/dist/mcp/index.js
CHANGED
|
@@ -24145,7 +24145,7 @@ var GUARDRAIL_ENFORCERS = [
|
|
|
24145
24145
|
{ id: "schedule.operating_hours", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
24146
24146
|
{ id: "spend.hourly_limit", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
24147
24147
|
{ id: "tool.allow_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
24148
|
-
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-
|
|
24148
|
+
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-11005" },
|
|
24149
24149
|
{ id: "tool.financial_txn", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
24150
24150
|
{ id: "working-hours-only", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" }
|
|
24151
24151
|
];
|
package/dist/mcp/origami.js
CHANGED
|
@@ -38321,7 +38321,7 @@ var GUARDRAIL_ENFORCERS = [
|
|
|
38321
38321
|
{ id: "schedule.operating_hours", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
38322
38322
|
{ id: "spend.hourly_limit", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
38323
38323
|
{ id: "tool.allow_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
38324
|
-
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-
|
|
38324
|
+
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-11005" },
|
|
38325
38325
|
{ id: "tool.financial_txn", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
38326
38326
|
{ id: "working-hours-only", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" }
|
|
38327
38327
|
];
|
|
@@ -32538,7 +32538,7 @@ var GUARDRAIL_ENFORCERS = [
|
|
|
32538
32538
|
{ id: "schedule.operating_hours", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
32539
32539
|
{ id: "spend.hourly_limit", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
32540
32540
|
{ id: "tool.allow_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
32541
|
-
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-
|
|
32541
|
+
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-11005" },
|
|
32542
32542
|
{ id: "tool.financial_txn", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
32543
32543
|
{ id: "working-hours-only", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" }
|
|
32544
32544
|
];
|
|
@@ -32647,7 +32647,7 @@ var GUARDRAIL_ENFORCERS = [
|
|
|
32647
32647
|
{ id: "schedule.operating_hours", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
32648
32648
|
{ id: "spend.hourly_limit", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
32649
32649
|
{ id: "tool.allow_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
32650
|
-
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-
|
|
32650
|
+
{ id: "tool.block_list", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-11005" },
|
|
32651
32651
|
{ id: "tool.financial_txn", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" },
|
|
32652
32652
|
{ id: "working-hours-only", mechanism: "advisory", reason: "unimplemented", ticket: "ENG-9800" }
|
|
32653
32653
|
];
|
|
@@ -65,8 +65,8 @@ import {
|
|
|
65
65
|
writeDirectChatSessionState,
|
|
66
66
|
writeEgressAllowlist,
|
|
67
67
|
writePersistentClaudeWrapper
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-7LBSHOJ7.js";
|
|
69
|
+
import "./chunk-3V43FBP4.js";
|
|
70
70
|
import "./chunk-TQDIIS3X.js";
|
|
71
71
|
import "./chunk-XWVM4KPK.js";
|
|
72
72
|
import "./chunk-EL5MWGGH.js";
|
|
@@ -139,4 +139,4 @@ export {
|
|
|
139
139
|
writeEgressAllowlist,
|
|
140
140
|
writePersistentClaudeWrapper
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=persistent-session-
|
|
142
|
+
//# sourceMappingURL=persistent-session-U2DXYFIU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7LBSHOJ7.js";
|
|
4
|
+
import "./chunk-3V43FBP4.js";
|
|
5
5
|
import "./chunk-TQDIIS3X.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
7
7
|
import "./chunk-EL5MWGGH.js";
|
|
@@ -802,4 +802,4 @@ export {
|
|
|
802
802
|
readAndResetSlackReplyBindingClassifications,
|
|
803
803
|
readAndResetSlackReplyTargetClassifications
|
|
804
804
|
};
|
|
805
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
805
|
+
//# sourceMappingURL=responsiveness-probe-7KPMAX2A.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3V43FBP4.js";
|
|
4
4
|
import "./chunk-DGUM43GV.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/session-auth-dead.ts
|
|
@@ -204,4 +204,4 @@ export {
|
|
|
204
204
|
decideSessionAuthState,
|
|
205
205
|
probeSessionAuth
|
|
206
206
|
};
|
|
207
|
-
//# sourceMappingURL=session-auth-dead-
|
|
207
|
+
//# sourceMappingURL=session-auth-dead-PZGGUZWK.js.map
|