Merge remote-tracking branch 'upstream/master' into feature/run-menu-custom-model-picker

This commit is contained in:
Devvyn
2026-09-19 03:25:26 +08:00
36 changed files with 3184 additions and 144 deletions
+14
View File
@@ -1180,6 +1180,20 @@ const NotificationEventSchema = z
})
.optional();
/**
* Body of `POST /api/reboot-restore/restore`.
*
* `sessionIds` restores a subset, and omitting it restores everything the caller
* can see. The ids are session ids from `GET /api/reboot-restore`, and an id the
* caller does not own is ignored rather than refused, matching how the session
* list scopes rather than 403s.
*/
export const RebootRestoreRequestSchema = z
.object({
sessionIds: z.array(z.string().max(128)).max(200).optional(),
})
.strict();
export const SettingsUpdateSchema = z
.object({
// User-facing product branding. This changes browser/UI copy only; package,