feat(KB-198): add task delete CLI command with --force flag

- Add `kb task delete` CLI command with required --force flag for safety
- Implement runTaskDelete function with task existence validation
- Register kb_task_delete tool in Pi extension for chat agent access
- Add comprehensive unit tests for runTaskDelete and extension registration
- Wire delete command in CLI bin.ts with proper argument parsing
This commit is contained in:
gsxdsm
2026-03-30 13:27:59 -07:00
parent 9e35c00a9c
commit 4ee7d0663b
6 changed files with 226 additions and 7 deletions

View File

@@ -87,6 +87,7 @@ describe("kb pi extension", () => {
"kb_task_browse_github_issues",
"kb_task_archive",
"kb_task_unarchive",
"kb_task_delete",
"kb_task_plan",
];