Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

fix(i18n): unify homepage zh-Hans — 检查点 in FeatureGrid and WhyTable

xf gong20fbe9cdd371
diff --git a/website/src/components/Home/FeatureGrid.tsx b/website/src/components/Home/FeatureGrid.tsx
index 9f984c2..5caa09b 100644
--- a/website/src/components/Home/FeatureGrid.tsx
+++ b/website/src/components/Home/FeatureGrid.tsx
@@ -70,7 +70,7 @@ const CARDS_ZH = [
{ Icon: IconStream, title: '流式输出', body: 'async for event in stream。', href: '/docs/guides/agents/streaming' },
{ Icon: IconTool, title: '工具调用', body: '普通函数,并行执行。', href: '/docs/guides/agents/tool-use' },
{ Icon: IconPlug, title: 'Provider', body: 'Anthropic、OpenAI,或自定义。', href: '/docs/guides/providers/anthropic' },
- { Icon: IconDisk, title: 'Checkpointing', body: '追加式,每轮 O(1)。', href: '/docs/guides/checkpointing/sqlite' },
+ { Icon: IconDisk, title: '检查点', body: '追加式,每轮 O(1)。', href: '/docs/guides/checkpointing/sqlite' },
{ Icon: IconHitl, title: '人机协同', body: '暂停等待确认、审批或问答。', href: '/docs/guides/hitl/overview' },
{ Icon: IconMcp, title: 'MCP', body: '启动时加载远程工具。', href: '/docs/guides/mcp/loading' },
{ Icon: IconTrace, title: 'Tracing', body: 'OpenTelemetry、OTLP / JSONL、GenAI semconv。', href: '/docs/guides/tracing/overview' },
diff --git a/website/src/components/Home/WhyTable.tsx b/website/src/components/Home/WhyTable.tsx
index e01959e..7437682 100644
--- a/website/src/components/Home/WhyTable.tsx
+++ b/website/src/components/Home/WhyTable.tsx
@@ -16,7 +16,7 @@ const ROWS_EN: { label: string; langgraph: string; cubepi: string }[] = [
const ROWS_ZH: { label: string; langgraph: string; cubepi: string }[] = [
{ label: '抽象模型', langgraph: '图节点 + 边 + 通道', cubepi: '普通 async 函数 — run_agent_loop 就是一个 while 循环' },
{ label: '流式输出', langgraph: '基于回调,多种 handler 类型', cubepi: 'async for event in stream — 统一模式' },
- { label: 'Checkpointing', langgraph: '每步全量快照,序列化整个消息列表', cubepi: '追加式 — 无论对话多长,每轮 O(1) DB I/O' },
+ { label: '检查点', langgraph: '每步全量快照,序列化整个消息列表', cubepi: '追加式 — 无论对话多长,每轮 O(1) DB I/O' },
{ label: '依赖项', langgraph: 'langchain-core、langgraph-sdk 及传递依赖', cubepi: '3 个核心依赖:pydantic、anthropic、openai' },
{ label: '工具执行', langgraph: '工具是需要手动连线的图节点', cubepi: '声明为函数;框架自动路由并并行执行' },
{ label: '多 Provider', langgraph: '通过 langchain chat model 适配器', cubepi: '原生 Provider 协议 — 内置 Anthropic、OpenAI' },