File size: 666 Bytes
a8f4b72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 });
  }
}