@integrity-labs/agt-cli 0.28.1011 → 0.28.1012
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-APSSNA7A.js → chunk-K73BIWKA.js} +32 -4
- package/dist/chunk-K73BIWKA.js.map +1 -0
- package/dist/{chunk-OPDT2OE5.js → chunk-LV72A4BE.js} +1 -1
- package/dist/chunk-LV72A4BE.js.map +1 -0
- package/dist/{chunk-IXWRE7BB.js → chunk-O3DODZVZ.js} +4 -4
- package/dist/{claude-pair-runtime-WLXYE2XB.js → claude-pair-runtime-NPXBXUSE.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/{persistent-session-FV6AAMTM.js → persistent-session-KPASTJIV.js} +3 -3
- package/dist/{responsiveness-probe-243L66XK.js → responsiveness-probe-RSVGRS63.js} +3 -3
- package/dist/{session-auth-dead-J3MNBHCZ.js → session-auth-dead-YV2X4AGF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-APSSNA7A.js.map +0 -1
- package/dist/chunk-OPDT2OE5.js.map +0 -1
- /package/dist/{chunk-IXWRE7BB.js.map → chunk-O3DODZVZ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-WLXYE2XB.js.map → claude-pair-runtime-NPXBXUSE.js.map} +0 -0
- /package/dist/{persistent-session-FV6AAMTM.js.map → persistent-session-KPASTJIV.js.map} +0 -0
- /package/dist/{responsiveness-probe-243L66XK.js.map → responsiveness-probe-RSVGRS63.js.map} +0 -0
- /package/dist/{session-auth-dead-J3MNBHCZ.js.map → session-auth-dead-YV2X4AGF.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseEnvFileEntries,
|
|
16
16
|
parseEnvIntegrations,
|
|
17
17
|
shellQuote
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K73BIWKA.js";
|
|
19
19
|
import {
|
|
20
20
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
21
21
|
INTEGRATIONS_SECTION_END,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
sessionTranscriptDir,
|
|
76
76
|
worseConnectivityOutcome,
|
|
77
77
|
wrapScheduledTaskPrompt
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-LV72A4BE.js";
|
|
79
79
|
import {
|
|
80
80
|
classifyUnanswerablePane,
|
|
81
81
|
summarizeUnanswerablePane
|
|
@@ -7006,7 +7006,7 @@ function exchangeFailureKind(err) {
|
|
|
7006
7006
|
}
|
|
7007
7007
|
|
|
7008
7008
|
// src/lib/api-client.ts
|
|
7009
|
-
var agtCliVersion = true ? "0.28.
|
|
7009
|
+
var agtCliVersion = true ? "0.28.1012" : "dev";
|
|
7010
7010
|
var lastConfigHash = null;
|
|
7011
7011
|
function setConfigHash(hash) {
|
|
7012
7012
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11787,4 +11787,4 @@ export {
|
|
|
11787
11787
|
managerInstallSystemUnitCommand,
|
|
11788
11788
|
managerUninstallSystemUnitCommand
|
|
11789
11789
|
};
|
|
11790
|
-
//# sourceMappingURL=chunk-
|
|
11790
|
+
//# sourceMappingURL=chunk-O3DODZVZ.js.map
|
|
@@ -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-KPASTJIV.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-NPXBXUSE.js.map
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
safeWriteJsonAtomic,
|
|
65
65
|
setConfigHash,
|
|
66
66
|
tripClass
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-O3DODZVZ.js";
|
|
68
68
|
import {
|
|
69
69
|
getProjectDir as getProjectDir2,
|
|
70
70
|
getReadyTasks,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
takeZombieDetection,
|
|
146
146
|
toOpencodeModel,
|
|
147
147
|
writeEgressAllowlist
|
|
148
|
-
} from "../chunk-
|
|
148
|
+
} from "../chunk-K73BIWKA.js";
|
|
149
149
|
import {
|
|
150
150
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
151
151
|
AnchorSessionClient,
|
|
@@ -244,7 +244,7 @@ import {
|
|
|
244
244
|
subagentActivityAgeSeconds,
|
|
245
245
|
sumTranscriptUsageInWindow,
|
|
246
246
|
transcriptActivityAgeSeconds
|
|
247
|
-
} from "../chunk-
|
|
247
|
+
} from "../chunk-LV72A4BE.js";
|
|
248
248
|
import "../chunk-DHWNVVX4.js";
|
|
249
249
|
import {
|
|
250
250
|
reapOrphanChannelMcps
|
|
@@ -13567,7 +13567,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13567
13567
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13568
13568
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13569
13569
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13570
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13570
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-RSVGRS63.js");
|
|
13571
13571
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13572
13572
|
if (newest === null) return null;
|
|
13573
13573
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -14310,7 +14310,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14310
14310
|
var lastVersionCheckAt = 0;
|
|
14311
14311
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14312
14312
|
var lastResponsivenessProbeAt = 0;
|
|
14313
|
-
var agtCliVersion = true ? "0.28.
|
|
14313
|
+
var agtCliVersion = true ? "0.28.1012" : "dev";
|
|
14314
14314
|
function resolveBrewPath(execFileSync3) {
|
|
14315
14315
|
try {
|
|
14316
14316
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15944,7 +15944,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15944
15944
|
if (codeNames.length === 0) return;
|
|
15945
15945
|
void (async () => {
|
|
15946
15946
|
try {
|
|
15947
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15947
|
+
const { collectDiagnostics } = await import("../persistent-session-KPASTJIV.js");
|
|
15948
15948
|
await api.post("/host/heartbeat", {
|
|
15949
15949
|
host_id: hostId,
|
|
15950
15950
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -16086,7 +16086,7 @@ async function pollCycleInner() {
|
|
|
16086
16086
|
}
|
|
16087
16087
|
try {
|
|
16088
16088
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
16089
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16089
|
+
const { collectDiagnostics } = await import("../persistent-session-KPASTJIV.js");
|
|
16090
16090
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
16091
16091
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
16092
16092
|
let tailscaleHostname;
|
|
@@ -16262,7 +16262,7 @@ async function pollCycleInner() {
|
|
|
16262
16262
|
collectPanelessActivityProbes,
|
|
16263
16263
|
getResponsivenessIntervalMs,
|
|
16264
16264
|
occupancyQualificationClassifications
|
|
16265
|
-
} = await import("../responsiveness-probe-
|
|
16265
|
+
} = await import("../responsiveness-probe-RSVGRS63.js");
|
|
16266
16266
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
16267
16267
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
16268
16268
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -16379,7 +16379,7 @@ async function pollCycleInner() {
|
|
|
16379
16379
|
collectResponsivenessProbes,
|
|
16380
16380
|
livePendingInboundOldestAgeSeconds,
|
|
16381
16381
|
parkPendingInbound
|
|
16382
|
-
} = await import("../responsiveness-probe-
|
|
16382
|
+
} = await import("../responsiveness-probe-RSVGRS63.js");
|
|
16383
16383
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
16384
16384
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
16385
16385
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -16535,7 +16535,7 @@ async function pollCycleInner() {
|
|
|
16535
16535
|
}
|
|
16536
16536
|
try {
|
|
16537
16537
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
16538
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
16538
|
+
const { probeSessionAuth } = await import("../session-auth-dead-YV2X4AGF.js");
|
|
16539
16539
|
const observations = [];
|
|
16540
16540
|
const pendingCacheCommits = [];
|
|
16541
16541
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -20915,7 +20915,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20915
20915
|
try {
|
|
20916
20916
|
const freshId = rotateSessionForWedge(codeName);
|
|
20917
20917
|
consecutiveWedgeCycles.delete(codeName);
|
|
20918
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
20918
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-RSVGRS63.js");
|
|
20919
20919
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
20920
20920
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
20921
20921
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -20958,7 +20958,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20958
20958
|
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}`));
|
|
20959
20959
|
void (async () => {
|
|
20960
20960
|
try {
|
|
20961
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20961
|
+
const { collectDiagnostics } = await import("../persistent-session-KPASTJIV.js");
|
|
20962
20962
|
await api.post("/host/heartbeat", {
|
|
20963
20963
|
host_id: hostId,
|
|
20964
20964
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -21009,7 +21009,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
21009
21009
|
}
|
|
21010
21010
|
try {
|
|
21011
21011
|
const hostId = await getHostId();
|
|
21012
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21012
|
+
const { collectDiagnostics } = await import("../persistent-session-KPASTJIV.js");
|
|
21013
21013
|
await api.post("/host/heartbeat", {
|
|
21014
21014
|
host_id: hostId,
|
|
21015
21015
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -21680,7 +21680,7 @@ async function processClaudePairSessions(agents) {
|
|
|
21680
21680
|
// cannot take it for itself — by the time it runs, the write it is looking
|
|
21681
21681
|
// for may already have happened.
|
|
21682
21682
|
snapshotPairConfig
|
|
21683
|
-
} = await import("../claude-pair-runtime-
|
|
21683
|
+
} = await import("../claude-pair-runtime-NPXBXUSE.js");
|
|
21684
21684
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
21685
21685
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
21686
21686
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -65,8 +65,8 @@ import {
|
|
|
65
65
|
writeDirectChatSessionState,
|
|
66
66
|
writeEgressAllowlist,
|
|
67
67
|
writePersistentClaudeWrapper
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-K73BIWKA.js";
|
|
69
|
+
import "./chunk-LV72A4BE.js";
|
|
70
70
|
import "./chunk-DHWNVVX4.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-KPASTJIV.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-K73BIWKA.js";
|
|
4
|
+
import "./chunk-LV72A4BE.js";
|
|
5
5
|
import "./chunk-DHWNVVX4.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-RSVGRS63.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LV72A4BE.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-YV2X4AGF.js.map
|