feat(webui): v0.7.3 — Kimi Code WebUI 应用内嵌窗口(单例/独立顶层窗口/服务器自动清理)+ 发布说明与网站同步
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
Release / Attach macOS install script (push) Canceled after 0s

This commit is contained in:
KimiSwitch Dev committed 2026-08-07 15:46:45 +08:00
1 parent fc09a29b9f
commit a0e36e928d
16 files changed
+145759 -143691

No files matched your search

+28 -13
View File
@@ -164,19 +164,34 @@ export function SubagentSettingsPage({
{/* Kimi Code WebUI quick open */}
<Card title={t("webuiSection")}>
<p className="text-xs text-content-muted">{t("webuiDesc")}</p>
<button
type="button"
onClick={async () => {
try {
await invoke("open_kimi_web");
} catch (err) {
alert(err instanceof Error ? err.message : String(err));
}
}}
className="mt-3 px-3 py-1.5 text-sm rounded bg-blue-600 text-white hover:bg-blue-500 focus:ring-2 focus:ring-blue-500 focus:outline-none"
>
{t("openWebUI")}
</button>
<div className="mt-3 flex flex-wrap gap-2">
<button
type="button"
onClick={async () => {
try {
await invoke("open_kimi_web_embedded");
} catch (err) {
alert(err instanceof Error ? err.message : String(err));
}
}}
className="px-3 py-1.5 text-sm rounded bg-blue-600 text-white hover:bg-blue-500 focus:ring-2 focus:ring-blue-500 focus:outline-none"
>
{t("openWebUIEmbedded")}
</button>
<button
type="button"
onClick={async () => {
try {
await invoke("open_kimi_web");
} catch (err) {
alert(err instanceof Error ? err.message : String(err));
}
}}
className="px-3 py-1.5 text-sm border border-border rounded hover:bg-hover-2 focus:ring-2 focus:ring-blue-500 focus:outline-none"
>
{t("openWebUIBrowser")}
</button>
</div>
</Card>
{/* Subagent: secondary model picker + inherited settings */}
+3 -2
View File
@@ -482,6 +482,7 @@ export const enTranslations: Record<TranslationKey, string> = {
// Kimi Code WebUI quick open
webuiSection: "Kimi Code WebUI",
webuiDesc:
"Launch `kimi web` to open the new Web UI in your browser (built into kimi-code 0.33+). Requires the kimi CLI on PATH.",
openWebUI: "Open WebUI",
"Open the new Web UI in an independent in-app window, or in your system browser (built into kimi-code 0.33+). Requires the kimi CLI on PATH.",
openWebUIEmbedded: "Open in App",
openWebUIBrowser: "Open in Browser",
};
+3 -2
View File
@@ -477,8 +477,9 @@ export const zhTranslations = {
// Kimi Code WebUI quick open
webuiSection: "Kimi Code WebUI",
webuiDesc:
"启动 kimi web,在浏览器中打开新版 Web 界面(kimi-code 0.33+ 内置 code-app)。需要 kimi 命令在 PATH 中。",
openWebUI: "打开 WebUI",
"以独立窗口在应用内打开新版 Web 界面,也可以选择在系统浏览器打开(kimi-code 0.33+ 内置 code-app;需要 kimi 命令在 PATH 中)。",
openWebUIEmbedded: "在应用内打开",
openWebUIBrowser: "在浏览器打开",
} as const;
export type TranslationKey = keyof typeof zhTranslations;
+80909 -79936
View File
File diff suppressed because it is too large. Load diff
+64545 -63712
View File
File diff suppressed because it is too large. Load diff