chore: polish codewhale home defaults
This commit is contained in:
@@ -11,7 +11,7 @@ export async function generateMetadata({ params }: { params: Promise<{ locale: s
|
||||
const { locale } = await params;
|
||||
const isZh = locale === "zh";
|
||||
return {
|
||||
title: isZh ? "CodeWhale · DeepSeek V4 智能体运行框架" : "CodeWhale · DeepSeek V4 智能体运行框架",
|
||||
title: isZh ? "CodeWhale · DeepSeek V4 智能体运行框架" : "CodeWhale · DeepSeek V4 Agent Harness",
|
||||
description: isZh
|
||||
? "DeepSeek V4 的最强智能体运行框架。宪政层级、结构化信任、验证与恢复——让模型持续工作并不断进步的规则、工具和反馈循环。国际开源社区,递归自改进。"
|
||||
: "The most agentic harness for DeepSeek V4. Constitutional hierarchy, structured trust, verification, and recovery — rules, tools, and feedback loops that help the model keep working. An international open source community building a recursive, self-improving harness.",
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ const cjk = Noto_Serif_SC({
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "CodeWhale · DeepSeek V4 智能体运行框架",
|
||||
title: "CodeWhale · DeepSeek V4 Agent Harness",
|
||||
description:
|
||||
"The most agentic harness for DeepSeek V4. Constitutional hierarchy, structured trust, verification, and recovery — rules, tools, and feedback loops that help the model keep working.",
|
||||
metadataBase: new URL("https://codewhale.net"),
|
||||
|
||||
@@ -136,7 +136,7 @@ export function Footer({ locale = "en" }: { locale?: Locale }) {
|
||||
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-2 font-mono text-[0.7rem] text-ink-mute uppercase tracking-widest">
|
||||
<span>© {new Date().getFullYear()} · CodeWhale · Hmbown</span>
|
||||
<span className="font-cjk normal-case tracking-normal">
|
||||
{isZh ? "本网站由 DeepSeek V4-Flash 协助维护" : "本网站由 DeepSeek V4-Flash 协同维护"}
|
||||
{isZh ? "本网站由 DeepSeek V4-Flash 协助维护" : "Maintained with DeepSeek V4-Flash"}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -48,9 +48,9 @@ const en = {
|
||||
],
|
||||
tagline:
|
||||
"Open-model terminal-native coding agent. DeepSeek V4 is first-class. MIT licensed. Maintained from a small workshop in Texas. Pull requests welcome.",
|
||||
crafted: "Made with care · 用心制作",
|
||||
poweredBy: "本网站由 DeepSeek V4-Flash 协同维护",
|
||||
mirrors: "镜像源 / Mirror",
|
||||
crafted: "Made with care",
|
||||
poweredBy: "Maintained with DeepSeek V4-Flash",
|
||||
mirrors: "Mirrors",
|
||||
},
|
||||
localeSwitch: { en: "EN", zh: "中文" },
|
||||
};
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
export default {
|
||||
const redirectWorker = {
|
||||
fetch(request: Request): Response {
|
||||
const url = new URL(request.url);
|
||||
url.host = "codewhale.net";
|
||||
return Response.redirect(url.toString(), 301);
|
||||
},
|
||||
};
|
||||
|
||||
export default redirectWorker;
|
||||
|
||||
Reference in New Issue
Block a user