@integrity-labs/agt-cli 0.28.452 → 0.28.454

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 CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-WOZINHUT.js";
43
+ } from "../chunk-23E2T5UT.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -71,7 +71,7 @@ import {
71
71
  requiredMcpWildcard,
72
72
  resolveChannels,
73
73
  serializeManifestForSlackCli
74
- } from "../chunk-ESZRW7A3.js";
74
+ } from "../chunk-3NJHNIO3.js";
75
75
  import "../chunk-XWVM4KPK.js";
76
76
 
77
77
  // src/bin/agt.ts
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
4830
4830
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4831
4831
  import chalk18 from "chalk";
4832
4832
  import ora16 from "ora";
4833
- var cliVersion = true ? "0.28.452" : "dev";
4833
+ var cliVersion = true ? "0.28.454" : "dev";
4834
4834
  async function fetchLatestVersion() {
4835
4835
  const host2 = getHost();
4836
4836
  if (!host2) return null;
@@ -6002,7 +6002,7 @@ function handleError(err) {
6002
6002
  }
6003
6003
 
6004
6004
  // src/bin/agt.ts
6005
- var cliVersion2 = true ? "0.28.452" : "dev";
6005
+ var cliVersion2 = true ? "0.28.454" : "dev";
6006
6006
  var program = new Command();
6007
6007
  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");
6008
6008
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -29,7 +29,7 @@ import {
29
29
  resolveConnectivityProbe,
30
30
  worseConnectivityOutcome,
31
31
  wrapScheduledTaskPrompt
32
- } from "./chunk-ESZRW7A3.js";
32
+ } from "./chunk-3NJHNIO3.js";
33
33
  import {
34
34
  parsePsRows
35
35
  } from "./chunk-XWVM4KPK.js";
@@ -4910,7 +4910,7 @@ function requireHost() {
4910
4910
  }
4911
4911
 
4912
4912
  // src/lib/api-client.ts
4913
- var agtCliVersion = true ? "0.28.452" : "dev";
4913
+ var agtCliVersion = true ? "0.28.454" : "dev";
4914
4914
  var lastConfigHash = null;
4915
4915
  function setConfigHash(hash) {
4916
4916
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -7411,4 +7411,4 @@ export {
7411
7411
  managerInstallSystemUnitCommand,
7412
7412
  managerUninstallSystemUnitCommand
7413
7413
  };
7414
- //# sourceMappingURL=chunk-WOZINHUT.js.map
7414
+ //# sourceMappingURL=chunk-23E2T5UT.js.map
@@ -9358,15 +9358,24 @@ var FLAG_REGISTRY = [
9358
9358
  // a deliberate availability trade (the refusal is free, but it is still a
9359
9359
  // dispatch the operator previously suppressed), so flipping toward it is an
9360
9360
  // audited change (ADR-0022 sensitive-flag confirm).
9361
- sensitive: true
9362
- // ENG-8149: `since` is the agt-cli version that first carries
9363
- // resolveUsageLimitReactiveMode + the MCP watcher. It cannot be known before
9364
- // this lands (the auto-publish patch-bumps on merge), and an undefined
9365
- // `since` makes the flip-reach modal claim FULL reach - true for flags that
9366
- // predate the reach work, wrong for a NEW host-read flag whose reader older
9367
- // hosts simply do not have. Backfilled by a follow-up commit once the
9368
- // publishing run reports the version. Excluded from projectDefinition, so
9361
+ sensitive: true,
9362
+ // ENG-8149 / ENG-8229: the agt-cli that first carries
9363
+ // resolveUsageLimitReactiveMode in ALL THREE channel servers - published from
9364
+ // the ENG-8207 merge 0294fa1a8. Without this the flip-reach modal reports FULL
9365
+ // reach, because an undefined `since` means "every host can honour it" - true
9366
+ // for flags that predate the reach work, wrong for a NEW host-read flag whose
9367
+ // reader older hosts simply do not have. Excluded from projectDefinition, so
9369
9368
  // setting it does not roll FLAGS_SCHEMA_VERSION.
9369
+ //
9370
+ // Deliberately the LATER of the two versions this flag's reader shipped in.
9371
+ // Unlike its siblings, this reader landed in two stages: direct-chat at the
9372
+ // ENG-8201 Slice 2 publish, slack + telegram only at 0.28.450 (ENG-8207) - and
9373
+ // `since` is one version per flag, so it cannot express "partially honoured".
9374
+ // A host in between genuinely honours the flag for direct-chat and is still
9375
+ // classified `stale`. That understates reach rather than overstating it, which
9376
+ // is the safe direction, and it is the useful one while the flag sits at
9377
+ // enforce and slack/telegram adoption is what an operator needs to track.
9378
+ since: "0.28.450"
9370
9379
  },
9371
9380
  {
9372
9381
  key: "slack-hot-thread-guard",
@@ -10062,6 +10071,15 @@ function computeFlagsSchemaVersion() {
10062
10071
  }
10063
10072
  var FLAGS_SCHEMA_VERSION = computeFlagsSchemaVersion();
10064
10073
 
10074
+ // ../../packages/core/dist/restart/breaker-thresholds.js
10075
+ var RESTART_BREAKER_PROVISIONING_MAX = 5;
10076
+ var RESTART_BREAKER_PROVISIONING_WINDOW_MS = 18e5;
10077
+ var BIND_FAILURE_QUARANTINE_THRESHOLD = deriveBindFailureQuarantineThreshold(RESTART_BREAKER_PROVISIONING_MAX);
10078
+ function deriveBindFailureQuarantineThreshold(provisioningMax) {
10079
+ return Math.max(2, provisioningMax - 2);
10080
+ }
10081
+ var MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING = BIND_FAILURE_QUARANTINE_THRESHOLD + 1;
10082
+
10065
10083
  // src/lib/claude-tools.ts
10066
10084
  var BASE_TOOLS = ["Bash", "Read", "Write", "Edit", "Grep", "Glob", "Agent", "Skill", "ToolSearch"];
10067
10085
  function buildAllowedTools(mcpServerNames) {
@@ -14338,6 +14356,10 @@ export {
14338
14356
  normalizeFlagValue,
14339
14357
  coerceEnvValue,
14340
14358
  FLAGS_SCHEMA_VERSION,
14359
+ RESTART_BREAKER_PROVISIONING_MAX,
14360
+ RESTART_BREAKER_PROVISIONING_WINDOW_MS,
14361
+ BIND_FAILURE_QUARANTINE_THRESHOLD,
14362
+ MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING,
14341
14363
  LATE_BOUND_VARS,
14342
14364
  expandTemplateVars,
14343
14365
  parseEnvIntegrations,
@@ -14403,4 +14425,4 @@ export {
14403
14425
  stopAllSessionsAndWait,
14404
14426
  getProjectDir
14405
14427
  };
14406
- //# sourceMappingURL=chunk-ESZRW7A3.js.map
14428
+ //# sourceMappingURL=chunk-3NJHNIO3.js.map