@integrity-labs/agt-cli 0.28.291 → 0.28.293

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
@@ -38,7 +38,7 @@ import {
38
38
  success,
39
39
  table,
40
40
  warn
41
- } from "../chunk-R3VRYIZJ.js";
41
+ } from "../chunk-D6SMNBPT.js";
42
42
  import {
43
43
  CHANNEL_REGISTRY,
44
44
  DEFAULT_FRAMEWORK,
@@ -67,7 +67,7 @@ import {
67
67
  renderTemplate,
68
68
  resolveChannels,
69
69
  serializeManifestForSlackCli
70
- } from "../chunk-BNQPLUUB.js";
70
+ } from "../chunk-IGADZDYT.js";
71
71
  import "../chunk-XWVM4KPK.js";
72
72
 
73
73
  // src/bin/agt.ts
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
4826
4826
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4827
4827
  import chalk18 from "chalk";
4828
4828
  import ora16 from "ora";
4829
- var cliVersion = true ? "0.28.291" : "dev";
4829
+ var cliVersion = true ? "0.28.293" : "dev";
4830
4830
  async function fetchLatestVersion() {
4831
4831
  const host2 = getHost();
4832
4832
  if (!host2) return null;
@@ -5843,7 +5843,7 @@ function handleError(err) {
5843
5843
  }
5844
5844
 
5845
5845
  // src/bin/agt.ts
5846
- var cliVersion2 = true ? "0.28.291" : "dev";
5846
+ var cliVersion2 = true ? "0.28.293" : "dev";
5847
5847
  var program = new Command();
5848
5848
  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");
5849
5849
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -18,7 +18,7 @@ import {
18
18
  resolveConnectivityProbe,
19
19
  worseConnectivityOutcome,
20
20
  wrapScheduledTaskPrompt
21
- } from "./chunk-BNQPLUUB.js";
21
+ } from "./chunk-IGADZDYT.js";
22
22
  import {
23
23
  parsePsRows
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5882,7 +5882,7 @@ function requireHost() {
5882
5882
  }
5883
5883
 
5884
5884
  // src/lib/api-client.ts
5885
- var agtCliVersion = true ? "0.28.291" : "dev";
5885
+ var agtCliVersion = true ? "0.28.293" : "dev";
5886
5886
  var lastConfigHash = null;
5887
5887
  function setConfigHash(hash) {
5888
5888
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -6327,6 +6327,21 @@ function diffEnvIntegrations(oldContent, newContent) {
6327
6327
  }
6328
6328
  return [...changed];
6329
6329
  }
6330
+ function classifyEnvIntegrationsDiff(oldContent, newContent) {
6331
+ const oldEntries = oldContent === void 0 ? /* @__PURE__ */ new Map() : parseEnvIntegrationsEntries(oldContent);
6332
+ const newEntries = parseEnvIntegrationsEntries(newContent);
6333
+ const rotated = [];
6334
+ const added = [];
6335
+ const removed = [];
6336
+ for (const [name, value] of newEntries) {
6337
+ if (!oldEntries.has(name)) added.push(name);
6338
+ else if (oldEntries.get(name) !== value) rotated.push(name);
6339
+ }
6340
+ for (const name of oldEntries.keys()) {
6341
+ if (!newEntries.has(name)) removed.push(name);
6342
+ }
6343
+ return { rotated, added, removed };
6344
+ }
6330
6345
  function findMcpServersUsingVars(mcp, changedVars) {
6331
6346
  const changedSet = new Set(changedVars);
6332
6347
  if (!mcp?.mcpServers || changedSet.size === 0) return [];
@@ -8141,6 +8156,7 @@ export {
8141
8156
  resolveAllFlags,
8142
8157
  HostFlagStore,
8143
8158
  diffEnvIntegrations,
8159
+ classifyEnvIntegrationsDiff,
8144
8160
  findMcpServersUsingVars,
8145
8161
  envOnlyRespawnVars,
8146
8162
  reapStaleMcpChildren,
@@ -8165,4 +8181,4 @@ export {
8165
8181
  managerInstallSystemUnitCommand,
8166
8182
  managerUninstallSystemUnitCommand
8167
8183
  };
8168
- //# sourceMappingURL=chunk-R3VRYIZJ.js.map
8184
+ //# sourceMappingURL=chunk-D6SMNBPT.js.map