feat(swarm): define strict archetype and template contracts
This commit is contained in:
parent
14a50ad4ae
commit
84737f8905
1 changed files with 22 additions and 0 deletions
22
src/lib/types-swarm.ts
Normal file
22
src/lib/types-swarm.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
export interface AgentArchetype {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
description: string;
|
||||||
|
systemPrompt: string;
|
||||||
|
capabilities: string[];
|
||||||
|
color: string;
|
||||||
|
createdAt: string;
|
||||||
|
updatedAt: string;
|
||||||
|
isBuiltIn: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SwarmTemplate {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
description: string;
|
||||||
|
team: { archetypeId: string; count: number }[];
|
||||||
|
protoFormula?: string;
|
||||||
|
createdAt: string;
|
||||||
|
updatedAt: string;
|
||||||
|
isBuiltIn: boolean;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue