feat(types): add templateId to BeadIssue and enhance swarm types
- Add templateId: string | null to BeadIssue (links epics to templates) - Add icon field to AgentArchetype for emoji/icon display - Add color and icon fields to SwarmTemplate for visual customization
This commit is contained in:
parent
d727f8b548
commit
adcceb68bb
2 changed files with 7 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ export interface AgentArchetype {
|
||||||
systemPrompt: string;
|
systemPrompt: string;
|
||||||
capabilities: string[];
|
capabilities: string[];
|
||||||
color: string;
|
color: string;
|
||||||
|
/** Optional emoji or icon identifier. If not set, displays first letter of name. */
|
||||||
|
icon?: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
isBuiltIn: boolean;
|
isBuiltIn: boolean;
|
||||||
|
|
@ -16,6 +18,10 @@ export interface SwarmTemplate {
|
||||||
description: string;
|
description: string;
|
||||||
team: { archetypeId: string; count: number }[];
|
team: { archetypeId: string; count: number }[];
|
||||||
protoFormula?: string;
|
protoFormula?: string;
|
||||||
|
/** Color for template display. Defaults to amber if not set. */
|
||||||
|
color?: string;
|
||||||
|
/** Optional emoji or icon identifier. If not set, displays first letter of name. */
|
||||||
|
icon?: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
isBuiltIn: boolean;
|
isBuiltIn: boolean;
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ export interface BeadIssue {
|
||||||
priority: number;
|
priority: number;
|
||||||
issue_type: BeadIssueType;
|
issue_type: BeadIssueType;
|
||||||
assignee: string | null;
|
assignee: string | null;
|
||||||
|
templateId: string | null;
|
||||||
owner: string | null;
|
owner: string | null;
|
||||||
labels: string[];
|
labels: string[];
|
||||||
dependencies: BeadDependency[];
|
dependencies: BeadDependency[];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue