Add bot schedules (routines), open Activity, add Help and a Desktop computer view

Bots create, list, update and delete schedules (cron_jobs, Bun.cron in UTC);
a per-minute cron queues due runs as tasks. Routines, Activity (super admins)
and Help get their own rail aside. Help covers familiar problems, starting
with signing in to Google through Cookie-Editor over the new Desktop (noVNC)
view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-19 10:52:32 +01:00
co-authored by Claude Opus 5.5
parent f24c0d7e82
commit c44048dbab
62 changed files with 1904 additions and 78 deletions
+18
View File
@@ -7,6 +7,7 @@ import type {
BUN_SQLITE_COBBLE_BOTS,
BUN_SQLITE_COBBLE_BOTS_QUEUE_UPDATES,
BUN_SQLITE_COBBLE_COMPUTERS,
BUN_SQLITE_COBBLE_CRON_JOBS,
BUN_SQLITE_COBBLE_MEDIA,
BUN_SQLITE_COBBLE_USER_TYPES,
BUN_SQLITE_COBBLE_USERS,
@@ -52,6 +53,19 @@ export type BotWithLastMessage = BUN_SQLITE_COBBLE_BOTS & {
last_message_at?: number | null;
};
/**
* A bot's schedule with what the routines page shows beside it: the bot
* and the workspace it runs in.
*/
export type CronJobWithNames = BUN_SQLITE_COBBLE_CRON_JOBS & {
bot_name?: string | null;
bot_kind?: string | null;
bot_hue?: string | null;
bot_face?: string | null;
bot_image_media_id?: number | null;
workspace_name?: string | null;
};
/**
* A session in a conversation's sessions modal.
*/
@@ -350,6 +364,10 @@ export type PagePropsType = {
* The open bot's active task and what its job has done so far.
*/
bot_task?: BotTaskWithSteps | null;
/**
* The routines page: every schedule the user's bots have.
*/
cron_jobs?: CronJobWithNames[] | null;
environment?: string;
has_password?: boolean;
backups?: DbBackup[] | null;