CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
feat(website): enable zh-Hans locale with stubbed core translations
xf gongcfa67171fdda
diff --git a/website/i18n/zh-Hans/code.json b/website/i18n/zh-Hans/code.jsonnew file mode 100644index 0000000..5022b53--- /dev/null+++ b/website/i18n/zh-Hans/code.json@@ -0,0 +1,329 @@+{+ "theme.ErrorPageContent.title": {+ "message": "页面已崩溃。",+ "description": "The title of the fallback page when the page crashed"+ },+ "theme.BackToTopButton.buttonAriaLabel": {+ "message": "回到顶部",+ "description": "The ARIA label for the back to top button"+ },+ "theme.blog.archive.title": {+ "message": "历史博文",+ "description": "The page & hero title of the blog archive page"+ },+ "theme.blog.archive.description": {+ "message": "历史博文",+ "description": "The page & hero description of the blog archive page"+ },+ "theme.blog.paginator.navAriaLabel": {+ "message": "博文列表分页导航",+ "description": "The ARIA label for the blog pagination"+ },+ "theme.blog.paginator.newerEntries": {+ "message": "较新的博文",+ "description": "The label used to navigate to the newer blog posts page (previous page)"+ },+ "theme.blog.paginator.olderEntries": {+ "message": "较旧的博文",+ "description": "The label used to navigate to the older blog posts page (next page)"+ },+ "theme.blog.post.paginator.navAriaLabel": {+ "message": "博文分页导航",+ "description": "The ARIA label for the blog posts pagination"+ },+ "theme.blog.post.paginator.newerPost": {+ "message": "较新一篇",+ "description": "The blog post button label to navigate to the newer/previous post"+ },+ "theme.blog.post.paginator.olderPost": {+ "message": "较旧一篇",+ "description": "The blog post button label to navigate to the older/next post"+ },+ "theme.tags.tagsPageLink": {+ "message": "查看所有标签",+ "description": "The label of the link targeting the tag list page"+ },+ "theme.colorToggle.ariaLabel.mode.system": {+ "message": "系统模式",+ "description": "The name for the system color mode"+ },+ "theme.colorToggle.ariaLabel.mode.light": {+ "message": "浅色模式",+ "description": "The name for the light color mode"+ },+ "theme.colorToggle.ariaLabel.mode.dark": {+ "message": "暗黑模式",+ "description": "The name for the dark color mode"+ },+ "theme.colorToggle.ariaLabel": {+ "message": "切换浅色/暗黑模式(当前为{mode})",+ "description": "The ARIA label for the color mode toggle"+ },+ "theme.docs.breadcrumbs.navAriaLabel": {+ "message": "页面路径",+ "description": "The ARIA label for the breadcrumbs"+ },+ "theme.docs.paginator.navAriaLabel": {+ "message": "文件选项卡",+ "description": "The ARIA label for the docs pagination"+ },+ "theme.docs.paginator.previous": {+ "message": "上一页",+ "description": "The label used to navigate to the previous doc"+ },+ "theme.docs.paginator.next": {+ "message": "下一页",+ "description": "The label used to navigate to the next doc"+ },+ "theme.docs.tagDocListPageTitle.nDocsTagged": {+ "message": "{count} 篇文档带有标签",+ "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"+ },+ "theme.docs.tagDocListPageTitle": {+ "message": "{nDocsTagged}「{tagName}」",+ "description": "The title of the page for a docs tag"+ },+ "theme.docs.versionBadge.label": {+ "message": "版本:{versionLabel}"+ },+ "theme.docs.versions.unreleasedVersionLabel": {+ "message": "此为 {siteTitle} {versionLabel} 版尚未发行的文档。",+ "description": "The label used to tell the user that he's browsing an unreleased doc version"+ },+ "theme.docs.versions.unmaintainedVersionLabel": {+ "message": "此为 {siteTitle} {versionLabel} 版的文档,现已不再积极维护。",+ "description": "The label used to tell the user that he's browsing an unmaintained doc version"+ },+ "theme.docs.versions.latestVersionSuggestionLabel": {+ "message": "最新的文档请参阅 {latestVersionLink} ({versionLabel})。",+ "description": "The label used to tell the user to check the latest version"+ },+ "theme.docs.versions.latestVersionLinkLabel": {+ "message": "最新版本",+ "description": "The label used for the latest version suggestion link label"+ },+ "theme.common.editThisPage": {+ "message": "编辑此页",+ "description": "The link label to edit the current page"+ },+ "theme.common.headingLinkTitle": {+ "message": "{heading}的直接链接",+ "description": "Title for link to heading"+ },+ "theme.lastUpdated.atDate": {+ "message": "于 {date} ",+ "description": "The words used to describe on which date a page has been last updated"+ },+ "theme.lastUpdated.byUser": {+ "message": "由 {user} ",+ "description": "The words used to describe by who the page has been last updated"+ },+ "theme.lastUpdated.lastUpdatedAtBy": {+ "message": "最后{byUser}{atDate}更新",+ "description": "The sentence used to display when a page has been last updated, and by who"+ },+ "theme.NotFound.title": {+ "message": "找不到页面",+ "description": "The title of the 404 page"+ },+ "theme.navbar.mobileVersionsDropdown.label": {+ "message": "选择版本",+ "description": "The label for the navbar versions dropdown on mobile view"+ },+ "theme.tags.tagsListLabel": {+ "message": "标签:",+ "description": "The label alongside a tag list"+ },+ "theme.admonition.caution": {+ "message": "警告",+ "description": "The default label used for the Caution admonition (:::caution)"+ },+ "theme.admonition.danger": {+ "message": "危险",+ "description": "The default label used for the Danger admonition (:::danger)"+ },+ "theme.admonition.info": {+ "message": "信息",+ "description": "The default label used for the Info admonition (:::info)"+ },+ "theme.admonition.note": {+ "message": "备注",+ "description": "The default label used for the Note admonition (:::note)"+ },+ "theme.admonition.tip": {+ "message": "提示",+ "description": "The default label used for the Tip admonition (:::tip)"+ },+ "theme.admonition.warning": {+ "message": "注意",+ "description": "The default label used for the Warning admonition (:::warning)"+ },+ "theme.AnnouncementBar.closeButtonAriaLabel": {+ "message": "关闭",+ "description": "The ARIA label for close button of announcement bar"+ },+ "theme.blog.sidebar.navAriaLabel": {+ "message": "最近博文导航",+ "description": "The ARIA label for recent posts in the blog sidebar"+ },+ "theme.DocSidebarItem.expandCategoryAriaLabel": {+ "message": "展开侧边栏分类 '{label}'",+ "description": "The ARIA label to expand the sidebar category"+ },+ "theme.DocSidebarItem.collapseCategoryAriaLabel": {+ "message": "折叠侧边栏分类 '{label}'",+ "description": "The ARIA label to collapse the sidebar category"+ },+ "theme.IconExternalLink.ariaLabel": {+ "message": "(在新标签页中打开)",+ "description": "The ARIA label for the external link icon"+ },+ "theme.NavBar.navAriaLabel": {+ "message": "主导航",+ "description": "The ARIA label for the main navigation"+ },+ "theme.NotFound.p1": {+ "message": "我们找不到您要找的页面。",+ "description": "The first paragraph of the 404 page"+ },+ "theme.NotFound.p2": {+ "message": "请联系原始链接来源网站的所有者,并告知他们链接已损坏。",+ "description": "The 2nd paragraph of the 404 page"+ },+ "theme.navbar.mobileLanguageDropdown.label": {+ "message": "选择语言",+ "description": "The label for the mobile language switcher dropdown"+ },+ "theme.TOCCollapsible.toggleButtonLabel": {+ "message": "本页总览",+ "description": "The label used by the button on the collapsible TOC component"+ },+ "theme.blog.post.readMore": {+ "message": "阅读更多",+ "description": "The label used in blog post item excerpts to link to full blog posts"+ },+ "theme.blog.post.readMoreLabel": {+ "message": "阅读 {title} 的全文",+ "description": "The ARIA label for the link to full blog posts from excerpts"+ },+ "theme.blog.post.readingTime.plurals": {+ "message": "阅读需 {readingTime} 分钟",+ "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"+ },+ "theme.CodeBlock.copy": {+ "message": "复制",+ "description": "The copy button label on code blocks"+ },+ "theme.CodeBlock.copied": {+ "message": "复制成功",+ "description": "The copied button label on code blocks"+ },+ "theme.CodeBlock.copyButtonAriaLabel": {+ "message": "复制代码到剪贴板",+ "description": "The ARIA label for copy code blocks button"+ },+ "theme.CodeBlock.wordWrapToggle": {+ "message": "切换自动换行",+ "description": "The title attribute for toggle word wrapping button of code block lines"+ },+ "theme.docs.breadcrumbs.home": {+ "message": "主页面",+ "description": "The ARIA label for the home page in the breadcrumbs"+ },+ "theme.docs.sidebar.collapseButtonTitle": {+ "message": "收起侧边栏",+ "description": "The title attribute for collapse button of doc sidebar"+ },+ "theme.docs.sidebar.collapseButtonAriaLabel": {+ "message": "收起侧边栏",+ "description": "The title attribute for collapse button of doc sidebar"+ },+ "theme.docs.sidebar.navAriaLabel": {+ "message": "文档侧边栏",+ "description": "The ARIA label for the sidebar navigation"+ },+ "theme.docs.sidebar.closeSidebarButtonAriaLabel": {+ "message": "关闭导航栏",+ "description": "The ARIA label for close button of mobile sidebar"+ },+ "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {+ "message": "← 回到主菜单",+ "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"+ },+ "theme.docs.sidebar.toggleSidebarButtonAriaLabel": {+ "message": "切换导航栏",+ "description": "The ARIA label for hamburger menu button of mobile navigation"+ },+ "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": {+ "message": "展开下拉菜单",+ "description": "The ARIA label of the button to expand the mobile dropdown navbar item"+ },+ "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": {+ "message": "收起下拉菜单",+ "description": "The ARIA label of the button to collapse the mobile dropdown navbar item"+ },+ "theme.docs.sidebar.expandButtonTitle": {+ "message": "展开侧边栏",+ "description": "The ARIA label and title attribute for expand button of doc sidebar"+ },+ "theme.docs.sidebar.expandButtonAriaLabel": {+ "message": "展开侧边栏",+ "description": "The ARIA label and title attribute for expand button of doc sidebar"+ },+ "theme.blog.post.plurals": {+ "message": "{count} 篇博文",+ "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"+ },+ "theme.blog.tagTitle": {+ "message": "{nPosts} 含有标签「{tagName}」",+ "description": "The title of the page for a blog tag"+ },+ "theme.blog.author.pageTitle": {+ "message": "{authorName} - {nPosts}",+ "description": "The title of the page for a blog author"+ },+ "theme.blog.authorsList.pageTitle": {+ "message": "作者",+ "description": "The title of the authors page"+ },+ "theme.blog.authorsList.viewAll": {+ "message": "查看所有作者",+ "description": "The label of the link targeting the blog authors page"+ },+ "theme.blog.author.noPosts": {+ "message": "该作者尚未撰写任何文章。",+ "description": "The text for authors with 0 blog post"+ },+ "theme.contentVisibility.unlistedBanner.title": {+ "message": "未列出页",+ "description": "The unlisted content banner title"+ },+ "theme.contentVisibility.unlistedBanner.message": {+ "message": "此页面未列出。搜索引擎不会对其索引,只有拥有直接链接的用户才能访问。",+ "description": "The unlisted content banner message"+ },+ "theme.contentVisibility.draftBanner.title": {+ "message": "草稿页",+ "description": "The draft content banner title"+ },+ "theme.contentVisibility.draftBanner.message": {+ "message": "此页面是草稿,仅在开发环境中可见,不会包含在正式版本中。",+ "description": "The draft content banner message"+ },+ "theme.docs.DocCard.categoryDescription.plurals": {+ "message": "{count} 个项目",+ "description": "The default description for a category card in the generated index about how many items this category includes"+ },+ "theme.ErrorPageContent.tryAgain": {+ "message": "重试",+ "description": "The label of the button to try again rendering when the React error boundary captures an error"+ },+ "theme.common.skipToMainContent": {+ "message": "跳到主要内容",+ "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"+ },+ "theme.tags.tagsPageTitle": {+ "message": "标签",+ "description": "The title of the tag list page"+ }+}diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current.jsonnew file mode 100644index 0000000..c52f956--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json@@ -0,0 +1,42 @@+{+ "version.label": {+ "message": "Next 🚧",+ "description": "The label for version current"+ },+ "sidebar.docs.category.Getting Started": {+ "message": "快速入门",+ "description": "The label for category 'Getting Started' in sidebar 'docs'"+ },+ "sidebar.docs.category.Guides": {+ "message": "指南",+ "description": "The label for category 'Guides' in sidebar 'docs'"+ },+ "sidebar.docs.category.Agents": {+ "message": "Agent",+ "description": "The label for category 'Agents' in sidebar 'docs'"+ },+ "sidebar.docs.category.Providers": {+ "message": "Provider",+ "description": "The label for category 'Providers' in sidebar 'docs'"+ },+ "sidebar.docs.category.Checkpointing": {+ "message": "检查点",+ "description": "The label for category 'Checkpointing' in sidebar 'docs'"+ },+ "sidebar.docs.category.Middleware": {+ "message": "中间件",+ "description": "The label for category 'Middleware' in sidebar 'docs'"+ },+ "sidebar.docs.category.MCP": {+ "message": "MCP",+ "description": "The label for category 'MCP' in sidebar 'docs'"+ },+ "sidebar.docs.category.Recipes": {+ "message": "示例",+ "description": "The label for category 'Recipes' in sidebar 'docs'"+ },+ "sidebar.docs.category.Migration": {+ "message": "迁移指南",+ "description": "The label for category 'Migration' in sidebar 'docs'"+ }+}diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/core-concepts.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/core-concepts.mdnew file mode 100644index 0000000..660d64f--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/core-concepts.md@@ -0,0 +1,7 @@+---+title: 核心概念+---++# 核心概念++_占位。内容将在后续内容 PR 中补充。_diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/installation.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/installation.mdnew file mode 100644index 0000000..f82b755--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/installation.md@@ -0,0 +1,7 @@+---+title: 安装+---++# 安装++_占位。内容将在后续内容 PR 中补充。_diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/quick-start.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/quick-start.mdnew file mode 100644index 0000000..9e7bfd9--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/quick-start.md@@ -0,0 +1,7 @@+---+title: 快速开始+---++# 快速开始++_占位。内容将在后续内容 PR 中补充。_diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/first-agent.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/first-agent.mdnew file mode 100644index 0000000..148fb0b--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/first-agent.md@@ -0,0 +1,7 @@+---+title: 第一个 Agent+---++# 第一个 Agent++_占位。内容将在后续内容 PR 中补充。_diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/streaming.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/streaming.mdnew file mode 100644index 0000000..77cc598--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/streaming.md@@ -0,0 +1,7 @@+---+title: 流式输出+---++# 流式输出++_占位。内容将在后续内容 PR 中补充。_diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/tool-use.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/tool-use.mdnew file mode 100644index 0000000..d862904--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/tool-use.md@@ -0,0 +1,7 @@+---+title: 工具调用+---++# 工具调用++_占位。内容将在后续内容 PR 中补充。_diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/sqlite.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/sqlite.mdnew file mode 100644index 0000000..f9835eb--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/sqlite.md@@ -0,0 +1,7 @@+---+title: SQLite+---++# SQLite++_占位。内容将在后续内容 PR 中补充。_diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/providers/anthropic.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/providers/anthropic.mdnew file mode 100644index 0000000..d19499c--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/providers/anthropic.md@@ -0,0 +1,7 @@+---+title: Anthropic+---++# Anthropic++_占位。内容将在后续内容 PR 中补充。_diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/intro.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/intro.mdnew file mode 100644index 0000000..a2042c3--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/intro.md@@ -0,0 +1,12 @@+---+id: intro+title: CubePi+slug: /+sidebar_position: 0+---++# CubePi++一个 Pythonic、原生异步的 Agent 框架。++从 [快速开始](./getting-started/quick-start) 开始,或浏览 [API 参考](./api/) 。diff --git a/website/i18n/zh-Hans/docusaurus-theme-classic/navbar.json b/website/i18n/zh-Hans/docusaurus-theme-classic/navbar.jsonnew file mode 100644index 0000000..1c928ee--- /dev/null+++ b/website/i18n/zh-Hans/docusaurus-theme-classic/navbar.json@@ -0,0 +1,26 @@+{+ "title": {+ "message": "CubePi",+ "description": "The title in the navbar"+ },+ "logo.alt": {+ "message": "CubePi logo",+ "description": "The alt text of navbar logo"+ },+ "item.label.Docs": {+ "message": "文档",+ "description": "Navbar item with label Docs"+ },+ "item.label.API": {+ "message": "API",+ "description": "Navbar item with label API"+ },+ "item.label.Recipes": {+ "message": "示例",+ "description": "Navbar item with label Recipes"+ },+ "item.label.GitHub": {+ "message": "GitHub",+ "description": "Navbar item with label GitHub"+ }+}