@integrity-labs/agt-cli 0.28.314 → 0.28.316

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.
@@ -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-ORTMG5E3.js.map