@integrity-labs/agt-cli 0.28.77 → 0.28.79
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 +4 -4
- package/dist/{chunk-XHKMS4UY.js → chunk-3KLQA3SC.js} +8 -1
- package/dist/chunk-3KLQA3SC.js.map +1 -0
- package/dist/{chunk-EHSKP4FA.js → chunk-N7FYQX2R.js} +128 -8
- package/dist/chunk-N7FYQX2R.js.map +1 -0
- package/dist/{chunk-PEVDRQJA.js → chunk-XDZFMTY5.js} +2 -2
- package/dist/{claude-pair-runtime-IGVIKCHS.js → claude-pair-runtime-6XYMSC6B.js} +2 -2
- package/dist/lib/manager-worker.js +14 -9
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +298 -46
- package/dist/mcp/telegram-channel.js +1 -0
- package/dist/{persistent-session-Z3RHQRVC.js → persistent-session-U6P5I6TT.js} +3 -3
- package/dist/{responsiveness-probe-QWO75M34.js → responsiveness-probe-VKIJY4IC.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-EHSKP4FA.js.map +0 -1
- package/dist/chunk-XHKMS4UY.js.map +0 -1
- /package/dist/{chunk-PEVDRQJA.js.map → chunk-XDZFMTY5.js.map} +0 -0
- /package/dist/{claude-pair-runtime-IGVIKCHS.js.map → claude-pair-runtime-6XYMSC6B.js.map} +0 -0
- /package/dist/{persistent-session-Z3RHQRVC.js.map → persistent-session-U6P5I6TT.js.map} +0 -0
- /package/dist/{responsiveness-probe-QWO75M34.js.map → responsiveness-probe-VKIJY4IC.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMissingVar,
|
|
4
4
|
isClaudeFastMode,
|
|
5
5
|
probeMcpEnvSubstitution
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3KLQA3SC.js";
|
|
7
7
|
import {
|
|
8
8
|
reapOrphanChannelMcps
|
|
9
9
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1395,4 +1395,4 @@ export {
|
|
|
1395
1395
|
stopAllSessionsAndWait,
|
|
1396
1396
|
getProjectDir
|
|
1397
1397
|
};
|
|
1398
|
-
//# sourceMappingURL=chunk-
|
|
1398
|
+
//# sourceMappingURL=chunk-XDZFMTY5.js.map
|
|
@@ -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-U6P5I6TT.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-6XYMSC6B.js.map
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
getIntegration,
|
|
21
21
|
provision,
|
|
22
22
|
provisionAutoKanbanProgressHook,
|
|
23
|
+
provisionChannelProgressHook,
|
|
23
24
|
provisionIsolationHook,
|
|
24
25
|
provisionOrientHook,
|
|
25
26
|
provisionSessionStateHook,
|
|
@@ -27,7 +28,7 @@ import {
|
|
|
27
28
|
requireHost,
|
|
28
29
|
safeWriteJsonAtomic,
|
|
29
30
|
setConfigHash
|
|
30
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-N7FYQX2R.js";
|
|
31
32
|
import {
|
|
32
33
|
getProjectDir as getProjectDir2,
|
|
33
34
|
getReadyTasks,
|
|
@@ -65,7 +66,7 @@ import {
|
|
|
65
66
|
takeWatchdogGiveUpCount,
|
|
66
67
|
takeZombieDetection,
|
|
67
68
|
transcriptActivityAgeSeconds
|
|
68
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-XDZFMTY5.js";
|
|
69
70
|
import {
|
|
70
71
|
FLAGS_SCHEMA_VERSION,
|
|
71
72
|
FLAG_REGISTRY,
|
|
@@ -99,7 +100,7 @@ import {
|
|
|
99
100
|
resolveDmTarget,
|
|
100
101
|
sumTranscriptUsageInWindow,
|
|
101
102
|
wrapScheduledTaskPrompt
|
|
102
|
-
} from "../chunk-
|
|
103
|
+
} from "../chunk-3KLQA3SC.js";
|
|
103
104
|
import {
|
|
104
105
|
parsePsRows,
|
|
105
106
|
reapOrphanChannelMcps
|
|
@@ -1589,7 +1590,6 @@ var GATEABLE_RESTART_REASONS = /* @__PURE__ */ new Set([
|
|
|
1589
1590
|
"channel-set-change",
|
|
1590
1591
|
"sender-policy-change",
|
|
1591
1592
|
"channel-behaviour-change",
|
|
1592
|
-
"hot-reload-mcp",
|
|
1593
1593
|
"mcp-presence-reaper"
|
|
1594
1594
|
]);
|
|
1595
1595
|
function isGateableRestartReason(reason) {
|
|
@@ -6800,7 +6800,7 @@ var cachedMaintenanceWindow = null;
|
|
|
6800
6800
|
var lastVersionCheckAt = 0;
|
|
6801
6801
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6802
6802
|
var lastResponsivenessProbeAt = 0;
|
|
6803
|
-
var agtCliVersion = true ? "0.28.
|
|
6803
|
+
var agtCliVersion = true ? "0.28.79" : "dev";
|
|
6804
6804
|
function resolveBrewPath(execFileSync4) {
|
|
6805
6805
|
try {
|
|
6806
6806
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7908,7 +7908,7 @@ async function pollCycle() {
|
|
|
7908
7908
|
}
|
|
7909
7909
|
try {
|
|
7910
7910
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
7911
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7911
|
+
const { collectDiagnostics } = await import("../persistent-session-U6P5I6TT.js");
|
|
7912
7912
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
7913
7913
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
7914
7914
|
let tailscaleHostname;
|
|
@@ -8009,7 +8009,7 @@ async function pollCycle() {
|
|
|
8009
8009
|
const {
|
|
8010
8010
|
collectResponsivenessProbes,
|
|
8011
8011
|
getResponsivenessIntervalMs
|
|
8012
|
-
} = await import("../responsiveness-probe-
|
|
8012
|
+
} = await import("../responsiveness-probe-VKIJY4IC.js");
|
|
8013
8013
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
8014
8014
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
8015
8015
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8041,7 +8041,7 @@ async function pollCycle() {
|
|
|
8041
8041
|
collectResponsivenessProbes,
|
|
8042
8042
|
livePendingInboundOldestAgeSeconds,
|
|
8043
8043
|
parkPendingInbound
|
|
8044
|
-
} = await import("../responsiveness-probe-
|
|
8044
|
+
} = await import("../responsiveness-probe-VKIJY4IC.js");
|
|
8045
8045
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
8046
8046
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
8047
8047
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -10647,6 +10647,11 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash8("sha256").
|
|
|
10647
10647
|
} catch (err) {
|
|
10648
10648
|
log(`[persistent-session] Failed to provision auto-progress hook for '${codeName}': ${err.message}`);
|
|
10649
10649
|
}
|
|
10650
|
+
try {
|
|
10651
|
+
provisionChannelProgressHook(codeName);
|
|
10652
|
+
} catch (err) {
|
|
10653
|
+
log(`[persistent-session] Failed to provision channel-progress hook for '${codeName}': ${err.message}`);
|
|
10654
|
+
}
|
|
10650
10655
|
try {
|
|
10651
10656
|
provisionSessionStateHook(codeName);
|
|
10652
10657
|
} catch (err) {
|
|
@@ -11505,7 +11510,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11505
11510
|
killPairSession,
|
|
11506
11511
|
pairTmuxSession,
|
|
11507
11512
|
finalizeClaudePairOnboarding
|
|
11508
|
-
} = await import("../claude-pair-runtime-
|
|
11513
|
+
} = await import("../claude-pair-runtime-6XYMSC6B.js");
|
|
11509
11514
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11510
11515
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11511
11516
|
const killed = await killPairSession(pairTmuxSession(pairId));
|