@integrity-labs/agt-cli 0.28.733 → 0.28.735

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
@@ -41,12 +41,12 @@ import {
41
41
  success,
42
42
  table,
43
43
  warn
44
- } from "../chunk-LT7UGH4O.js";
44
+ } from "../chunk-AZZ7MLBE.js";
45
45
  import {
46
46
  getProjectDir,
47
47
  isSessionResumeDisabled,
48
48
  readDirectChatSessionState
49
- } from "../chunk-7KT2QNXF.js";
49
+ } from "../chunk-5CF4DRXA.js";
50
50
  import {
51
51
  AnchorSessionClient,
52
52
  CHANNEL_REGISTRY,
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
5467
5467
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5468
5468
  import chalk18 from "chalk";
5469
5469
  import ora16 from "ora";
5470
- var cliVersion = true ? "0.28.733" : "dev";
5470
+ var cliVersion = true ? "0.28.735" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6654,7 +6654,7 @@ function handleError(err) {
6654
6654
  }
6655
6655
 
6656
6656
  // src/bin/agt.ts
6657
- var cliVersion2 = true ? "0.28.733" : "dev";
6657
+ var cliVersion2 = true ? "0.28.735" : "dev";
6658
6658
  var program = new Command();
6659
6659
  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");
6660
6660
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -439,6 +439,9 @@ function buildChannelServerEnv(channelId, config, options) {
439
439
  if (chats.length > 0)
440
440
  env["TELEGRAM_ALLOWED_CHATS"] = chats.join(",");
441
441
  }
442
+ if (config["private_chats_only"] === true) {
443
+ env["TELEGRAM_PRIVATE_CHATS_ONLY"] = "1";
444
+ }
442
445
  const tgAckReaction = typeof config["ack_reaction"] === "string" ? config["ack_reaction"].trim() : "";
443
446
  if (tgAckReaction)
444
447
  env["TELEGRAM_ACK_REACTION"] = tgAckReaction;
@@ -4880,4 +4883,4 @@ export {
4880
4883
  stopAllSessionsAndWait,
4881
4884
  getProjectDir
4882
4885
  };
4883
- //# sourceMappingURL=chunk-7KT2QNXF.js.map
4886
+ //# sourceMappingURL=chunk-5CF4DRXA.js.map