@integrity-labs/agt-cli 0.28.829 → 0.28.830

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.
Files changed (23) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-GJY3KZG6.js → chunk-4ZPOP7EW.js} +36 -11
  3. package/dist/{chunk-GJY3KZG6.js.map → chunk-4ZPOP7EW.js.map} +1 -1
  4. package/dist/{chunk-6HTCP6D5.js → chunk-N4QVPPYS.js} +2 -2
  5. package/dist/{chunk-E75YCJTE.js → chunk-NGIFEWP4.js} +4 -4
  6. package/dist/{claude-pair-runtime-UTDZXJKO.js → claude-pair-runtime-PUWAIK73.js} +2 -2
  7. package/dist/lib/manager-worker.js +13 -13
  8. package/dist/mcp/augmented-admin.js +1 -1
  9. package/dist/mcp/direct-chat-channel.js +35 -10
  10. package/dist/mcp/index.js +35 -10
  11. package/dist/mcp/origami.js +35 -10
  12. package/dist/mcp/slack-channel.js +35 -10
  13. package/dist/mcp/telegram-channel.js +35 -10
  14. package/dist/{persistent-session-6YTEDS3H.js → persistent-session-W23U7GQU.js} +3 -3
  15. package/dist/{responsiveness-probe-5B2WA5G3.js → responsiveness-probe-IRQKIEBW.js} +3 -3
  16. package/dist/{session-auth-dead-LFNU6AUU.js → session-auth-dead-VDDXVJTX.js} +2 -2
  17. package/package.json +1 -1
  18. /package/dist/{chunk-6HTCP6D5.js.map → chunk-N4QVPPYS.js.map} +0 -0
  19. /package/dist/{chunk-E75YCJTE.js.map → chunk-NGIFEWP4.js.map} +0 -0
  20. /package/dist/{claude-pair-runtime-UTDZXJKO.js.map → claude-pair-runtime-PUWAIK73.js.map} +0 -0
  21. /package/dist/{persistent-session-6YTEDS3H.js.map → persistent-session-W23U7GQU.js.map} +0 -0
  22. /package/dist/{responsiveness-probe-5B2WA5G3.js.map → responsiveness-probe-IRQKIEBW.js.map} +0 -0
  23. /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-E75YCJTE.js";
43
+ } from "../chunk-NGIFEWP4.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-6HTCP6D5.js";
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-GJY3KZG6.js";
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.829" : "dev";
5470
+ var cliVersion = true ? "0.28.830" : "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.829" : "dev";
6661
+ var cliVersion2 = true ? "0.28.830" : "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: "DO NOT ARM YET (ENG-8395): this flag has no `since` set until a follow-up bisects it from the published agt-cli dist, and an unset `since` makes the flip-reach estimate report FULL reach for a reader that is host-side \u2014 it will tell you a flip reached hosts that have no code to honour it. Arm only once that follow-up has landed. 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.",
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-8395 AC5: `since` is deliberately UNSET at merge. It must be bisected
5475
- // from the PUBLISHED agt-cli dist once the artifact carrying the host-side
5476
- // reader exists, never guessed auto-resume.ts is host-side, so an
5477
- // under-`since` host has no consumer for this flag and a guessed value makes
5478
- // the flip-reach modal promise reach it does not have (the defect caught on
5479
- // ENG-8344 / PR #4014). Precedent for the bisect method: slack-hot-thread-guard
5480
- // = 0.28.339, slack-scheduled-channel-guard = 0.28.421. Setting it later is
5481
- // safe: `since` is excluded from projectDefinition, so it does not roll
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-GJY3KZG6.js.map
13902
+ //# sourceMappingURL=chunk-4ZPOP7EW.js.map