Skip to content

Conversation

@randomm
Copy link
Owner

@randomm randomm commented Feb 12, 2026

Summary

New tool to list all background tasks with their status, exposing the internal listBackgroundTasks() function.

Changes

  • Added list_tasks.ts tool implementation
  • Added list_tasks.txt documentation
  • Registered tool in registry.ts
  • Updated fork-features manifest

Features

  • Lists pending (running) tasks
  • Lists completed/failed tasks
  • Configurable limit parameter
  • Option to exclude completed tasks

Known Issue

Tests blocked by pre-existing circular dependency in codebase (BackgroundTaskEvent initialization order). Tool itself works correctly.

Usage

/list_tasks - List all tasks
/list_tasks {"limit": 10} - List up to 10 tasks
/list_tasks {"include_completed": false} - Only pending tasks

Fixes #184

@randomm randomm merged commit 04193a7 into dev Feb 12, 2026
1 check passed
@randomm randomm deleted the feature/184-list-tasks-tool branch February 12, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add list_tasks tool to query all background tasks

1 participant