@integrity-labs/agt-cli 0.28.751 → 0.28.752
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-QYAJHOZB.js → chunk-5CTWPH6B.js} +10 -4
- package/dist/chunk-5CTWPH6B.js.map +1 -0
- package/dist/{chunk-TZOMZFXF.js → chunk-BAURV6HK.js} +22 -13
- package/dist/chunk-BAURV6HK.js.map +1 -0
- package/dist/{chunk-LCHGVH7O.js → chunk-NUSPIGZR.js} +7 -2
- package/dist/chunk-NUSPIGZR.js.map +1 -0
- package/dist/{claude-pair-runtime-MOUA66HF.js → claude-pair-runtime-6CV4AHYS.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +7 -0
- package/dist/mcp/index.js +7 -0
- package/dist/mcp/origami.js +7 -0
- package/dist/mcp/slack-channel.js +7 -0
- package/dist/mcp/telegram-channel.js +7 -0
- package/dist/{persistent-session-Z3NHK5IW.js → persistent-session-VTK6RTLW.js} +3 -3
- package/dist/{responsiveness-probe-62LL7XTQ.js → responsiveness-probe-TW2EAZTE.js} +3 -3
- package/dist/{session-auth-dead-GEIXRAIM.js → session-auth-dead-5BTBCHBT.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-LCHGVH7O.js.map +0 -1
- package/dist/chunk-QYAJHOZB.js.map +0 -1
- package/dist/chunk-TZOMZFXF.js.map +0 -1
- /package/dist/{claude-pair-runtime-MOUA66HF.js.map → claude-pair-runtime-6CV4AHYS.js.map} +0 -0
- /package/dist/{persistent-session-Z3NHK5IW.js.map → persistent-session-VTK6RTLW.js.map} +0 -0
- /package/dist/{responsiveness-probe-62LL7XTQ.js.map → responsiveness-probe-TW2EAZTE.js.map} +0 -0
- /package/dist/{session-auth-dead-GEIXRAIM.js.map → session-auth-dead-5BTBCHBT.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-VTK6RTLW.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-6CV4AHYS.js.map
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
safeWriteJsonAtomic,
|
|
58
58
|
setConfigHash,
|
|
59
59
|
tripClass
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-5CTWPH6B.js";
|
|
61
61
|
import {
|
|
62
62
|
getProjectDir as getProjectDir2,
|
|
63
63
|
getReadyTasks,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
takeZombieDetection,
|
|
119
119
|
toOpencodeModel,
|
|
120
120
|
writeEgressAllowlist
|
|
121
|
-
} from "../chunk-
|
|
121
|
+
} from "../chunk-NUSPIGZR.js";
|
|
122
122
|
import {
|
|
123
123
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
124
124
|
AnchorSessionClient,
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
subagentActivityAgeSeconds,
|
|
208
208
|
sumTranscriptUsageInWindow,
|
|
209
209
|
transcriptActivityAgeSeconds
|
|
210
|
-
} from "../chunk-
|
|
210
|
+
} from "../chunk-BAURV6HK.js";
|
|
211
211
|
import {
|
|
212
212
|
reapOrphanChannelMcps
|
|
213
213
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12738,7 +12738,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12738
12738
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12739
12739
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12740
12740
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12741
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12741
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-TW2EAZTE.js");
|
|
12742
12742
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12743
12743
|
if (newest === null) return null;
|
|
12744
12744
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13391,7 +13391,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13391
13391
|
var lastVersionCheckAt = 0;
|
|
13392
13392
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13393
13393
|
var lastResponsivenessProbeAt = 0;
|
|
13394
|
-
var agtCliVersion = true ? "0.28.
|
|
13394
|
+
var agtCliVersion = true ? "0.28.752" : "dev";
|
|
13395
13395
|
function resolveBrewPath(execFileSync3) {
|
|
13396
13396
|
try {
|
|
13397
13397
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -14932,7 +14932,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
14932
14932
|
if (codeNames.length === 0) return;
|
|
14933
14933
|
void (async () => {
|
|
14934
14934
|
try {
|
|
14935
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14935
|
+
const { collectDiagnostics } = await import("../persistent-session-VTK6RTLW.js");
|
|
14936
14936
|
await api.post("/host/heartbeat", {
|
|
14937
14937
|
host_id: hostId,
|
|
14938
14938
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15073,7 +15073,7 @@ async function pollCycleInner() {
|
|
|
15073
15073
|
}
|
|
15074
15074
|
try {
|
|
15075
15075
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15076
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15076
|
+
const { collectDiagnostics } = await import("../persistent-session-VTK6RTLW.js");
|
|
15077
15077
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15078
15078
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15079
15079
|
let tailscaleHostname;
|
|
@@ -15242,7 +15242,7 @@ async function pollCycleInner() {
|
|
|
15242
15242
|
collectPanelessActivityProbes,
|
|
15243
15243
|
getResponsivenessIntervalMs,
|
|
15244
15244
|
occupancyQualificationClassifications
|
|
15245
|
-
} = await import("../responsiveness-probe-
|
|
15245
|
+
} = await import("../responsiveness-probe-TW2EAZTE.js");
|
|
15246
15246
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15247
15247
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15248
15248
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15352,7 +15352,7 @@ async function pollCycleInner() {
|
|
|
15352
15352
|
collectResponsivenessProbes,
|
|
15353
15353
|
livePendingInboundOldestAgeSeconds,
|
|
15354
15354
|
parkPendingInbound
|
|
15355
|
-
} = await import("../responsiveness-probe-
|
|
15355
|
+
} = await import("../responsiveness-probe-TW2EAZTE.js");
|
|
15356
15356
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15357
15357
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15358
15358
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15508,7 +15508,7 @@ async function pollCycleInner() {
|
|
|
15508
15508
|
}
|
|
15509
15509
|
try {
|
|
15510
15510
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15511
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15511
|
+
const { probeSessionAuth } = await import("../session-auth-dead-5BTBCHBT.js");
|
|
15512
15512
|
const observations = [];
|
|
15513
15513
|
const pendingCacheCommits = [];
|
|
15514
15514
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -19472,7 +19472,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19472
19472
|
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}`));
|
|
19473
19473
|
void (async () => {
|
|
19474
19474
|
try {
|
|
19475
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19475
|
+
const { collectDiagnostics } = await import("../persistent-session-VTK6RTLW.js");
|
|
19476
19476
|
await api.post("/host/heartbeat", {
|
|
19477
19477
|
host_id: hostId,
|
|
19478
19478
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19518,7 +19518,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19518
19518
|
}
|
|
19519
19519
|
try {
|
|
19520
19520
|
const hostId = await getHostId();
|
|
19521
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19521
|
+
const { collectDiagnostics } = await import("../persistent-session-VTK6RTLW.js");
|
|
19522
19522
|
await api.post("/host/heartbeat", {
|
|
19523
19523
|
host_id: hostId,
|
|
19524
19524
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20154,7 +20154,7 @@ async function processClaudePairSessions(agents) {
|
|
|
20154
20154
|
killPairSession,
|
|
20155
20155
|
pairTmuxSession,
|
|
20156
20156
|
finalizeClaudePairOnboarding
|
|
20157
|
-
} = await import("../claude-pair-runtime-
|
|
20157
|
+
} = await import("../claude-pair-runtime-6CV4AHYS.js");
|
|
20158
20158
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
20159
20159
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
20160
20160
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -30375,6 +30375,13 @@ function recordChannelDeflection(agentDir, channel, cause) {
|
|
|
30375
30375
|
import { readdirSync as readdirSync5, statSync as statSync2 } from "fs";
|
|
30376
30376
|
import { join as join9 } from "path";
|
|
30377
30377
|
|
|
30378
|
+
// ../core/dist/types/agent.js
|
|
30379
|
+
var FRAMEWORK_MODEL_SLOTS = {
|
|
30380
|
+
"claude-code": ["primary", "small_fast"],
|
|
30381
|
+
"opencode": ["primary"]
|
|
30382
|
+
};
|
|
30383
|
+
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
30384
|
+
|
|
30378
30385
|
// ../core/dist/types/integration.js
|
|
30379
30386
|
var HITL_TIER_ORDER = [
|
|
30380
30387
|
"read",
|
package/dist/mcp/index.js
CHANGED
|
@@ -37767,6 +37767,13 @@ function describeAssignHumanResult(resp, email2) {
|
|
|
37767
37767
|
};
|
|
37768
37768
|
}
|
|
37769
37769
|
|
|
37770
|
+
// ../core/dist/types/agent.js
|
|
37771
|
+
var FRAMEWORK_MODEL_SLOTS = {
|
|
37772
|
+
"claude-code": ["primary", "small_fast"],
|
|
37773
|
+
"opencode": ["primary"]
|
|
37774
|
+
};
|
|
37775
|
+
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
37776
|
+
|
|
37770
37777
|
// ../core/dist/types/integration.js
|
|
37771
37778
|
var HITL_TIER_ORDER = [
|
|
37772
37779
|
"read",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -36376,6 +36376,13 @@ var Server = class extends Protocol {
|
|
|
36376
36376
|
}
|
|
36377
36377
|
};
|
|
36378
36378
|
|
|
36379
|
+
// ../core/dist/types/agent.js
|
|
36380
|
+
var FRAMEWORK_MODEL_SLOTS = {
|
|
36381
|
+
"claude-code": ["primary", "small_fast"],
|
|
36382
|
+
"opencode": ["primary"]
|
|
36383
|
+
};
|
|
36384
|
+
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
36385
|
+
|
|
36379
36386
|
// ../core/dist/types/integration.js
|
|
36380
36387
|
var HITL_TIER_ORDER = [
|
|
36381
36388
|
"read",
|
|
@@ -30670,6 +30670,13 @@ function isMaintenanceModeActive(opts) {
|
|
|
30670
30670
|
});
|
|
30671
30671
|
}
|
|
30672
30672
|
|
|
30673
|
+
// ../core/dist/types/agent.js
|
|
30674
|
+
var FRAMEWORK_MODEL_SLOTS = {
|
|
30675
|
+
"claude-code": ["primary", "small_fast"],
|
|
30676
|
+
"opencode": ["primary"]
|
|
30677
|
+
};
|
|
30678
|
+
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
30679
|
+
|
|
30673
30680
|
// ../core/dist/types/integration.js
|
|
30674
30681
|
var HITL_TIER_ORDER = [
|
|
30675
30682
|
"read",
|
|
@@ -30834,6 +30834,13 @@ function isMaintenanceModeActive(opts) {
|
|
|
30834
30834
|
});
|
|
30835
30835
|
}
|
|
30836
30836
|
|
|
30837
|
+
// ../core/dist/types/agent.js
|
|
30838
|
+
var FRAMEWORK_MODEL_SLOTS = {
|
|
30839
|
+
"claude-code": ["primary", "small_fast"],
|
|
30840
|
+
"opencode": ["primary"]
|
|
30841
|
+
};
|
|
30842
|
+
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
30843
|
+
|
|
30837
30844
|
// ../core/dist/types/integration.js
|
|
30838
30845
|
var HITL_TIER_ORDER = [
|
|
30839
30846
|
"read",
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
writeDirectChatSessionState,
|
|
50
50
|
writeEgressAllowlist,
|
|
51
51
|
writePersistentClaudeWrapper
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-NUSPIGZR.js";
|
|
53
|
+
import "./chunk-BAURV6HK.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-VTK6RTLW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-NUSPIGZR.js";
|
|
4
|
+
import "./chunk-BAURV6HK.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-TW2EAZTE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BAURV6HK.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-5BTBCHBT.js.map
|