UNPKG

task-master-neo-sdlc

Version:

Enhanced task management system with Neo SDLC agents and MCP tools for comprehensive, AI-driven software development lifecycle management.

20 lines (16 loc) 498 B
import { AgentSchema } from "./schemas.js"; export class BaseAgent { constructor(agentData) { this.data = AgentSchema.parse(agentData); // Validates structure } get beliefs() { return this.data.bdi.beliefs; } get desires() { return this.data.bdi.desires; } get intentions() { return this.data.bdi.intentions; } get metadata() { return this.data.metadata; } getGoals() { return this.data.metadata.goals; } validate() { return AgentSchema.safeParse(this.data); } }