@integrity-labs/agt-cli 0.28.28 → 0.28.30

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
@@ -33,7 +33,7 @@ import {
33
33
  success,
34
34
  table,
35
35
  warn
36
- } from "../chunk-GW2FVIMZ.js";
36
+ } from "../chunk-62PUHAXF.js";
37
37
  import {
38
38
  CHANNEL_REGISTRY,
39
39
  DEPLOYMENT_TEMPLATES,
@@ -60,7 +60,7 @@ import {
60
60
  renderTemplate,
61
61
  resolveChannels,
62
62
  serializeManifestForSlackCli
63
- } from "../chunk-SN2G4B2Z.js";
63
+ } from "../chunk-VIIPFWE4.js";
64
64
 
65
65
  // src/bin/agt.ts
66
66
  import { join as join21 } from "path";
@@ -4773,7 +4773,7 @@ import { execFileSync, execSync } from "child_process";
4773
4773
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4774
4774
  import chalk18 from "chalk";
4775
4775
  import ora16 from "ora";
4776
- var cliVersion = true ? "0.28.28" : "dev";
4776
+ var cliVersion = true ? "0.28.30" : "dev";
4777
4777
  async function fetchLatestVersion() {
4778
4778
  const host2 = getHost();
4779
4779
  if (!host2) return null;
@@ -5696,7 +5696,7 @@ function handleError(err) {
5696
5696
  }
5697
5697
 
5698
5698
  // src/bin/agt.ts
5699
- var cliVersion2 = true ? "0.28.28" : "dev";
5699
+ var cliVersion2 = true ? "0.28.30" : "dev";
5700
5700
  var program = new Command();
5701
5701
  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");
5702
5702
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -14,7 +14,7 @@ import {
14
14
  registerFramework,
15
15
  resolveAvatarEnvUrl,
16
16
  wrapScheduledTaskPrompt
17
- } from "./chunk-SN2G4B2Z.js";
17
+ } from "./chunk-VIIPFWE4.js";
18
18
 
19
19
  // ../../packages/core/dist/integrations/registry.js
20
20
  var INTEGRATION_REGISTRY = [
@@ -7266,6 +7266,7 @@ function requireHost() {
7266
7266
  }
7267
7267
 
7268
7268
  // src/lib/api-client.ts
7269
+ var agtCliVersion = true ? "0.28.30" : "dev";
7269
7270
  var cachedExchange = null;
7270
7271
  var exchangeInFlight = null;
7271
7272
  function invalidateExchange() {
@@ -7369,7 +7370,10 @@ async function buildHeaders() {
7369
7370
  const exchange = await exchangeApiKey(apiKey);
7370
7371
  const headers = {
7371
7372
  "Authorization": `Bearer ${exchange.token}`,
7372
- "Content-Type": "application/json"
7373
+ "Content-Type": "application/json",
7374
+ // ENG-6410: lets the API stamp audit_log.agt_cli_version for host-runtime
7375
+ // actions so bug rates can be tracked per CLI version.
7376
+ "X-Agt-Cli-Version": agtCliVersion
7373
7377
  };
7374
7378
  const team = getActiveTeam() ?? exchange.teamSlug;
7375
7379
  if (team) {
@@ -8313,4 +8317,4 @@ export {
8313
8317
  managerInstallSystemUnitCommand,
8314
8318
  managerUninstallSystemUnitCommand
8315
8319
  };
8316
- //# sourceMappingURL=chunk-GW2FVIMZ.js.map
8320
+ //# sourceMappingURL=chunk-62PUHAXF.js.map