fix: fix some displays and features
This commit is contained in:
@ -236,6 +236,35 @@ export interface Agent {
|
||||
profileId: string;
|
||||
origin: AgentOrigin;
|
||||
synchronized: boolean;
|
||||
/** Skills assigned to this agent (injected into its convention file). */
|
||||
skills: SkillRef[];
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Skills (L12) — mirror of the domain `Skill` / `SkillRef`.
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Where a skill lives (selects its backing store): `global` skills are reusable
|
||||
* across projects; `project` skills are specific to one project's `.ideai/`.
|
||||
*/
|
||||
export type SkillScope = "global" | "project";
|
||||
|
||||
/**
|
||||
* A reusable, model-agnostic workflow assignable to agents (mirror of the
|
||||
* backend `Skill` DTO, camelCase wire format).
|
||||
*/
|
||||
export interface Skill {
|
||||
id: string;
|
||||
name: string;
|
||||
contentMd: string;
|
||||
scope: SkillScope;
|
||||
}
|
||||
|
||||
/** A reference from an agent to one assigned skill (mirror of `SkillRef`). */
|
||||
export interface SkillRef {
|
||||
skillId: string;
|
||||
scope: SkillScope;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user