Files

35 lines
744 B
TypeScript
Raw Permalink Normal View History

2026-05-05 12:03:46 +00:00
import type { TToolScope } from './tool.js';
export type TAgentMode = 'auto' | 'ask' | 'suggest';
export type TAgentGlyph = 'comfort' | 'sentinel' | 'watt' | 'dawn' | 'echo' | 'steward' | 'custom';
export interface IAgentDefinition {
id: string;
name: string;
role: string;
glyph: TAgentGlyph;
color: string;
mode: TAgentMode;
model: string;
scopes: TToolScope[];
systemPrompt: string;
enabled: boolean;
}
export interface IAgentStatus {
agentId: string;
actionsToday: number;
latest?: string;
savings?: string;
runningToolIds: string[];
}
export interface IAgentReasoningEvent {
id: string;
agentId: string;
kind: 'observe' | 'think' | 'plan' | 'tool' | 'speak';
text: string;
createdAt: string;
}