@integrity-labs/agt-cli 0.28.403 → 0.28.404

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-VASIOHUO.js";
43
+ } from "../chunk-SW3FOBHR.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
4829
4829
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4830
4830
  import chalk18 from "chalk";
4831
4831
  import ora16 from "ora";
4832
- var cliVersion = true ? "0.28.403" : "dev";
4832
+ var cliVersion = true ? "0.28.404" : "dev";
4833
4833
  async function fetchLatestVersion() {
4834
4834
  const host2 = getHost();
4835
4835
  if (!host2) return null;
@@ -6001,7 +6001,7 @@ function handleError(err) {
6001
6001
  }
6002
6002
 
6003
6003
  // src/bin/agt.ts
6004
- var cliVersion2 = true ? "0.28.403" : "dev";
6004
+ var cliVersion2 = true ? "0.28.404" : "dev";
6005
6005
  var program = new Command();
6006
6006
  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");
6007
6007
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4571,6 +4571,18 @@ function buildMcpJson(input) {
4571
4571
  }
4572
4572
  return { mcpServers };
4573
4573
  }
4574
+ function reconstructQuarantinedMcpServerEntry(agent, integration) {
4575
+ const built = buildMcpJson({
4576
+ agent: { agent_id: agent.agent_id, code_name: agent.code_name },
4577
+ integrations: [integration]
4578
+ });
4579
+ const servers = built.mcpServers ?? {};
4580
+ const keys = Object.keys(servers).filter((k) => k !== "augmented");
4581
+ if (keys.length !== 1)
4582
+ return void 0;
4583
+ const only = keys[0];
4584
+ return only ? servers[only] : void 0;
4585
+ }
4574
4586
  function parseIntervalMinutes(scheduleEvery) {
4575
4587
  if (!scheduleEvery)
4576
4588
  return 60;
@@ -6213,7 +6225,7 @@ function requireHost() {
6213
6225
  }
6214
6226
 
6215
6227
  // src/lib/api-client.ts
6216
- var agtCliVersion = true ? "0.28.403" : "dev";
6228
+ var agtCliVersion = true ? "0.28.404" : "dev";
6217
6229
  var lastConfigHash = null;
6218
6230
  function setConfigHash(hash) {
6219
6231
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8633,6 +8645,7 @@ export {
8633
8645
  provisionOrientHook,
8634
8646
  provisionPreCompactHook,
8635
8647
  provisionSessionStateHook,
8648
+ reconstructQuarantinedMcpServerEntry,
8636
8649
  setJsonMode,
8637
8650
  isJsonMode,
8638
8651
  jsonOutput,
@@ -8693,4 +8706,4 @@ export {
8693
8706
  managerInstallSystemUnitCommand,
8694
8707
  managerUninstallSystemUnitCommand
8695
8708
  };
8696
- //# sourceMappingURL=chunk-VASIOHUO.js.map
8709
+ //# sourceMappingURL=chunk-SW3FOBHR.js.map