Module handlers

Module handlers 

Source

Functions§

create_event
Add an event to a task
create_task
Create a new task
delete_event
Delete an event
delete_task
Delete a task
done_task
Complete the current task
get_current_task
Get current task
get_task
Get a single task by ID
get_task_context
Get task context (ancestors, siblings, children)
handle_cli_notification
Handle CLI notification (internal endpoint for CLI → Dashboard sync)
list_events
List events for a task
list_projects
List all registered projects (from known_projects state loaded from global registry)
list_tasks
Get all tasks with optional filters
pick_next_task
Pick next task recommendation
remove_project
Remove a project from the Dashboard and global registry DELETE /api/projects
search
Unified search across tasks and events
shutdown_handler
Shutdown the Dashboard server gracefully POST /api/internal/shutdown
spawn_subtask
Spawn a subtask and switch to it Note: This creates a subtask of the CURRENT task, not an arbitrary parent
start_task
Start a task (set as current)
switch_project
Switch to a different project database dynamically
update_event
Update an event
update_task
Update a task