@desplega.ai/slack-mock 0.4.0 → 0.5.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/README.md CHANGED
@@ -133,11 +133,16 @@ Stitch the PNGs into a GIF with ffmpeg if you want motion; the mock only produce
133
133
  `member_joined_channel`, `assistant_thread_started`,
134
134
  `assistant_thread_context_changed`. The bot's own messages are echoed back
135
135
  like Slack does (Bolt's `ignoreSelf` drops them).
136
- - Web API: auth, chat (post, update, delete, ephemeral, permalink, streams),
137
- conversations (list, info, create, join, invite, archive, history, replies,
138
- members, open), users (info, list, lookupByEmail), reactions, files
136
+ - Web API: auth, chat (post, update, delete, ephemeral, permalink, streams,
137
+ `markdown_text` kept as the message text and rendered as Markdown,
138
+ `markdown_text_conflict` next to `text` or `blocks`),
139
+ conversations (list, info, create, join, invite, leave, archive, history,
140
+ replies, members, open), users (info, list, lookupByEmail), reactions, files
139
141
  (info, upload v2 flow, download with bearer token), views (open, update,
140
- push), assistant.threads (status, title, prompts), pins, bots, team.
142
+ push), assistant.threads (status, title, prompts), agents.sessions.setStatus,
143
+ pins, bots, team.
144
+ - UI: Block Kit `markdown` blocks render as Markdown (headings, bold, italic,
145
+ strike, links, lists, code); unknown blocks show a gray `unsupported: <type>` box.
141
146
  Errors come back as `{ ok: false, error }` with the real codes
142
147
  (`not_in_channel`, `already_reacted`, `message_not_found`, `name_taken`,
143
148
  `expired_trigger_id`, `message_not_in_streaming_state`, ...).
package/dist/cli.js CHANGED
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  SlackMock2,
5
5
  frames2
6
- } from "./index-y82vvfa1.js";
6
+ } from "./index-z58p5wkc.js";
7
7
  import {
8
8
  screenshot2
9
9
  } from "./index-xs37gskt.js";