@integrity-labs/agt-cli 0.28.817 → 0.28.818
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-SZ47B4KO.js → chunk-NVUWRJWX.js} +2 -2
- package/dist/chunk-NVUWRJWX.js.map +1 -0
- package/dist/{chunk-356JFTPK.js → chunk-Y3CAZCIA.js} +4 -4
- package/dist/{chunk-5RZBTMBD.js → chunk-ZDV575SW.js} +162 -59
- package/dist/chunk-ZDV575SW.js.map +1 -0
- package/dist/{claude-pair-runtime-ZG6I4NMN.js → claude-pair-runtime-HVO7IOCM.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-YX4JTHMC.js → persistent-session-AGMIVLTP.js} +3 -3
- package/dist/{responsiveness-probe-63R3PUAU.js → responsiveness-probe-URK6CHNZ.js} +3 -3
- package/dist/{session-auth-dead-2NFR7OFR.js → session-auth-dead-5FPVU375.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-5RZBTMBD.js.map +0 -1
- package/dist/chunk-SZ47B4KO.js.map +0 -1
- /package/dist/{chunk-356JFTPK.js.map → chunk-Y3CAZCIA.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ZG6I4NMN.js.map → claude-pair-runtime-HVO7IOCM.js.map} +0 -0
- /package/dist/{persistent-session-YX4JTHMC.js.map → persistent-session-AGMIVLTP.js.map} +0 -0
- /package/dist/{responsiveness-probe-63R3PUAU.js.map → responsiveness-probe-URK6CHNZ.js.map} +0 -0
- /package/dist/{session-auth-dead-2NFR7OFR.js.map → session-auth-dead-5FPVU375.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-AGMIVLTP.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-HVO7IOCM.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
safeWriteJsonAtomic,
|
|
59
59
|
setConfigHash,
|
|
60
60
|
tripClass
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-Y3CAZCIA.js";
|
|
62
62
|
import {
|
|
63
63
|
getProjectDir as getProjectDir2,
|
|
64
64
|
getReadyTasks,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
takeZombieDetection,
|
|
124
124
|
toOpencodeModel,
|
|
125
125
|
writeEgressAllowlist
|
|
126
|
-
} from "../chunk-
|
|
126
|
+
} from "../chunk-ZDV575SW.js";
|
|
127
127
|
import {
|
|
128
128
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
129
129
|
AnchorSessionClient,
|
|
@@ -215,7 +215,7 @@ import {
|
|
|
215
215
|
subagentActivityAgeSeconds,
|
|
216
216
|
sumTranscriptUsageInWindow,
|
|
217
217
|
transcriptActivityAgeSeconds
|
|
218
|
-
} from "../chunk-
|
|
218
|
+
} from "../chunk-NVUWRJWX.js";
|
|
219
219
|
import {
|
|
220
220
|
reapOrphanChannelMcps
|
|
221
221
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12918,7 +12918,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12918
12918
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12919
12919
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12920
12920
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12921
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12921
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-URK6CHNZ.js");
|
|
12922
12922
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12923
12923
|
if (newest === null) return null;
|
|
12924
12924
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13586,7 +13586,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13586
13586
|
var lastVersionCheckAt = 0;
|
|
13587
13587
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13588
13588
|
var lastResponsivenessProbeAt = 0;
|
|
13589
|
-
var agtCliVersion = true ? "0.28.
|
|
13589
|
+
var agtCliVersion = true ? "0.28.818" : "dev";
|
|
13590
13590
|
function resolveBrewPath(execFileSync2) {
|
|
13591
13591
|
try {
|
|
13592
13592
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15151,7 +15151,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15151
15151
|
if (codeNames.length === 0) return;
|
|
15152
15152
|
void (async () => {
|
|
15153
15153
|
try {
|
|
15154
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15154
|
+
const { collectDiagnostics } = await import("../persistent-session-AGMIVLTP.js");
|
|
15155
15155
|
await api.post("/host/heartbeat", {
|
|
15156
15156
|
host_id: hostId,
|
|
15157
15157
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15292,7 +15292,7 @@ async function pollCycleInner() {
|
|
|
15292
15292
|
}
|
|
15293
15293
|
try {
|
|
15294
15294
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15295
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15295
|
+
const { collectDiagnostics } = await import("../persistent-session-AGMIVLTP.js");
|
|
15296
15296
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15297
15297
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15298
15298
|
let tailscaleHostname;
|
|
@@ -15461,7 +15461,7 @@ async function pollCycleInner() {
|
|
|
15461
15461
|
collectPanelessActivityProbes,
|
|
15462
15462
|
getResponsivenessIntervalMs,
|
|
15463
15463
|
occupancyQualificationClassifications
|
|
15464
|
-
} = await import("../responsiveness-probe-
|
|
15464
|
+
} = await import("../responsiveness-probe-URK6CHNZ.js");
|
|
15465
15465
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15466
15466
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15467
15467
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15578,7 +15578,7 @@ async function pollCycleInner() {
|
|
|
15578
15578
|
collectResponsivenessProbes,
|
|
15579
15579
|
livePendingInboundOldestAgeSeconds,
|
|
15580
15580
|
parkPendingInbound
|
|
15581
|
-
} = await import("../responsiveness-probe-
|
|
15581
|
+
} = await import("../responsiveness-probe-URK6CHNZ.js");
|
|
15582
15582
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15583
15583
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15584
15584
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15734,7 +15734,7 @@ async function pollCycleInner() {
|
|
|
15734
15734
|
}
|
|
15735
15735
|
try {
|
|
15736
15736
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15737
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15737
|
+
const { probeSessionAuth } = await import("../session-auth-dead-5FPVU375.js");
|
|
15738
15738
|
const observations = [];
|
|
15739
15739
|
const pendingCacheCommits = [];
|
|
15740
15740
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -19934,7 +19934,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19934
19934
|
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}`));
|
|
19935
19935
|
void (async () => {
|
|
19936
19936
|
try {
|
|
19937
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19937
|
+
const { collectDiagnostics } = await import("../persistent-session-AGMIVLTP.js");
|
|
19938
19938
|
await api.post("/host/heartbeat", {
|
|
19939
19939
|
host_id: hostId,
|
|
19940
19940
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19980,7 +19980,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19980
19980
|
}
|
|
19981
19981
|
try {
|
|
19982
19982
|
const hostId = await getHostId();
|
|
19983
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19983
|
+
const { collectDiagnostics } = await import("../persistent-session-AGMIVLTP.js");
|
|
19984
19984
|
await api.post("/host/heartbeat", {
|
|
19985
19985
|
host_id: hostId,
|
|
19986
19986
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20616,7 +20616,7 @@ async function processClaudePairSessions(agents) {
|
|
|
20616
20616
|
killPairSession,
|
|
20617
20617
|
pairTmuxSession,
|
|
20618
20618
|
finalizeClaudePairOnboarding
|
|
20619
|
-
} = await import("../claude-pair-runtime-
|
|
20619
|
+
} = await import("../claude-pair-runtime-HVO7IOCM.js");
|
|
20620
20620
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
20621
20621
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
20622
20622
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -30385,7 +30385,7 @@ var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
|
30385
30385
|
// ../core/dist/types/model-policy.js
|
|
30386
30386
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
30387
30387
|
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
30388
|
-
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(
|
|
30388
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set();
|
|
30389
30389
|
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
30390
30390
|
|
|
30391
30391
|
// ../core/dist/types/integration.js
|
package/dist/mcp/index.js
CHANGED
|
@@ -22413,7 +22413,7 @@ var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
|
22413
22413
|
// ../core/dist/types/model-policy.js
|
|
22414
22414
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
22415
22415
|
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
22416
|
-
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(
|
|
22416
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set();
|
|
22417
22417
|
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
22418
22418
|
|
|
22419
22419
|
// ../core/dist/types/integration.js
|
package/dist/mcp/origami.js
CHANGED
|
@@ -36386,7 +36386,7 @@ var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
|
36386
36386
|
// ../core/dist/types/model-policy.js
|
|
36387
36387
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
36388
36388
|
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
36389
|
-
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(
|
|
36389
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set();
|
|
36390
36390
|
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
36391
36391
|
|
|
36392
36392
|
// ../core/dist/types/integration.js
|
|
@@ -30712,7 +30712,7 @@ var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
|
30712
30712
|
// ../core/dist/types/model-policy.js
|
|
30713
30713
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
30714
30714
|
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
30715
|
-
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(
|
|
30715
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set();
|
|
30716
30716
|
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
30717
30717
|
|
|
30718
30718
|
// ../core/dist/types/integration.js
|
|
@@ -30850,7 +30850,7 @@ var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
|
30850
30850
|
// ../core/dist/types/model-policy.js
|
|
30851
30851
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
30852
30852
|
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
30853
|
-
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(
|
|
30853
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set();
|
|
30854
30854
|
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
30855
30855
|
|
|
30856
30856
|
// ../core/dist/types/integration.js
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
writeDirectChatSessionState,
|
|
50
50
|
writeEgressAllowlist,
|
|
51
51
|
writePersistentClaudeWrapper
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-ZDV575SW.js";
|
|
53
|
+
import "./chunk-NVUWRJWX.js";
|
|
54
54
|
import "./chunk-XWVM4KPK.js";
|
|
55
55
|
export {
|
|
56
56
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -104,4 +104,4 @@ export {
|
|
|
104
104
|
writeEgressAllowlist,
|
|
105
105
|
writePersistentClaudeWrapper
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=persistent-session-
|
|
107
|
+
//# sourceMappingURL=persistent-session-AGMIVLTP.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZDV575SW.js";
|
|
4
|
+
import "./chunk-NVUWRJWX.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-URK6CHNZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NVUWRJWX.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-5FPVU375.js.map
|