@mastra/slack 1.1.0 → 1.1.1-alpha.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/slack
2
2
 
3
+ ## 1.1.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed Slack app creation failing when agent description exceeds 139 characters. The manifest description is now automatically truncated to prevent the Slack API from rejecting the request. ([#16093](https://github.com/mastra-ai/mastra/pull/16093))
8
+
9
+ - Updated dependencies [[`c05c9a1`](https://github.com/mastra-ai/mastra/commit/c05c9a13230988cef6d438a62f37760f31927bc7), [`e24aacb`](https://github.com/mastra-ai/mastra/commit/e24aacba07bd66f5d95b636dc24016fca26b52cf), [`c721164`](https://github.com/mastra-ai/mastra/commit/c7211643f7ac861f83b19a3757cc921487fc9d75), [`1b55954`](https://github.com/mastra-ai/mastra/commit/1b559541c1e08a10e49d01ffc51a634dfc37a286), [`5adc55e`](https://github.com/mastra-ai/mastra/commit/5adc55e63407be8ee977914957d68bcc2a075ceb), [`70017d7`](https://github.com/mastra-ai/mastra/commit/70017d72ab741b5d7040e2a15c251a317782e39e), [`e4942bc`](https://github.com/mastra-ai/mastra/commit/e4942bc7fdc903572f7d84f26d5e15f9d39c763d)]:
10
+ - @mastra/core@1.32.0-alpha.1
11
+
3
12
  ## 1.1.0
4
13
 
5
14
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -321,10 +321,13 @@ function buildManifest(options) {
321
321
  if (slashCommands.length > 0) {
322
322
  scopes.push("commands");
323
323
  }
324
+ const MAX_DESC = 139;
325
+ const rawDescription = description ?? `${name} - Powered by Mastra`;
326
+ const shortDescription = rawDescription.length > MAX_DESC ? rawDescription.slice(0, MAX_DESC - 3) + "..." : rawDescription;
324
327
  const manifest = {
325
328
  display_information: {
326
329
  name,
327
- description: description ?? `${name} - Powered by Mastra`
330
+ description: shortDescription
328
331
  },
329
332
  features: {
330
333
  app_home: {