@integrity-labs/agt-cli 0.19.20 → 0.19.21

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.
@@ -4651,9 +4651,14 @@ ${sections}`
4651
4651
  return;
4652
4652
  const allowedChats = config["allowed_chats"];
4653
4653
  const localTelegramChannel = join4(getHomeDir3(), ".augmented", "_mcp", "telegram-channel.js");
4654
+ const resolvedAgtHostForTelegram = process.env["AGT_HOST"]?.trim() || "https://api.augmented.team";
4655
+ const resolvedAgtApiKeyForTelegram = process.env["AGT_API_KEY"]?.trim();
4654
4656
  const telegramEnv = {
4655
4657
  TELEGRAM_BOT_TOKEN: botToken,
4656
- AGT_AGENT_CODE_NAME: codeName
4658
+ AGT_AGENT_CODE_NAME: codeName,
4659
+ AGT_HOST: resolvedAgtHostForTelegram,
4660
+ ...resolvedAgtApiKeyForTelegram ? { AGT_API_KEY: resolvedAgtApiKeyForTelegram } : {},
4661
+ ...options?.agentId ? { AGT_AGENT_ID: options.agentId } : {}
4657
4662
  };
4658
4663
  if (allowedChats && allowedChats.length > 0) {
4659
4664
  telegramEnv.TELEGRAM_ALLOWED_CHATS = allowedChats.join(",");
@@ -9014,4 +9019,4 @@ export {
9014
9019
  managerInstallSystemUnitCommand,
9015
9020
  managerUninstallSystemUnitCommand
9016
9021
  };
9017
- //# sourceMappingURL=chunk-IWFXAB4O.js.map
9022
+ //# sourceMappingURL=chunk-5WDQ5G5M.js.map