Files
GenericAgent/frontends/desktop/dist/index.html
T
yiqi-017 bb4b2ca974 feat(desktop): refresh compiled React Desktop 2.0 distribution
Rebuild the compiled renderer from abraxas914/GenericAgent source
commit 9fe5d69b85cfad8778ace84b6f69bc75f9e0d392, refreshing:

- New-chat default model tag: the selected-model badge in Settings
  and the composer now read '新会话默认' / 'New chat default'.
- Model selectors display the configured profile name (备注名) so the
  same model served by different providers is distinguishable.
- desktop_bridge: syncing mixin llm_nos references when a profile is
  renamed, preventing orphan references in the mixin config.
- Release publisher sets GH_REPO so 'gh release create' resolves the
  target repository without checking out source, satisfying the
  publisher security contract while fixing the prerelease step.

Provenance and verifier updated to the new source commit and the
LF-normalized content manifest (98 generated assets).
2026-08-25 18:00:43 +08:00

39 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/svg+xml" href="/assets/ga-logo.svg">
<title>GenericAgent</title>
<script>
// FOUC prevention: apply cached appearance before first paint
(function(){
var l=localStorage.getItem('ga_lang'); if(l==='en') document.documentElement.lang='en';
var app=localStorage.getItem('ga_appearance')||'light';
document.documentElement.dataset.appearance=app;
var LEGACY_FONT={sm:12,md:14,lg:16};
function chatFontPx(v){
if(v&&LEGACY_FONT[v]) return LEGACY_FONT[v];
var n=parseInt(v,10); if(!isNaN(n)&&n>=10&&n<=20) return n;
return 14;
}
var fs=localStorage.getItem('ga_font_size');
var cfp=chatFontPx(fs);
document.documentElement.dataset.chatFont=String(cfp);
document.documentElement.style.setProperty('--chat-font',cfp+'px');
})();
</script>
<script type="module" crossorigin src="/assets/main-BlLQtfpq.js"></script>
<link rel="modulepreload" crossorigin href="/assets/tauri-compat-tfiFK9EG.js">
<link rel="modulepreload" crossorigin href="/assets/index-Bpi3BHKj.js">
<link rel="modulepreload" crossorigin href="/assets/WindowsTitlebar-CrkUa1UM.js">
<link rel="stylesheet" crossorigin href="/assets/tauri-compat-BTcpEvqB.css">
<link rel="stylesheet" crossorigin href="/assets/index-D0pGtk0y.css">
<link rel="stylesheet" crossorigin href="/assets/WindowsTitlebar-U0YG9JNA.css">
<link rel="stylesheet" crossorigin href="/assets/main-uLcKKTNv.css">
</head>
<body class="no-transition">
<div id="app"></div>
</body>
</html>