Merge remote-tracking branch 'origin/main' into codex/webui-segmented-transcript-store

This commit is contained in:
Xubin Ren
2026-06-10 19:11:37 +08:00
34 changed files with 1022 additions and 56 deletions
+20
View File
@@ -244,6 +244,26 @@ export async function fetchSettingsUsage(
);
}
export interface VersionCheckResult {
updateAvailable: {
currentVersion: string;
latestVersion: string;
pypiUrl?: string;
} | null;
}
export async function checkVersion(
token: string,
base: string = "",
): Promise<VersionCheckResult> {
return request<VersionCheckResult>(
`${base}/api/settings/version-check`,
token,
undefined,
10_000,
);
}
export async function fetchWorkspaces(
token: string,
base: string = "",
+4
View File
@@ -480,10 +480,14 @@ export interface SettingsPayload {
mcp_server_count: number;
exec_enabled: boolean;
exec_sandbox?: string | null;
exec_path_prepend_set: boolean;
exec_path_append_set: boolean;
};
requires_restart: boolean;
restart_required_sections?: Array<"runtime" | "browser" | "image">;
version?: {
current: string;
};
}
export interface AppPackageRef {