@integrity-labs/agt-cli 0.28.11 → 0.28.12
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 +3 -3
- package/dist/{chunk-YFHWYJIK.js → chunk-27VZ6HII.js} +1 -1
- package/dist/lib/manager-worker.js +2 -2
- package/dist/mcp/slack-channel.js +6 -1
- package/dist/mcp/telegram-channel.js +1 -0
- package/package.json +1 -1
- /package/dist/{chunk-YFHWYJIK.js.map → chunk-27VZ6HII.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
success,
|
|
34
34
|
table,
|
|
35
35
|
warn
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-27VZ6HII.js";
|
|
37
37
|
import {
|
|
38
38
|
CHANNEL_REGISTRY,
|
|
39
39
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -4773,7 +4773,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4773
4773
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4774
4774
|
import chalk18 from "chalk";
|
|
4775
4775
|
import ora16 from "ora";
|
|
4776
|
-
var cliVersion = true ? "0.28.
|
|
4776
|
+
var cliVersion = true ? "0.28.12" : "dev";
|
|
4777
4777
|
async function fetchLatestVersion() {
|
|
4778
4778
|
const host2 = getHost();
|
|
4779
4779
|
if (!host2) return null;
|
|
@@ -5696,7 +5696,7 @@ function handleError(err) {
|
|
|
5696
5696
|
}
|
|
5697
5697
|
|
|
5698
5698
|
// src/bin/agt.ts
|
|
5699
|
-
var cliVersion2 = true ? "0.28.
|
|
5699
|
+
var cliVersion2 = true ? "0.28.12" : "dev";
|
|
5700
5700
|
var program = new Command();
|
|
5701
5701
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
5702
5702
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
provisionStopHook,
|
|
23
23
|
requireHost,
|
|
24
24
|
safeWriteJsonAtomic
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-27VZ6HII.js";
|
|
26
26
|
import {
|
|
27
27
|
getProjectDir as getProjectDir2,
|
|
28
28
|
getReadyTasks,
|
|
@@ -5083,7 +5083,7 @@ var cachedMaintenanceWindow = null;
|
|
|
5083
5083
|
var lastVersionCheckAt = 0;
|
|
5084
5084
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
5085
5085
|
var lastResponsivenessProbeAt = 0;
|
|
5086
|
-
var agtCliVersion = true ? "0.28.
|
|
5086
|
+
var agtCliVersion = true ? "0.28.12" : "dev";
|
|
5087
5087
|
function resolveBrewPath(execFileSync4) {
|
|
5088
5088
|
try {
|
|
5089
5089
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -14629,6 +14629,7 @@ function channelReplayEnabled() {
|
|
|
14629
14629
|
function shouldReplayMarker(i) {
|
|
14630
14630
|
if (!i.enabled) return false;
|
|
14631
14631
|
if (!i.hasPayload) return false;
|
|
14632
|
+
if (i.discretionary) return false;
|
|
14632
14633
|
if (!i.sessionAlive) return false;
|
|
14633
14634
|
if (i.markerAgeMs < (i.minAgeMs ?? REPLY_WEDGED_THRESHOLD_MS)) return false;
|
|
14634
14635
|
const paneFreshThreshold = i.paneFreshThresholdMs ?? ACK_PANE_FRESH_THRESHOLD_MS;
|
|
@@ -19379,7 +19380,11 @@ async function replayPendingSlackMarkers() {
|
|
|
19379
19380
|
sessionAlive,
|
|
19380
19381
|
markerAgeMs: ageMs,
|
|
19381
19382
|
replayCount: marker.replay_count ?? 0,
|
|
19382
|
-
paneFreshAgeMs
|
|
19383
|
+
paneFreshAgeMs,
|
|
19384
|
+
// ENG-6366: auto-followed un-mentioned thread inbound the agent may
|
|
19385
|
+
// legitimately silently skip — never re-deliver it (it never clears,
|
|
19386
|
+
// so it would otherwise re-push MAX_MARKER_REPLAYS times under replay).
|
|
19387
|
+
discretionary: marker.discretionary
|
|
19383
19388
|
})) {
|
|
19384
19389
|
continue;
|
|
19385
19390
|
}
|
|
@@ -16286,6 +16286,7 @@ function channelReplayEnabled() {
|
|
|
16286
16286
|
function shouldReplayMarker(i) {
|
|
16287
16287
|
if (!i.enabled) return false;
|
|
16288
16288
|
if (!i.hasPayload) return false;
|
|
16289
|
+
if (i.discretionary) return false;
|
|
16289
16290
|
if (!i.sessionAlive) return false;
|
|
16290
16291
|
if (i.markerAgeMs < (i.minAgeMs ?? REPLY_WEDGED_THRESHOLD_MS)) return false;
|
|
16291
16292
|
const paneFreshThreshold = i.paneFreshThresholdMs ?? ACK_PANE_FRESH_THRESHOLD_MS;
|
package/package.json
CHANGED
|
File without changes
|