Publish Claude Code Binaries / Stage and publish binaries (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-arm64 (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build linux-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build windows-amd64 (push) Canceled after 0s
Sync Tutti Agent Skills / sync (push) Canceled after 0s
Windows Agent Adapters / Test Windows agent adapters (push) Canceled after 0s
Windows Daemon Adapters / Test Windows daemon adapters (push) Canceled after 0s
Publish Tutti App Runtime / Publish runtime catalog (push) Canceled after 0s
42 lines
1.0 KiB
TypeScript
42 lines
1.0 KiB
TypeScript
export const APP_UPDATE_POLICIES = ["off", "prompt", "auto"] as const;
|
|
|
|
export type AppUpdatePolicy = (typeof APP_UPDATE_POLICIES)[number];
|
|
|
|
export const APP_UPDATE_CHANNELS = ["release", "prerelease"] as const;
|
|
|
|
export type AppUpdateChannel = (typeof APP_UPDATE_CHANNELS)[number];
|
|
|
|
export const APP_UPDATE_STATUSES = [
|
|
"disabled",
|
|
"unsupported",
|
|
"idle",
|
|
"checking",
|
|
"available",
|
|
"downloading",
|
|
"downloaded",
|
|
"up_to_date",
|
|
"error"
|
|
] as const;
|
|
|
|
export type AppUpdateStatus = (typeof APP_UPDATE_STATUSES)[number];
|
|
|
|
export interface ConfigureAppUpdatesInput {
|
|
policy: AppUpdatePolicy;
|
|
}
|
|
|
|
export interface AppUpdateState {
|
|
policy: AppUpdatePolicy;
|
|
channel: AppUpdateChannel;
|
|
currentVersion: string;
|
|
status: AppUpdateStatus;
|
|
latestVersion: string | null;
|
|
releaseName: string | null;
|
|
releaseDate: string | null;
|
|
releaseNotesUrl: string | null;
|
|
downloadPercent: number | null;
|
|
downloadedBytes: number | null;
|
|
totalBytes: number | null;
|
|
checkedAt: string | null;
|
|
message: string | null;
|
|
}
|