@integrity-labs/agt-cli 0.28.290 → 0.28.292

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.
@@ -18,7 +18,7 @@ import {
18
18
  resolveConnectivityProbe,
19
19
  worseConnectivityOutcome,
20
20
  wrapScheduledTaskPrompt
21
- } from "./chunk-GUCYHTCJ.js";
21
+ } from "./chunk-BNQPLUUB.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.290" : "dev";
5885
+ var agtCliVersion = true ? "0.28.292" : "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-QOEYIFPD.js.map
8184
+ //# sourceMappingURL=chunk-PTJHDSJU.js.map