@integrity-labs/agt-cli 0.28.728 → 0.28.730

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 (24) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-O24LSFRJ.js → chunk-3V7HETFZ.js} +4 -4
  3. package/dist/{chunk-ZCTFF4PA.js → chunk-KF3IFJVV.js} +2 -2
  4. package/dist/{chunk-IXGIGDJG.js → chunk-WVYNQJRS.js} +17 -1
  5. package/dist/chunk-WVYNQJRS.js.map +1 -0
  6. package/dist/{claude-pair-runtime-42GBPDC7.js → claude-pair-runtime-BHULWRDO.js} +2 -2
  7. package/dist/lib/manager-worker.js +117 -44
  8. package/dist/lib/manager-worker.js.map +1 -1
  9. package/dist/mcp/direct-chat-channel.js +16 -0
  10. package/dist/mcp/index.js +16 -0
  11. package/dist/mcp/origami.js +16 -0
  12. package/dist/mcp/slack-channel.js +16 -0
  13. package/dist/mcp/telegram-channel.js +16 -0
  14. package/dist/{persistent-session-LP7JOGZ5.js → persistent-session-KHGH6UKC.js} +3 -3
  15. package/dist/{responsiveness-probe-TTHNHBBS.js → responsiveness-probe-ASAPVDUQ.js} +3 -3
  16. package/dist/{session-auth-dead-YQHE3WKV.js → session-auth-dead-ABEYQHK3.js} +2 -2
  17. package/package.json +1 -1
  18. package/dist/chunk-IXGIGDJG.js.map +0 -1
  19. /package/dist/{chunk-O24LSFRJ.js.map → chunk-3V7HETFZ.js.map} +0 -0
  20. /package/dist/{chunk-ZCTFF4PA.js.map → chunk-KF3IFJVV.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-42GBPDC7.js.map → claude-pair-runtime-BHULWRDO.js.map} +0 -0
  22. /package/dist/{persistent-session-LP7JOGZ5.js.map → persistent-session-KHGH6UKC.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-TTHNHBBS.js.map → responsiveness-probe-ASAPVDUQ.js.map} +0 -0
  24. /package/dist/{session-auth-dead-YQHE3WKV.js.map → session-auth-dead-ABEYQHK3.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -41,12 +41,12 @@ import {
41
41
  success,
42
42
  table,
43
43
  warn
44
- } from "../chunk-O24LSFRJ.js";
44
+ } from "../chunk-3V7HETFZ.js";
45
45
  import {
46
46
  getProjectDir,
47
47
  isSessionResumeDisabled,
48
48
  readDirectChatSessionState
49
- } from "../chunk-ZCTFF4PA.js";
49
+ } from "../chunk-KF3IFJVV.js";
50
50
  import {
51
51
  AnchorSessionClient,
52
52
  CHANNEL_REGISTRY,
@@ -79,7 +79,7 @@ import {
79
79
  serializeManifestForSlackCli,
80
80
  sessionFileExists,
81
81
  sessionTranscriptDir
82
- } from "../chunk-IXGIGDJG.js";
82
+ } from "../chunk-WVYNQJRS.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.728" : "dev";
5470
+ var cliVersion = true ? "0.28.730" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6654,7 +6654,7 @@ function handleError(err) {
6654
6654
  }
6655
6655
 
6656
6656
  // src/bin/agt.ts
6657
- var cliVersion2 = true ? "0.28.728" : "dev";
6657
+ var cliVersion2 = true ? "0.28.730" : "dev";
6658
6658
  var program = new Command();
6659
6659
  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");
6660
6660
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -13,7 +13,7 @@ import {
13
13
  parseEnvFileEntries,
14
14
  parseEnvIntegrations,
15
15
  shellQuote
16
- } from "./chunk-ZCTFF4PA.js";
16
+ } from "./chunk-KF3IFJVV.js";
17
17
  import {
18
18
  BIND_FAILURE_QUARANTINE_THRESHOLD,
19
19
  INTEGRATIONS_SECTION_END,
@@ -62,7 +62,7 @@ import {
62
62
  sessionTranscriptDir,
63
63
  worseConnectivityOutcome,
64
64
  wrapScheduledTaskPrompt
65
- } from "./chunk-IXGIGDJG.js";
65
+ } from "./chunk-WVYNQJRS.js";
66
66
  import {
67
67
  parsePsRows
68
68
  } from "./chunk-XWVM4KPK.js";
@@ -6428,7 +6428,7 @@ function exchangeFailureKind(err) {
6428
6428
  }
6429
6429
 
6430
6430
  // src/lib/api-client.ts
6431
- var agtCliVersion = true ? "0.28.728" : "dev";
6431
+ var agtCliVersion = true ? "0.28.730" : "dev";
6432
6432
  var lastConfigHash = null;
6433
6433
  function setConfigHash(hash) {
6434
6434
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10474,4 +10474,4 @@ export {
10474
10474
  managerInstallSystemUnitCommand,
10475
10475
  managerUninstallSystemUnitCommand
10476
10476
  };
10477
- //# sourceMappingURL=chunk-O24LSFRJ.js.map
10477
+ //# sourceMappingURL=chunk-3V7HETFZ.js.map
@@ -17,7 +17,7 @@ import {
17
17
  rotateDailySession,
18
18
  sessionFileExists,
19
19
  todayLocalIso
20
- } from "./chunk-IXGIGDJG.js";
20
+ } from "./chunk-WVYNQJRS.js";
21
21
  import {
22
22
  reapOrphanChannelMcps
23
23
  } from "./chunk-XWVM4KPK.js";
@@ -4880,4 +4880,4 @@ export {
4880
4880
  stopAllSessionsAndWait,
4881
4881
  getProjectDir
4882
4882
  };
4883
- //# sourceMappingURL=chunk-ZCTFF4PA.js.map
4883
+ //# sourceMappingURL=chunk-KF3IFJVV.js.map
@@ -5018,6 +5018,22 @@ var FLAG_REGISTRY = [
5018
5018
  // safe: `since` is excluded from projectDefinition, so it does not roll
5019
5019
  // FLAGS_SCHEMA_VERSION.
5020
5020
  },
5021
+ {
5022
+ key: "host-poll-rate-alarm",
5023
+ description: "Arms the ENG-9637 per-agent poll-rate alert. The HostPollRateMonitor cron counts /host/refresh requests per agent from CloudWatch Logs Insights each hour and opens an agent_poll_rate_runaway alert when an agent is far above its OWN trailing baseline, or far above the fleet median. OBSERVE-FIRST rollout gate, on the agt-version-drift-alarm precedent: the cron measures, PERSISTS and LOGS every agent on every run regardless of this flag, so the real fleet spread is measurable before anyone is paged. Off = measure, persist and log, open nothing. It gates OPENING only - the recovery pass runs regardless, because arming decides whether we may assert a condition and has no bearing on whether an assertion already made is still true; gating the close would make disarming this flag freeze every open alert permanently. Boolean gate; ships dark. Evaluated API-side, in the cron.",
5024
+ flagType: "boolean",
5025
+ // Declared safe value is `false`, and the reason is specific rather than
5026
+ // habitual. The self-baseline rule needs several hours of persisted history
5027
+ // per agent before it can say anything, so arming this on the same deploy
5028
+ // that creates the table would run the fleet rule alone against a fleet
5029
+ // that is still mid-rollout of the ENG-9637 poll ceiling - i.e. against the
5030
+ // widest poll-rate spread the fleet will ever have. That is a page for
5031
+ // every host still carrying the old CLI.
5032
+ defaultValue: false,
5033
+ // Arming it makes a previously-invisible condition visible all at once,
5034
+ // which is the ADR-0022 sensitive-flag shape.
5035
+ sensitive: true
5036
+ },
5021
5037
  {
5022
5038
  key: "agt-version-drift-alarm",
5023
5039
  description: "Arms the ENG-8341 agt CLI version-drift alert. When a host has fallen behind its EFFECTIVE target (env pin > DB pin > release channel) across two or more of its OWN maintenance windows, the monitor opens a host_agt_version_drift alert. OBSERVE-FIRST rollout gate: the cron computes and LOGS the drift for every host on every run regardless of this flag, so the real fleet spread is measurable before anyone is paged - the ticket asks for the threshold to be set from observed data rather than a guess. Off = compute and log, open nothing. Boolean gate; ships dark. Evaluated API-side, in the cron.",
@@ -12987,4 +13003,4 @@ export {
12987
13003
  peekCurrentSession,
12988
13004
  readDailySessionPin
12989
13005
  };
12990
- //# sourceMappingURL=chunk-IXGIGDJG.js.map
13006
+ //# sourceMappingURL=chunk-WVYNQJRS.js.map