feat(memory-v2): close Phase A with auto-review, product events, and H5 recall UI.
Add candidate auto-review pipeline, shadow audit tooling, admin metrics page, and user-visible memory recall hints in chat with phase-a readiness checks. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -179,6 +179,20 @@ export type UserMemorySyncResponse = {
|
||||
memories: number;
|
||||
totalMemories: number;
|
||||
syncedToSession: boolean;
|
||||
personalMemory?: {
|
||||
savedPreviews: Array<{
|
||||
preview: string;
|
||||
policyReason: string;
|
||||
memoryType: string;
|
||||
}>;
|
||||
autoReviewed: number;
|
||||
pendingReview: number;
|
||||
};
|
||||
};
|
||||
|
||||
export type MemoryRecallBadge = {
|
||||
count: number;
|
||||
previews: string[];
|
||||
};
|
||||
|
||||
export type GoalRunCheckpoint = {
|
||||
@@ -215,6 +229,18 @@ export type GoalRun = {
|
||||
completedAt: number | null;
|
||||
};
|
||||
|
||||
export type UserMemoryRecallHintResponse = {
|
||||
ok: true;
|
||||
memoryCount: number;
|
||||
injectionEnabled: boolean;
|
||||
mode: string | null;
|
||||
createdAt: number | null;
|
||||
runId?: string | null;
|
||||
savedPreview?: string | null;
|
||||
savedAt?: number | null;
|
||||
memoryPreviews?: string[];
|
||||
};
|
||||
|
||||
export type ChatState = 'idle' | 'loading' | 'connecting' | 'streaming' | 'waiting' | 'error';
|
||||
|
||||
export type ToolConfirmation = {
|
||||
|
||||
Reference in New Issue
Block a user