Skip to content

Conversation

continue[bot]
Copy link
Contributor

@continue continue bot commented Sep 21, 2025

This PR adds checklist state tracking to the CLI extensions to enable first-class UI rendering of checklists.

Changes

Core Functionality

  • Added field to interface - Tracks current checklist state in serve mode
  • Created module - Centralized checklist state management for both regular and serve modes
  • Updated tool result callbacks - Automatically captures and stores checklist content when Checklist tool is used

User Interface

  • Added slash command - Shows current checklist in both regular CLI and serve modes
  • Added endpoint - Programmatic access to checklist state in serve mode
  • Updated endpoint - Includes checklist in server state response

Technical Details

  • State tracking works across both regular CLI mode and serve mode
  • Checklist state is captured whenever the Checklist tool returns "Task list status:" prefix
  • Comprehensive test coverage for checklist manager functionality
  • Non-intrusive design that doesn't affect existing functionality

Usage

Regular CLI Mode

Users can now run to see their current checklist:

Serve Mode

  • endpoint returns checklist JSON
  • endpoint includes checklist field
  • slash command also works in serve mode

Testing

  • Added comprehensive unit tests for
  • Verified functionality with demo script
  • All checklist operations work correctly

This enhancement enables UI frameworks to render checklists as first-class components by providing persistent state tracking of checklist content.


Summary by cubic

Adds persistent checklist state to the CLI and serve mode, plus a /todo command and GET /todo endpoint. This lets UIs render checklists as first-class components.

  • New Features
    • Global checklist tracking via checklistManager; auto-updates when the Checklist tool returns "Task list status:".
    • New /todo slash command shows the current checklist.
    • Serve mode: GET /todo returns checklist JSON; /state now includes a checklist field.
    • Session/Server state updated to carry checklist.
    • Added unit tests for checklist manager.

…mand

- Add checklist field to ServerState interface in serve mode
- Create checklistManager module to track checklist state across CLI modes
- Update tool result callbacks to capture Checklist tool results
- Add /todo slash command to display current checklist in both regular and serve modes
- Add GET /todo endpoint in serve mode for programmatic access
- Include checklist in /state endpoint response
- Add comprehensive tests for checklist manager functionality

This enables first-class UI rendering of checklists by providing persistent
state tracking whenever the Checklist tool is used.

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
@continue continue bot requested a review from a team as a code owner September 21, 2025 00:41
@continue continue bot requested review from tingwai and removed request for a team September 21, 2025 00:41
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant