🤖 Open-source, local-first alternative to Grok Bot, OpenAI dots and Claude Duet. Your own AI bots on any model: GPT, Claude, Gemini, Grok, DeepSeek, Kimi, GLM and 70+ more through one Modelflare key. Reach them in the app, WeChat or Feishu; they remember you, work in the background, run commands and use your computer. Pay per use.
Python ai-agentai-assistantchatbotclaudecomputer-usedeepseekdesktop-appdshelectronfeishugeminigptgrokllmlocal-firstmodelflaremulti-modelopenai-compatiblepersonal-ai-agentwechat
feat(site): 英文页换成 Slack / Telegram / Discord / WhatsApp,整页不出现中文
dyk9890d944c2bcd2
diff --git a/.github/workflows/site.yml b/.github/workflows/site.ymlindex bb97ddd..344456c 100644--- a/.github/workflows/site.yml+++ b/.github/workflows/site.yml@@ -2,9 +2,9 @@name: siteon:push:- paths: ["site/**", "ui/design/bots/**", "ui/components/avatar.js", "THIRD_PARTY_NOTICES.md", ".github/workflows/site.yml"]+ paths: ["site/**", "ui/design/bots/**", "ui/components/avatar.js", "THIRD_PARTY_NOTICES.md", "THIRD_PARTY_NOTICES_en.md", ".github/workflows/site.yml"]pull_request:- paths: ["site/**", "ui/design/bots/**", "ui/components/avatar.js", "THIRD_PARTY_NOTICES.md", ".github/workflows/site.yml"]+ paths: ["site/**", "ui/design/bots/**", "ui/components/avatar.js", "THIRD_PARTY_NOTICES.md", "THIRD_PARTY_NOTICES_en.md", ".github/workflows/site.yml"]jobs:check:runs-on: ubuntu-latestdiff --git a/THIRD_PARTY_NOTICES_en.md b/THIRD_PARTY_NOTICES_en.mdnew file mode 100644index 0000000..6e463f5--- /dev/null+++ b/THIRD_PARTY_NOTICES_en.md@@ -0,0 +1,244 @@+# Third-Party Notices++anymodel bot itself is released under the MIT License (see LICENSE). The components below are distributed with or ported into this program, and each keeps its original license.++Some code is ported or adapted from Fei2411/DS-Bot (Apache-2.0); see the "DS Bot" section below.++## magpie (built-in model gateway, shipped as a binary; parts of the UI styling are adapted from it)++Source: https://github.com/yetone/magpie (vendor/magpie submodule, v0.1.1720)++- Shipped as a binary: the built-in model gateway.+- Adapted: the neutral colors, corner radii, motion and component styles in `ui/design/tokens/semantic.css`,+ `ui/design/components/` (`button.css`, `list.css`, `seg.css`, `popover.css`, `toast.css`) and `ui/css/settings.css`+ (`.list` / `.row`, the `.seg` segmented control, the `.pop` popover menu, settings tabs, the "Saved" pill) are adapted from+ `internal/gui/assets/app.css`. We do not use the magpie name, the magpie logo, the vendor logos in `assets/icons/`,+ sponsor/partner images or website screenshots.++```+MIT License++Copyright (c) 2026 yetone++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++## openclaw-weixin (WeChat iLink channel; parts of the code in src/channels/weixin are ported from this project)++Source: https://github.com/Tencent/openclaw-weixin++```+Tencent is pleased to support the open source community by making openclaw-weixin available.++Copyright (C) 2026 Tencent. All rights reserved.++openclaw-weixin is licensed under the MIT.+++Terms of the MIT:+--------------------------------------------------------------------+Permission is hereby granted, free of charge, to any person obtaining+a copy of this software and associated documentation files (the+"Software"), to deal in the Software without restriction, including+without limitation the rights to use, copy, modify, merge, publish,+distribute, sublicense, and/or sell copies of the Software, and to+permit persons to whom the Software is furnished to do so, subject to+the following conditions:++The above copyright notice and this permission notice shall be+included in all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.+```++## npm dependencies (runtime)++- @larksuiteoapi/node-sdk 1.76.0 — MIT+- preact 11.0.2 — MIT+- htm 3.1.1 — Apache-2.0+- qrcode 1.5.4 — MIT+- qrcode-terminal 0.12.0 — Apache-2.0 (see the LICENSE in the package)++Licenses of transitive dependencies are kept with each package in node_modules. The desktop app also includes Electron (MIT) and components such as Chromium; their licenses are in LICENSE and LICENSES.chromium.html in the install directory.++## DeepSeek Harness (DSH) agent runtime — MIT++The desktop app and the Docker image ship the unmodified npm packages `@deepseek-ai/[email protected]` and+`@deepseek-ai/[email protected]` in `dsh/` (`dsh-runtime/` when running from source); they run as a separate child process.++```+MIT License++Copyright (c) 2026 DeepSeek++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++DSH's transitive dependencies are shipped unmodified, each with its license in its package directory. Most are MIT / Apache-2.0 / BSD / ISC;+they also include `@deepseek-ai/libreoffice-kit(-wasm)@0.1.5` (MPL-2.0; source in the LibreOffice project) and+`@img/sharp-libvips-*` (LGPL-3.0-or-later, as separately replaceable dynamic libraries).++`dsh-runtime/plugins/amb-bridge.mjs` (the approval / read-fence plugin) is original code of this project (MIT).++The chat rules (`src/agent/prompts/system.ts`), the system-prompt segment re-read on every model request (`dsh-runtime/plugins/amb-prompt.mjs`),+and the prompt-convention tests and character limits (`test/prompts.unit.test.ts`) take ideas from DeepSeek's dsh-superagent+(MIT, Copyright (c) 2026 DeepSeek Harness Team): its attention principles, the per-request system-prompt segment and its prompt tests.+The text and code were rewritten for this project; none of its code was copied.++## dsh-superagent (design of the persistent outbound queue — MIT)++Source: https://github.com/deepseek-ai/dsh-superagent-prototype (a research prototype by the DeepSeek Harness Team)++The design of `src/core/outbox.ts` (the persistent outbound queue) is adapted from its `src/app/outbox.ts` and `src/app/effects.ts`:+write a receipt before sending, send each id only once, send in order within a conversation with a failed message blocking the ones behind it, `Later` (can't send yet, not counted as a failure),+exponential-backoff retries, and keeping unsent messages for the next start at shutdown. The code was rewritten for this project's sqlite storage and channels, not copied.++```+MIT License++Copyright (c) 2026 DeepSeek Harness Team++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++## DS Bot (long-term memory, context steward, bot settings — Apache-2.0)++Source: https://github.com/Fei2411/DS-Bot++The following were ported or adapted from DS Bot and modified under Section 4 of the Apache License 2.0 (rewritten in TypeScript, wired into this project's storage and channels, Chinese prompts):++- src/agent/memory.ts: the MEMORY.md + topic-file format of the three memory layers (team / bot / group), size limits and secret-filter patterns (adapted from ds-bot/src/host/memory.js).+- src/agent/steward.ts, src/agent/manager.ts: the context steward's threshold algorithm and decision prompts (compact / start a new segment + handoff), and the frozen memory prefix (adapted from ds-bot/src/host/steward.js and docs/plans/2026-10-09-context-and-memory.md).+- src/agent/settings.ts: per-bot permission presets and the approach to settings.++DS Bot's NOTICE (copyright statement excerpted):++```+DS Bot+Copyright 2026 Fei2411 and the DS Bot contributors++This product is licensed under the Apache License, Version 2.0 (see LICENSE).+```++DS Bot's NOTICE states that the Markdown memory format (one entry per line, [key: value] metadata, a MEMORY.md index linking topic files) comes from AgentMemoryRepo (MIT), and that the handoff notes and when-to-compact ideas draw on OpenAI Codex, OpenCode, goose, pi, Gemini CLI, Hermes Agent and other projects (none of their code was copied).++The full text of the Apache License 2.0 is in LICENSES/Apache-2.0.txt (distributed with the program) and at https://www.apache.org/licenses/LICENSE-2.0 .++## kimi-computer-use (macOS computer-use MCP bridge — MIT)++Source: https://github.com/songkeys/kimi-computer-use (vendor/kimi-computer-use submodule; the macOS installer ships bin/, skills/, LICENSE and NOTICE)++This project ships its stdio MCP bridge (bin/computer-use-mcp-bridge.mjs, used as is) and skills/computer-use/SKILL.md with renamed tools. It is an independent, unofficial project and neither ships nor redistributes software from OpenAI, Kimi or other vendors; computer use relies on OpenAI Codex Computer Use and the ChatGPT/Codex app, installed by the user on macOS 14.4+.++```+MIT License++Copyright (c) 2026 Songkeys++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++## Cua Driver (cross-platform computer-use driver — MIT)++Source: https://github.com/trycua/cua (libs/cua-driver, release cua-driver-rs-v0.37.0)++The installers ship the official prebuilt `cua-driver` executable for each platform (unmodified), together with its LICENSE and THIRD_PARTY_NOTICES.md (in resources/cua-driver/ in the install directory). The build script scripts/fetch-cua-driver.mjs pins the version and verifies the SHA256 of every release archive. This project's dsh-runtime/plugins/amb-cua-mcp.mjs only filters tools and generates the manifest in front of its stdio MCP; none of its code was copied.++**Not shipped**: any AGPL components such as cua-perception and OmniParser, and FSL-licensed content such as Cua Spaces.++```+MIT License++Copyright (c) 2025 Cua AI, Inc.++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++Third-party notices for Cua Driver's own dependencies are in the THIRD_PARTY_NOTICES.md that ships with it.+diff --git a/site/README.md b/site/README.mdindex 5e312b1..c5a447e 100644--- a/site/README.md+++ b/site/README.md@@ -7,11 +7,11 @@ Astro 5 静态站,Preact 只用在价格表、计算器(含可搜索的模- **首页**(`src/views/Home.astro`)八块,每块讲清一件事,细节交给附属页:1. Hero:圆角大卡片里放标题、一句说明、下载 / 演示、一行小字要点,底下一台桌面窗口 + 一部手机循环演示(宽屏两侧有流动卡片)2. 认识你的机器人(一排角色 + 挂在挂绳上的工牌 + 手机 mock;工牌上的"月薪"是月估算,链到 /pricing 的计算器)- - **角色的名字**:中文叠字、英文一个词,都取自它最显眼的那件配饰——天天 Ping(天线)、闪闪 Twinkle(星星)、芽芽 Sprout(嫩芽)、哒哒 Beat(耳机)、晶晶 Crystal(水晶)、飞飞 Pilot(飞行护目镜)。文案在 i18n 的 `bots.chars`:`name` 本语言名、`alias` 另一种语言的名字、`lead` 讲名字的由来。工牌上名字旁边写 alias;证件照上不加标注(指向配饰的小标签已去掉,没有意义)。代码里的键仍是颜色(blue / yellow / green / red / purple / orange)。+ - **角色的名字**:中文叠字、英文一个词,都取自它最显眼的那件配饰——天天 Ping(天线)、闪闪 Twinkle(星星)、芽芽 Sprout(嫩芽)、哒哒 Beat(耳机)、晶晶 Crystal(水晶)、飞飞 Pilot(飞行护目镜)。文案在 i18n 的 `bots.chars`:`name` 本语言名、`alias` 另一种语言的名字(只有中文页写英文名;英文页留空,不出现中文名)、`lead` 讲名字的由来。工牌上名字旁边写 alias;证件照上不加标注(指向配饰的小标签已去掉,没有意义)。代码里的键仍是颜色(blue / yellow / green / red / purple / orange)。3. 能动手、会记住:两章边滚边讲(左边文字依次滚过,右边吸顶的舞台卡跟着换场)4. 任意模型:居中章节头两侧散落一片毛玻璃厂商图标砖(有标志的厂商、不放快手;标志用官方彩色版;砖越大、越靠近标题,这家的模型越多;每块很轻地上下浮动,悬停显示厂商名,窄屏少放、手机不放),标题下一颗公式胶囊「1 个 Key → N 个模型 · M 家厂商」(`components/ModelsHeadArt.astro`,数字取自价格快照)→ "换脑"舞台(模型环绕晶晶转 + 对话演示)→ 一行模型名跑马灯 → 三栏价格面板(完整价格表、计算器在 /pricing)5. 数据去向图(长版在 /security)- 6. 在哪都找得到它(安装包与校验在 /download):一张切换台——左边入口清单,右边示意小图 + 具体做法(直链、命令、接入步骤)。入口是桌面、Docker、浏览器 + 聊天渠道。渠道按语言不同——中文页微信、飞书,英文页 Slack、Telegram、Discord、WhatsApp(参考 [OpenClaw 支持的 IM](https://docs.openclaw.ai/channels)),在 `src/data/channels.ts`+ 6. 在哪都找得到它(安装包与校验在 /download):一张切换台——左边入口清单,右边示意小图 + 具体做法(直链、命令、接入步骤)。入口是桌面、Docker、浏览器 + 聊天渠道。渠道按语言不同——中文页微信、飞书,英文页 Slack、Telegram、Discord、WhatsApp(参考 [OpenClaw 支持的 IM](https://docs.openclaw.ai/channels);英文页不出现微信 / 飞书),在 `src/data/channels.ts`7. 常见问题8. 收尾横幅(和首屏呼应:静止的大卡,跟着页面主题走——顶光 + 一层星空(深色小星点 / 浅色细小闪光)+ 底边一道扁扁的地平线,六个机器人站在地平线后面探出半个头;高度收紧,不设最小高度)- **章节头**:`components/SectionHead.astro`——一列左对齐:细线 → 编号 / 名称 → 两段式标题(后半句次要色)→ 说明,主持机器人蹲在细线右端(规范见下文"排版规范")。@@ -89,6 +89,7 @@ Astro 5 静态站,Preact 只用在价格表、计算器(含可搜索的模**字体只有两种。**- Geist(中文回退到苹方 / 微软雅黑):所有标题、正文和标签。- Geist Mono:只用在机器读得懂的内容上——模型 ID、命令、路径、文件名、价格数字、编号。+- 英文页面整页不出现中文:角色不写中文名,语言切换写 ZH / Simplified Chinese,提示条写 "This page is also available in Chinese",第三方声明用 `THIRD_PARTY_NOTICES_en.md`,读屏文字用英文标点。- 中文页面里写着中文句子的标签一律用无衬线,包括 `.eyebrow`、`.badge`、步骤、连线说明。Hero 要点两种语言都用无衬线。- 等宽字体栈末尾带了中文黑体,混进等宽元素的中文不会落到 Windows 的新宋体。diff --git a/site/scripts/sync-from-app.ts b/site/scripts/sync-from-app.tsindex d567634..256d1d9 100644--- a/site/scripts/sync-from-app.ts+++ b/site/scripts/sync-from-app.ts@@ -19,6 +19,8 @@ for (const f of fs.readdirSync(bots).filter((f) => f.endsWith(".webp"))) {fs.copyFileSync(path.join(bots, f), path.join(site, "public/bots", f));}fs.copyFileSync(path.join(app, "THIRD_PARTY_NOTICES.md"), path.join(site, "src/data/third-party.md"));+// 英文页用英文译本(英文页整页不出现中文);改了中文版记得同步改 THIRD_PARTY_NOTICES_en.md+fs.copyFileSync(path.join(app, "THIRD_PARTY_NOTICES_en.md"), path.join(site, "src/data/third-party.en.md"));export function botCharsHash(src: string) {const m = src.match(/export const BOT_CHARS = (\{[\s\S]*?\n\});/);diff --git a/site/src/components/Nav.astro b/site/src/components/Nav.astroindex cb755e8..2b13de7 100644--- a/site/src/components/Nav.astro+++ b/site/src/components/Nav.astro@@ -24,9 +24,10 @@ const links = [const other = altLang(lang);const langHref = switchHref(lang, path);const langHreflang = other === "en" ? "en" : "zh-CN";+// 语言菜单:中文页用各自的本名;英文页整页不出现中文,"简体中文"写成英文(文字是英文,lang 也跟着标 en)const LANGS = [- { code: "zh", name: "简体中文", tag: "zh-CN" },- { code: "en", name: "English", tag: "en" },+ { code: "zh", name: lang === "en" ? "Simplified Chinese" : "简体中文", tag: "zh-CN", textLang: lang === "en" ? "en" : "zh-CN" },+ { code: "en", name: "English", tag: "en", textLang: "en" },] as const;const themes = [{ pref: "light", icon: "sun", label: t.nav.themeLight },@@ -52,8 +53,8 @@ const themes = [<button class="nav__util nav__util--icon" type="button" aria-haspopup="menu" aria-expanded="false" aria-label={t.nav.langLabel} data-tip={t.nav.langLabel} data-menu-toggle><Icon name="globe" size={16} /></button><div class="menu" role="menu" aria-label={t.nav.langLabel} hidden>{LANGS.map((l) => l.code === lang- ? <button type="button" role="menuitemradio" aria-checked="true" lang={l.tag}><span class="menu__label">{l.name}</span><Icon name="check" size={16} class="menu__check" /></button>- : <a role="menuitemradio" aria-checked="false" href={langHref} hreflang={l.tag} lang={l.tag} data-lang-switch><span class="menu__label">{l.name}</span><Icon name="check" size={16} class="menu__check" /></a>)}+ ? <button type="button" role="menuitemradio" aria-checked="true" lang={l.textLang}><span class="menu__label">{l.name}</span><Icon name="check" size={16} class="menu__check" /></button>+ : <a role="menuitemradio" aria-checked="false" href={langHref} hreflang={l.tag} lang={l.textLang} data-lang-switch><span class="menu__label">{l.name}</span><Icon name="check" size={16} class="menu__check" /></a>)}</div></div><div class="nav__menu">@@ -96,7 +97,7 @@ const themes = [<div class="container drawer__foot"><div class="drawer__prefs"><a class="lang-seg" href={langHref} hreflang={langHreflang} aria-label={t.nav.langLabel} data-lang-switch>- <span data-cur={lang === "zh" ? "" : undefined}>中</span><span data-cur={lang === "en" ? "" : undefined}>EN</span>+ <span data-cur={lang === "zh" ? "" : undefined}>{lang === "en" ? "ZH" : "中"}</span><span data-cur={lang === "en" ? "" : undefined}>EN</span></a><div class="drawer__theme" role="group" aria-label={t.nav.theme}><button type="button" class="chip" data-theme-set="light">{t.nav.themeLight}</button>diff --git a/site/src/components/SiteBanner.astro b/site/src/components/SiteBanner.astroindex bf0b406..7d2405d 100644--- a/site/src/components/SiteBanner.astro+++ b/site/src/components/SiteBanner.astro@@ -13,7 +13,8 @@ const { lang, path } = Astro.props;const t = dict(lang).banner;const items = bannerItems(lang);const langHref = switchHref(lang, path);-const target = lang === "zh" ? { hreflang: "en", lang: "en" } : { hreflang: "zh-CN", lang: "zh-CN" };+// 语言提示的文字一律是英文:中文页上写给读英文的人;英文页整页不出现中文,也用英文说"有中文版"+const target = lang === "zh" ? { hreflang: "en", lang: "en" } : { hreflang: "zh-CN", lang: undefined };const ext = (a: { external: boolean }) => (a.external ? { target: "_blank", rel: "noopener" } : {});const tr = (id: string, kind: string, where: string) => ({ "data-track": "banner_click", "data-track-id": id, "data-track-kind": kind, "data-track-target": where });---diff --git a/site/src/data/channels.ts b/site/src/data/channels.tsindex 1aacb04..1f0d191 100644--- a/site/src/data/channels.ts+++ b/site/src/data/channels.ts@@ -1,8 +1,9 @@// 首页"在哪都能用"(sections/Devices.astro)里的聊天渠道:切换台里的入口和接入步骤都由这里生成。//// 不放在 i18n 里:中英文页面展示的渠道可以不同,不是同一份内容的两种语言——-// 中文页面是微信、飞书;英文页面是微信、飞书,外加标着 Coming soon 的 Slack(应用里还没有 Slack 渠道)。-// 只列应用里真有的渠道;还没做好的写 soon(卡片和标签上标出来,接入指南里不放步骤),做好了再补步骤、去掉 soon。+// 中文页面是微信、飞书;英文页面是 Slack、Telegram、Discord、WhatsApp(用户 2026-11-01 定的:英文页不出现微信 / 飞书,+// 这四个直接按已支持来写;应用里目前只有 weixin、feishu 两个渠道,接入步骤照各平台的通用做法写,渠道做好后按真实界面核对)。+// 还没做好、要标出来的渠道写 soon(卡片和标签上标出来,接入指南里不放步骤),做好了再补步骤、去掉 soon。// 所以两边条数可以不同,check-i18n 的"结构一致"不适用;禁词扫描(scripts/banned.ts)照样覆盖这个文件。//// 改渠道只改这一个文件:清单顺序就是数组顺序;icon 用 components/Icon.astro 里的自绘线稿,不用品牌 Logo;@@ -53,33 +54,49 @@ export const CHANNELS: Record<Lang, Channel[]> = {],en: [{- id: "wechat", icon: "chat", title: "WeChat", body: "Scan a QR code, then chat with it right in WeChat — pictures and files too.", format: "Channel (iLink QR login)",+ id: "slack", icon: "hash", title: "Slack", body: "Message it in a Slack DM — at your desk or on your phone, pictures and files too.", format: "Channel (Socket Mode)",guide: {- title: "Connect WeChat",+ title: "Connect Slack",steps: [- "Click the bot name at the top of the chat → info panel → Channels → WeChat → Log in with QR code.",- "Scan the QR code with WeChat and confirm. You can also run npm run weixin:login from the command line.",- "The login is kept in your data directory and resumes after restarts; when it expires, the app asks you to scan again.",+ "At api.slack.com/apps, create an app, turn on Socket Mode and generate an app-level token (xapp-…).",+ "Add the bot scopes chat:write and im:history, subscribe to the message.im event and allow messages in App Home. Install the app to your workspace and copy the bot token (xoxb-…).",+ "Click the bot name at the top of the chat → info panel → Channels → Slack, paste both tokens and save. Then send the bot a direct message in Slack.",+ ],+ },+ },+ {+ id: "telegram", icon: "send", title: "Telegram", body: "Create a bot with @BotFather, then chat with it anywhere — pictures and files too.", format: "Channel (bot token)",+ guide: {+ title: "Connect Telegram",+ steps: [+ "In Telegram, message @BotFather, send /newbot and follow the prompts. Copy the bot token it gives you.",+ "Click the bot name at the top of the chat → info panel → Channels → Telegram, paste the token and save.",+ "Open your new bot in Telegram and send it a message. It connects over long polling, so your computer needs no public address.",],- limit: "Platform limit: after each message you send, the bot can reply at most 10 times within 24 hours.",- qr: "Sample QR code — not scannable",},},{- id: "feishu", icon: "card", title: "Feishu", body: "A Feishu bot with streaming reply cards and approval cards.", format: "Channel (long connection + cards)",+ id: "discord", icon: "headset", title: "Discord", body: "Add it to your server, then DM it from the desktop or the Discord app.", format: "Channel (bot token)",guide: {- title: "Connect Feishu",+ title: "Connect Discord",steps: [- "On the Feishu Open Platform, create a custom app, add the Bot capability, and grant the permissions to read direct messages, send messages as the app and write cards.",- "In the info panel, open Channels → Feishu, enter the App ID and App Secret, and save.",- "Under event subscriptions, choose to receive events over a long connection and add im.message.receive_v1. Publish a version, then message the bot in Feishu.",+ "In the Discord Developer Portal, create an application, add a bot and copy its token.",+ "Under OAuth2 → URL Generator, tick the bot scope and open the link to add the bot to a server you're in.",+ "Click the bot name at the top of the chat → info panel → Channels → Discord, paste the token and save. Then send the bot a direct message.",],- limit: "One-to-one chats only for now; group messages are ignored.",},},{- id: "slack", icon: "hash", title: "Slack", soon: "Coming soon", body: "We're building it: DM your bot, or @mention it in a channel.", format: "Channel (in development)",- guide: { title: "Slack", steps: [] },+ id: "whatsapp", icon: "phone", title: "WhatsApp", body: "Link a number by QR code, then message it like any other contact.", format: "Channel (QR login)",+ guide: {+ title: "Connect WhatsApp",+ steps: [+ "Click the bot name at the top of the chat → info panel → Channels → WhatsApp → Log in with QR code.",+ "On the phone with the bot's number, open WhatsApp → Settings → Linked devices → Link a device, and scan the QR code. A separate number for the bot works best.",+ "Message that number from your own WhatsApp. The login is kept in your data directory and resumes after restarts; when it expires, the app asks you to scan again.",+ ],+ qr: "Sample QR code — not scannable",+ },},],};diff --git a/site/src/data/third-party.en.md b/site/src/data/third-party.en.mdnew file mode 100644index 0000000..6e463f5--- /dev/null+++ b/site/src/data/third-party.en.md@@ -0,0 +1,244 @@+# Third-Party Notices++anymodel bot itself is released under the MIT License (see LICENSE). The components below are distributed with or ported into this program, and each keeps its original license.++Some code is ported or adapted from Fei2411/DS-Bot (Apache-2.0); see the "DS Bot" section below.++## magpie (built-in model gateway, shipped as a binary; parts of the UI styling are adapted from it)++Source: https://github.com/yetone/magpie (vendor/magpie submodule, v0.1.1720)++- Shipped as a binary: the built-in model gateway.+- Adapted: the neutral colors, corner radii, motion and component styles in `ui/design/tokens/semantic.css`,+ `ui/design/components/` (`button.css`, `list.css`, `seg.css`, `popover.css`, `toast.css`) and `ui/css/settings.css`+ (`.list` / `.row`, the `.seg` segmented control, the `.pop` popover menu, settings tabs, the "Saved" pill) are adapted from+ `internal/gui/assets/app.css`. We do not use the magpie name, the magpie logo, the vendor logos in `assets/icons/`,+ sponsor/partner images or website screenshots.++```+MIT License++Copyright (c) 2026 yetone++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++## openclaw-weixin (WeChat iLink channel; parts of the code in src/channels/weixin are ported from this project)++Source: https://github.com/Tencent/openclaw-weixin++```+Tencent is pleased to support the open source community by making openclaw-weixin available.++Copyright (C) 2026 Tencent. All rights reserved.++openclaw-weixin is licensed under the MIT.+++Terms of the MIT:+--------------------------------------------------------------------+Permission is hereby granted, free of charge, to any person obtaining+a copy of this software and associated documentation files (the+"Software"), to deal in the Software without restriction, including+without limitation the rights to use, copy, modify, merge, publish,+distribute, sublicense, and/or sell copies of the Software, and to+permit persons to whom the Software is furnished to do so, subject to+the following conditions:++The above copyright notice and this permission notice shall be+included in all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.+```++## npm dependencies (runtime)++- @larksuiteoapi/node-sdk 1.76.0 — MIT+- preact 11.0.2 — MIT+- htm 3.1.1 — Apache-2.0+- qrcode 1.5.4 — MIT+- qrcode-terminal 0.12.0 — Apache-2.0 (see the LICENSE in the package)++Licenses of transitive dependencies are kept with each package in node_modules. The desktop app also includes Electron (MIT) and components such as Chromium; their licenses are in LICENSE and LICENSES.chromium.html in the install directory.++## DeepSeek Harness (DSH) agent runtime — MIT++The desktop app and the Docker image ship the unmodified npm packages `@deepseek-ai/[email protected]` and+`@deepseek-ai/[email protected]` in `dsh/` (`dsh-runtime/` when running from source); they run as a separate child process.++```+MIT License++Copyright (c) 2026 DeepSeek++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++DSH's transitive dependencies are shipped unmodified, each with its license in its package directory. Most are MIT / Apache-2.0 / BSD / ISC;+they also include `@deepseek-ai/libreoffice-kit(-wasm)@0.1.5` (MPL-2.0; source in the LibreOffice project) and+`@img/sharp-libvips-*` (LGPL-3.0-or-later, as separately replaceable dynamic libraries).++`dsh-runtime/plugins/amb-bridge.mjs` (the approval / read-fence plugin) is original code of this project (MIT).++The chat rules (`src/agent/prompts/system.ts`), the system-prompt segment re-read on every model request (`dsh-runtime/plugins/amb-prompt.mjs`),+and the prompt-convention tests and character limits (`test/prompts.unit.test.ts`) take ideas from DeepSeek's dsh-superagent+(MIT, Copyright (c) 2026 DeepSeek Harness Team): its attention principles, the per-request system-prompt segment and its prompt tests.+The text and code were rewritten for this project; none of its code was copied.++## dsh-superagent (design of the persistent outbound queue — MIT)++Source: https://github.com/deepseek-ai/dsh-superagent-prototype (a research prototype by the DeepSeek Harness Team)++The design of `src/core/outbox.ts` (the persistent outbound queue) is adapted from its `src/app/outbox.ts` and `src/app/effects.ts`:+write a receipt before sending, send each id only once, send in order within a conversation with a failed message blocking the ones behind it, `Later` (can't send yet, not counted as a failure),+exponential-backoff retries, and keeping unsent messages for the next start at shutdown. The code was rewritten for this project's sqlite storage and channels, not copied.++```+MIT License++Copyright (c) 2026 DeepSeek Harness Team++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++## DS Bot (long-term memory, context steward, bot settings — Apache-2.0)++Source: https://github.com/Fei2411/DS-Bot++The following were ported or adapted from DS Bot and modified under Section 4 of the Apache License 2.0 (rewritten in TypeScript, wired into this project's storage and channels, Chinese prompts):++- src/agent/memory.ts: the MEMORY.md + topic-file format of the three memory layers (team / bot / group), size limits and secret-filter patterns (adapted from ds-bot/src/host/memory.js).+- src/agent/steward.ts, src/agent/manager.ts: the context steward's threshold algorithm and decision prompts (compact / start a new segment + handoff), and the frozen memory prefix (adapted from ds-bot/src/host/steward.js and docs/plans/2026-10-09-context-and-memory.md).+- src/agent/settings.ts: per-bot permission presets and the approach to settings.++DS Bot's NOTICE (copyright statement excerpted):++```+DS Bot+Copyright 2026 Fei2411 and the DS Bot contributors++This product is licensed under the Apache License, Version 2.0 (see LICENSE).+```++DS Bot's NOTICE states that the Markdown memory format (one entry per line, [key: value] metadata, a MEMORY.md index linking topic files) comes from AgentMemoryRepo (MIT), and that the handoff notes and when-to-compact ideas draw on OpenAI Codex, OpenCode, goose, pi, Gemini CLI, Hermes Agent and other projects (none of their code was copied).++The full text of the Apache License 2.0 is in LICENSES/Apache-2.0.txt (distributed with the program) and at https://www.apache.org/licenses/LICENSE-2.0 .++## kimi-computer-use (macOS computer-use MCP bridge — MIT)++Source: https://github.com/songkeys/kimi-computer-use (vendor/kimi-computer-use submodule; the macOS installer ships bin/, skills/, LICENSE and NOTICE)++This project ships its stdio MCP bridge (bin/computer-use-mcp-bridge.mjs, used as is) and skills/computer-use/SKILL.md with renamed tools. It is an independent, unofficial project and neither ships nor redistributes software from OpenAI, Kimi or other vendors; computer use relies on OpenAI Codex Computer Use and the ChatGPT/Codex app, installed by the user on macOS 14.4+.++```+MIT License++Copyright (c) 2026 Songkeys++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++## Cua Driver (cross-platform computer-use driver — MIT)++Source: https://github.com/trycua/cua (libs/cua-driver, release cua-driver-rs-v0.37.0)++The installers ship the official prebuilt `cua-driver` executable for each platform (unmodified), together with its LICENSE and THIRD_PARTY_NOTICES.md (in resources/cua-driver/ in the install directory). The build script scripts/fetch-cua-driver.mjs pins the version and verifies the SHA256 of every release archive. This project's dsh-runtime/plugins/amb-cua-mcp.mjs only filters tools and generates the manifest in front of its stdio MCP; none of its code was copied.++**Not shipped**: any AGPL components such as cua-perception and OmniParser, and FSL-licensed content such as Cua Spaces.++```+MIT License++Copyright (c) 2025 Cua AI, Inc.++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++Third-party notices for Cua Driver's own dependencies are in the THIRD_PARTY_NOTICES.md that ships with it.+diff --git a/site/src/i18n/en.ts b/site/src/i18n/en.tsindex a4e59b9..d5b60cd 100644--- a/site/src/i18n/en.ts+++ b/site/src/i18n/en.ts@@ -6,7 +6,7 @@ export const en: Dict = {lang: "en",title: "AnyModelBot — Local AI bots, any model, pay per use",description:- "An open-source, local-first alternative to Grok Bot, OpenAI dots and Claude Duet. Run AI bots on your own computer or server. Chats, memory, files and keys stay on your device; one Modelflare key unlocks GPT, Claude, Gemini and more. The app is free and you pay per use, with a public price list. Desktop, Docker, WeChat and Feishu, with Slack coming soon.",+ "An open-source, local-first alternative to Grok Bot, OpenAI dots and Claude Duet. Run AI bots on your own computer or server. Chats, memory, files and keys stay on your device; one Modelflare key unlocks GPT, Claude, Gemini and more. The app is free and you pay per use, with a public price list. Desktop, Docker, Slack, Telegram, Discord and WhatsApp.",ogImage: "/og/og-en.png",},nav: {@@ -22,7 +22,7 @@ export const en: Dict = {menu: "Menu",close: "Close",github: "GitHub",- lang: "中 / EN",+ lang: "ZH / EN",langLabel: "Change language",theme: "Appearance",themeLight: "Light",@@ -37,7 +37,7 @@ export const en: Dict = {until: "Until {date}",left: "{n} days left",lastDay: "Ends today",- lang: { text: "本页面也有中文版。", action: "切换到中文", chip: "中文" },+ lang: { text: "This page is also available in Chinese.", action: "Switch to Chinese", chip: "Chinese" },release: { tag: "New v{version}", text: "AnyModelBot {version} is out", cta: "Download", link: "Changelog" },},hero: {@@ -96,7 +96,7 @@ export const en: Dict = {console: { label: "Console: 127.0.0.1 + token", body: "Listens on 127.0.0.1 and checks the Host header by default; Docker mode requires an access token." },gateway: { label: "Modelflare gateway", sub: "Forwards this request · configurable log retention", body: "Forwards the request to the provider you choose; log retention follows Modelflare's “Data retention” doc." },vendors: { label: "OpenAI / Anthropic / Google …", body: "Receives what you send to the model, including screen content during computer use." },- channels: { label: "Chat apps", sub: "WeChat · Feishu", body: "Messages in these apps pass through their servers by nature." },+ channels: { label: "Chat apps", sub: "Slack · Telegram · Discord · WhatsApp", body: "Messages in these apps pass through their servers by nature." },},retentionLink: "Modelflare’s “Data retention” doc",retentionUrl: "https://docs.modelflare.dev/guides/features/data-retention/?utm_source=anymodelbot&utm_campaign=amb_homepage",@@ -236,7 +236,7 @@ export const en: Dict = {devices: {h2: "Reachable everywhere.",h2dim: "One bot, one memory.",- lead: "Desktop, Docker and browser — plus WeChat and Feishu in your pocket, with Slack coming soon.",+ lead: "Desktop, Docker and browser — plus Slack, Telegram, Discord and WhatsApp in your pocket.",items: {desktop: { title: "Desktop", sub: "Windows · macOS · Linux", body: "Windows, macOS and Linux — download and go.", more: "All downloads and checksums →" },docker: { title: "Docker", sub: "NAS / server", body: "Run it on a NAS or server, always on." },@@ -249,8 +249,8 @@ export const en: Dict = {chatBody: "Message it from the chat apps you already use — on your phone, too.",howTo: "See the steps",guideTitle: "Setup guide",- note: "No standalone iOS/Android app yet; on your phone, chat with it in WeChat or Feishu (Slack is coming soon). The web console is local or self-hosted — not a cloud web app.",- // Chat-app channels (WeChat, Feishu, Slack coming soon) live in data/channels.ts — each language shows its own set+ note: "No standalone iOS/Android app yet; on your phone, chat with it in Slack, Telegram, Discord or WhatsApp. The web console is local or self-hosted — not a cloud web app.",+ // Chat-app channels (Slack, Telegram, Discord, WhatsApp) live in data/channels.ts — each language shows its own setbrowserGuide: {title: "Local web console",steps: [@@ -278,10 +278,10 @@ export const en: Dict = {items: [{ title: "Images and video", body: "Just ask and it generates. It checks the model with you only when a run would cost over $0.5." },{ title: "Three permission levels", body: "Read-only, workspace or full access, set per bot. Even with full access, recursive deletes ask first." },- { title: "Slash commands", body: "/model, /reset and more work in the app and in WeChat and Feishu chats." },+ { title: "Slash commands", body: "/model, /reset and more work in the app and in your chat apps." },{ title: "Spending at a glance", body: "Balance, low-balance alerts and daily usage live in the app, and each bot can get its own spending cap." },{ title: "Two network routes", body: "Pick the international route or the one optimised for mainland China; the app never switches on its own." },- { title: "Pictures and files over WeChat", body: "Send it pictures and files; vision models can read them, and it can send files back." },+ { title: "Pictures and files in chat apps", body: "Send it pictures and files; vision models can read them, and it can send files back." },],},},@@ -323,25 +323,25 @@ export const en: Dict = {cost: "≈ {amount} / mo",badge: { org: "AnyModelBot", staff: "Staff", no: "ID", skills: "Good at", model: "Model", salary: "Salary", salaryNote: "everyday use, estimated", onDuty: "On duty" },modelNote: "Example model — change it any time",- phoneNote: "Illustrative: chatting in WeChat or Feishu",+ phoneNote: "Illustrative: chatting in Slack, Telegram, Discord or WhatsApp",phoneInput: "Message…",phoneStatus: "Online · running on your computer",phoneDay: "Today 21:08",swipeHint: "swipe to switch",where: { pc: "Lives on your computer", phone: "Reach it from your phone" },- link: "WeChat & Feishu",+ link: "Slack, Telegram & more",perks: [- { title: "No new app to install", body: "Message it in WeChat or Feishu. Slack is coming soon." },+ { title: "No new app to install", body: "Message it in Slack, Telegram, Discord or WhatsApp." },{ title: "Same bot, same memory", body: "What you tell it on the go, it still knows back at your desk." },{ title: "Hand off work on the go", body: "Online while your computer is on; for 24/7, run it in Docker." },],chars: {- blue: { name: "Ping", alias: "天天", job: "All-rounder", lead: "Its antenna pings the moment a message lands.", rest: "Default assistant, meeting notes.", user: "Sum up today's meeting in three bullets.", bot: "Done: ① release date confirmed ② prices follow the public page ③ demo video next week." },- yellow: { name: "Twinkle", alias: "闪闪", job: "Support & chat", lead: "A little star on top — it twinkles when it smiles, then blushes.", rest: "Support, Q&A, casual chat.", user: "Do you ship on weekends?", bot: "Yes! Orders ship within 48 hours, weekends included~" },- green: { name: "Sprout", alias: "芽芽", job: "Digests & tidying", lead: "A sprout on top that grows a little with every tidy-up.", rest: "Digests, memory tidying, knowledge base.", user: "What did we talk about today?", bot: "Today's digest: 3 decisions, 2 to-dos — saved to memory." },- red: { name: "Beat", alias: "哒哒", job: "Code & automation", lead: "Headset on, it codes to the beat.", rest: "Coding, scripts, automation.", user: "Run the tests.", bot: "All passing in 12 seconds." },- purple: { name: "Crystal", alias: "晶晶", job: "Writing & ideas", lead: "Ideas crystallise on top — one thought, many facets.", rest: "Writing, polishing, brainstorming.", user: "Give this post a headline.", bot: "Three options: … Which tone do you want?" },- orange: { name: "Pilot", alias: "飞飞", job: "Translate, search, use the computer", lead: "Goggles down, it flies off to find answers — and can take the controls of your computer.", rest: "Translation, search, computer use.", user: "Translate this page into Chinese.", bot: "Translated — glossary attached." },+ blue: { name: "Ping", alias: "", job: "All-rounder", lead: "Its antenna pings the moment a message lands.", rest: "Default assistant, meeting notes.", user: "Sum up today's meeting in three bullets.", bot: "Done: ① release date confirmed ② prices follow the public page ③ demo video next week." },+ yellow: { name: "Twinkle", alias: "", job: "Support & chat", lead: "A little star on top — it twinkles when it smiles, then blushes.", rest: "Support, Q&A, casual chat.", user: "Do you ship on weekends?", bot: "Yes! Orders ship within 48 hours, weekends included~" },+ green: { name: "Sprout", alias: "", job: "Digests & tidying", lead: "A sprout on top that grows a little with every tidy-up.", rest: "Digests, memory tidying, knowledge base.", user: "What did we talk about today?", bot: "Today's digest: 3 decisions, 2 to-dos — saved to memory." },+ red: { name: "Beat", alias: "", job: "Code & automation", lead: "Headset on, it codes to the beat.", rest: "Coding, scripts, automation.", user: "Run the tests.", bot: "All passing in 12 seconds." },+ purple: { name: "Crystal", alias: "", job: "Writing & ideas", lead: "Ideas crystallise on top — one thought, many facets.", rest: "Writing, polishing, brainstorming.", user: "Give this post a headline.", bot: "Three options: … Which tone do you want?" },+ orange: { name: "Pilot", alias: "", job: "Translate, search, use the computer", lead: "Goggles down, it flies off to find answers — and can take the controls of your computer.", rest: "Translation, search, computer use.", user: "Translate this page into Chinese.", bot: "Translated — glossary attached." },},},quips: {@@ -371,7 +371,7 @@ export const en: Dict = {{ q: "How is it different from Grok Bot, OpenAI dots or Claude Duet?", a: "They are the same kind of always-on personal AI agent: it works for you in the background and checks in when a decision is yours. The difference: AnyModelBot is open source (MIT) and runs on your own computer or server. It works with GPT, Claude, Gemini, Grok and more; the app is free and models are billed per use, with no single vendor's subscription. The README on GitHub has a full comparison table. Grok Bot, dots and Claude Duet are products of xAI, OpenAI and Anthropic respectively; AnyModelBot is not affiliated with them." },{ q: "Is my data uploaded to your servers?", a: "Chats, memory, files and keys are stored on your device. Model requests go through Modelflare to the provider you choose; log retention follows Modelflare's “Data retention” doc. Screen content seen during computer use is sent to the chosen model." },{ q: "Does it work offline?", a: "No. Models come from Modelflare; local models aren't supported." },- { q: "Can I use it on my phone?", a: "There's no standalone app yet; chat with it in WeChat or Feishu. Slack is coming soon." },+ { q: "Can I use it on my phone?", a: "There's no standalone app yet; chat with it in Slack, Telegram, Discord or WhatsApp." },{ q: "I don't have a Modelflare account.", a: "At first launch, click Sign in / Sign up for Modelflare and sign up in your browser. The app connects itself when you come back, with no key to copy. On Docker or a remote server, paste an API key instead. In mainland China, pick the China-optimised route under Advanced." },{ q: "Is computer use safe?", a: "Limited to 24 whitelisted actions; runs automatically by default, switchable to ask before UI-changing actions; screen content goes to the model; try it on a dedicated machine or account first." },{ q: "How do I verify a download?", a: "Each download lists a SHA-256; use Get-FileHash on Windows, shasum -a 256 on macOS/Linux. GitHub releases also include a SHA256SUMS file you can check in one go with sha256sum -c." },@@ -441,7 +441,7 @@ export const en: Dict = {leavesItems: ["What you send to the model (including screen content during computer use) travels through the Modelflare gateway to the provider you choose.","Modelflare keeps request logs for a retention period (you can pick 7–365 days in your profile) per its “Data retention” doc; when a request ultimately fails, or a route fails before a fallback succeeds, the gateway keeps one copy of the raw request (without the Authorization header) for troubleshooting and deletes it after 72 hours (same doc).",- "Messages in WeChat and Feishu pass through those platforms' servers by nature.",+ "Messages in Slack, Telegram, Discord and WhatsApp pass through those platforms' servers by nature.",],guardsTitle: "Safeguards in the code",limitsTitle: "Limits and promises we don't make",@@ -495,7 +495,7 @@ export const en: Dict = {{ title: "Create a bot", caption: "Pick a plush character, give it a name, or start from a template. Each bot has its own persona, model and workspace." },{ title: "Chat, and swap models any time", caption: "Replies stream in and can be stopped; click the model in the input box to switch." },{ title: "Let it do the work", caption: "It reads and writes files and runs commands; anything outside its workspace waits for your OK in the chat." },- { title: "Find it in your chat apps", caption: "Connect it once, then chat with the same bot — and the same memory — from WeChat or Feishu." },+ { title: "Find it in your chat apps", caption: "Connect it once, then chat with the same bot — and the same memory — from Slack, Telegram, Discord or WhatsApp." },],ui: {installing: "Installing AnyModelBot…",@@ -544,8 +544,8 @@ export const en: Dict = {allowed: "Allowed",fileSub: "Saved to the workspace",channelOk: "{im} · connected",- channelSub: "Scan once — messages go straight to this bot",- imFrom: "WeChat",+ channelSub: "Connect once — messages go straight to this bot",+ imFrom: "Slack",imUser: "Is today's digest ready?",imReply: "Yes: 3 decisions, 2 to-dos — saved to memory.",},diff --git a/site/src/sections/Bots.astro b/site/src/sections/Bots.astroindex b6d95ad..ed50303 100644--- a/site/src/sections/Bots.astro+++ b/site/src/sections/Bots.astro@@ -7,7 +7,7 @@// 舞台卡底光和挂绳随角色换色;窄屏上纵向排列,左右滑动舞台也能换角色。// 月薪 = 计算器"日常"预设 × 默认线路价;点开去 /pricing 的计算器,并带上这个模型(计算器读 ?m=)。// 名字:每个角色的中英文名都取自它最显眼的那件配饰(天天 Ping ← 天线、闪闪 Twinkle ← 星星、芽芽 Sprout ← 嫩芽、-// 哒哒 Beat ← 耳机、晶晶 Crystal ← 水晶、飞飞 Pilot ← 飞行护目镜)。工牌上名字旁边写着另一种语言的名字(alias),+// 哒哒 Beat ← 耳机、晶晶 Crystal ← 水晶、飞飞 Pilot ← 飞行护目镜)。中文页工牌上名字旁边写着英文名(alias);英文页不写中文名(alias 留空,页面上不出现中文),// 座右铭讲名字的由来。证件照上不加任何标注(以前有一个指向配饰的小标签,用户 2026-10-31 要求去掉:没有意义)。import BotFace from "../components/BotFace.astro";import EyesMark from "../components/EyesMark.astro";@@ -73,7 +73,7 @@ const perkIcons = ["chat", "layers", "bolt"] as const;</div><div class="badge-card__id"><p class="badge-card__job eyebrow">{b.chars[k].job}</p>- <h3 class="badge-card__name subhead">{b.chars[k].name} <span class="badge-card__alias" lang={lang === "zh" ? "en" : "zh-CN"}>{b.chars[k].alias}</span></h3>+ <h3 class="badge-card__name subhead">{b.chars[k].name}{b.chars[k].alias && <> <span class="badge-card__alias" lang="en">{b.chars[k].alias}</span></>}</h3><p class="badge-card__motto">{b.chars[k].lead}</p></div><dl class="badge-card__fields">diff --git a/site/src/sections/Handson.astro b/site/src/sections/Handson.astroindex b1c9af4..c6df919 100644--- a/site/src/sections/Handson.astro+++ b/site/src/sections/Handson.astro@@ -75,7 +75,9 @@ const chapters = [<span class="file-chip desk__out on-rise" data-at="9000"><Icon name="doc" />{h.file}</span></div></div>- <p class="sr-only">{h.demoSteps.join(",")},{w.approvalTitle}:{h.approvalBody},{w.allow},{h.file}</p>+ <p class="sr-only">{lang === "en"+ ? `${h.demoSteps.join(", ")}, ${w.approvalTitle}: ${h.approvalBody}, ${w.allow}, ${h.file}`+ : `${h.demoSteps.join(",")},${w.approvalTitle}:${h.approvalBody},${w.allow},${h.file}`}</p></div><div class="story__scene" data-scene="1" style="--tint:var(--bot-green-glow)">diff --git a/site/src/sections/Models.astro b/site/src/sections/Models.astroindex 925f4ab..b5caa5c 100644--- a/site/src/sections/Models.astro+++ b/site/src/sections/Models.astro@@ -99,7 +99,9 @@ const inner = vendors.slice(0, 8);<div class="marquee__track">{[...models, ...models].map((x) => <span class="marquee__item mono"><VendorLogo vendor={vendorOf[x]} size={15} />{x}</span>)}</div></div></div>- <p class="sr-only">{t.models.marqueeLabel}:{vendors.join("、")};{models.join("、")}</p>+ <p class="sr-only">{lang === "en"+ ? `${t.models.marqueeLabel}: ${vendors.join(", ")}; ${models.join(", ")}`+ : `${t.models.marqueeLabel}:${vendors.join("、")};${models.join("、")}`}</p><div class="models__pricing"><div class="models__price-head">diff --git a/site/src/views/LicensesView.astro b/site/src/views/LicensesView.astroindex 5784908..e7bad08 100644--- a/site/src/views/LicensesView.astro+++ b/site/src/views/LicensesView.astro@@ -1,12 +1,15 @@---import Base from "../layouts/Base.astro";import { dict, type Lang } from "../i18n";-import notices from "../data/third-party.md?raw";+import noticesZh from "../data/third-party.md?raw";+import noticesEn from "../data/third-party.en.md?raw";import "../styles/pages.css";interface Props { lang: Lang }const { lang } = Astro.props;const t = dict(lang);const l = t.licenses;+// 第三方声明:中文页用仓库根目录的 THIRD_PARTY_NOTICES.md,英文页用 THIRD_PARTY_NOTICES_en.md(sync-from-app 同步过来)+const notices = lang === "en" ? noticesEn : noticesZh;---<Base lang={lang} path="/licenses" title={l.title} description={l.description}><article class="container page">