@integrity-labs/agt-cli 0.27.45 → 0.27.47

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
@@ -27,7 +27,7 @@ import {
27
27
  success,
28
28
  table,
29
29
  warn
30
- } from "../chunk-OTW3IJCU.js";
30
+ } from "../chunk-VOINOKGC.js";
31
31
  import {
32
32
  CHANNEL_REGISTRY,
33
33
  DEPLOYMENT_TEMPLATES,
@@ -4687,7 +4687,7 @@ import { execFileSync, execSync } from "child_process";
4687
4687
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4688
4688
  import chalk18 from "chalk";
4689
4689
  import ora16 from "ora";
4690
- var cliVersion = true ? "0.27.45" : "dev";
4690
+ var cliVersion = true ? "0.27.47" : "dev";
4691
4691
  async function fetchLatestVersion() {
4692
4692
  const host2 = getHost();
4693
4693
  if (!host2) return null;
@@ -5465,7 +5465,7 @@ function handleError(err) {
5465
5465
  }
5466
5466
 
5467
5467
  // src/bin/agt.ts
5468
- var cliVersion2 = true ? "0.27.45" : "dev";
5468
+ var cliVersion2 = true ? "0.27.47" : "dev";
5469
5469
  var program = new Command();
5470
5470
  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");
5471
5471
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -7120,4 +7120,4 @@ export {
7120
7120
  managerInstallSystemUnitCommand,
7121
7121
  managerUninstallSystemUnitCommand
7122
7122
  };
7123
- //# sourceMappingURL=chunk-OTW3IJCU.js.map
7123
+ //# sourceMappingURL=chunk-VOINOKGC.js.map
@@ -15,7 +15,7 @@ import {
15
15
  provisionOrientHook,
16
16
  provisionStopHook,
17
17
  requireHost
18
- } from "../chunk-OTW3IJCU.js";
18
+ } from "../chunk-VOINOKGC.js";
19
19
  import {
20
20
  getProjectDir as getProjectDir2,
21
21
  getReadyTasks,
@@ -3344,7 +3344,7 @@ var cachedFrameworkVersion = null;
3344
3344
  var lastVersionCheckAt = 0;
3345
3345
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
3346
3346
  var lastResponsivenessProbeAt = 0;
3347
- var agtCliVersion = true ? "0.27.45" : "dev";
3347
+ var agtCliVersion = true ? "0.27.47" : "dev";
3348
3348
  function resolveBrewPath(execFileSync4) {
3349
3349
  try {
3350
3350
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -5345,7 +5345,7 @@ async function processAgent(agent, agentStates) {
5345
5345
  const tz = directChatTeamSettings?.["timezone"];
5346
5346
  return typeof tz === "string" && tz.trim() !== "" ? tz.trim() : void 0;
5347
5347
  })();
5348
- if (existsSync5(localDirectChatChannel) && !mcpConfig.mcpServers["direct-chat"]) {
5348
+ if (existsSync5(localDirectChatChannel)) {
5349
5349
  const directChatEnv = {
5350
5350
  AGT_HOST: requireHost(),
5351
5351
  AGT_API_KEY: getApiKey() ?? "",
@@ -5362,7 +5362,9 @@ async function processAgent(agent, agentStates) {
5362
5362
  args: [localDirectChatChannel],
5363
5363
  env: directChatEnv
5364
5364
  });
5365
- log(`Channel credentials written for '${agent.code_name}/direct-chat'`);
5365
+ if (!mcpConfig.mcpServers["direct-chat"]) {
5366
+ log(`Channel credentials written for '${agent.code_name}/direct-chat'`);
5367
+ }
5366
5368
  }
5367
5369
  const staleChannelsPath = join6(projectDir, ".mcp-channels.json");
5368
5370
  if (existsSync5(staleChannelsPath)) {