@integrity-labs/agt-cli 0.28.829 → 0.28.831
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-GJY3KZG6.js → chunk-4ZPOP7EW.js} +36 -11
- package/dist/{chunk-GJY3KZG6.js.map → chunk-4ZPOP7EW.js.map} +1 -1
- package/dist/{chunk-6HTCP6D5.js → chunk-N4QVPPYS.js} +2 -2
- package/dist/{chunk-E75YCJTE.js → chunk-PODKITVQ.js} +4 -4
- package/dist/{claude-pair-runtime-UTDZXJKO.js → claude-pair-runtime-PUWAIK73.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/augmented-admin.js +1 -1
- package/dist/mcp/direct-chat-channel.js +88 -13
- package/dist/mcp/index.js +35 -10
- package/dist/mcp/origami.js +35 -10
- package/dist/mcp/slack-channel.js +115 -13
- package/dist/mcp/telegram-channel.js +107 -13
- package/dist/{persistent-session-6YTEDS3H.js → persistent-session-W23U7GQU.js} +3 -3
- package/dist/{responsiveness-probe-5B2WA5G3.js → responsiveness-probe-IRQKIEBW.js} +3 -3
- package/dist/{session-auth-dead-LFNU6AUU.js → session-auth-dead-VDDXVJTX.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-6HTCP6D5.js.map → chunk-N4QVPPYS.js.map} +0 -0
- /package/dist/{chunk-E75YCJTE.js.map → chunk-PODKITVQ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-UTDZXJKO.js.map → claude-pair-runtime-PUWAIK73.js.map} +0 -0
- /package/dist/{persistent-session-6YTEDS3H.js.map → persistent-session-W23U7GQU.js.map} +0 -0
- /package/dist/{responsiveness-probe-5B2WA5G3.js.map → responsiveness-probe-IRQKIEBW.js.map} +0 -0
- /package/dist/{session-auth-dead-LFNU6AUU.js.map → session-auth-dead-VDDXVJTX.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-PODKITVQ.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-N4QVPPYS.js";
|
|
49
49
|
import {
|
|
50
50
|
AnchorSessionClient,
|
|
51
51
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-4ZPOP7EW.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.831" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6658,7 +6658,7 @@ function handleError(err) {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
|
|
6660
6660
|
// src/bin/agt.ts
|
|
6661
|
-
var cliVersion2 = true ? "0.28.
|
|
6661
|
+
var cliVersion2 = true ? "0.28.831" : "dev";
|
|
6662
6662
|
var program = new Command();
|
|
6663
6663
|
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");
|
|
6664
6664
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5453,7 +5453,7 @@ var FLAG_REGISTRY = [
|
|
|
5453
5453
|
},
|
|
5454
5454
|
{
|
|
5455
5455
|
key: "auto-resume-enabled",
|
|
5456
|
-
description: "
|
|
5456
|
+
description: "Bounded BLIND auto-resume for circuit-breaker pauses (ENG-6088): at most one unattended resume per trip cycle, fired once the trip driver has been quiet for the configured window and only for provisioning-reload trips (the ENG-7577 class gate \u2014 a crash-class trip still needs an operator). Superseded wherever `resume-reconciler` is on: that path proves the dependency recovered instead of assuming it, and the blind timer is its flag-off fallback. Boolean gate; ships dark. ENG-8395 promoted this from a raw host env var because AGT_AUTO_RESUME_ENABLED lives in the host env file, so its grain is per-HOST \u2014 one flip arms every agent that host runs (agt-aws-1 carries 14), which made the canary-then-fleet rollout its own documentation prescribes impossible. As a registry flag it resolves per org/team/host/AGENT, so one agent can genuinely be cut over first. Read host-side by the manager (agt-cli), not centrally.",
|
|
5457
5457
|
flagType: "boolean",
|
|
5458
5458
|
// Declared safe value is `false` — identical to today's behaviour on a host
|
|
5459
5459
|
// that has never set the env var. Fail-safe direction on a flag-DB read
|
|
@@ -5470,16 +5470,41 @@ var FLAG_REGISTRY = [
|
|
|
5470
5470
|
// An unattended resume is a real availability change — the agent starts
|
|
5471
5471
|
// spawning sessions again with no human in the loop — so arming it is a
|
|
5472
5472
|
// deliberate, confirmed write (ADR-0022 sensitive-flag confirm).
|
|
5473
|
-
sensitive: true
|
|
5474
|
-
// ENG-
|
|
5475
|
-
//
|
|
5476
|
-
//
|
|
5477
|
-
//
|
|
5478
|
-
//
|
|
5479
|
-
//
|
|
5480
|
-
//
|
|
5481
|
-
//
|
|
5473
|
+
sensitive: true,
|
|
5474
|
+
// ENG-10034: bisected from the PUBLISHED agt-cli dists, not from git history —
|
|
5475
|
+
// auto-resume.ts is host-side, so what matters is the first ARTIFACT a host
|
|
5476
|
+
// could be running that contains a consumer for this flag.
|
|
5477
|
+
//
|
|
5478
|
+
// METHOD, so it can be re-run rather than trusted: download each candidate
|
|
5479
|
+
// tarball from the npm registry and grep its contents for the flag-specific
|
|
5480
|
+
// wiring. Binary search over the 22 versions published either side of
|
|
5481
|
+
// ENG-8395's merge gave a clean one-release boundary, eight minutes wide:
|
|
5482
|
+
//
|
|
5483
|
+
// 0.28.506 2026-08-03T22:29:22Z readAutoResumeEnvOverride ✗ AUTO_RESUME_FLAG_KEY ✗ 'auto-resume-enabled' ✗
|
|
5484
|
+
// 0.28.507 2026-08-03T22:37:00Z readAutoResumeEnvOverride ✓ AUTO_RESUME_FLAG_KEY ✓ 'auto-resume-enabled' ✓
|
|
5485
|
+
//
|
|
5486
|
+
// All three symbols are checked rather than one. `getBooleanForAgent` alone
|
|
5487
|
+
// would have been the wrong probe — it is present in BOTH builds, because the
|
|
5488
|
+
// generic resolver long predates this flag. A `since` bisected on a symbol the
|
|
5489
|
+
// flag does not depend on is a number that looks rigorous and is not.
|
|
5490
|
+
//
|
|
5491
|
+
// ENG-8395 AC5 left this unset on purpose and said why: an unset `since` makes
|
|
5492
|
+
// the flip-reach estimate report FULL reach for a host-side reader, promising
|
|
5493
|
+
// reach it does not have (the defect caught on ENG-8344 / PR #4014). The
|
|
5494
|
+
// follow-up it was waiting on was never filed, so the flag sat un-armable for
|
|
5495
|
+
// a month and ENG-6088's bounded auto-resume stayed dark fleet-wide — a
|
|
5496
|
+
// customer agent sat breaker-paused 2h08m on 2026-09-05 with the recovery path
|
|
5497
|
+
// silently disabled. That is what an administrative blocker recorded only in a
|
|
5498
|
+
// code comment costs.
|
|
5499
|
+
//
|
|
5500
|
+
// Same method as its precedents: slack-hot-thread-guard = 0.28.339,
|
|
5501
|
+
// slack-scheduled-channel-guard = 0.28.421 (ENG-8149). Setting it now is safe:
|
|
5502
|
+
// `since` is excluded from projectDefinition, so it does not roll
|
|
5482
5503
|
// FLAGS_SCHEMA_VERSION.
|
|
5504
|
+
//
|
|
5505
|
+
// This does NOT arm the flag. defaultValue stays false and `sensitive` stays
|
|
5506
|
+
// true; arming is a separate, deliberate decision that belongs to ENG-6066.
|
|
5507
|
+
since: "0.28.507"
|
|
5483
5508
|
},
|
|
5484
5509
|
{
|
|
5485
5510
|
key: "host-poll-rate-alarm",
|
|
@@ -13874,4 +13899,4 @@ export {
|
|
|
13874
13899
|
peekCurrentSession,
|
|
13875
13900
|
readDailySessionPin
|
|
13876
13901
|
};
|
|
13877
|
-
//# sourceMappingURL=chunk-
|
|
13902
|
+
//# sourceMappingURL=chunk-4ZPOP7EW.js.map
|