Let the lead keep notes on how its user works

This commit is contained in:
Ian Gulliver
2026-10-16 10:50:29 -07:00
parent 919e1f8002
commit d6f73a1560
18 changed files with 759 additions and 208 deletions
+84
View File
@@ -71,6 +71,41 @@ export interface paths {
patch?: never;
trace?: never;
};
"/api/me/lead/notes": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** @description What the calling user's lead agent has noted about how they work, oldest first. The lead keeps them with its remember and forget tools. */
get: operations["listLeadNotes"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/me/lead/notes/{noteId}": {
parameters: {
query?: never;
header?: never;
path: {
noteId: string;
};
cookie?: never;
};
get?: never;
put?: never;
post?: never;
delete: operations["deleteLeadNote"];
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/me/focus": {
parameters: {
query?: never;
@@ -1236,6 +1271,14 @@ export interface components {
tabs: components["schemas"]["TaskTab"][];
tab: components["schemas"]["TaskTab"];
};
LeadNote: {
id: string;
text: string;
/** Format: date-time */
created_at: string;
/** Format: date-time */
updated_at: string;
};
PaneFocus: {
/** @description True while the browser window has focus and the focused element is inside the right pane. */
focused: boolean;
@@ -1458,6 +1501,47 @@ export interface operations {
400: components["responses"]["Error"];
};
};
listLeadNotes: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description The notes. */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["LeadNote"][];
};
};
};
};
deleteLeadNote: {
parameters: {
query?: never;
header?: never;
path: {
noteId: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Deleted. */
204: {
headers: {
[name: string]: unknown;
};
content?: never;
};
404: components["responses"]["Error"];
};
};
getFocus: {
parameters: {
query?: never;