Skip to content

Conversation

@srtaalej
Copy link
Contributor

@srtaalej srtaalej commented Jan 20, 2026

Summary

This PR adds the task_card block and the plan block for usage in standalone messages.

⚠️ This is experimental and requires a toggle to preview!

const parentMessage = await client.chat.postMessage({
      channel: CHANNEL_ID,
      text: '🧵 Starting a streaming conversation with chunks...',
      blocks: [
        {
          type: 'plan',
          plan_id: 'plan-123',
          title: 'My Task',
          tasks: [
            {
              type: 'task_card',
              task_id: 'task-124',
              title: 'Task1',
              status: 'complete'
            },
            {
              type: 'task_card',
              task_id: 'task-125',
              title: 'task2',
              status: 'complete'
            },
          ]
        }
      ]
    });

Requirements (place an x in each [ ])

@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.09%. Comparing base (b44cee1) to head (9981e37).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                       Coverage Diff                       @@
##           feat-ai-apps-thinking-steps    #2471      +/-   ##
===============================================================
- Coverage                        93.09%   93.09%   -0.01%     
===============================================================
  Files                               40       40              
  Lines                            11240    11233       -7     
  Branches                           713      712       -1     
===============================================================
- Hits                             10464    10457       -7     
  Misses                             764      764              
  Partials                            12       12              
Flag Coverage Δ
cli-hooks 95.23% <ø> (ø)
cli-test 94.79% <ø> (ø)
webhook 96.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@srtaalej srtaalej self-assigned this Jan 20, 2026
@srtaalej srtaalej added semver:minor enhancement M-T: A feature request for new functionality labels Jan 20, 2026
@srtaalej srtaalej marked this pull request as ready for review January 20, 2026 18:55
@srtaalej srtaalej requested a review from a team as a code owner January 20, 2026 18:55
title: string;

/**
* @description An array of tasks associated with this plan.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @description An array of tasks associated with this plan.
* @description A sequence of task card blocks. Each task represents a single action within the plan.

}

/**
* Used for displaying tool execution progress in a timeline-style UI.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Used for displaying tool execution progress in a timeline-style UI.
* Used for displaying task progress in a timeline-style UI.

elements: [
{
type: 'text',
text: 'Dreamt of touching grass',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too real

srtaalej and others added 4 commits January 21, 2026 12:53
Co-authored-by: Luke Russell <31357343+lukegalbraithrussell@users.noreply.github.com>
Co-authored-by: Luke Russell <31357343+lukegalbraithrussell@users.noreply.github.com>
Co-authored-by: Luke Russell <31357343+lukegalbraithrussell@users.noreply.github.com>
Co-authored-by: Luke Russell <31357343+lukegalbraithrussell@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement M-T: A feature request for new functionality semver:minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants