Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

docs(landing,readme): correct copy that had stopped being true (#481)

Yaowei Zhengd805acd6e9c4
diff --git a/README.md b/README.md
index 178d327f..441f5bed 100644
--- a/README.md
+++ b/README.md
@@ -86,26 +86,26 @@ https://github.com/user-attachments/assets/922d13a6-5ffc-4685-9a39-352f02f9afc0
Four Skill groups ship in the box ([docs](https://penguin.ooo/docs/skills)); agents can also write and optimize their own:
-| Group | Skills |
-| -------------------- | --------------------------------------------------------------------------------- |
-| Office Productivity | `data-analysis`, `firecrawl` |
-| Software Development | `web-design`, `software-engineering` |
-| AI App Development | `penguin-sdk`, `penguin-cli`, `agenthub-models`, `vllm`, `ollama`, `llamafactory` |
-| Agent Tuning | `agent-initialization`, `benchmark-design`, `agent-evaluation`, `agent-optimization` |
+| Group | Skills |
+| -------------------- | --------------------------------------------------------------------------------------------------------------------------- |
+| Office Productivity | `data-analysis`, `firecrawl`, `bento-slides`, `humanizer` |
+| Software Development | `web-design`, `software-engineering`, `remote-claude-code` |
+| AI App Development | `penguin-sdk`, `penguin-cli`, `penguin-orchestration`, `agenthub-models`, `vllm`, `ollama`, `llamafactory`, `skill-porting` |
+| Agent Tuning | `agent-initialization`, `benchmark-design`, `agent-evaluation`, `agent-optimization` |
## Supported Models
-| Model | Providers |
-| ---------------- | -------------------------------------------------------------------------------- |
-| DeepSeek V4 | DeepSeek, OpenRouter, Fireworks AI, SiliconFlow, Qwen Token Plan, Qwen Pay-As-You-Go |
-| Kimi K3 | Moonshot AI, OpenRouter, Qwen Pay-As-You-Go |
-| GLM 5.2 | Z.AI, OpenRouter, Fireworks AI, SiliconFlow, Qwen Token Plan, Qwen Pay-As-You-Go |
-| Hunyuan 3 | OpenRouter |
-| Qwen 3.8 Max | Qwen Token Plan, Qwen Pay-As-You-Go, OpenRouter |
-| GPT 5.6 | OpenRouter |
-| Gemini 3.6 Flash | Google Gemini, OpenRouter |
-| Claude 5 | Anthropic, OpenRouter |
-| Inkling | OpenRouter, Fireworks AI |
+| Model | Providers |
+| ---------------- | ------------------------------------------------------------------------------------------------ |
+| DeepSeek V4 | DeepSeek, OpenRouter, Fireworks AI, SiliconFlow, TokenDance, Qwen Token Plan, Qwen Pay-As-You-Go |
+| Kimi K3 | Moonshot AI, OpenRouter, Fireworks AI, TokenDance, Qwen Pay-As-You-Go |
+| GLM 5.3 | Z.AI, OpenRouter, TokenDance |
+| Hunyuan 3 | OpenRouter |
+| Qwen 3.8 Max | Qwen Token Plan, Qwen Pay-As-You-Go, OpenRouter, TokenDance |
+| GPT 5.6 | OpenAI, OpenRouter |
+| Gemini 3.7 Flash | Google Gemini, OpenRouter |
+| Claude 5 | Anthropic, OpenRouter |
+| Inkling | OpenRouter, Fireworks AI |
Each family's latest generation only — the app's **Models** page lists every built-in preset, and any OpenAI-protocol endpoint works too: pick a preset, or point a custom endpoint at any of the 1000+ online and local models.
@@ -140,31 +140,7 @@ Download the desktop app from the [download page](https://penguin.ooo/download).
| Windows 10+ | installer (.exe, x64) |
| Linux (x64) | AppImage / deb |
-Current builds are unsigned, so the system may block the very first launch. Expand your platform for the one-time fix:
-
-<details>
-<summary><b>🍎 macOS says “PenguinHarness” is damaged and can’t be opened</b></summary>
-
-macOS quarantines files downloaded from the internet, and the missing signature makes that flag surface as a false “damaged” alert. Deleting the flag clears it:
-
-1. Open the downloaded dmg and drag `PenguinHarness.app` into the **Applications** folder.
-2. Open **Terminal** (Launchpad → Other → Terminal).
-3. Paste this command into Terminal and press Enter, then type your login password (nothing shows while you type; press Enter when done):
-
- ```bash
- sudo xattr -rd com.apple.quarantine /Applications/PenguinHarness.app
- ```
-
-4. Once it finishes, double-click the app — it now opens normally.
-
-</details>
-
-<details>
-<summary><b>🪟 Windows SmartScreen says “Windows protected your PC”</b></summary>
-
-The installer is not signed yet, so SmartScreen holds the first run: click **More info**, then **Run anyway** to continue installing — first run only.
-
-</details>
+The macOS builds are Developer ID signed and notarized, and the Windows installers are Authenticode signed, so neither platform needs a first-launch unblock. Linux is the one exception:
<details>
<summary><b>🐧 Linux: double-clicking the AppImage does nothing</b></summary>
diff --git a/README.zh.md b/README.zh.md
index f9572d3e..3e76c03e 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -86,26 +86,26 @@ https://github.com/user-attachments/assets/aec49ae9-b743-467b-b247-37bedfeaa36e
开箱内置四组 Skill([文档](https://penguin.ooo/docs/skills)),Agent 也能编写并优化自己的 Skill:
-| 分组 | Skill |
-| ----------- | ------------------------------------------------------------------------------ |
-| 办公效率 | `data-analysis`、`firecrawl` |
-| 软件开发 | `web-design`、`software-engineering` |
-| AI 应用开发 | `penguin-sdk`、`penguin-cli`、`agenthub-models`、`vllm`、`ollama`、`llamafactory` |
-| Agent 调优 | `agent-initialization`、`benchmark-design`、`agent-evaluation`、`agent-optimization` |
+| 分组 | Skill |
+| ----------- | --------------------------------------------------------------------------------------------------------------------------- |
+| 办公效率 | `data-analysis`、`firecrawl`、`bento-slides`、`humanizer` |
+| 软件开发 | `web-design`、`software-engineering`、`remote-claude-code` |
+| AI 应用开发 | `penguin-sdk`、`penguin-cli`、`penguin-orchestration`、`agenthub-models`、`vllm`、`ollama`、`llamafactory`、`skill-porting` |
+| Agent 调优 | `agent-initialization`、`benchmark-design`、`agent-evaluation`、`agent-optimization` |
## 支持的模型
-| 模型 | 可用供应商 |
-| ---------------- | -------------------------------------------------------------------------------- |
-| DeepSeek V4 | DeepSeek, OpenRouter, Fireworks AI, SiliconFlow, Qwen Token Plan, Qwen Pay-As-You-Go |
-| Kimi K3 | Moonshot AI, OpenRouter, Qwen Pay-As-You-Go |
-| GLM 5.2 | Z.AI, OpenRouter, Fireworks AI, SiliconFlow, Qwen Token Plan, Qwen Pay-As-You-Go |
-| Hunyuan 3 | OpenRouter |
-| Qwen 3.8 Max | Qwen Token Plan, Qwen Pay-As-You-Go, OpenRouter |
-| GPT 5.6 | OpenRouter |
-| Gemini 3.6 Flash | Google Gemini, OpenRouter |
-| Claude 5 | Anthropic, OpenRouter |
-| Inkling | OpenRouter, Fireworks AI |
+| 模型 | 可用供应商 |
+| ---------------- | ------------------------------------------------------------------------------------------------ |
+| DeepSeek V4 | DeepSeek, OpenRouter, Fireworks AI, SiliconFlow, TokenDance, Qwen Token Plan, Qwen Pay-As-You-Go |
+| Kimi K3 | Moonshot AI, OpenRouter, Fireworks AI, TokenDance, Qwen Pay-As-You-Go |
+| GLM 5.3 | Z.AI, OpenRouter, TokenDance |
+| Hunyuan 3 | OpenRouter |
+| Qwen 3.8 Max | Qwen Token Plan, Qwen Pay-As-You-Go, OpenRouter, TokenDance |
+| GPT 5.6 | OpenAI, OpenRouter |
+| Gemini 3.7 Flash | Google Gemini, OpenRouter |
+| Claude 5 | Anthropic, OpenRouter |
+| Inkling | OpenRouter, Fireworks AI |
上表每个系列只列最新一代,完整预置清单请在应用的**模型**页查看;只要是 OpenAI 协议的端点都可以接入:选择预置,或用自定义端点连接 1000+ 在线与本地模型。
@@ -140,31 +140,7 @@ https://github.com/user-attachments/assets/aec49ae9-b743-467b-b247-37bedfeaa36e
| Windows 10+ | 安装程序(.exe,x64) |
| Linux(x64) | AppImage / deb |
-当前构建暂未签名,系统可能拦截首次启动。展开对应系统的步骤,操作一次即可解除:
-
-<details>
-<summary><b>🍎 macOS 提示「PenguinHarness」已损坏,无法打开?</b></summary>
-
-macOS 会给从网络下载的文件加上隔离标记,应用未签名时会因此被误报「已损坏」。删除该标记即可解除:
-
-1. 打开下载的 dmg,把 `PenguinHarness.app` 拖入「应用程序(Applications)」文件夹。
-2. 打开终端:「启动台 → 其他 → 终端」。
-3. 在终端粘贴这条命令并回车,然后输入开机密码(输入时屏幕不显示字符,输完回车即可):
-
- ```bash
- sudo xattr -rd com.apple.quarantine /Applications/PenguinHarness.app
- ```
-
-4. 执行完成后,双击即可正常打开应用。
-
-</details>
-
-<details>
-<summary><b>🪟 Windows SmartScreen 提示「Windows 已保护你的电脑」?</b></summary>
-
-安装程序暂未签名,SmartScreen 会拦截首次运行:点「更多信息」,再点「仍要运行」即可继续安装,仅首次运行需要。
-
-</details>
+macOS 安装包已由 Developer ID 签名并公证,Windows 安装程序已 Authenticode 签名,两个平台首次启动都无需额外放行;只有 Linux 是例外:
<details>
<summary><b>🐧 Linux 双击 AppImage 没有反应?</b></summary>
diff --git a/changelog/unreleased/2026-08-27-landing-readme-stale-copy.md b/changelog/unreleased/2026-08-27-landing-readme-stale-copy.md
new file mode 100644
index 00000000..11fe5b4c
--- /dev/null
+++ b/changelog/unreleased/2026-08-27-landing-readme-stale-copy.md
@@ -0,0 +1,19 @@
+# Landing site and README corrected where the copy had stopped being true
+
+- **Date:** 2026-08-27
+- **Type:** process
+- **Scope:** `landing`, `docs`, `skills`
+- **PR:** [#481](https://github.com/Prism-Shadow/penguin-harness/pull/481)
+
+[中文版](2026-08-27-landing-readme-stale-copy.zh.md)
+
+Swept the landing site's two string dictionaries and both root READMEs for claims that no longer held, and corrected them in English and Chinese together.
+
+## Details
+
+- **The download page's first-launch FAQ dropped its macOS and Windows items.** It told visitors that builds were unsigned and walked them through deleting the macOS quarantine flag with `sudo xattr -rd` and clicking past Windows SmartScreen. The macOS builds have been Developer ID signed and notarized since 0.2.2 and the Windows installers Authenticode signed since 0.2.4, so neither instruction applied. The intro now states the signing, and the Linux AppImage execute bit — the one first-launch fix that is still real — is the only item left. `MAC_UNQUARANTINE_CMD` went with the item it fed.
+- **The same two `<details>` blocks and the "current builds are unsigned" line were removed from `README.md` and `README.zh.md`,** leaving the Linux AppImage block.
+- **The built-in Skill lists gained the five Skills that had joined the library since they were written** — `bento-slides` and `humanizer` under Office Productivity, `remote-claude-code` under Software Development, and `penguin-orchestration` and `skill-porting` under AI App Development. Applied to the landing page's Skills section and to both READMEs' tables, in the order the Skills documentation lists them.
+- **The Skill lists are now pinned to the shipped library.** `packages/landing/test/skills-sync.test.ts` asserts that each dictionary's Skills section names exactly the directories under `packages/skills/skills/`, and that both dictionaries put each Skill on the same card. `packages/skills/test/skills.test.ts` extended its existing README guard to cover the two root READMEs alongside the package's own, matching every table row against the group its heading names in `SKILL_GROUPS`. Both compare membership rather than order, and name the offending Skill or group in the failure.
+- **The READMEs' supported-model table was re-derived from `packages/core/src/state/model-catalog.ts`.** The table promises each family's latest generation only, so `GLM 5.2` became `GLM 5.3` and `Gemini 3.6 Flash` became `Gemini 3.7 Flash`; `GPT 5.6` gained the direct OpenAI group beside OpenRouter; and the TokenDance group was added to the DeepSeek V4, Kimi K3, GLM and Qwen 3.8 Max rows, with Fireworks AI added to Kimi K3.
+- **The feature section's subtitle stopped claiming a one-to-one mapping onto the Web App's menu.** The standalone Trajectories page is gone — a Trace is read in its conversation's panel — and the grid lists capabilities that were never menu entries. It now says the capabilities are in the web interface, which is what the grid shows.
diff --git a/changelog/unreleased/2026-08-27-landing-readme-stale-copy.zh.md b/changelog/unreleased/2026-08-27-landing-readme-stale-copy.zh.md
new file mode 100644
index 00000000..2f57038b
--- /dev/null
+++ b/changelog/unreleased/2026-08-27-landing-readme-stale-copy.zh.md
@@ -0,0 +1,19 @@
+# 修正落地页与 README 中已不再成立的表述
+
+- **Date:** 2026-08-27
+- **Type:** process
+- **Scope:** `landing`, `docs`, `skills`
+- **PR:** [#481](https://github.com/Prism-Shadow/penguin-harness/pull/481)
+
+[English](2026-08-27-landing-readme-stale-copy.md)
+
+清查了落地页的两份文案词典与根目录的两份 README,把其中已不再成立的说法逐条修正,中英文同步落地。
+
+## 细节
+
+- **下载页的「首次启动常见问题」删去 macOS 与 Windows 两项。** 原文告诉访客当前构建未签名,并引导用 `sudo xattr -rd` 删除 macOS 隔离标记、在 Windows SmartScreen 中选择「仍要运行」。macOS 安装包自 0.2.2 起已由 Developer ID 签名并公证,Windows 安装程序自 0.2.4 起已 Authenticode 签名,两条指引都已不适用。引言改为说明签名状态,只保留 Linux AppImage 执行权限这一项真实存在的首次启动处理。`MAC_UNQUARANTINE_CMD` 随其所服务的条目一并移除。
+- **`README.md` 与 `README.zh.md` 同样删去这两个 `<details>` 折叠块与「当前构建暂未签名」一句**,保留 Linux AppImage 折叠块。
+- **内置 Skill 清单补上此后加入库中的五个 Skill**——办公效率组的 `bento-slides` 与 `humanizer`、软件开发组的 `remote-claude-code`、AI 应用开发组的 `penguin-orchestration` 与 `skill-porting`。落地页的 Skill 区块与两份 README 的表格同步更新,顺序与 Skill 文档一致。
+- **Skill 清单改为由测试锁定到实际发布的库。** `packages/landing/test/skills-sync.test.ts` 断言两份词典的 Skill 区块恰好列出 `packages/skills/skills/` 下的全部目录,且同一个 Skill 在两份词典里落在同一张卡片上;`packages/skills/test/skills.test.ts` 把原有的 README 校验扩展到两份根 README,与该包自身的 README 一并覆盖,并按表头逐行对照 `SKILL_GROUPS` 中对应的分组。两者都只比较集合而不比较顺序,并在失败信息中点名出问题的 Skill 或分组。
+- **两份 README 的支持模型表按 `packages/core/src/state/model-catalog.ts` 重新推导。** 该表声明每个系列只列最新一代,因此 `GLM 5.2` 改为 `GLM 5.3`、`Gemini 3.6 Flash` 改为 `Gemini 3.7 Flash`;`GPT 5.6` 在 OpenRouter 之外补上 OpenAI 直连分组;DeepSeek V4、Kimi K3、GLM 与 Qwen 3.8 Max 各行补上 TokenDance 分组,Kimi K3 另补 Fireworks AI。
+- **功能区块的副标题不再声称与 Web 界面菜单一一对应。** 独立的「轨迹」页面已经移除——Trace 改在会话自己的面板里查看——而该区块列出的能力本就有若干从不是菜单项。副标题改为说明这些能力都在 Web 界面之内,与区块实际展示的内容一致。
diff --git a/packages/landing/src/lib/links.ts b/packages/landing/src/lib/links.ts
index fbffa96e..5b3eb6de 100644
--- a/packages/landing/src/lib/links.ts
+++ b/packages/landing/src/lib/links.ts
@@ -143,11 +143,9 @@ export const DESKTOP_INSTALLERS: Record<"mac" | "windows" | "linux", DesktopInst
export const DESKTOP_SHA256SUMS = "SHA256SUMS.desktop";
/**
- * First-launch fixes for the unsigned desktop builds (the download page FAQ).
- * Language-neutral, like the install commands above. The macOS one deletes the
- * quarantine flag that makes Gatekeeper report the app as "damaged"; the Linux
- * one restores the execute bit browsers strip from a downloaded AppImage.
+ * The one first-launch fix the desktop builds still need (the download page FAQ):
+ * restoring the execute bit browsers strip from a downloaded AppImage. macOS is
+ * Developer ID signed and notarized and Windows is Authenticode signed, so neither
+ * has anything to unblock. Language-neutral, like the install commands above.
*/
-export const MAC_UNQUARANTINE_CMD =
- "sudo xattr -rd com.apple.quarantine /Applications/PenguinHarness.app";
export const LINUX_APPIMAGE_CHMOD_CMD = `chmod +x ${LINUX_APPIMAGE.file}`;
diff --git a/packages/landing/src/lib/strings-en.ts b/packages/landing/src/lib/strings-en.ts
index 62c6e0a1..1d322687 100644
--- a/packages/landing/src/lib/strings-en.ts
+++ b/packages/landing/src/lib/strings-en.ts
@@ -132,25 +132,16 @@ export const en: Strings = {
altOss: "Use the OSS mirror instead",
checksums: "Checksums (SHA256SUMS.desktop)",
allReleases: "Open GitHub Releases",
- /** First-launch FAQ: one collapsible item per platform, the visitor's own pre-expanded. */
+ /**
+ * First-launch FAQ. The macOS builds are Developer ID signed and notarized and the
+ * Windows installers are Authenticode signed, so those two platforms have nothing to
+ * unblock; the Linux AppImage's execute bit is the one item left, pre-expanded for a
+ * Linux visitor.
+ */
faq: {
title: "First-launch FAQ",
intro:
- "Current builds are not signed yet, so the system may block the very first launch — the fix for your platform below is needed only once.",
- mac: {
- question: "macOS says “PenguinHarness” is damaged and can’t be opened?",
- why: "macOS quarantines files downloaded from the internet, and the missing signature makes that flag surface as a false “damaged” alert. Deleting the flag clears it:",
- stepDrag: "Open the downloaded dmg and drag PenguinHarness into the Applications folder.",
- stepTerminal: "Open Terminal (Launchpad → Other → Terminal).",
- stepPaste:
- "Paste this command into Terminal and press Enter, then type your login password (nothing shows while you type; press Enter when done):",
- stepOpen: "Once it finishes, double-click the app — it now opens normally.",
- },
- windows: {
- question: "Windows SmartScreen says “Windows protected your PC”?",
- answer:
- "The installer is not signed yet, so SmartScreen holds the first run: click “More info”, then “Run anyway” to continue installing — first run only.",
- },
+ "The macOS builds are Developer ID signed and notarized, and the Windows installers are Authenticode signed, so neither platform needs a first-launch unblock. Linux is the one exception.",
linux: {
question: "Nothing happens when double-clicking the AppImage on Linux?",
answer:
@@ -423,7 +414,7 @@ penguin run --message "Analyze data.csv and summarize quarterly sales"`,
features: {
eyebrow: "Features",
title: "The full capability set, one desktop-grade UI",
- subtitle: "One-to-one with the web interface's menu — installed means ready.",
+ subtitle: "Every one of them lives in the web interface itself — installed means ready.",
more: "and more…",
items: [
{
@@ -470,11 +461,26 @@ penguin run --message "Analyze data.csv and summarize quarterly sales"`,
title: "The built-in Skill library at a glance",
subtitle: "Four Skill groups out of the box — agents can write and optimize their own, too.",
groups: [
- { title: "Office Productivity", skills: ["data-analysis", "firecrawl"] },
- { title: "Software Development", skills: ["web-design", "software-engineering"] },
+ {
+ title: "Office Productivity",
+ skills: ["data-analysis", "firecrawl", "bento-slides", "humanizer"],
+ },
+ {
+ title: "Software Development",
+ skills: ["web-design", "software-engineering", "remote-claude-code"],
+ },
{
title: "AI App Development",
- skills: ["penguin-sdk", "penguin-cli", "agenthub-models", "vllm", "ollama", "llamafactory"],
+ skills: [
+ "penguin-sdk",
+ "penguin-cli",
+ "penguin-orchestration",
+ "agenthub-models",
+ "vllm",
+ "ollama",
+ "llamafactory",
+ "skill-porting",
+ ],
},
{
title: "agent tuning",
diff --git a/packages/landing/src/lib/strings.ts b/packages/landing/src/lib/strings.ts
index e5f1d542..3119b06c 100644
--- a/packages/landing/src/lib/strings.ts
+++ b/packages/landing/src/lib/strings.ts
@@ -128,24 +128,16 @@ export const zh = {
altOss: "改用 OSS 镜像下载",
checksums: "校验和(SHA256SUMS.desktop)",
allReleases: "打开 GitHub 发布页",
- /** First-launch FAQ: one collapsible item per platform, the visitor's own pre-expanded. */
+ /**
+ * First-launch FAQ. The macOS builds are Developer ID signed and notarized and the
+ * Windows installers are Authenticode signed, so those two platforms have nothing to
+ * unblock; the Linux AppImage's execute bit is the one item left, pre-expanded for a
+ * Linux visitor.
+ */
faq: {
title: "首次启动常见问题",
- intro: "当前构建暂未签名,系统可能拦截首次启动——按对应系统的步骤解除即可,只需操作一次。",
- mac: {
- question: "macOS 提示「PenguinHarness」已损坏,无法打开?",
- why: "macOS 会给从网络下载的文件加上隔离标记,应用未签名时会因此被误报「已损坏」。删除该标记即可解除:",
- stepDrag: "打开下载的 dmg,把 PenguinHarness 拖入「应用程序(Applications)」文件夹。",
- stepTerminal: "打开终端:「启动台 → 其他 → 终端」。",
- stepPaste:
- "在终端粘贴这条命令并回车,然后输入开机密码(输入时屏幕不显示字符,输完回车即可):",
- stepOpen: "执行完成后,双击即可正常打开应用。",
- },
- windows: {
- question: "Windows SmartScreen 提示「Windows 已保护你的电脑」?",
- answer:
- "安装程序暂未签名,SmartScreen 会拦截首次运行:点「更多信息」,再点「仍要运行」即可继续安装,仅首次运行需要。",
- },
+ intro:
+ "macOS 安装包已由 Developer ID 签名并公证,Windows 安装程序已 Authenticode 签名,两个平台首次启动都无需额外放行;只有 Linux 是例外。",
linux: {
question: "Linux 双击 AppImage 没有反应?",
answer:
@@ -403,7 +395,7 @@ penguin run --message "分析 data.csv,输出季度销售额"`,
features: {
eyebrow: "主要功能",
title: "桌面级界面里的完整能力",
- subtitle: "与 Web 界面的菜单一一对应,装好即用。",
+ subtitle: "每一项都在 Web 界面里,装好即用。",
more: "以及更多……",
items: [
{
@@ -450,11 +442,23 @@ penguin run --message "分析 data.csv,输出季度销售额"`,
title: "内置 Skill 库一览",
subtitle: "四组 Skill 开箱即用,Agent 也能编写并优化自己的 Skill。",
groups: [
- { title: "办公效率", skills: ["data-analysis", "firecrawl"] },
- { title: "软件开发", skills: ["web-design", "software-engineering"] },
+ { title: "办公效率", skills: ["data-analysis", "firecrawl", "bento-slides", "humanizer"] },
+ {
+ title: "软件开发",
+ skills: ["web-design", "software-engineering", "remote-claude-code"],
+ },
{
title: "AI 应用开发",
- skills: ["penguin-sdk", "penguin-cli", "agenthub-models", "vllm", "ollama", "llamafactory"],
+ skills: [
+ "penguin-sdk",
+ "penguin-cli",
+ "penguin-orchestration",
+ "agenthub-models",
+ "vllm",
+ "ollama",
+ "llamafactory",
+ "skill-porting",
+ ],
},
{
title: "Agent 调优",
diff --git a/packages/landing/src/pages/download.tsx b/packages/landing/src/pages/download.tsx
index fad585d2..0c93148d 100644
--- a/packages/landing/src/pages/download.tsx
+++ b/packages/landing/src/pages/download.tsx
@@ -8,7 +8,6 @@ import {
DESKTOP_SHA256SUMS,
GITHUB_LATEST_DOWNLOAD,
LINUX_APPIMAGE_CHMOD_CMD,
- MAC_UNQUARANTINE_CMD,
OSS_ORIGIN,
RELEASES_URL,
} from "../lib/links";
@@ -347,21 +346,6 @@ export function DownloadPage() {
{S.download.faq.intro}
</p>
<div className="mt-4 flex flex-col gap-3 text-left">
- <FaqItem question={S.download.faq.mac.question} defaultOpen={detected === "mac"}>
- <p>{S.download.faq.mac.why}</p>
- <ol className="mt-2 flex list-decimal flex-col gap-1.5 pl-5">
- <li>{S.download.faq.mac.stepDrag}</li>
- <li>{S.download.faq.mac.stepTerminal}</li>
- <li>
- {S.download.faq.mac.stepPaste}
- <CodeCard code={MAC_UNQUARANTINE_CMD} label="Terminal" className="mt-2 mb-1" />
- </li>
- <li>{S.download.faq.mac.stepOpen}</li>
- </ol>
- </FaqItem>
- <FaqItem question={S.download.faq.windows.question} defaultOpen={detected === "windows"}>
- <p>{S.download.faq.windows.answer}</p>
- </FaqItem>
<FaqItem question={S.download.faq.linux.question} defaultOpen={detected === "linux"}>
<p>{S.download.faq.linux.answer}</p>
<CodeCard code={LINUX_APPIMAGE_CHMOD_CMD} label="shell" className="mt-2" />
diff --git a/packages/landing/test/skills-sync.test.ts b/packages/landing/test/skills-sync.test.ts
new file mode 100644
index 00000000..6f9b8d8b
--- /dev/null
+++ b/packages/landing/test/skills-sync.test.ts
@@ -0,0 +1,72 @@
+/**
+ * Landing ↔ skill-library sync: the home page's Skills section presents the built-in library,
+ * so every Skill that ships in packages/skills has to appear in both dictionaries and nothing
+ * else may. Derived from the library directory — the same source docs' skills-sync test reads —
+ * so shipping a Skill without listing it here fails instead of leaving the section quietly short.
+ *
+ * Membership only, not order and not which card a Skill sits in: the group manifest is
+ * SKILL_GROUPS, pinned in packages/skills' own test, and a reordering inside a card is not a
+ * regression worth a red suite.
+ */
+import { existsSync, readdirSync } from "node:fs";
+import { join } from "node:path";
+import { describe, expect, it } from "vitest";
+import { zh } from "../src/lib/strings";
+import type { Strings } from "../src/lib/strings";
+import { en } from "../src/lib/strings-en";
+
+const skillsRoot = join(__dirname, "..", "..", "skills", "skills");
+
+const librarySkills = readdirSync(skillsRoot, { withFileTypes: true })
+ .filter((entry) => entry.isDirectory() && existsSync(join(skillsRoot, entry.name, "SKILL.md")))
+ .map((entry) => entry.name)
+ .sort();
+
+/** Every Skill name a dictionary's Skills section renders, flattened across its four cards. */
+const listedSkills = (dict: Strings): string[] =>
+ dict.skills.groups.flatMap((group) => group.skills);
+
+const DICTIONARIES: ReadonlyArray<{ file: string; dict: Strings }> = [
+ { file: "strings.ts", dict: zh },
+ { file: "strings-en.ts", dict: en },
+];
+
+describe("landing ↔ skill library sync", () => {
+ it("found the skill library", () => {
+ expect(librarySkills.length).toBeGreaterThan(0);
+ });
+
+ for (const { file, dict } of DICTIONARIES) {
+ it(`${file}'s Skills section lists exactly the library`, () => {
+ const listed = listedSkills(dict);
+ expect(
+ librarySkills.filter((name) => !listed.includes(name)),
+ `Skills that ship but are missing from ${file}`,
+ ).toEqual([]);
+ expect(
+ listed.filter((name) => !librarySkills.includes(name)).sort(),
+ `Skills listed in ${file} that no longer ship`,
+ ).toEqual([]);
+ });
+
+ it(`${file} names each Skill once`, () => {
+ const listed = listedSkills(dict);
+ expect(
+ listed.filter((name, index) => listed.indexOf(name) !== index).sort(),
+ `Skills listed in more than one group in ${file}`,
+ ).toEqual([]);
+ });
+ }
+
+ /**
+ * Card by card rather than as one flat list: the two dictionaries render the same four cards
+ * in the same order, so a Skill that moves card in one language and not the other is drift a
+ * flattened comparison cannot see. Membership inside a card only — the chips are free to be
+ * reordered.
+ */
+ it("both dictionaries put each Skill on the same card", () => {
+ const cards = (dict: Strings): string[][] =>
+ dict.skills.groups.map((group) => [...group.skills].sort());
+ expect(cards(en)).toEqual(cards(zh));
+ });
+});
diff --git a/packages/skills/test/skills.test.ts b/packages/skills/test/skills.test.ts
index 7d58e1f2..55453b28 100644
--- a/packages/skills/test/skills.test.ts
+++ b/packages/skills/test/skills.test.ts
@@ -17,10 +17,62 @@ import {
loadSkillGroups,
parseSkillFrontmatter,
type LibrarySkill,
+ type SkillGroupInfo,
} from "../src/index.js";
const skillsRoot = path.resolve(import.meta.dirname, "../skills");
+/**
+ * READMEs carrying the group table, relative to this directory, each with the heading its
+ * rows spell the groups by — the English files take the manifest's `title`, the Chinese one
+ * its `titleZh`.
+ */
+const README_TABLES = [
+ { label: "packages/skills/README.md", file: "../README.md", heading: groupTitle },
+ { label: "README.md", file: "../../../README.md", heading: groupTitle },
+ { label: "README.zh.md", file: "../../../README.zh.md", heading: groupTitleZh },
+];
+
+function groupTitle(group: SkillGroupInfo): string {
+ return group.title;
+}
+
+function groupTitleZh(group: SkillGroupInfo): string {
+ // titleZh is optional on the manifest; a group without one is displayed under its English title.
+ return group.titleZh ?? group.title;
+}
+
+/** One row of a README's group table: the group as the row spells it, and its Skill names. */
+interface ReadmeGroupRow {
+ group: string;
+ skills: string[];
+}
+
+/**
+ * Rows of a README's group table. Located by the table's own `Group` / `分组` header row
+ * rather than by a surrounding heading, so the three files parse the same way despite
+ * different headings and list separators; rows end at the first line that is not a table row.
+ */
+function readmeTableRows(markdown: string): ReadmeGroupRow[] {
+ const lines = markdown.split("\n");
+ const header = lines.findIndex((line) => /^\|\s*(?:Group|分组)\s*\|/.test(line));
+ if (header === -1) return [];
+ const rows: ReadmeGroupRow[] = [];
+ for (const line of lines.slice(header + 1)) {
+ if (!line.startsWith("|")) break;
+ const cells = line.split("|").slice(1, -1);
+ if (cells.length < 2) continue;
+ const group = cells[0]!.trim();
+ // The alignment row between the header and the first group.
+ if (/^:?-{3,}:?$/.test(group)) continue;
+ rows.push({
+ group,
+ skills: [...cells[1]!.matchAll(/`([^`]+)`/g)].map((match) => match[1]!),
+ });
+ }
+ return rows;
+}
+
/** Minimal LibrarySkill for groupSkills unit tests. */
const fakeSkill = (name: string): LibrarySkill => ({
name,
@@ -243,17 +295,45 @@ describe("loadSkillGroups / groupSkills", () => {
});
/**
- * The package README repeats the manifest as a table for human readers. Derived from the
- * library rather than pinned, so adding a Skill fails here instead of leaving the table
- * quietly short — the same guard the docs pages get from docs' skills-sync test.
+ * This package's README and the repository's two root READMEs each repeat the manifest as a
+ * table for human readers, and nothing else reads those tables. Derived from the library and
+ * from SKILL_GROUPS rather than pinned, so adding a Skill — or filing it under the wrong
+ * heading — fails here instead of leaving a table quietly wrong; the same guard the docs pages
+ * get from docs' skills-sync test. The root READMEs are checked from here because this package
+ * owns the library the tables claim to list; they belong to no package of their own.
*/
- it("the package README's group table names every library Skill", async () => {
- const readme = await fs.readFile(path.resolve(import.meta.dirname, "../README.md"), "utf8");
- const missing = loadLibrarySkills()
- .map((skill) => skill.name)
- .filter((name) => !readme.includes(`\`${name}\``));
- expect(missing, "skills missing from README.md").toEqual([]);
- });
+ for (const { label, file, heading } of README_TABLES) {
+ it(`${label}'s group table names exactly the library's Skills, each under its own group`, async () => {
+ const markdown = await fs.readFile(path.resolve(import.meta.dirname, file), "utf8");
+ const rows = readmeTableRows(markdown);
+ const listed = rows.flatMap((row) => row.skills);
+ expect(listed.length, `no Group/分组 table found in ${label}`).toBeGreaterThan(0);
+ const library = loadLibrarySkills().map((skill) => skill.name);
+ expect(
+ library.filter((name) => !listed.includes(name)),
+ `Skills that ship but are missing from ${label}`,
+ ).toEqual([]);
+ expect(
+ listed.filter((name) => !library.includes(name)).sort(),
+ `Skills listed in ${label} that no longer ship`,
+ ).toEqual([]);
+
+ // Which group a Skill sits in is the manifest's call, and a table that lists every Skill
+ // under the wrong heading is as wrong as one that omits it. Compared as a set per group,
+ // so reordering inside a row stays free; row order is free too, since rows are matched by
+ // their heading rather than by position.
+ expect(rows.map((row) => row.group).sort(), `group headings in ${label}`).toEqual(
+ SKILL_GROUPS.map(heading).sort(),
+ );
+ for (const group of SKILL_GROUPS) {
+ const row = rows.find((entry) => entry.group === heading(group));
+ expect(
+ [...(row?.skills ?? [])].sort(),
+ `Skills under "${heading(group)}" in ${label}`,
+ ).toEqual([...group.skills].sort());
+ }
+ });
+ }
});
describe("librarySkill", () => {