@integrity-labs/agt-cli 0.28.314 → 0.28.315

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
@@ -38,7 +38,7 @@ import {
38
38
  success,
39
39
  table,
40
40
  warn
41
- } from "../chunk-R5AKZYDG.js";
41
+ } from "../chunk-PNE62JL3.js";
42
42
  import {
43
43
  CHANNEL_REGISTRY,
44
44
  DEFAULT_FRAMEWORK,
@@ -67,7 +67,7 @@ import {
67
67
  renderTemplate,
68
68
  resolveChannels,
69
69
  serializeManifestForSlackCli
70
- } from "../chunk-KJE5Y4GF.js";
70
+ } from "../chunk-H6GG7WM3.js";
71
71
  import "../chunk-XWVM4KPK.js";
72
72
 
73
73
  // src/bin/agt.ts
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
4826
4826
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4827
4827
  import chalk18 from "chalk";
4828
4828
  import ora16 from "ora";
4829
- var cliVersion = true ? "0.28.314" : "dev";
4829
+ var cliVersion = true ? "0.28.315" : "dev";
4830
4830
  async function fetchLatestVersion() {
4831
4831
  const host2 = getHost();
4832
4832
  if (!host2) return null;
@@ -5843,7 +5843,7 @@ function handleError(err) {
5843
5843
  }
5844
5844
 
5845
5845
  // src/bin/agt.ts
5846
- var cliVersion2 = true ? "0.28.314" : "dev";
5846
+ var cliVersion2 = true ? "0.28.315" : "dev";
5847
5847
  var program = new Command();
5848
5848
  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");
5849
5849
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -1523,13 +1523,24 @@ function generateSlackAppManifest(input) {
1523
1523
  should_escape: false
1524
1524
  },
1525
1525
  // ENG-7682 Slice 2: /notify — per-channel opt-out mute for the
1526
- // `filter` notify-dispatch mode. Registered BARE (not per-agent
1527
- // suffixed like the others) deliberately, to stay under Slack's
1528
- // per-app slash-command cap. The slash_commands envelope handler
1529
- // (matchesAgentCommand) routes the bare form to handleNotifyCommand.
1530
- // An @-mention always still reaches the agent.
1526
+ // `filter` notify-dispatch mode.
1527
+ //
1528
+ // ENG-7762: previously registered BARE (`/notify`), which collided
1529
+ // across agents in one Slack workspace — every agent registered the
1530
+ // same `/notify`, so Slack's picker showed identical duplicate
1531
+ // entries and it was ambiguous which agent handled a typed `/notify`.
1532
+ // Now carries the agent code-name suffix (`/notify-<code>`) like the
1533
+ // other per-agent commands, so each agent owns a distinct command.
1534
+ // Falls back to the bare `/notify` only when there's no valid
1535
+ // code name to suffix (agentSlashCommand returns the base then),
1536
+ // which matches the single-agent case where there's no collision.
1537
+ // The slash_commands envelope handler (matchesAgentCommand) routes
1538
+ // BOTH the suffixed form and the legacy bare `/notify` to
1539
+ // handleNotifyCommand, so agents whose Slack app hasn't been
1540
+ // re-registered yet keep working. An @-mention always still
1541
+ // reaches the agent.
1531
1542
  {
1532
- command: "/notify",
1543
+ command: agentSlashCommand("/notify", agent_code_name),
1533
1544
  url: slash_command_url,
1534
1545
  description: "Mute or un-mute this channel for this agent (off | on | status).",
1535
1546
  should_escape: false
@@ -9834,4 +9845,4 @@ export {
9834
9845
  stopAllSessionsAndWait,
9835
9846
  getProjectDir
9836
9847
  };
9837
- //# sourceMappingURL=chunk-KJE5Y4GF.js.map
9848
+ //# sourceMappingURL=chunk-H6GG7WM3.js.map