@agentconnect.md/setup 2.2.0-rc.10 → 2.2.0-rc.12

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
@@ -39194,28 +39194,9 @@ function number(params) {
39194
39194
  //#endregion
39195
39195
  //#region ../protocol/dist/slack-app-manifest.js
39196
39196
  var import_fastify = /* @__PURE__ */ __toESM(require_fastify(), 1);
39197
- /** App-level Slack message shortcut for opening the controls of the session that
39198
- * owns the selected message's conversation. Direct apps receive it over Socket
39199
- * Mode; shared apps receive the same callback through the relay HTTP edge.
39200
- *
39201
- * Declared to Slack by {@link buildSlackAppManifest} below, which is why it lives
39202
- * here rather than beside the runtime Block Kit action ids in `frames/relay-cp.ts`:
39203
- * those name controls on messages we post, this one names a manifest feature. */
39204
39197
  const SLACK_MANAGE_SESSION_SHORTCUT_CALLBACK_ID = "ac_manage_session";
39205
39198
  /** Public platform profile copy. Never derive this from an Agent description. */
39206
39199
  const PLATFORM_APP_DESCRIPTION = "AI agent powered by AgentConnect.";
39207
- /**
39208
- * Every bot scope the app requests, and the exact set an installation must hold.
39209
- *
39210
- * There was briefly a required/capability split here, on the theory that a scope backing one
39211
- * optional tool should not mark an older installation broken. It did not survive contact: the
39212
- * "required" half was not required either — the app receives and answers messages without
39213
- * several of them — so the line was invented rather than observed, and it bought a second
39214
- * constant, an extra API field, extra console branches, and a message that said six permissions
39215
- * were missing without naming them. One list is both simpler and more honest: these are the
39216
- * scopes AgentConnect needs, an install short of any of them is incomplete, and the console
39217
- * says exactly which to add.
39218
- */
39219
39200
  const SLACK_BOT_SCOPES = [
39220
39201
  "files:read",
39221
39202
  "app_mentions:read",
@@ -39246,8 +39227,6 @@ const SLACK_BOT_SCOPES = [
39246
39227
  "lists:read",
39247
39228
  "lists:write",
39248
39229
  "channels:join",
39249
- "team:read",
39250
- "users:read.email",
39251
39230
  "search:read.public",
39252
39231
  "search:read.files",
39253
39232
  "search:read.users"