AnthropicallyHuggingFaces's picture
Sync full ProjectOS monorepo from GitHub 7f633f5
a8f4b72 verified
Raw History Blame Contribute Delete
666 Bytes
import { createPlanDraft } from './index.mjs';
export interface PlanDraft {
id: string;
question: string;
project: string;
intent: string;
council: string;
agents: string[];
model: string;
datasets: string;
tools: string;
logic: string;
governance: string;
executionReady: boolean;
created: string;
}
export class OperationsAgent {
createCouncil(task: string): string[] {
const council = createPlanDraft({ question: task });
console.log(`Creating ${council.council} for ${task}`);
return council.agents;
}
plan(task: string, project?: string): PlanDraft {
return createPlanDraft({ question: task, project });
}
}