/** * [WHO]: TeamTaskStore class - durable shared task list for AgentTeam coordination * [FROM]: Depends on node:fs/promises, node:path, ./team-types * [TO]: Consumed by team-runtime.ts and index.ts * [HERE]: extensions/builtin/team/team-task-store.ts - one tasks.json file under the team storage directory */ import type { TeamTask, TeamTaskStatus } from "./team-types.js"; export interface CreateTeamTaskInput { title: string; description?: string; dependsOn?: string[]; artifactPaths?: string[]; } export interface UpdateTeamTaskInput { status?: TeamTaskStatus; ownerId?: string; ownerName?: string; description?: string; artifactPaths?: string[]; } export declare class TeamTaskStore { private readonly filePath; private tasks; private loaded; constructor(storageDir: string); load(): Promise; create(input: CreateTeamTaskInput): Promise; claim(taskId: string, ownerId: string, ownerName: string): Promise; update(taskId: string, input: UpdateTeamTaskInput): Promise; list(): Promise; get(taskId: string): Promise; private find; private nextId; private save; }