Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
20 lines
511 B
TypeScript
20 lines
511 B
TypeScript
export interface UpsertPreferenceDto {
|
|
key: string;
|
|
value: unknown;
|
|
category?: 'communication' | 'coding' | 'workflow' | 'appearance' | 'general';
|
|
source?: string;
|
|
}
|
|
|
|
export interface CreateInsightDto {
|
|
content: string;
|
|
source?: 'agent' | 'user' | 'summarization' | 'system';
|
|
category?: 'decision' | 'learning' | 'preference' | 'fact' | 'pattern' | 'general';
|
|
metadata?: Record<string, unknown>;
|
|
}
|
|
|
|
export interface SearchMemoryDto {
|
|
query: string;
|
|
limit?: number;
|
|
maxDistance?: number;
|
|
}
|