@agentconnect.md/setup 1.44.0-rc.75 → 1.44.0-rc.78

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/index.js CHANGED
@@ -36312,9 +36312,11 @@ const SLACK_BOT_SCOPES = [
36312
36312
  ];
36313
36313
  const SLACK_BOT_EVENTS = [
36314
36314
  "agent_session_stopped",
36315
+ "agent_session_title_changed",
36315
36316
  "app_mention",
36316
36317
  "app_uninstalled",
36317
36318
  "assistant_thread_started",
36319
+ "assistant_thread_context_changed",
36318
36320
  "message.channels",
36319
36321
  "message.groups",
36320
36322
  "message.im",
@@ -36324,11 +36326,6 @@ const SLACK_BOT_EVENTS = [
36324
36326
  "group_left",
36325
36327
  "tokens_revoked"
36326
36328
  ];
36327
- const SLACK_SOCKET_ONLY_BOT_EVENTS = ["agent_session_stopped"];
36328
- /** The bot events one transport's manifest advertises: the full list, minus what only a socket can serve. */
36329
- function slackBotEvents(http) {
36330
- return SLACK_BOT_EVENTS.filter((event) => !http || !SLACK_SOCKET_ONLY_BOT_EVENTS.includes(event));
36331
- }
36332
36329
  function slackEventsRequestUrl(relayUrl) {
36333
36330
  return `${normalizeSlackRelayUrl(relayUrl)}/slack/events`;
36334
36331
  }
@@ -36378,7 +36375,7 @@ function buildSlackAppManifest(name, options = {}) {
36378
36375
  },
36379
36376
  settings: {
36380
36377
  event_subscriptions: {
36381
- bot_events: slackBotEvents(http),
36378
+ bot_events: [...SLACK_BOT_EVENTS],
36382
36379
  ...relayUrl ? { request_url: slackEventsRequestUrl(relayUrl) } : {}
36383
36380
  },
36384
36381
  interactivity: {