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 = "",