@integrity-labs/agt-cli 0.27.94 → 0.27.95

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-2ITGJXXM.js";
31
+ } from "../chunk-A4WZH6AO.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.94" : "dev";
4937
+ var cliVersion = true ? "0.27.95" : "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.94" : "dev";
5860
+ var cliVersion2 = true ? "0.27.95" : "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) => {
@@ -5419,6 +5419,13 @@ ${sections}`
5419
5419
  if (allowedChats && allowedChats.length > 0) {
5420
5420
  telegramEnv.TELEGRAM_ALLOWED_CHATS = allowedChats.join(",");
5421
5421
  }
5422
+ const rawDiagnosticChatIds = config["diagnostic_chat_ids"];
5423
+ if (Array.isArray(rawDiagnosticChatIds)) {
5424
+ const diagnosticChatIds = rawDiagnosticChatIds.map((v) => typeof v === "string" || typeof v === "number" ? String(v).trim() : "").filter((v) => v.length > 0);
5425
+ if (diagnosticChatIds.length > 0) {
5426
+ telegramEnv.TELEGRAM_DIAGNOSTIC_CHAT_IDS = diagnosticChatIds.join(",");
5427
+ }
5428
+ }
5422
5429
  const rawPeerAgentMode = config["peer_agent_mode"];
5423
5430
  if (rawPeerAgentMode === "listen" || rawPeerAgentMode === "respond") {
5424
5431
  telegramEnv.TELEGRAM_PEER_AGENT_MODE = rawPeerAgentMode;
@@ -7578,4 +7585,4 @@ export {
7578
7585
  managerInstallSystemUnitCommand,
7579
7586
  managerUninstallSystemUnitCommand
7580
7587
  };
7581
- //# sourceMappingURL=chunk-2ITGJXXM.js.map
7588
+ //# sourceMappingURL=chunk-A4WZH6AO.js.map