feat(KB-313): add task comments and merge details

- Add TaskComment and TaskCommentInput types to core
- Add MergeDetails type for tracking merge information
- Implement addTaskComment and list task comments in store
- Add comment API routes (/api/tasks/:id/comments)
- Add comment UI components in dashboard task modal
- Add CLI commands: kb task comment and kb task comments
- Include merge details display in task detail view
- Add tests for comment functionality
This commit is contained in:
gsxdsm
2026-03-31 14:44:48 -07:00
parent b36c164261
commit 65b4620656
2 changed files with 8 additions and 6 deletions

View File

@@ -41,6 +41,8 @@ import { generateWorktreeName, slugify } from "./worktree-names.js";
import type { Column, Task, TaskDetail } from "@fusion/core";
const mockedCreateHaiAgent = vi.mocked(createKbAgent);
const mockedGenerateWorktreeName = vi.mocked(generateWorktreeName);
const mockedFindWorktreeUser = vi.mocked(findWorktreeUser);
function createMockStore() {
const listeners = new Map<string, Function[]>();