@slack/web-api
8.4.0 · 13 Nov 2026MIT21.5M / weekRepositoryHomepagenpmAtom feed
7.19.0 is the newest release of 7.x.
In short
1 new1 fixed16 changed1 internal
Release note
Agent Thinking Steps: Display Tasks/Tools, Plans, and Markdown Text
Preview: Display as Plan
github.com/user-attachments/assets/1a6478c2-37a…
Preview: Display as Timeline
github.com/user-attachments/assets/984f84e5-c0e…
Chat Stream with 2 Display Mode
Plan Display Mode
Timeline Display Mode
Chat Stream Structured Content
Now, you can display a mixture of structured content called "chunks":
🔠 Markdown Text Block to format your text with standard markdown
☑️ Task Card Block to display a single task, representing an AI Tool Call or general action
🗒️ Plan Block to display a collection of related tasks
📚 URL Sources Element to display references within a task card block
Available in:
🔌 API Methods:
chat.startStream,chat.appendStream, andchat.stopStream🛟 Chat Stream Helper:
const stream = new ChatStreamer(...);,stream.append(...)
Minor Changes
Add thinking steps support to streaming methods
chat.appendStream,chat.startStream, andchat.stopStreamnow accept achunksparameter for streaming structured content including markdown text, plan updates, and task updates.Related PRs:
accept chunks as arguments to chat.{start,append,stop}Stream methods
accept chunks as arguments to chat stream helper
add task display mode option to start of chat streams
export the chat streamer and related options from the package
Example
```js
const stream = new ChatStreamer(client, client.logger, {
channel: CHANNEL_ID,
thread_ts: threadTs,
});
await stream.append({
chunks: [
{
type: "markdown_text",
text: "**Hello!** I am starting to process your request...\n\n",
},
],
});
await stream.append({
chunks: [
{
type: "plan_update",
title: "Processing tasks...",
},
{
type: "task_update",
id: "task-1",
title: "Fetching data from API",
status: "complete",
output: "Successfully retrieved 42 records",
},
],
});
await stream.stop({
chunks: [
{
type: "markdown_text",
text: "\n\n---\n\n✅ **All tasks completed successfully!**\n",
},
],
});
```Patch Changes
web-api: Add channel_id to canvases.create method
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.