@integrity-labs/agt-cli 0.28.206 → 0.28.208

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
@@ -37,7 +37,7 @@ import {
37
37
  success,
38
38
  table,
39
39
  warn
40
- } from "../chunk-WALP3HBE.js";
40
+ } from "../chunk-3MHPMBN4.js";
41
41
  import {
42
42
  CHANNEL_REGISTRY,
43
43
  DEFAULT_FRAMEWORK,
@@ -4749,7 +4749,7 @@ import { execFileSync, execSync } from "child_process";
4749
4749
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4750
4750
  import chalk18 from "chalk";
4751
4751
  import ora16 from "ora";
4752
- var cliVersion = true ? "0.28.206" : "dev";
4752
+ var cliVersion = true ? "0.28.208" : "dev";
4753
4753
  async function fetchLatestVersion() {
4754
4754
  const host2 = getHost();
4755
4755
  if (!host2) return null;
@@ -5763,7 +5763,7 @@ function handleError(err) {
5763
5763
  }
5764
5764
 
5765
5765
  // src/bin/agt.ts
5766
- var cliVersion2 = true ? "0.28.206" : "dev";
5766
+ var cliVersion2 = true ? "0.28.208" : "dev";
5767
5767
  var program = new Command();
5768
5768
  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");
5769
5769
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -5525,7 +5525,7 @@ function requireHost() {
5525
5525
  }
5526
5526
 
5527
5527
  // src/lib/api-client.ts
5528
- var agtCliVersion = true ? "0.28.206" : "dev";
5528
+ var agtCliVersion = true ? "0.28.208" : "dev";
5529
5529
  var lastConfigHash = null;
5530
5530
  function setConfigHash(hash) {
5531
5531
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -6833,4 +6833,4 @@ export {
6833
6833
  managerInstallSystemUnitCommand,
6834
6834
  managerUninstallSystemUnitCommand
6835
6835
  };
6836
- //# sourceMappingURL=chunk-WALP3HBE.js.map
6836
+ //# sourceMappingURL=chunk-3MHPMBN4.js.map
@@ -28,7 +28,7 @@ import {
28
28
  requireHost,
29
29
  safeWriteJsonAtomic,
30
30
  setConfigHash
31
- } from "../chunk-WALP3HBE.js";
31
+ } from "../chunk-3MHPMBN4.js";
32
32
  import {
33
33
  getProjectDir as getProjectDir2,
34
34
  getReadyTasks,
@@ -223,6 +223,11 @@ function computeIntegrationsHash(integrations) {
223
223
  return createHash2("sha256").update(JSON.stringify(payload)).digest("hex").slice(0, 16);
224
224
  }
225
225
 
226
+ // src/lib/host-integration-mapping.ts
227
+ function withResolvedRemoteMcp(integration) {
228
+ return { ...integration, remoteMcp: integration.remote_mcp ?? void 0 };
229
+ }
230
+
226
231
  // src/lib/stale-mcp-reaper.ts
227
232
  import { execFileSync } from "child_process";
228
233
  var rotationTimestamps = /* @__PURE__ */ new Map();
@@ -6866,7 +6871,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6866
6871
  var lastVersionCheckAt = 0;
6867
6872
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6868
6873
  var lastResponsivenessProbeAt = 0;
6869
- var agtCliVersion = true ? "0.28.206" : "dev";
6874
+ var agtCliVersion = true ? "0.28.208" : "dev";
6870
6875
  function resolveBrewPath(execFileSync4) {
6871
6876
  try {
6872
6877
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -9283,7 +9288,7 @@ async function processAgent(agent, agentStates) {
9283
9288
  }
9284
9289
  try {
9285
9290
  const integrationsData = await api.post("/host/agent-integrations", { agent_id: agent.agent_id });
9286
- const integrations = integrationsData.integrations ?? [];
9291
+ const integrations = (integrationsData.integrations ?? []).map(withResolvedRemoteMcp);
9287
9292
  for (const integration of integrations) {
9288
9293
  if (integration.auth_type !== "oauth2") continue;
9289
9294
  const expiresAt = integration.credentials?.token_expires_at;