Sessions required (#5548)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2025-11-03 21:04:44 -05:00
committed by GitHub
parent 86c3e42e43
commit 5b93ee587f
31 changed files with 956 additions and 2678 deletions
+3 -1
View File
@@ -667,7 +667,6 @@ export type ScheduledJob = {
cron: string;
current_session_id?: string | null;
currently_running?: boolean;
execution_mode?: string | null;
id: string;
last_run?: string | null;
paused?: boolean;
@@ -689,6 +688,7 @@ export type Session = {
output_tokens?: number | null;
recipe?: Recipe | null;
schedule_id?: string | null;
session_type?: SessionType;
total_tokens?: number | null;
updated_at: string;
user_recipe_values?: {
@@ -725,6 +725,8 @@ export type SessionListResponse = {
sessions: Array<Session>;
};
export type SessionType = 'user' | 'scheduled' | 'sub_agent' | 'hidden';
export type SessionsQuery = {
limit?: number;
};