@integrity-labs/agt-cli 0.10.4 → 0.10.6

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
@@ -32,7 +32,7 @@ import {
32
32
  resolveChannels,
33
33
  serializeManifestForSlackCli,
34
34
  setActiveTeam
35
- } from "../chunk-CVQD6XGB.js";
35
+ } from "../chunk-O5T62RSQ.js";
36
36
 
37
37
  // src/bin/agt.ts
38
38
  import { join as join11 } from "path";
@@ -3411,7 +3411,7 @@ async function acpxCloseCommand(agent2, _opts, cmd) {
3411
3411
  import { execSync } from "child_process";
3412
3412
  import chalk19 from "chalk";
3413
3413
  import ora15 from "ora";
3414
- var cliVersion = true ? "0.10.4" : "dev";
3414
+ var cliVersion = true ? "0.10.6" : "dev";
3415
3415
  async function fetchLatestVersion() {
3416
3416
  const host2 = getHost();
3417
3417
  if (!host2) return null;
@@ -3810,7 +3810,7 @@ function handleError(err) {
3810
3810
  }
3811
3811
 
3812
3812
  // src/bin/agt.ts
3813
- var cliVersion2 = true ? "0.10.4" : "dev";
3813
+ var cliVersion2 = true ? "0.10.6" : "dev";
3814
3814
  var program = new Command();
3815
3815
  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");
3816
3816
  program.hook("preAction", (thisCommand) => {
@@ -2663,6 +2663,7 @@ ${sections}`
2663
2663
  } else if (channelId === "slack") {
2664
2664
  const botToken = config["bot_token"];
2665
2665
  const appToken = config["app_token"];
2666
+ const threadAutoFollow = config["thread_auto_follow"];
2666
2667
  if (botToken) {
2667
2668
  const projectDir = getProjectDir(codeName);
2668
2669
  mkdirSync3(projectDir, { recursive: true });
@@ -2674,7 +2675,8 @@ ${sections}`
2674
2675
  args: existsSync3(localSlackChannel) ? [localSlackChannel] : ["-y", "@augmented/claude-code-channel-slack"],
2675
2676
  env: {
2676
2677
  SLACK_BOT_TOKEN: botToken,
2677
- ...appToken ? { SLACK_APP_TOKEN: appToken } : {}
2678
+ ...appToken ? { SLACK_APP_TOKEN: appToken } : {},
2679
+ ...threadAutoFollow && threadAutoFollow !== "off" ? { SLACK_THREAD_AUTO_FOLLOW: threadAutoFollow } : {}
2678
2680
  }
2679
2681
  }
2680
2682
  }
@@ -2726,13 +2728,16 @@ ${sections}`
2726
2728
  if (!botToken)
2727
2729
  return;
2728
2730
  const localSlackChannel = join3(getHomeDir3(), ".augmented", "_mcp", "slack-channel.js");
2731
+ const slackThreadAutoFollow = config["thread_auto_follow"];
2732
+ const slackAutoFollowEnv = slackThreadAutoFollow && slackThreadAutoFollow !== "off" ? { SLACK_THREAD_AUTO_FOLLOW: slackThreadAutoFollow } : {};
2729
2733
  if (isPersistent && existsSync3(localSlackChannel)) {
2730
2734
  mcpServers["slack"] = {
2731
2735
  command: "node",
2732
2736
  args: [localSlackChannel],
2733
2737
  env: {
2734
2738
  SLACK_BOT_TOKEN: botToken,
2735
- ...appToken ? { SLACK_APP_TOKEN: appToken } : {}
2739
+ ...appToken ? { SLACK_APP_TOKEN: appToken } : {},
2740
+ ...slackAutoFollowEnv
2736
2741
  }
2737
2742
  };
2738
2743
  } else {
@@ -2741,7 +2746,8 @@ ${sections}`
2741
2746
  args: ["-y", "@augmented/claude-code-channel-slack"],
2742
2747
  env: {
2743
2748
  SLACK_BOT_TOKEN: botToken,
2744
- ...appToken ? { SLACK_APP_TOKEN: appToken } : {}
2749
+ ...appToken ? { SLACK_APP_TOKEN: appToken } : {},
2750
+ ...slackAutoFollowEnv
2745
2751
  }
2746
2752
  };
2747
2753
  }
@@ -5559,4 +5565,4 @@ export {
5559
5565
  detectDrift,
5560
5566
  provision
5561
5567
  };
5562
- //# sourceMappingURL=chunk-CVQD6XGB.js.map
5568
+ //# sourceMappingURL=chunk-O5T62RSQ.js.map