@integrity-labs/agt-cli 0.27.144 → 0.27.146

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
@@ -28,7 +28,7 @@ import {
28
28
  success,
29
29
  table,
30
30
  warn
31
- } from "../chunk-HPUIWWKD.js";
31
+ } from "../chunk-3LRQ45BZ.js";
32
32
  import {
33
33
  CHANNEL_REGISTRY,
34
34
  DEPLOYMENT_TEMPLATES,
@@ -4934,7 +4934,7 @@ import { execFileSync, execSync } from "child_process";
4934
4934
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4935
4935
  import chalk18 from "chalk";
4936
4936
  import ora16 from "ora";
4937
- var cliVersion = true ? "0.27.144" : "dev";
4937
+ var cliVersion = true ? "0.27.146" : "dev";
4938
4938
  async function fetchLatestVersion() {
4939
4939
  const host2 = getHost();
4940
4940
  if (!host2) return null;
@@ -5857,7 +5857,7 @@ function handleError(err) {
5857
5857
  }
5858
5858
 
5859
5859
  // src/bin/agt.ts
5860
- var cliVersion2 = true ? "0.27.144" : "dev";
5860
+ var cliVersion2 = true ? "0.27.146" : "dev";
5861
5861
  var program = new Command();
5862
5862
  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");
5863
5863
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -5278,16 +5278,15 @@ function buildMcpJson(input) {
5278
5278
  }
5279
5279
  const hasAdminDebug = input.integrations?.some((i) => i.definition_id === "augmented-admin") ?? false;
5280
5280
  if (hasAdminDebug) {
5281
+ const localAdminMcpPath = join4(getHomeDir3(), ".augmented", "_mcp", "augmented-admin.js");
5281
5282
  mcpServers["augmented-admin"] = {
5282
- command: "npx",
5283
- args: ["-y", "@integrity-labs/augmented-admin-mcp@latest"],
5283
+ command: "node",
5284
+ args: [localAdminMcpPath],
5284
5285
  env: {
5285
5286
  AGT_HOST: "${AGT_HOST}",
5286
5287
  AGT_AGENT_ID: input.agent.agent_id,
5287
5288
  AGT_RUN_ID: "${AGT_RUN_ID}",
5288
- AGT_API_KEY: "${AGT_API_KEY}",
5289
- PATH: process.env["PATH"] ?? "",
5290
- HOME: process.env["HOME"] ?? ""
5289
+ AGT_API_KEY: "${AGT_API_KEY}"
5291
5290
  }
5292
5291
  };
5293
5292
  }
@@ -6282,16 +6281,15 @@ ${sections}`
6282
6281
  }
6283
6282
  const hasAdminDebug = integrations.some((i) => i.definition_id === "augmented-admin");
6284
6283
  if (hasAdminDebug) {
6284
+ const localAdminMcpPath = join4(getHomeDir3(), ".augmented", "_mcp", "augmented-admin.js");
6285
6285
  this.writeMcpServer(codeName, "augmented-admin", {
6286
- command: "npx",
6287
- args: ["-y", "@integrity-labs/augmented-admin-mcp@latest"],
6286
+ command: "node",
6287
+ args: [localAdminMcpPath],
6288
6288
  env: {
6289
6289
  AGT_HOST: "${AGT_HOST}",
6290
6290
  AGT_AGENT_ID: resolveBrokerAgentId(codeName) ?? agentId ?? "",
6291
6291
  AGT_RUN_ID: "${AGT_RUN_ID}",
6292
- AGT_API_KEY: "${AGT_API_KEY}",
6293
- PATH: process.env["PATH"] ?? "",
6294
- HOME: process.env["HOME"] ?? ""
6292
+ AGT_API_KEY: "${AGT_API_KEY}"
6295
6293
  }
6296
6294
  });
6297
6295
  }
@@ -7868,4 +7866,4 @@ export {
7868
7866
  managerInstallSystemUnitCommand,
7869
7867
  managerUninstallSystemUnitCommand
7870
7868
  };
7871
- //# sourceMappingURL=chunk-HPUIWWKD.js.map
7869
+ //# sourceMappingURL=chunk-3LRQ45BZ.js.map