@integrity-labs/agt-cli 0.28.930 → 0.28.931

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-NCNQFUNQ.js";
43
+ } from "../chunk-HSXAGIVO.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
@@ -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.930" : "dev";
5470
+ var cliVersion = true ? "0.28.931" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6727,7 +6727,7 @@ function handleError(err) {
6727
6727
  }
6728
6728
 
6729
6729
  // src/bin/agt.ts
6730
- var cliVersion2 = true ? "0.28.930" : "dev";
6730
+ var cliVersion2 = true ? "0.28.931" : "dev";
6731
6731
  var program = new Command();
6732
6732
  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");
6733
6733
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -6942,7 +6942,7 @@ function exchangeFailureKind(err) {
6942
6942
  }
6943
6943
 
6944
6944
  // src/lib/api-client.ts
6945
- var agtCliVersion = true ? "0.28.930" : "dev";
6945
+ var agtCliVersion = true ? "0.28.931" : "dev";
6946
6946
  var lastConfigHash = null;
6947
6947
  function setConfigHash(hash) {
6948
6948
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -11567,4 +11567,4 @@ export {
11567
11567
  managerInstallSystemUnitCommand,
11568
11568
  managerUninstallSystemUnitCommand
11569
11569
  };
11570
- //# sourceMappingURL=chunk-NCNQFUNQ.js.map
11570
+ //# sourceMappingURL=chunk-HSXAGIVO.js.map
@@ -63,7 +63,7 @@ import {
63
63
  safeWriteJsonAtomic,
64
64
  setConfigHash,
65
65
  tripClass
66
- } from "../chunk-NCNQFUNQ.js";
66
+ } from "../chunk-HSXAGIVO.js";
67
67
  import {
68
68
  getProjectDir as getProjectDir2,
69
69
  getReadyTasks,
@@ -13915,7 +13915,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13915
13915
  var lastVersionCheckAt = 0;
13916
13916
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13917
13917
  var lastResponsivenessProbeAt = 0;
13918
- var agtCliVersion = true ? "0.28.930" : "dev";
13918
+ var agtCliVersion = true ? "0.28.931" : "dev";
13919
13919
  function resolveBrewPath(execFileSync2) {
13920
13920
  try {
13921
13921
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -21412,6 +21412,10 @@ var hostVersionsSchema = strictObject({
21412
21412
  q: external_exports.string().max(128).optional().describe("Case-insensitive substring match on host name."),
21413
21413
  status: external_exports.string().max(32).optional().describe("Filter by host status (active | decommissioned)."),
21414
21414
  since_hours: external_exports.number().int().min(1).max(720).optional().describe("Window for the restart count, in hours. Default 24."),
21415
+ // ENG-10449: "merged" is not "deployed", and nothing measured the distance.
21416
+ release: external_exports.string().max(32).optional().describe(
21417
+ 'agt-cli release to measure reach for, e.g. "0.28.916". Adds a `reach` block saying how many authorized hosts are running that release or later, and NAMES the ones that are not. Get it with `git tag --contains <sha>` and take the lowest `agt-cli-*` tag. Only meaningful for commits that ship in the agt-cli (host-rendered artefacts, _mcp bundles): a packages/api fix reaches hosts via the API deploy and has no relationship to a host version.'
21418
+ ),
21415
21419
  limit: limitSchema
21416
21420
  });
21417
21421
  var tailLogsSchema = strictObject({
@@ -21778,7 +21782,7 @@ server.registerTool(
21778
21782
  );
21779
21783
  server.registerTool(
21780
21784
  "debug_host_versions",
21781
- { description: 'Fleet-wide host health snapshot for triaging "which host is unhealthy?". Returns a projection per authorized host: { id, name, org, framework, framework_version (the Claude Code version the host runs), last_seen_verdict, agent_count, restart_count, restart_window_hours }. `restart_count` tallies `agent.restart` audit events across the host\'s agents within the window (default 24h) \u2014 a high count is the tell for a thrashing host. Use it to spot version skew (an old framework_version) or restart storms across the fleet at a glance. Filter with { q, status, since_hours, limit }.', inputSchema: hostVersionsSchema },
21785
+ { description: 'Fleet-wide host health snapshot for triaging "which host is unhealthy?". Returns a projection per authorized host: { id, name, org, framework, framework_version (the Claude Code version the host runs), last_seen_verdict, agent_count, restart_count, restart_window_hours }. `restart_count` tallies `agent.restart` audit events across the host\'s agents within the window (default 24h) \u2014 a high count is the tell for a thrashing host. Use it to spot version skew (an old framework_version) or restart storms across the fleet at a glance. Filter with { q, status, since_hours, limit }. ENG-10449: pass { release } (an agt-cli version, from `git tag --contains <sha>`) to answer "is the fix I merged actually running anywhere yet?" \u2014 the response gains a `reach` block with carrying/stale/unknown counts and the NAMES of the hosts that do not have it. "Merged" is not "deployed", and for a security fix that gap is the whole exposure.', inputSchema: hostVersionsSchema },
21782
21786
  async (args) => {
21783
21787
  try {
21784
21788
  const result = await client.hostVersions(args);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.930",
3
+ "version": "0.28.931",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {