Skip to content

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

release: 0.2.10 (#666)

Yaowei Zheng8d96414fa63e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0f01ea7f..3cba4e5f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
One brief line per release. Per-release detail lives in [`changelog/<version>/`](changelog/).
+- **0.2.10** — 2026-09-10. The Files panel becomes a two-pane browser with a lazy directory tree, in-place editing with version-checked saves, and drag-and-drop file drops; the context ring now fills against the actual compaction point, adds a draggable threshold cutter that updates the Agent’s compaction threshold immediately, and ranks the five most context-heavy files. Contexts are now assembled whole from Agent State under three explicit tiers, a floating shortcuts ball fans the workbench into a ring, and scheduled tasks move into the dock via the shared **Create with AI** kit with sidebar alarms. Hooks (`stop`, `pre_tool_use`, `user_prompt`) are now loop-level with installable packages, goal mode/continual learning/skill library move to plugins, and Agent Settings gains a Hooks tab with enable switch, zip export/import, and chat import. Added official Docker image `hiyouga/penguinharness` (amd64/arm64, one container/volume) and reworked Machines into `web.db` under Projects with per-machine IDs, one held SSH session, and same-origin API proxy. New models include DeepSeek V4.1 Flash (`deepseek-flash`) as default for new Projects, Gemini 3.8 Flash, GPT-6 Astra, three Doubao Seed rows, and a protocol-pinned vLLM group. Also improves `exec_command` to accept `command`, returns correction guidance for rejected tool calls, folds image reading into `read_file`, separates API vs tool time, marks background tasks in the sidebar, streams compaction thinking, applies a silence-based LLM timeout, and uses one update dialog from check to restart. ([details](changelog/0.2.10/))
- **0.2.9** — 2026-08-28. The release where the model library starts telling you what it costs. The catalog stores list prices and a promoted row declares a `discount` beside them, so the billed rate is derived rather than pasted in and a lapsed promotion is one field to delete; six TokenDance rows carry one, the card shows the price being billed with the rate as a badge, and TokenDance leads the page as the recommended group. DeepSeek's peak and off-peak tiers are billed **per request**: a scheduled row keeps its peak price on disk and the cost center decides the tier from each usage record's own timestamp, so a range that straddles a boundary is billed at the rate each request ran at and a finished week reports the same number whenever it is read. WeChat joins as a fourth chat channel, bound only by scanning — there is no console to copy a credential out of, the platform's poll handle never leaves the server, and it is the only channel here carrying text, images and files both ways, with voice arriving as WeChat's own transcription. Alongside that: a Machines page that installs this build onto another host from the server's own `~/.ssh/config`, one update-all button on every page with updates waiting and a kernel trail that can now be put down, a new Project whose default model reads a pasted screenshot without a vision proxy, a QQ gateway drop the connector recovers from that stops counting as a defect, an owner-only clear on the error table scoped to the filter on screen, a retry ladder that occupies one line instead of one per attempt, a key authorization that reports its outcome where you are looking rather than in a toast fired at another tab, the messaging HTTP surface written once instead of once per channel, and the three price buckets renamed in the Chinese UI. ([details](changelog/0.2.9/))
- **0.2.8** — 2026-08-27. The release where a bound chat channel stops being a text pipe. Pictures and documents travel both ways on Feishu and Telegram — inbound as the input the web composer submits, outbound as the files a finished run both mentioned and produced, which is the pair of filters that picks the one output that was the point while keeping a steerable reply from becoming a read primitive. Replies arrive as formatting rather than literal `**bold**`: a per-binding `renderMarkdown`, on by default, renders each reply in the channel's own markup — Telegram HTML, a Feishu card's JSON 2.0 rich-text component, QQ `msg_type: 2` — transforming what a channel cannot draw instead of leaking it, chunking without splitting an entity or a code fence, and retrying as plain text when a platform refuses the formatting, so a reply is never lost to it. Two more per-binding switches decide how a run reaches the chat: one message per non-blank line, and hold the working notes to deliver only the run's last reply. QQ joins as a third channel, bound by scanning a QR code, over a passive-reply budget the connector rations because the platform will not let a bot speak first. Alongside the messaging work: an extension seam (`activate(ctx)` plus two typed events, re-delivered on every App creation), `penguin auth` for terminal sign-in with the fixed seed password retired in favour of a printed first-login link, red-dot to-dos for Skill and preset-model updates and unexpected errors that can each be put down, LaTeX on every Markdown surface, a bot account that is no longer owned by one Session forever, a binding panel that separates the three different causes of "nothing happened", Qwen 3.8 Flash in the TokenDance group, and CI fanned out into parallel shards. ([details](changelog/0.2.8/))
- **0.2.7** — 2026-08-27. A fix release for what 0.2.6 shipped. The messaging bindings it introduced now work from the desktop app — whose bundles declared `require` but not `__filename` or `__dirname`, so the Feishu SDK's read of its own `package.json` failed every connect with `__dirname is not defined` — survive a Telegram poller conflict, whose recovery was gated on a `getMe` that never conflicts and so re-polled once a second forever instead of backing off, and run a redelivered message once, keyed on the channel's own message id rather than on the text. The desktop app also puts its bundled `penguin` command on PATH by itself and repairs it at every launch, never touching a `penguin` it did not write and never installing from a location that will not persist. A command whose Workspace has been deleted now names the directory instead of reporting `spawn bash ENOENT`, and the POSIX shell resolver gained the fallback chain the Windows branch already had, so a machine without bash no longer fails every command before it runs. Plus a queued follow-up that is recallable however it was queued, landing and README copy corrected where it had stopped being true with the Skill lists now pinned by tests, CI verification of the packed CLI, and tests pinning both `web.db` upgrade directions. ([details](changelog/0.2.7/))
diff --git a/CHANGELOG.zh.md b/CHANGELOG.zh.md
index 49a40598..9253048d 100644
--- a/CHANGELOG.zh.md
+++ b/CHANGELOG.zh.md
@@ -4,6 +4,7 @@
每个版本一行简述。逐版本的细节见 [`changelog/<version>/`](changelog/)。
+- **0.2.10** — 2026-09-10。本版为对话引入完整工作台:文件面板改为左树右预览双栏浏览器,支持就地编辑、按版本校验保存和拖放导入;上下文圆环按真实压缩点填充、阈值可拖动,并新增占用上下文最多的文件排行;模型上下文按 strict / soft / unrestricted 三层装配。右侧快捷球可展开工作台,定时任务进入 Dock,侧边栏为等待触发的会话标记闹钟。Hook 以 `stop`、`pre_tool_use`、`user_prompt` 挂载点成为运行循环能力,目标模式与持续学习插件化,技能库改为 npm 插件库,Agent 设置新增 Hooks 页签;Docker 镜像仅发布两个固定标签,Machines 归入 Project 并复用常驻 SSH 会话。新增 `deepseek-flash` 等模型并设为新建 Project 起始模型,同时改进工具调用纠错、读图、耗时拆分、后台任务标记、压缩流式呈现与更新流程。([细则](changelog/0.2.10/))
- **0.2.9** — 2026-08-28。这一版让模型库开始说清楚它要花多少钱。目录存的是牌价,促销中的条目在旁边声明 `discount`,实际计费价由此推导而不是直接写死——促销结束只需删掉一个字段,要回到的那个价格仍留在行上;六个 TokenDance 条目带上了它,卡片显示当前实际计费的价格并以徽标标出折扣率,TokenDance 作为推荐分组排在页首。DeepSeek 的高峰与空闲两档**按每次请求**计费:带时段的行在磁盘上存高峰价,成本中心按每条用量记录自己的时间戳判定档位,因此跨越分界的时间范围按每次请求真正运行时的价格计费,一个已经结束的星期无论什么时候查看都报同一个数。微信作为第四个消息渠道加入,且只能扫码绑定——没有可以抄凭据的控制台,把 token 轮出来的那个平台句柄从不离开服务端;它也是这里唯一双向都带媒体的渠道,语音以微信自己的转写文本抵达。此外:新增 Machines 页,从服务端自己的 `~/.ssh/config` 里挑一台主机装上本版本;每个有待更新的页面共用一个提示块并支持一键全部升级,Agent 内核提示也变为可解除;新建 Project 的默认模型不需要视觉代理就能读粘贴进来的截图;连接器随即恢复的 QQ 网关断开不再计为缺陷;Project owner 可以按当前筛选清空错误表;一轮重试在对话里只占一行而不是每次一行;授权密钥的结果说在用户正看着的地方,而不是弹在另一个标签页;消息接入的 HTTP 层从「每渠道写一遍」收敛为写一次;中文界面重命名了三个价格桶。([细则](changelog/0.2.9/))
- **0.2.8** — 2026-08-27。这一版让绑定的聊天渠道不再只是一根文本管道。图片与文件在飞书、Telegram 上双向流动——进来时就是网页端输入框提交的那种输入,出去的是一次运行「既提到又产出」的文件,这一对判据既挑出了那个真正是重点的产物,也让可被引导的回复不至于变成读取原语。回复以排版而非字面 `**bold**` 抵达:新增按绑定保存的 `renderMarkdown`(默认开启),用各渠道自己的标记渲染——Telegram 用 HTML,飞书用卡片的 JSON 2.0 富文本组件,QQ 用 `msg_type: 2`;渠道画不出来的构造会被转换而不是漏成原文,分段不会切断实体或代码围栏,平台拒绝排版时自动退回纯文本重发,因此回复绝不会因排版而丢失。另有两个按绑定保存的开关决定一次运行如何抵达聊天:每个非空行各发一条,以及压住过程记录、只发这次运行的最后一条回复。QQ 作为第三个渠道加入,扫码即可绑定;由于该平台不允许机器人主动发言,连接器按被动回复额度进行配给。消息之外:扩展机制(一个 `activate(ctx)` 加两个带类型的事件,每次 App 创建都会重新投递)、`penguin auth` 终端登录并以首次登录链接取代固定初始密码、技能与预置模型更新及未预期错误的红点待办且都能解除、所有 Markdown 界面渲染 LaTeX、机器人账号不再被某个 Session 永久占有、绑定面板把「什么都没发生」的三种不同成因分开、TokenDance 分组新增 Qwen 3.8 Flash,以及 CI 改为并行分片。([细则](changelog/0.2.8/))
- **0.2.7** — 2026-08-27。针对 0.2.6 所发内容的修复版本。0.2.6 引入的消息绑定现在可以在桌面端使用——桌面端的产物此前只声明了 `require`,没有声明 `__filename` 与 `__dirname`,飞书 SDK 读取自身 `package.json` 时因此以 `__dirname is not defined` 让每次连接失败;Telegram 也能从轮询冲突中恢复,此前恢复判定挂在从不冲突的 `getMe` 上,于是每秒重试一次、永远走不到退避;被渠道重复投递的消息也只会执行一次,判重依据是渠道自己的消息 id,而不是文本。桌面端还会自行把随包的 `penguin` 命令放上 PATH,并在每次启动时修复它——绝不改动不是自己写的 `penguin`,也绝不从留不住的位置安装。Workspace 已被删除时,命令会指名那个目录,而不再报 `spawn bash ENOENT`;POSIX 的 shell 解析补上了 Windows 分支早就有的回退链,没有 bash 的机器不会再让每条命令在执行前就失败。此外:排队中的跟进消息无论经哪条路径入队都可撤回;落地页与 README 中已不成立的文案得到更正,技能清单改由测试钉住;随包 CLI 纳入 CI 校验;`web.db` 的两个升级方向都有测试钉住。([细则](changelog/0.2.7/))
diff --git a/README.md b/README.md
index f96d077b..c38ebedb 100644
--- a/README.md
+++ b/README.md
@@ -180,7 +180,7 @@ docker run -d --name penguin -p 127.0.0.1:7364:7364 -v penguin-data:/data hiyoug
docker logs penguin # the first-login link, openable as it stands on this machine
```
-The official image runs the same server on `0.0.0.0:7364` with its data root on the `/data` volume, as an unprivileged user, for `linux/amd64` and `linux/arm64`. It is built from this repository's source: `latest` is rebuilt on every push to `main`, and `stable` follows the newest release. The example publishes the port on the host's loopback, so the Web App answers only on the machine running Docker (`http://localhost:7364`); to reach it from a network, publish on all interfaces instead (`-p 7364:7364`), preferably behind a reverse proxy that terminates TLS. Compose file and the full deployment notes — reverse proxies, upgrades, the rescue path — are in the [Docker quickstart](https://penguin.ooo/docs/quickstart-docker).
+The official image runs the same server on `0.0.0.0:7364` with its data root on the `/data` volume, as an unprivileged user, for `linux/amd64` and `linux/arm64`. It is built from this repository's source: `latest` is rebuilt on every push to `main`, and each release is published under its exact version (`hiyouga/penguinharness:0.2.10`) — there is no moving `stable` tag. The example publishes the port on the host's loopback, so the Web App answers only on the machine running Docker (`http://localhost:7364`); to reach it from a network, publish on all interfaces instead (`-p 7364:7364`), preferably behind a reverse proxy that terminates TLS. Compose file and the full deployment notes — reverse proxies, upgrades, the rescue path — are in the [Docker quickstart](https://penguin.ooo/docs/quickstart-docker).
<details>
<summary><b>📴 Offline install (air-gapped machines)</b></summary>
diff --git a/README.zh.md b/README.zh.md
index 8e8aa9fe..82b6c956 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -180,7 +180,7 @@ docker run -d --name penguin -p 127.0.0.1:7364:7364 -v penguin-data:/data hiyoug
docker logs penguin # 首次登录链接,在本机可原样打开
```
-官方镜像以非特权用户在 `0.0.0.0:7364` 上运行同一个服务端,数据目录落在 `/data` 卷上,提供 `linux/amd64` 与 `linux/arm64`。镜像由本仓库源码构建:`latest` 在每次 push `main` 时重建,`stable` 跟随最新的发布版。示例把端口发布在宿主机回环上,因此 Web 应用只在运行 Docker 的那台机器上可达(`http://localhost:7364`);要从网络访问,改为发布到所有接口(`-p 7364:7364`),并尽量置于终结 TLS 的反向代理之后。compose 文件与完整部署说明(反向代理、升级、救援路径)见 [Docker 快速开始](https://penguin.ooo/docs/quickstart-docker)。
+官方镜像以非特权用户在 `0.0.0.0:7364` 上运行同一个服务端,数据目录落在 `/data` 卷上,提供 `linux/amd64` 与 `linux/arm64`。镜像由本仓库源码构建:`latest` 在每次 push `main` 时重建,每个发布版以精确版本号发布(`hiyouga/penguinharness:0.2.10`),没有会移动的 `stable` 标签。示例把端口发布在宿主机回环上,因此 Web 应用只在运行 Docker 的那台机器上可达(`http://localhost:7364`);要从网络访问,改为发布到所有接口(`-p 7364:7364`),并尽量置于终结 TLS 的反向代理之后。compose 文件与完整部署说明(反向代理、升级、救援路径)见 [Docker 快速开始](https://penguin.ooo/docs/quickstart-docker)。
<details>
<summary><b>📴 离线安装(无网环境)</b></summary>
diff --git a/changelog/unreleased/2026-08-24-security-docs.md b/changelog/0.2.10/2026-08-24-security-docs.md
similarity index 89%
rename from changelog/unreleased/2026-08-24-security-docs.md
rename to changelog/0.2.10/2026-08-24-security-docs.md
index 16c3158f..93a80729 100644
--- a/changelog/unreleased/2026-08-24-security-docs.md
+++ b/changelog/0.2.10/2026-08-24-security-docs.md
@@ -1,8 +1,9 @@
# A Security Model page in the docs
- **Date:** 2026-08-24
-- **Type:** docs
+- **Type:** process
- **Scope:** `docs`
+- **PR:** [#455](https://github.com/Prism-Shadow/penguin-harness/pull/455)
[中文版](2026-08-24-security-docs.zh.md)
diff --git a/changelog/unreleased/2026-08-24-security-docs.zh.md b/changelog/0.2.10/2026-08-24-security-docs.zh.md
similarity index 81%
rename from changelog/unreleased/2026-08-24-security-docs.zh.md
rename to changelog/0.2.10/2026-08-24-security-docs.zh.md
index eaf510aa..070e3287 100644
--- a/changelog/unreleased/2026-08-24-security-docs.zh.md
+++ b/changelog/0.2.10/2026-08-24-security-docs.zh.md
@@ -1,8 +1,9 @@
# 文档新增"安全模型"页面
-- **日期:** 2026-08-24
-- **类型:** docs
-- **范围:** `docs`
+- **Date:** 2026-08-24
+- **Type:** process
+- **Scope:** `docs`
+- **PR:** [#455](https://github.com/Prism-Shadow/penguin-harness/pull/455)
[English](2026-08-24-security-docs.md)
diff --git a/changelog/unreleased/2026-08-24-static-compression.md b/changelog/0.2.10/2026-08-24-static-compression.md
similarity index 94%
rename from changelog/unreleased/2026-08-24-static-compression.md
rename to changelog/0.2.10/2026-08-24-static-compression.md
index 5564bfdc..f52fdc22 100644
--- a/changelog/unreleased/2026-08-24-static-compression.md
+++ b/changelog/0.2.10/2026-08-24-static-compression.md
@@ -1,8 +1,9 @@
# The frontend is compressed on the way out
- **Date:** 2026-08-24
-- **Type:** performance
+- **Type:** feature
- **Scope:** `server`
+- **PR:** [#453](https://github.com/Prism-Shadow/penguin-harness/pull/453)
[中文版](2026-08-24-static-compression.zh.md)
diff --git a/changelog/unreleased/2026-08-24-static-compression.zh.md b/changelog/0.2.10/2026-08-24-static-compression.zh.md
similarity index 91%
rename from changelog/unreleased/2026-08-24-static-compression.zh.md
rename to changelog/0.2.10/2026-08-24-static-compression.zh.md
index 5b2fede0..51d1de01 100644
--- a/changelog/unreleased/2026-08-24-static-compression.zh.md
+++ b/changelog/0.2.10/2026-08-24-static-compression.zh.md
@@ -1,8 +1,9 @@
# 前端资源发送时会压缩了
-- **日期:** 2026-08-24
-- **类型:** performance
-- **范围:** `server`
+- **Date:** 2026-08-24
+- **Type:** feature
+- **Scope:** `server`
+- **PR:** [#453](https://github.com/Prism-Shadow/penguin-harness/pull/453)
[English](2026-08-24-static-compression.md)
diff --git a/changelog/unreleased/2026-08-27-schema-migrations.md b/changelog/0.2.10/2026-08-27-schema-migrations.md
similarity index 100%
rename from changelog/unreleased/2026-08-27-schema-migrations.md
rename to changelog/0.2.10/2026-08-27-schema-migrations.md
diff --git a/changelog/unreleased/2026-08-27-schema-migrations.zh.md b/changelog/0.2.10/2026-08-27-schema-migrations.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-27-schema-migrations.zh.md
rename to changelog/0.2.10/2026-08-27-schema-migrations.zh.md
diff --git a/changelog/unreleased/2026-08-28-context-assembled-per-rotation.md b/changelog/0.2.10/2026-08-28-context-assembled-per-rotation.md
similarity index 100%
rename from changelog/unreleased/2026-08-28-context-assembled-per-rotation.md
rename to changelog/0.2.10/2026-08-28-context-assembled-per-rotation.md
diff --git a/changelog/unreleased/2026-08-28-context-assembled-per-rotation.zh.md b/changelog/0.2.10/2026-08-28-context-assembled-per-rotation.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-28-context-assembled-per-rotation.zh.md
rename to changelog/0.2.10/2026-08-28-context-assembled-per-rotation.zh.md
diff --git a/changelog/unreleased/2026-08-28-sidebar-glyphs-and-copy.md b/changelog/0.2.10/2026-08-28-sidebar-glyphs-and-copy.md
similarity index 100%
rename from changelog/unreleased/2026-08-28-sidebar-glyphs-and-copy.md
rename to changelog/0.2.10/2026-08-28-sidebar-glyphs-and-copy.md
diff --git a/changelog/unreleased/2026-08-28-sidebar-glyphs-and-copy.zh.md b/changelog/0.2.10/2026-08-28-sidebar-glyphs-and-copy.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-28-sidebar-glyphs-and-copy.zh.md
rename to changelog/0.2.10/2026-08-28-sidebar-glyphs-and-copy.zh.md
diff --git a/changelog/unreleased/2026-08-28-update-modal.md b/changelog/0.2.10/2026-08-28-update-modal.md
similarity index 100%
rename from changelog/unreleased/2026-08-28-update-modal.md
rename to changelog/0.2.10/2026-08-28-update-modal.md
diff --git a/changelog/unreleased/2026-08-28-update-modal.zh.md b/changelog/0.2.10/2026-08-28-update-modal.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-28-update-modal.zh.md
rename to changelog/0.2.10/2026-08-28-update-modal.zh.md
diff --git a/changelog/unreleased/2026-08-29-stop-hook-goal-mode.md b/changelog/0.2.10/2026-08-29-stop-hook-goal-mode.md
similarity index 98%
rename from changelog/unreleased/2026-08-29-stop-hook-goal-mode.md
rename to changelog/0.2.10/2026-08-29-stop-hook-goal-mode.md
index 88119dd6..5a98e809 100644
--- a/changelog/unreleased/2026-08-29-stop-hook-goal-mode.md
+++ b/changelog/0.2.10/2026-08-29-stop-hook-goal-mode.md
@@ -3,7 +3,8 @@
- **Date:** 2026-08-29
- **Type:** feature
- **Scope:** `core`, `plugins`, `server`, `web`, `cli`, `desktop`, `docs`
-- **Breaking:** yes
+- **PR:** [#542](https://github.com/Prism-Shadow/penguin-harness/pull/542)
+- **Breaking:** yes — the `goal_state` table is dropped by the first restart-only migration, and built-in goal mode is replaced by the `goal` plugin
[中文版](2026-08-29-stop-hook-goal-mode.zh.md)
diff --git a/changelog/unreleased/2026-08-29-stop-hook-goal-mode.zh.md b/changelog/0.2.10/2026-08-29-stop-hook-goal-mode.zh.md
similarity index 98%
rename from changelog/unreleased/2026-08-29-stop-hook-goal-mode.zh.md
rename to changelog/0.2.10/2026-08-29-stop-hook-goal-mode.zh.md
index c283e6a8..f9ca5c35 100644
--- a/changelog/unreleased/2026-08-29-stop-hook-goal-mode.zh.md
+++ b/changelog/0.2.10/2026-08-29-stop-hook-goal-mode.zh.md
@@ -3,7 +3,8 @@
- **Date:** 2026-08-29
- **Type:** feature
- **Scope:** `core`, `plugins`, `server`, `web`, `cli`, `desktop`, `docs`
-- **Breaking:** yes
+- **PR:** [#542](https://github.com/Prism-Shadow/penguin-harness/pull/542)
+- **Breaking:** yes — `goal_state` 表由首个仅重启生效的迁移删除,内置目标模式由 `goal` 插件取代
[English](2026-08-29-stop-hook-goal-mode.md)
diff --git a/changelog/unreleased/2026-08-29-web-dist-diagnostics.md b/changelog/0.2.10/2026-08-29-web-dist-diagnostics.md
similarity index 100%
rename from changelog/unreleased/2026-08-29-web-dist-diagnostics.md
rename to changelog/0.2.10/2026-08-29-web-dist-diagnostics.md
diff --git a/changelog/unreleased/2026-08-29-web-dist-diagnostics.zh.md b/changelog/0.2.10/2026-08-29-web-dist-diagnostics.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-29-web-dist-diagnostics.zh.md
rename to changelog/0.2.10/2026-08-29-web-dist-diagnostics.zh.md
diff --git a/changelog/unreleased/2026-08-30-ci-runtime-web-dist.md b/changelog/0.2.10/2026-08-30-ci-runtime-web-dist.md
similarity index 100%
rename from changelog/unreleased/2026-08-30-ci-runtime-web-dist.md
rename to changelog/0.2.10/2026-08-30-ci-runtime-web-dist.md
diff --git a/changelog/unreleased/2026-08-30-ci-runtime-web-dist.zh.md b/changelog/0.2.10/2026-08-30-ci-runtime-web-dist.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-30-ci-runtime-web-dist.zh.md
rename to changelog/0.2.10/2026-08-30-ci-runtime-web-dist.zh.md
diff --git a/changelog/unreleased/2026-08-30-copy-session-id.md b/changelog/0.2.10/2026-08-30-copy-session-id.md
similarity index 100%
rename from changelog/unreleased/2026-08-30-copy-session-id.md
rename to changelog/0.2.10/2026-08-30-copy-session-id.md
diff --git a/changelog/unreleased/2026-08-30-copy-session-id.zh.md b/changelog/0.2.10/2026-08-30-copy-session-id.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-30-copy-session-id.zh.md
rename to changelog/0.2.10/2026-08-30-copy-session-id.zh.md
diff --git a/changelog/unreleased/2026-08-30-terminal-links.md b/changelog/0.2.10/2026-08-30-terminal-links.md
similarity index 100%
rename from changelog/unreleased/2026-08-30-terminal-links.md
rename to changelog/0.2.10/2026-08-30-terminal-links.md
diff --git a/changelog/unreleased/2026-08-30-terminal-links.zh.md b/changelog/0.2.10/2026-08-30-terminal-links.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-30-terminal-links.zh.md
rename to changelog/0.2.10/2026-08-30-terminal-links.zh.md
diff --git a/changelog/unreleased/2026-08-30-terminal-stream-test-isolation.md b/changelog/0.2.10/2026-08-30-terminal-stream-test-isolation.md
similarity index 100%
rename from changelog/unreleased/2026-08-30-terminal-stream-test-isolation.md
rename to changelog/0.2.10/2026-08-30-terminal-stream-test-isolation.md
diff --git a/changelog/unreleased/2026-08-30-terminal-stream-test-isolation.zh.md b/changelog/0.2.10/2026-08-30-terminal-stream-test-isolation.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-30-terminal-stream-test-isolation.zh.md
rename to changelog/0.2.10/2026-08-30-terminal-stream-test-isolation.zh.md
diff --git a/changelog/unreleased/2026-08-31-landing-rotating-headline.md b/changelog/0.2.10/2026-08-31-landing-rotating-headline.md
similarity index 100%
rename from changelog/unreleased/2026-08-31-landing-rotating-headline.md
rename to changelog/0.2.10/2026-08-31-landing-rotating-headline.md
diff --git a/changelog/unreleased/2026-08-31-landing-rotating-headline.zh.md b/changelog/0.2.10/2026-08-31-landing-rotating-headline.zh.md
similarity index 100%
rename from changelog/unreleased/2026-08-31-landing-rotating-headline.zh.md
rename to changelog/0.2.10/2026-08-31-landing-rotating-headline.zh.md
diff --git a/changelog/unreleased/2026-09-01-landing-agent-glyph.md b/changelog/0.2.10/2026-09-01-landing-agent-glyph.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-landing-agent-glyph.md
rename to changelog/0.2.10/2026-09-01-landing-agent-glyph.md
diff --git a/changelog/unreleased/2026-09-01-landing-agent-glyph.zh.md b/changelog/0.2.10/2026-09-01-landing-agent-glyph.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-landing-agent-glyph.zh.md
rename to changelog/0.2.10/2026-09-01-landing-agent-glyph.zh.md
diff --git a/changelog/unreleased/2026-09-01-llm-idle-timeout-and-retry-ladder.md b/changelog/0.2.10/2026-09-01-llm-idle-timeout-and-retry-ladder.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-llm-idle-timeout-and-retry-ladder.md
rename to changelog/0.2.10/2026-09-01-llm-idle-timeout-and-retry-ladder.md
diff --git a/changelog/unreleased/2026-09-01-llm-idle-timeout-and-retry-ladder.zh.md b/changelog/0.2.10/2026-09-01-llm-idle-timeout-and-retry-ladder.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-llm-idle-timeout-and-retry-ladder.zh.md
rename to changelog/0.2.10/2026-09-01-llm-idle-timeout-and-retry-ladder.zh.md
diff --git a/changelog/unreleased/2026-09-01-machines-connection.md b/changelog/0.2.10/2026-09-01-machines-connection.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-connection.md
rename to changelog/0.2.10/2026-09-01-machines-connection.md
diff --git a/changelog/unreleased/2026-09-01-machines-connection.zh.md b/changelog/0.2.10/2026-09-01-machines-connection.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-connection.zh.md
rename to changelog/0.2.10/2026-09-01-machines-connection.zh.md
diff --git a/changelog/unreleased/2026-09-01-machines-identity.md b/changelog/0.2.10/2026-09-01-machines-identity.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-identity.md
rename to changelog/0.2.10/2026-09-01-machines-identity.md
diff --git a/changelog/unreleased/2026-09-01-machines-identity.zh.md b/changelog/0.2.10/2026-09-01-machines-identity.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-identity.zh.md
rename to changelog/0.2.10/2026-09-01-machines-identity.zh.md
diff --git a/changelog/unreleased/2026-09-01-machines-models.md b/changelog/0.2.10/2026-09-01-machines-models.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-models.md
rename to changelog/0.2.10/2026-09-01-machines-models.md
diff --git a/changelog/unreleased/2026-09-01-machines-models.zh.md b/changelog/0.2.10/2026-09-01-machines-models.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-models.zh.md
rename to changelog/0.2.10/2026-09-01-machines-models.zh.md
diff --git a/changelog/unreleased/2026-09-01-machines-reach.md b/changelog/0.2.10/2026-09-01-machines-reach.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-reach.md
rename to changelog/0.2.10/2026-09-01-machines-reach.md
diff --git a/changelog/unreleased/2026-09-01-machines-reach.zh.md b/changelog/0.2.10/2026-09-01-machines-reach.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-reach.zh.md
rename to changelog/0.2.10/2026-09-01-machines-reach.zh.md
diff --git a/changelog/unreleased/2026-09-01-machines-store.md b/changelog/0.2.10/2026-09-01-machines-store.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-store.md
rename to changelog/0.2.10/2026-09-01-machines-store.md
diff --git a/changelog/unreleased/2026-09-01-machines-store.zh.md b/changelog/0.2.10/2026-09-01-machines-store.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-store.zh.md
rename to changelog/0.2.10/2026-09-01-machines-store.zh.md
diff --git a/changelog/unreleased/2026-09-01-machines-transport.md b/changelog/0.2.10/2026-09-01-machines-transport.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-transport.md
rename to changelog/0.2.10/2026-09-01-machines-transport.md
diff --git a/changelog/unreleased/2026-09-01-machines-transport.zh.md b/changelog/0.2.10/2026-09-01-machines-transport.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-transport.zh.md
rename to changelog/0.2.10/2026-09-01-machines-transport.zh.md
diff --git a/changelog/unreleased/2026-09-01-machines-update.md b/changelog/0.2.10/2026-09-01-machines-update.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-update.md
rename to changelog/0.2.10/2026-09-01-machines-update.md
diff --git a/changelog/unreleased/2026-09-01-machines-update.zh.md b/changelog/0.2.10/2026-09-01-machines-update.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-01-machines-update.zh.md
rename to changelog/0.2.10/2026-09-01-machines-update.zh.md
diff --git a/changelog/unreleased/2026-09-02-agenthub-0.4.9.md b/changelog/0.2.10/2026-09-02-agenthub-0.4.9.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-agenthub-0.4.9.md
rename to changelog/0.2.10/2026-09-02-agenthub-0.4.9.md
diff --git a/changelog/unreleased/2026-09-02-agenthub-0.4.9.zh.md b/changelog/0.2.10/2026-09-02-agenthub-0.4.9.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-agenthub-0.4.9.zh.md
rename to changelog/0.2.10/2026-09-02-agenthub-0.4.9.zh.md
diff --git a/changelog/unreleased/2026-09-02-agents-page-notice-spacing.md b/changelog/0.2.10/2026-09-02-agents-page-notice-spacing.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-agents-page-notice-spacing.md
rename to changelog/0.2.10/2026-09-02-agents-page-notice-spacing.md
diff --git a/changelog/unreleased/2026-09-02-agents-page-notice-spacing.zh.md b/changelog/0.2.10/2026-09-02-agents-page-notice-spacing.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-agents-page-notice-spacing.zh.md
rename to changelog/0.2.10/2026-09-02-agents-page-notice-spacing.zh.md
diff --git a/changelog/unreleased/2026-09-02-backward-compatibility-read-file-images.md b/changelog/0.2.10/2026-09-02-backward-compatibility-read-file-images.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-backward-compatibility-read-file-images.md
rename to changelog/0.2.10/2026-09-02-backward-compatibility-read-file-images.md
diff --git a/changelog/unreleased/2026-09-02-backward-compatibility-read-file-images.zh.md b/changelog/0.2.10/2026-09-02-backward-compatibility-read-file-images.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-backward-compatibility-read-file-images.zh.md
rename to changelog/0.2.10/2026-09-02-backward-compatibility-read-file-images.zh.md
diff --git a/changelog/unreleased/2026-09-02-backward-compatibility.md b/changelog/0.2.10/2026-09-02-backward-compatibility.md
similarity index 76%
rename from changelog/unreleased/2026-09-02-backward-compatibility.md
rename to changelog/0.2.10/2026-09-02-backward-compatibility.md
index a87787ad..fec9e4c3 100644
--- a/changelog/unreleased/2026-09-02-backward-compatibility.md
+++ b/changelog/0.2.10/2026-09-02-backward-compatibility.md
@@ -15,7 +15,8 @@ Agent does not have, the versions and icons of skills installed from the old lib
`goal_finished` records and `[goal]` rounds in old Traces, the `@prismshadow/penguin-skills`
package, and the `skills` field / `--skills` flag of Agent creation. Only the table needed a
decision; the rest is recorded here too, so a reader asking "does my install need anything?"
-finds every answer in one place.
+finds every answer in one place. A later change in this release adds a seventh: the plugin
+version format.
## The `goal_state` table: dropped by migration 3, the first restart-only one
@@ -100,6 +101,32 @@ and `penguin agent create` takes `--plugins`. A clean rename, no alias: a script
`skills` gets an Agent with nothing preinstalled (the field is ignored), a script still passing
`--skills` gets the CLI's unknown-option error. Update the call.
+## Plugin versions read `2026.09.10.1`, and the old spelling still reads as the same version
+
+A library manifest's dated version is now spelled `YYYY.MM.DD.N` — `2026.09.10.1` — where it
+was `YYYY-MM-DD.N` (this is the plugin's own content version in `plugin.json`, not the npm
+version of its package, which follows the release). Copies already installed into an Agent's
+`agent_state/` carry the old spelling: a skill's `SKILL.md` frontmatter and a hook package's
+generated `hooks.json`. The loader reads both. `parsePluginVersion` maps `2026-09-02.1` and
+`2026.09.02.1` to the same date and sequence number, so an installed copy stamped before this
+release compares **equal** to the library's copy of that same version, and the rename raises no
+update badge anywhere.
+
+The tolerance is read-side only: nothing on disk is rewritten. An installed copy keeps the
+spelling it was stamped with until the plugin is reinstalled from the library, which is the same
+act that writes the new one. Only a library `plugin.json` must carry the new spelling — the
+manifest check rejects anything else. **A user does nothing.** (`continual-learning` does move
+in this release, for its own reason: its stop-hook prompt now tells the agent to bump a SKILL.md
+version in the new format, so the plugin's version rises to `2026.09.10.1` and its installs are
+reported as updatable — an ordinary content update, not the rename.)
+
+This one **is** a shim with an expiry. It can go once no installed copy predates 0.2.10 — a
+release after 0.3 at the earliest — and one thing gets deleted: the legacy arm of
+`parsePluginVersion` in `packages/core/src/plugins/index.ts` (its
+`LEGACY_PLUGIN_VERSION_PATTERN`). After that a legacy version reads as the empty string and the
+library reports each such install as updatable once, exactly as an old numeric version does
+today.
+
## Compatibility
Upgrading asks one thing of one kind of user: whoever hot-pushes this platform onto a running
@@ -109,5 +136,6 @@ existed before this release needs the `goal` plugin installed once from the libr
that create Agents with `skills` / `--skills` change to `plugins` / `--plugins`.
Downgrading to 0.2.9 works on a migrated database (the table comes back empty at its open);
-finished goals' banners do not restore, nothing else is affected. None of the above is a shim
-with an expiry: there is nothing to remove in a later release.
+finished goals' banners do not restore, nothing else is affected. One item above is a shim with
+an expiry — the loader reading the old plugin-version spelling, removable once no installed copy
+predates 0.2.10; the rest leaves nothing to remove in a later release.
diff --git a/changelog/unreleased/2026-09-02-backward-compatibility.zh.md b/changelog/0.2.10/2026-09-02-backward-compatibility.zh.md
similarity index 76%
rename from changelog/unreleased/2026-09-02-backward-compatibility.zh.md
rename to changelog/0.2.10/2026-09-02-backward-compatibility.zh.md
index 9d440df6..32cd0f7d 100644
--- a/changelog/unreleased/2026-09-02-backward-compatibility.zh.md
+++ b/changelog/0.2.10/2026-09-02-backward-compatibility.zh.md
@@ -13,7 +13,7 @@
没有的钩子包、从旧技能库装上的 Skill 的版本与图标、旧 Trace 里的 `goal_finished` 记录与 `[goal]`
轮消息、`@prismshadow/penguin-skills` 包,以及 Agent 创建的 `skills` 字段 / `--skills` 选项。需要
做决定的只有那张表;其余几项也一并记在这里,方便有人来查「我这套安装需要做什么吗?」时,在同一处
-找到全部答案。
+找到全部答案。本版本后来的一处改动又添了第七样:插件的版本号格式。
## `goal_state` 表:由第 3 号迁移删除,也是首个只能重启应用的迁移
@@ -79,6 +79,26 @@ Agent 创建请求体改收 `plugins: string[]`(库内插件名),原来是
改收 `--plugins`。干净改名,没有别名:仍发送 `skills` 的脚本会得到一个什么都不预装的 Agent(该字段
被忽略),仍传 `--skills` 的脚本会撞上 CLI 的未知选项错误。改一下调用即可。
+## 插件版本改写作 `2026.09.10.1`,旧写法读作同一版本
+
+库内清单里的日期版本改写作 `YYYY.MM.DD.N`——`2026.09.10.1`——原为 `YYYY-MM-DD.N`(这是
+`plugin.json` 里插件自身的内容版本,与该插件包跟随发行版本的 npm 版本是两回事)。已经装进 Agent
+`agent_state/` 的副本带的仍是旧写法:Skill 的 `SKILL.md` frontmatter,以及钩子包生成的
+`hooks.json`。loader 两种都读:`parsePluginVersion` 把 `2026-09-02.1` 与 `2026.09.02.1` 解析成
+同一个日期与序号,因此本版本之前盖章的已装副本与库内同一版本比较**相等**,改写格式本身不会在任何
+地方产生可更新提示。
+
+容忍只在读的一侧,磁盘上不改写任何东西:已装副本保持它被盖章时的写法,直到从库重装该插件——而重装
+本身就是写入新写法的那一步。只有库内 `plugin.json` 必须用新写法,清单校验会拒绝其余形式。**用户
+无需做任何事。**(`continual-learning` 在本版本确有变动,但出于它自己的原因:它的 stop hook 提示
+词现在要求 Agent 按新格式提升 SKILL.md 的版本,因此该插件版本升到 `2026.09.10.1`、其已装副本被报
+为可更新——这是普通的内容更新,不是改名带来的。)
+
+这一项**确实**是带有效期的垫片。等到不再有早于 0.2.10 的已装副本即可移除——最早是 0.3 之后的某个
+版本——届时要删的只有一处:`packages/core/src/plugins/index.ts` 中 `parsePluginVersion` 的旧写法
+分支(`LEGACY_PLUGIN_VERSION_PATTERN`)。删除之后,旧写法的版本读作空字符串,插件库把这样的安装各
+报一次可更新,与今天对待旧的自然数版本完全一样。
+
## 兼容性
升级只对一种用户提一个要求:把本平台热推送到运行中的运行时的人,必须先重启它——推送在碰到数据库
@@ -87,4 +107,5 @@ Agent 创建请求体改收 `plugins: string[]`(库内插件名),原来是
`plugins` / `--plugins`。
降级到 0.2.9 在已迁移的数据库上可行(表在它打开时以空表回来);已结束目标的横幅不会恢复,其他一切
-不受影响。以上没有一项是带有效期的垫片:后续版本没有要删的东西。
+不受影响。以上只有一项是带有效期的垫片——loader 读取插件版本的旧写法,等到不再有早于 0.2.10 的已装
+副本即可移除;其余各项后续版本都没有要删的东西。
diff --git a/changelog/unreleased/2026-09-02-compaction-banner-thinking.md b/changelog/0.2.10/2026-09-02-compaction-banner-thinking.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-compaction-banner-thinking.md
rename to changelog/0.2.10/2026-09-02-compaction-banner-thinking.md
diff --git a/changelog/unreleased/2026-09-02-compaction-banner-thinking.zh.md b/changelog/0.2.10/2026-09-02-compaction-banner-thinking.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-compaction-banner-thinking.zh.md
rename to changelog/0.2.10/2026-09-02-compaction-banner-thinking.zh.md
diff --git a/changelog/unreleased/2026-09-02-context-top-files.md b/changelog/0.2.10/2026-09-02-context-top-files.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-context-top-files.md
rename to changelog/0.2.10/2026-09-02-context-top-files.md
diff --git a/changelog/unreleased/2026-09-02-context-top-files.zh.md b/changelog/0.2.10/2026-09-02-context-top-files.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-context-top-files.zh.md
rename to changelog/0.2.10/2026-09-02-context-top-files.zh.md
diff --git a/changelog/unreleased/2026-09-02-copy-session-id-label.md b/changelog/0.2.10/2026-09-02-copy-session-id-label.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-copy-session-id-label.md
rename to changelog/0.2.10/2026-09-02-copy-session-id-label.md
diff --git a/changelog/unreleased/2026-09-02-copy-session-id-label.zh.md b/changelog/0.2.10/2026-09-02-copy-session-id-label.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-copy-session-id-label.zh.md
rename to changelog/0.2.10/2026-09-02-copy-session-id-label.zh.md
diff --git a/changelog/unreleased/2026-09-02-cost-center-clear-range.md b/changelog/0.2.10/2026-09-02-cost-center-clear-range.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-cost-center-clear-range.md
rename to changelog/0.2.10/2026-09-02-cost-center-clear-range.md
diff --git a/changelog/unreleased/2026-09-02-cost-center-clear-range.zh.md b/changelog/0.2.10/2026-09-02-cost-center-clear-range.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-cost-center-clear-range.zh.md
rename to changelog/0.2.10/2026-09-02-cost-center-clear-range.zh.md
diff --git a/changelog/unreleased/2026-09-02-create-with-ai-kit.md b/changelog/0.2.10/2026-09-02-create-with-ai-kit.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-create-with-ai-kit.md
rename to changelog/0.2.10/2026-09-02-create-with-ai-kit.md
diff --git a/changelog/unreleased/2026-09-02-create-with-ai-kit.zh.md b/changelog/0.2.10/2026-09-02-create-with-ai-kit.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-create-with-ai-kit.zh.md
rename to changelog/0.2.10/2026-09-02-create-with-ai-kit.zh.md
diff --git a/changelog/unreleased/2026-09-02-discount-badge-wording.md b/changelog/0.2.10/2026-09-02-discount-badge-wording.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-discount-badge-wording.md
rename to changelog/0.2.10/2026-09-02-discount-badge-wording.md
diff --git a/changelog/unreleased/2026-09-02-discount-badge-wording.zh.md b/changelog/0.2.10/2026-09-02-discount-badge-wording.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-discount-badge-wording.zh.md
rename to changelog/0.2.10/2026-09-02-discount-badge-wording.zh.md
diff --git a/changelog/unreleased/2026-09-02-dock-floating-launcher.md b/changelog/0.2.10/2026-09-02-dock-floating-launcher.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-dock-floating-launcher.md
rename to changelog/0.2.10/2026-09-02-dock-floating-launcher.md
diff --git a/changelog/unreleased/2026-09-02-dock-floating-launcher.zh.md b/changelog/0.2.10/2026-09-02-dock-floating-launcher.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-dock-floating-launcher.zh.md
rename to changelog/0.2.10/2026-09-02-dock-floating-launcher.zh.md
diff --git a/changelog/unreleased/2026-09-02-doubao-seed-models.md b/changelog/0.2.10/2026-09-02-doubao-seed-models.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-doubao-seed-models.md
rename to changelog/0.2.10/2026-09-02-doubao-seed-models.md
diff --git a/changelog/unreleased/2026-09-02-doubao-seed-models.zh.md b/changelog/0.2.10/2026-09-02-doubao-seed-models.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-doubao-seed-models.zh.md
rename to changelog/0.2.10/2026-09-02-doubao-seed-models.zh.md
diff --git a/changelog/unreleased/2026-09-02-hooks-enable-import-export.md b/changelog/0.2.10/2026-09-02-hooks-enable-import-export.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-hooks-enable-import-export.md
rename to changelog/0.2.10/2026-09-02-hooks-enable-import-export.md
diff --git a/changelog/unreleased/2026-09-02-hooks-enable-import-export.zh.md b/changelog/0.2.10/2026-09-02-hooks-enable-import-export.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-hooks-enable-import-export.zh.md
rename to changelog/0.2.10/2026-09-02-hooks-enable-import-export.zh.md
diff --git a/changelog/unreleased/2026-09-02-read-file-images.md b/changelog/0.2.10/2026-09-02-read-file-images.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-read-file-images.md
rename to changelog/0.2.10/2026-09-02-read-file-images.md
diff --git a/changelog/unreleased/2026-09-02-read-file-images.zh.md b/changelog/0.2.10/2026-09-02-read-file-images.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-read-file-images.zh.md
rename to changelog/0.2.10/2026-09-02-read-file-images.zh.md
diff --git a/changelog/unreleased/2026-09-02-schedule-panel.md b/changelog/0.2.10/2026-09-02-schedule-panel.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-schedule-panel.md
rename to changelog/0.2.10/2026-09-02-schedule-panel.md
diff --git a/changelog/unreleased/2026-09-02-schedule-panel.zh.md b/changelog/0.2.10/2026-09-02-schedule-panel.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-schedule-panel.zh.md
rename to changelog/0.2.10/2026-09-02-schedule-panel.zh.md
diff --git a/changelog/unreleased/2026-09-02-session-background-indicator.md b/changelog/0.2.10/2026-09-02-session-background-indicator.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-session-background-indicator.md
rename to changelog/0.2.10/2026-09-02-session-background-indicator.md
diff --git a/changelog/unreleased/2026-09-02-session-background-indicator.zh.md b/changelog/0.2.10/2026-09-02-session-background-indicator.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-session-background-indicator.zh.md
rename to changelog/0.2.10/2026-09-02-session-background-indicator.zh.md
diff --git a/changelog/unreleased/2026-09-02-terminal-close-shortcut.md b/changelog/0.2.10/2026-09-02-terminal-close-shortcut.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-terminal-close-shortcut.md
rename to changelog/0.2.10/2026-09-02-terminal-close-shortcut.md
diff --git a/changelog/unreleased/2026-09-02-terminal-close-shortcut.zh.md b/changelog/0.2.10/2026-09-02-terminal-close-shortcut.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-terminal-close-shortcut.zh.md
rename to changelog/0.2.10/2026-09-02-terminal-close-shortcut.zh.md
diff --git a/changelog/unreleased/2026-09-02-workspace-tree-editor.md b/changelog/0.2.10/2026-09-02-workspace-tree-editor.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-workspace-tree-editor.md
rename to changelog/0.2.10/2026-09-02-workspace-tree-editor.md
diff --git a/changelog/unreleased/2026-09-02-workspace-tree-editor.zh.md b/changelog/0.2.10/2026-09-02-workspace-tree-editor.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-02-workspace-tree-editor.zh.md
rename to changelog/0.2.10/2026-09-02-workspace-tree-editor.zh.md
diff --git a/changelog/unreleased/2026-09-03-duration-breakdown.md b/changelog/0.2.10/2026-09-03-duration-breakdown.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-duration-breakdown.md
rename to changelog/0.2.10/2026-09-03-duration-breakdown.md
diff --git a/changelog/unreleased/2026-09-03-duration-breakdown.zh.md b/changelog/0.2.10/2026-09-03-duration-breakdown.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-duration-breakdown.zh.md
rename to changelog/0.2.10/2026-09-03-duration-breakdown.zh.md
diff --git a/changelog/unreleased/2026-09-03-gemini-3.8-flash.md b/changelog/0.2.10/2026-09-03-gemini-3.8-flash.md
similarity index 98%
rename from changelog/unreleased/2026-09-03-gemini-3.8-flash.md
rename to changelog/0.2.10/2026-09-03-gemini-3.8-flash.md
index d5dc5dd7..f709285f 100644
--- a/changelog/unreleased/2026-09-03-gemini-3.8-flash.md
+++ b/changelog/0.2.10/2026-09-03-gemini-3.8-flash.md
@@ -1,7 +1,7 @@
# Gemini 3.8 Flash in the preset catalog, and the launch discount on every row that carries it
- **Date:** 2026-09-03
-- **Type:** feat
+- **Type:** feature
- **Scope:** `core`, `docs`, `plugins`
- **PR:** [#603](https://github.com/Prism-Shadow/penguin-harness/pull/603)
diff --git a/changelog/unreleased/2026-09-03-gemini-3.8-flash.zh.md b/changelog/0.2.10/2026-09-03-gemini-3.8-flash.zh.md
similarity index 98%
rename from changelog/unreleased/2026-09-03-gemini-3.8-flash.zh.md
rename to changelog/0.2.10/2026-09-03-gemini-3.8-flash.zh.md
index 4ad08a80..170d318b 100644
--- a/changelog/unreleased/2026-09-03-gemini-3.8-flash.zh.md
+++ b/changelog/0.2.10/2026-09-03-gemini-3.8-flash.zh.md
@@ -1,7 +1,7 @@
# 预置目录收录 Gemini 3.8 Flash,并为每条适用记录声明首发折扣
- **Date:** 2026-09-03
-- **Type:** feat
+- **Type:** feature
- **Scope:** `core`, `docs`, `plugins`
- **PR:** [#603](https://github.com/Prism-Shadow/penguin-harness/pull/603)
diff --git a/changelog/unreleased/2026-09-03-modal-focus-trap.md b/changelog/0.2.10/2026-09-03-modal-focus-trap.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-modal-focus-trap.md
rename to changelog/0.2.10/2026-09-03-modal-focus-trap.md
diff --git a/changelog/unreleased/2026-09-03-modal-focus-trap.zh.md b/changelog/0.2.10/2026-09-03-modal-focus-trap.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-modal-focus-trap.zh.md
rename to changelog/0.2.10/2026-09-03-modal-focus-trap.zh.md
diff --git a/changelog/unreleased/2026-09-03-search-scope-and-dev-instance-rules.md b/changelog/0.2.10/2026-09-03-search-scope-and-dev-instance-rules.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-search-scope-and-dev-instance-rules.md
rename to changelog/0.2.10/2026-09-03-search-scope-and-dev-instance-rules.md
diff --git a/changelog/unreleased/2026-09-03-search-scope-and-dev-instance-rules.zh.md b/changelog/0.2.10/2026-09-03-search-scope-and-dev-instance-rules.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-search-scope-and-dev-instance-rules.zh.md
rename to changelog/0.2.10/2026-09-03-search-scope-and-dev-instance-rules.zh.md
diff --git a/changelog/unreleased/2026-09-03-skill-archive-inflation-bounds.md b/changelog/0.2.10/2026-09-03-skill-archive-inflation-bounds.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-skill-archive-inflation-bounds.md
rename to changelog/0.2.10/2026-09-03-skill-archive-inflation-bounds.md
diff --git a/changelog/unreleased/2026-09-03-skill-archive-inflation-bounds.zh.md b/changelog/0.2.10/2026-09-03-skill-archive-inflation-bounds.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-skill-archive-inflation-bounds.zh.md
rename to changelog/0.2.10/2026-09-03-skill-archive-inflation-bounds.zh.md
diff --git a/changelog/unreleased/2026-09-03-steering-returned-on-interrupt.md b/changelog/0.2.10/2026-09-03-steering-returned-on-interrupt.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-steering-returned-on-interrupt.md
rename to changelog/0.2.10/2026-09-03-steering-returned-on-interrupt.md
diff --git a/changelog/unreleased/2026-09-03-steering-returned-on-interrupt.zh.md b/changelog/0.2.10/2026-09-03-steering-returned-on-interrupt.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-03-steering-returned-on-interrupt.zh.md
rename to changelog/0.2.10/2026-09-03-steering-returned-on-interrupt.zh.md
diff --git a/changelog/unreleased/2026-09-03-vllm-model-group.md b/changelog/0.2.10/2026-09-03-vllm-model-group.md
similarity index 97%
rename from changelog/unreleased/2026-09-03-vllm-model-group.md
rename to changelog/0.2.10/2026-09-03-vllm-model-group.md
index 3b2b7a90..9099fab1 100644
--- a/changelog/unreleased/2026-09-03-vllm-model-group.md
+++ b/changelog/0.2.10/2026-09-03-vllm-model-group.md
@@ -3,6 +3,7 @@
- **Date:** 2026-09-03
- **Type:** feature
- **Scope:** `core`, `server`, `web`, `cli`
+- **PR:** [#606](https://github.com/Prism-Shadow/penguin-harness/pull/606)
[中文版](2026-09-03-vllm-model-group.zh.md)
diff --git a/changelog/unreleased/2026-09-03-vllm-model-group.zh.md b/changelog/0.2.10/2026-09-03-vllm-model-group.zh.md
similarity index 97%
rename from changelog/unreleased/2026-09-03-vllm-model-group.zh.md
rename to changelog/0.2.10/2026-09-03-vllm-model-group.zh.md
index c28bc5b6..fa5aaca1 100644
--- a/changelog/unreleased/2026-09-03-vllm-model-group.zh.md
+++ b/changelog/0.2.10/2026-09-03-vllm-model-group.zh.md
@@ -3,6 +3,7 @@
- **Date:** 2026-09-03
- **Type:** feature
- **Scope:** `core`, `server`, `web`, `cli`
+- **PR:** [#606](https://github.com/Prism-Shadow/penguin-harness/pull/606)
[English](2026-09-03-vllm-model-group.md)
diff --git a/changelog/unreleased/2026-09-04-memory-file-order-locale.md b/changelog/0.2.10/2026-09-04-memory-file-order-locale.md
similarity index 100%
rename from changelog/unreleased/2026-09-04-memory-file-order-locale.md
rename to changelog/0.2.10/2026-09-04-memory-file-order-locale.md
diff --git a/changelog/unreleased/2026-09-04-memory-file-order-locale.zh.md b/changelog/0.2.10/2026-09-04-memory-file-order-locale.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-04-memory-file-order-locale.zh.md
rename to changelog/0.2.10/2026-09-04-memory-file-order-locale.zh.md
diff --git a/changelog/unreleased/2026-09-04-official-docker-image.md b/changelog/0.2.10/2026-09-04-official-docker-image.md
similarity index 100%
rename from changelog/unreleased/2026-09-04-official-docker-image.md
rename to changelog/0.2.10/2026-09-04-official-docker-image.md
diff --git a/changelog/unreleased/2026-09-04-official-docker-image.zh.md b/changelog/0.2.10/2026-09-04-official-docker-image.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-04-official-docker-image.zh.md
rename to changelog/0.2.10/2026-09-04-official-docker-image.zh.md
diff --git a/changelog/unreleased/2026-09-08-deepseek-flash-pricing.md b/changelog/0.2.10/2026-09-08-deepseek-flash-pricing.md
similarity index 100%
rename from changelog/unreleased/2026-09-08-deepseek-flash-pricing.md
rename to changelog/0.2.10/2026-09-08-deepseek-flash-pricing.md
diff --git a/changelog/unreleased/2026-09-08-deepseek-flash-pricing.zh.md b/changelog/0.2.10/2026-09-08-deepseek-flash-pricing.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-08-deepseek-flash-pricing.zh.md
rename to changelog/0.2.10/2026-09-08-deepseek-flash-pricing.zh.md
diff --git a/changelog/unreleased/2026-09-09-agent-cli-on-path.md b/changelog/0.2.10/2026-09-09-agent-cli-on-path.md
similarity index 100%
rename from changelog/unreleased/2026-09-09-agent-cli-on-path.md
rename to changelog/0.2.10/2026-09-09-agent-cli-on-path.md
diff --git a/changelog/unreleased/2026-09-09-agent-cli-on-path.zh.md b/changelog/0.2.10/2026-09-09-agent-cli-on-path.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-09-agent-cli-on-path.zh.md
rename to changelog/0.2.10/2026-09-09-agent-cli-on-path.zh.md
diff --git a/changelog/unreleased/2026-09-09-gpt-6-astra.md b/changelog/0.2.10/2026-09-09-gpt-6-astra.md
similarity index 100%
rename from changelog/unreleased/2026-09-09-gpt-6-astra.md
rename to changelog/0.2.10/2026-09-09-gpt-6-astra.md
diff --git a/changelog/unreleased/2026-09-09-gpt-6-astra.zh.md b/changelog/0.2.10/2026-09-09-gpt-6-astra.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-09-gpt-6-astra.zh.md
rename to changelog/0.2.10/2026-09-09-gpt-6-astra.zh.md
diff --git a/changelog/unreleased/2026-09-10-docker-tags-latest-and-version.md b/changelog/0.2.10/2026-09-10-docker-tags-latest-and-version.md
similarity index 94%
rename from changelog/unreleased/2026-09-10-docker-tags-latest-and-version.md
rename to changelog/0.2.10/2026-09-10-docker-tags-latest-and-version.md
index 6414b459..d95bba1d 100644
--- a/changelog/unreleased/2026-09-10-docker-tags-latest-and-version.md
+++ b/changelog/0.2.10/2026-09-10-docker-tags-latest-and-version.md
@@ -3,7 +3,7 @@
- **Date:** 2026-09-10
- **Type:** fix
- **Scope:** `ci`, `docs`
-- **PR:** [#661](https://github.com/Prism-Shadow/penguin-harness/pull/660)
+- **PR:** [#660](https://github.com/Prism-Shadow/penguin-harness/pull/660)
[中文版](2026-09-10-docker-tags-latest-and-version.zh.md)
diff --git a/changelog/unreleased/2026-09-10-docker-tags-latest-and-version.zh.md b/changelog/0.2.10/2026-09-10-docker-tags-latest-and-version.zh.md
similarity index 93%
rename from changelog/unreleased/2026-09-10-docker-tags-latest-and-version.zh.md
rename to changelog/0.2.10/2026-09-10-docker-tags-latest-and-version.zh.md
index a2c14bb9..cebb70f2 100644
--- a/changelog/unreleased/2026-09-10-docker-tags-latest-and-version.zh.md
+++ b/changelog/0.2.10/2026-09-10-docker-tags-latest-and-version.zh.md
@@ -3,7 +3,7 @@
- **Date:** 2026-09-10
- **Type:** fix
- **Scope:** `ci`, `docs`
-- **PR:** [#661](https://github.com/Prism-Shadow/penguin-harness/pull/660)
+- **PR:** [#660](https://github.com/Prism-Shadow/penguin-harness/pull/660)
[English](2026-09-10-docker-tags-latest-and-version.md)
diff --git a/changelog/unreleased/2026-09-10-history-window-fifty-turns.md b/changelog/0.2.10/2026-09-10-history-window-fifty-turns.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-history-window-fifty-turns.md
rename to changelog/0.2.10/2026-09-10-history-window-fifty-turns.md
diff --git a/changelog/unreleased/2026-09-10-history-window-fifty-turns.zh.md b/changelog/0.2.10/2026-09-10-history-window-fifty-turns.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-history-window-fifty-turns.zh.md
rename to changelog/0.2.10/2026-09-10-history-window-fifty-turns.zh.md
diff --git a/changelog/unreleased/2026-09-10-model-catalog-deepseek-flash.md b/changelog/0.2.10/2026-09-10-model-catalog-deepseek-flash.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-model-catalog-deepseek-flash.md
rename to changelog/0.2.10/2026-09-10-model-catalog-deepseek-flash.md
diff --git a/changelog/unreleased/2026-09-10-model-catalog-deepseek-flash.zh.md b/changelog/0.2.10/2026-09-10-model-catalog-deepseek-flash.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-model-catalog-deepseek-flash.zh.md
rename to changelog/0.2.10/2026-09-10-model-catalog-deepseek-flash.zh.md
diff --git a/changelog/0.2.10/2026-09-10-plugin-version-format.md b/changelog/0.2.10/2026-09-10-plugin-version-format.md
new file mode 100644
index 00000000..3839c227
--- /dev/null
+++ b/changelog/0.2.10/2026-09-10-plugin-version-format.md
@@ -0,0 +1,42 @@
+# Plugin versions are spelled `2026.09.10.1`
+
+- **Date:** 2026-09-10
+- **Type:** refactor
+- **Scope:** `core`, `server`, `web`, `plugins`, `docs`
+- **PR:** [#666](https://github.com/Prism-Shadow/penguin-harness/pull/666)
+
+[中文版](2026-09-10-plugin-version-format.zh.md)
+
+A plugin's dated version — the one `plugin.json` declares and the library card shows — is now
+written `YYYY.MM.DD.N`, dots throughout instead of dashes: `2026.09.10.1` where it read
+`2026-09-10.1`. The date and the sequence number are unchanged, and so is everything the version
+means; only the spelling moved. This is the plugin's own content version and is unrelated to the
+npm version of its package, which follows the release.
+
+## The format
+
+- `PLUGIN_VERSION_PATTERN` is `/^\d{4}\.\d{2}\.\d{2}\.\d+$/`, and a library `plugin.json` must
+ match it: the manifest check now rejects anything else with `version must be YYYY.MM.DD.N`.
+- All twelve built-in manifests were rewritten in place, each keeping its date and sequence
+ number (`2026-07-20.1` → `2026.07.20.1`). `continual-learning` additionally moves to
+ `2026.09.10.1`, a real content bump: its stop-hook prompt now asks the agent to bump a
+ SKILL.md version in the new format.
+- Installs are unchanged in kind — the loader stamps the plugin's version string into each
+ installed `SKILL.md` frontmatter and into the generated `hooks.json` exactly as it stands.
+- The zip export filename suffix stays `-v<version>`: `penguin-sdk-v2026.09.10.1.zip`.
+
+## Reading both spellings
+
+`parsePluginVersion(version): { date: string; seq: number } | null` reads either spelling into
+the date and sequence number both denote, and `comparePluginVersions` is built on it, so
+`2026-09-02.1` and `2026.09.02.1` compare equal. Frontmatter and manifest parsing of installed
+copies accepts both; only the library's own manifests are held to the new spelling. What that
+buys and when the legacy arm can be deleted is in
+[`2026-09-02-backward-compatibility`](2026-09-02-backward-compatibility.md).
+
+## Copy that spells the format out
+
+The plugin card's metadata line still prints the version behind a display `v` and reads the
+relative date off the new form. The hook-import prompt tail asks the agent for a `hooks.json`
+`version` in the `YYYY.MM.DD.N` format, identically in both dictionaries, and the plugin
+documentation's `version` row, comparison example and manifest samples moved with it.
diff --git a/changelog/0.2.10/2026-09-10-plugin-version-format.zh.md b/changelog/0.2.10/2026-09-10-plugin-version-format.zh.md
new file mode 100644
index 00000000..1b004d88
--- /dev/null
+++ b/changelog/0.2.10/2026-09-10-plugin-version-format.zh.md
@@ -0,0 +1,37 @@
+# 插件版本改写作 `2026.09.10.1`
+
+- **Date:** 2026-09-10
+- **Type:** refactor
+- **Scope:** `core`, `server`, `web`, `plugins`, `docs`
+- **PR:** [#666](https://github.com/Prism-Shadow/penguin-harness/pull/666)
+
+[English](2026-09-10-plugin-version-format.md)
+
+插件的日期版本——`plugin.json` 声明、插件库卡片展示的那个——改写作 `YYYY.MM.DD.N`:分隔一律
+用点,不再用短横线,原先的 `2026-09-10.1` 现在写作 `2026.09.10.1`。日期与序号不变,版本的含义也不变,
+变的只是写法。它是插件自身的内容版本,与该插件包跟随发行版本的 npm 版本无关。
+
+## 格式
+
+- `PLUGIN_VERSION_PATTERN` 为 `/^\d{4}\.\d{2}\.\d{2}\.\d+$/`,库内 `plugin.json` 必须匹配它:
+ 清单校验对其余形式报 `version must be YYYY.MM.DD.N`。
+- 十二份内置清单就地改写,各自保留原有的日期与序号(`2026-07-20.1` → `2026.07.20.1`)。
+ `continual-learning` 另行升至 `2026.09.10.1`,那是一次真实的内容变更:它的 stop hook 提示词
+ 现在要求 Agent 按新格式提升 SKILL.md 的版本。
+- 安装口径不变:loader 把插件的版本字符串原样盖章进各已装 `SKILL.md` 的 frontmatter 与生成的
+ `hooks.json`。
+- zip 导出的文件名后缀仍为 `-v<版本>`:`penguin-sdk-v2026.09.10.1.zip`。
+
+## 两种写法都读
+
+`parsePluginVersion(version): { date: string; seq: number } | null` 把两种写法解析成它们共同表示
+的日期与序号,`comparePluginVersions` 建立在它之上,因此 `2026-09-02.1` 与 `2026.09.02.1` 比较
+相等。已装副本的 frontmatter 与清单解析两种写法都收;只有库内清单被要求使用新写法。这样做换来了
+什么、旧写法分支何时可以删除,见
+[`2026-09-02-backward-compatibility`](2026-09-02-backward-compatibility.zh.md)。
+
+## 说明该格式的文案
+
+插件卡片的元信息行照旧在版本前显示一个 `v`,相对日期改按新写法解析。钩子导入提示词的固定尾段
+要求 Agent 产出的 `hooks.json` 的 `version` 使用 `YYYY.MM.DD.N` 格式,中英两份词典一致;插件文档
+中的 `version` 行、版本比较示例与清单样例也随之更新。
diff --git a/changelog/unreleased/2026-09-10-sidebar-workspace-groups-complete.md b/changelog/0.2.10/2026-09-10-sidebar-workspace-groups-complete.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-sidebar-workspace-groups-complete.md
rename to changelog/0.2.10/2026-09-10-sidebar-workspace-groups-complete.md
diff --git a/changelog/unreleased/2026-09-10-sidebar-workspace-groups-complete.zh.md b/changelog/0.2.10/2026-09-10-sidebar-workspace-groups-complete.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-sidebar-workspace-groups-complete.zh.md
rename to changelog/0.2.10/2026-09-10-sidebar-workspace-groups-complete.zh.md
diff --git a/changelog/unreleased/2026-09-10-tool-argument-guidance.md b/changelog/0.2.10/2026-09-10-tool-argument-guidance.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-tool-argument-guidance.md
rename to changelog/0.2.10/2026-09-10-tool-argument-guidance.md
diff --git a/changelog/unreleased/2026-09-10-tool-argument-guidance.zh.md b/changelog/0.2.10/2026-09-10-tool-argument-guidance.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-tool-argument-guidance.zh.md
rename to changelog/0.2.10/2026-09-10-tool-argument-guidance.zh.md
diff --git a/changelog/unreleased/2026-09-10-trace-panel-tiered-cost.md b/changelog/0.2.10/2026-09-10-trace-panel-tiered-cost.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-trace-panel-tiered-cost.md
rename to changelog/0.2.10/2026-09-10-trace-panel-tiered-cost.md
diff --git a/changelog/unreleased/2026-09-10-trace-panel-tiered-cost.zh.md b/changelog/0.2.10/2026-09-10-trace-panel-tiered-cost.zh.md
similarity index 100%
rename from changelog/unreleased/2026-09-10-trace-panel-tiered-cost.zh.md
rename to changelog/0.2.10/2026-09-10-trace-panel-tiered-cost.zh.md
diff --git a/changelog/0.2.10/RELEASE.md b/changelog/0.2.10/RELEASE.md
new file mode 100644
index 00000000..3c9609a9
--- /dev/null
+++ b/changelog/0.2.10/RELEASE.md
@@ -0,0 +1,119 @@
+PenguinHarness 0.2.10 — the release where the conversation grows a workbench. A Files panel browses and edits the Workspace in place, the context ring measures against the point compaction actually fires and its threshold becomes a cutter you drag, scheduled tasks live in the dock beside the chat, and a shortcuts ball on the conversation's right edge fans the whole workbench open. Hooks became a capability of the loop itself, with goal mode and continual learning shipping as installable plugins; a shared Create with AI kit puts an agent behind the app's creation forms; an official Docker image makes a server one `docker run`; and DeepSeek V4.1 Flash is the model a new Project starts on.
+
+## Install
+
+**Desktop app**: grab your platform's installer from [penguin.ooo/download](https://penguin.ooo/download) — the page measures both sources on every visit and keeps GitHub unless the OSS mirror is measurably faster, with a manual selector beside the result. The macOS builds are Developer ID signed and notarized and the Windows installers are Authenticode-signed, so neither platform needs a first-launch unblock.
+
+CLI / server (Linux, macOS; bundled Node runtime):
+
+```sh
+curl -fsSL https://penguin.ooo/install.sh | sh
+penguin web
+```
+
+Windows (PowerShell):
+
+```powershell
+irm https://penguin.ooo/install.ps1 | iex
+penguin web
+```
+
+Or via npm (needs Node >= 24):
+
+```sh
+npm install -g @prismshadow/penguin-cli
+```
+
+Or the official Docker image (`linux/amd64` and `linux/arm64`):
+
+```sh
+docker run -d --name penguin -p 127.0.0.1:7364:7364 -v penguin-data:/data hiyouga/penguinharness:latest
+```
+
+`latest` follows `main` and is rebuilt on every push, `0.2.10` is this release built from its own tag, and the example publishes the port on the host's loopback, so a fresh deployment answers only on the machine running Docker.
+
+## Highlights
+
+**The Workspace is a two-pane file browser you can type into.** The Files panel now adds a lazy-loaded, arrow-key-navigable, filterable directory tree beside the preview, with a draggable divider that remembers its width and a toolbar toggle. Text files open in a monospace editor with a Wrap toggle and Ctrl+S. Saves are version-checked with ETags; if the Agent changed the file during the turn, the panel reports `409`, names the file, and lets you keep your draft either way. Dropping OS files onto the panel uploads them into the directory under the pointer. Drafts survive Session switches, a collapsed dock, and hidden tabs; only closing the panel outright asks.
+
+![The Files panel: a directory tree on the left beside an open file in the plain-text editor on the right](https://raw.githubusercontent.com/Prism-Shadow/penguin-harness-community/main/releases/0.2.10/files-panel.png)
+
+**The context ring measures against compaction, and its threshold is a control.** The composer's ring now fills against the conversation's actual compaction threshold, not the model's full window — so 64k against a 128k threshold reads 50%, not 6%. The panel bar keeps the full window as its scale and marks the trigger with a draggable dashed cutter; moving it sets that Agent's compaction threshold immediately, and the value is re-read at every compaction checkpoint. The panel also ranks the top five files by `read_file` / `edit_file` / `write_file` context traffic. Every model context is assembled whole from current Agent State under strict, soft, and unrestricted tiers.
+
+![The context panel: a bar scaled to the model window with a draggable compaction cutter, and the Top 5 files view](https://raw.githubusercontent.com/Prism-Shadow/penguin-harness-community/main/releases/0.2.10/context-panel.png)
+
+**A shortcuts ball on the edge of the conversation.** When no dock surface is up, a translucent round button floats inside the right edge under a "Shortcuts" caption. Clicking fans entries onto a semicircular ring — dock panels plus a terminal, glyphs only, with names read by the caption. Picking one opens that panel and hides the ball. The ball drags along the edge, remembers its place, shows the pending-approval dot, and its last entry dismisses it permanently; an Appearance setting brings it back.
+
+![The shortcuts ball on the conversation's right edge, fanned open into a semicircular ring of panel entries](https://raw.githubusercontent.com/Prism-Shadow/penguin-harness-community/main/releases/0.2.10/shortcuts-launcher.png)
+
+**Scheduled tasks moved into the conversation.** A new dock panel lists tasks bound to the current Session with search, state filters, plain-language schedule lines, enable switches, owner edit/delete, and suggestions. Its header has **Create with AI**, which pre-fills the composer without sending, and **Create manually**. A Session with a scheduled task still to fire wears an alarm clock on its sidebar row. Tasks fire on the scheduler clock; saving a task no longer claims it takes effect in a new conversation.
+
+![The scheduled-tasks panel in the dock with its Create with AI and Create manually buttons, and a sidebar session row wearing an alarm clock](https://raw.githubusercontent.com/Prism-Shadow/penguin-harness-community/main/releases/0.2.10/schedule-panel.png)
+
+**Hooks are a capability of the loop, and goal mode is a plugin.** Core codes the hook *points* — **stop**, **pre_tool_use**, **user_prompt** — while hooks arrive as packages: Node scripts installed into `agent_state/hooks/`. Goal mode left core and became the `goal` plugin's stop hook; a `continual-learning` package sends long-task findings to a background subagent. The skill library is now a **plugin library** with one npm package per plugin, dated versions, and a detail Modal with a file browser. Agent settings gained a **Hooks** tab with an enable switch, zip export/import, and a chat import dialog shaped like the Skills tab's.
+
+![The Agent settings Hooks tab: the enable-switch card, a package row with hook-point chips, and the import dialog entry](https://raw.githubusercontent.com/Prism-Shadow/penguin-harness-community/main/releases/0.2.10/hooks-tab.png)
+
+**Create with AI, as a kit.** Every object the Web App creates from a form is getting a second path. This release ships the shared machinery: the **Create with AI** button beside **Create manually**, a prompt panel with examples and full-prompt preview, and a dialog that hands the composed prompt to the Project's default agent as a prefilled draft. The only way out is **Edit in a new conversation**, and nothing is ever sent automatically. Skills import-via-chat, Memory add/edit, and Schedule already use it.
+
+![A page header's Create with AI and Create manually button pair, with the Create with AI dialog open over it](https://raw.githubusercontent.com/Prism-Shadow/penguin-harness-community/main/releases/0.2.10/create-with-ai.png)
+
+**A server on another machine, two ways.** An official container image `hiyouga/penguinharness` is available for `linux/amd64` and `linux/arm64`, running `penguin server` on `0.0.0.0:7364` with a `/data` volume, unprivileged under `tini`. Tags are `latest` from `main` and `X.Y.Z` from releases. A Docker quickstart covers first sign-in, upgrading by tag, reverse proxies, and forgotten-password rescue. The **Machines** family moved into `web.db` and now belongs to a Project; each machine mints a 16-character id and answers `penguin server status` / `penguin server stop` over ssh. All server-to-machine traffic rides one held `ssh -T -D` session per machine. A connected machine's API answers same-origin at `/server/<machineId>/api/…`; connecting a machine hands it the Model credentials of Projects that use it. A machine already on this release with different pushed state hot-updates over its own channel, with Restart as a control.
+
+**The model catalog moved a long way.** DeepSeek V4.1 Flash (`deepseek-flash`) is now the default for new Projects: 1,000,000-token window, image input, peak CNY 0.04/2/8 per million tokens and half that off-peak, with TokenDance and OpenRouter rows. Gemini 3.8 Flash joined directly and on OpenRouter; Gemini 3.x Flash rows now store list prices and declare Google's launch discount rather than baking it in, correcting two misbilled rows. GPT-6 Astra joined direct and on OpenRouter, Doubao Seed joined TokenDance, and a new **vLLM** group covers eight self-hosted models with thinking switches, zero price, no base URL, and pinned protocol.
+
+**A rejected tool call explains how to fix itself.** `exec_command` now accepts either `cmd` or `command`. Every built-in tool that rejects a call for its arguments now returns a correction guide: the fault, received argument names, undeclared arguments, schema parameters, and the shape of a correct call. Separately, `read_image` and `describe_image` folded into `read_file`: image files or HTTP(S) URLs return image content when the Session model reads images, otherwise the Project's vision model answers with an optional `prompt`.
+
+## Notable in this release
+
+- **What upgrading asks of you: one restart for one kind of user, and two clicks.** This release has the first restart-only schema migration (`drop-goal-state`): hot-pushes are refused before touching the database; normal installs apply it at open. Two clicks worth doing: install the `goal` plugin once on pre-release Agents, otherwise goal mode returns `409 goal_plugin_not_installed`, and update the kernel to `2026-09-10` so Agents are told to use `read_file` for images — until then, stale `read_image` / `describe_image` calls get the unknown-tool reply and image reads run under the stored 30s timeout. Scripts change `skills` / `--skills` to `plugins` / `--plugins`. API clients: `GET …/usage` no longer returns `errors.clearable`; `DELETE …/usage/errors` requires both date bounds; `POST /api/version/update` returns a job status; machines routes moved under a Project, so 0.2.9 machine lists start empty. Downgrading to 0.2.9 still works. See [`2026-09-02-backward-compatibility`](2026-09-02-backward-compatibility.md) and [`2026-09-02-backward-compatibility-read-file-images`](2026-09-02-backward-compatibility-read-file-images.md).
+
+- **Updating runs through one dialog** — check, release notes, **Download and update**, a real progress bar with **Continue in background**, then **Restart and update**. Server self-update is a supervised background job; the desktop shell no longer downloads on its own.
+
+- **A slow turn says what it was waiting on.** Chat header details and Trace show `Elapsed 10.3s (API 5s, tools 5.3s)`; API time excludes approval wait, and tool time counts overlapping tool intervals once.
+
+- **The sidebar says which conversations still have something running.** Sessions with dev servers or background subagents show an activity trace; the chat header shows a matching pill. Both follow a live `session_background` event. The same mark appears on `run_in_background` tool rows.
+
+- **A compaction shows its work.** The compaction row reports status and wall time, and streams thinking and summary into separate disclosure rows with timing.
+
+- **An LLM request times out on silence, not on length.** `model.timeoutMs` is an idle budget between upstream events, defaulted to 300000. Requests now ask for thought summaries, and the retry ladder resets after any received content, capped at 20 attempts per turn.
+
+- **A queued steering message survives an interrupt.** Undelivered steered text returns to the composer with its images and attachments; reload restores it too.
+
+- **The sidebar lists every Workspace** — built from server per-Workspace counts, not only conversations touched by recent pages, with each group's first page fetched lazily.
+
+- **The Trace panel prices each request at the tier it ran in**, so Trace totals match the toolbar and cost center for the same requests.
+
+- **An Agent's `penguin` is the harness running it.** The server writes a launcher into `<root>/bin/penguin` and puts that directory first on PATH for every spawned command.
+
+- **Clearing error records names its range** and removes exactly the rows listed; presets narrow, and admin clear includes unattributed rows.
+
+- **Terminals behave like terminals.** Hyperlinks open by position after redraws; OSC 52 copy reaches the system clipboard; Ctrl+W closes the focused terminal after confirmation.
+
+- **Copy Session ID** is an action on the Session row itself — ellipsis or right-click — placed between archive and delete.
+
+- **Every dialog holds keyboard focus and hands it back.** Modal traps Tab and Shift+Tab, restores focus on every close path, and carries `role="dialog"` with a name from its own heading.
+
+- **The frontend is compressed on the way out** — brotli or gzip negotiated per request, ETag-cached, `Vary` sent. Current bundle: 1229 KB → 329 KB.
+
+- **Schema changes are ordered migrations** stamped into `PRAGMA user_version`; hot-push applies only `swapSafe` migrations and refuses the rest before touching the database.
+
+- **Memory files keep one order whatever locale the server runs under** — the topic-file comparator no longer follows the process locale.
+
+- **The discount badge says what it means**: `50% off` / `省 50%`, not bare `-50%`. Sidebar marks were corrected in the same spirit — history, Agent robot, model brain, Project members — and the Agents-page update notice keeps its distance.
+
+- **The landing page** alternates "auto-dev" and "auto-tuning" (自动开发 / 自动调优), and draws the app's own Agent glyph, pinned by a test that fails when only one of the two moves.
+
+- **The docs gained a Security Model page** organized by user scenarios in order, ending on leak response: a leaked data-root backup is a credential-rotation incident for model keys, not a forged-session incident.
+
+- **Plugin versions read `2026.09.10.1`.** The dated version in a plugin's manifest is spelled with dots throughout instead of dashes; a copy installed under the old `2026-09-10.1` spelling is read as the same version, so nothing is reported as needing an update over the rename.
+
+- **A conversation opens on its latest 50 turns** instead of the whole transcript; earlier turns load as you scroll up, so a long Session no longer stalls on open.
+
+- **Under the hood**: the CI runtime artifact now carries the Web App; the server verifies its web dist; skill-archive caps are enforced from the zip central directory; terminal tests kill shells between runs; the default system prompt searches from `CWD` down; and AgentHub moved to 0.4.11, enabling readable large screenshots on GPT-5.6, the vLLM adapter, and `gpt-6-astra` routing.
+
+## Requirements
+
+Linux or macOS (x64 / arm64), or Windows 10+ (x64). The desktop app and the CLI installers bundle their own runtime; installing from npm needs Node >= 24, or the official Docker image, which carries its own. All data stays under `~/.penguin/data` — the `/data` volume in the container.
+
+Full detail: [changelog/0.2.10/](https://github.com/Prism-Shadow/penguin-harness/tree/main/changelog/0.2.10).
diff --git a/package.json b/package.json
index d83eecfd..427a4f9f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "penguin-harness",
- "version": "0.2.9",
+ "version": "0.2.10",
"private": true,
"type": "module",
"description": "PenguinHarness \u2014 TypeScript AI Agent (SDK + CLI).",
diff --git a/packages/cli/package.json b/packages/cli/package.json
index acbaa472..2205e0a8 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@prismshadow/penguin-cli",
- "version": "0.2.9",
+ "version": "0.2.10",
"type": "module",
"description": "PenguinHarness CLI: interactive REPL and single-task runner over @prismshadow/penguin-core.",
"license": "Apache-2.0",
diff --git a/packages/core/package.json b/packages/core/package.json
index 8333920e..df213a1f 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@prismshadow/penguin-core",
- "version": "0.2.9",
+ "version": "0.2.10",
"type": "module",
"engines": {
"node": ">=24"
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index 03d78abb..0bf13d03 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -81,7 +81,7 @@ export type {
} from "./agent.js";
/** SDK version number. */
-export const VERSION = "0.2.9";
+export const VERSION = "0.2.10";
/** Release build date (UTC yyyy-mm-dd), stamped by the release workflow next to VERSION; null in a dev/source build. */
export const BUILD_DATE: string | null = null;
/** Full commit sha the release was built from, stamped by the release workflow next to VERSION; null in a dev/source build. */
diff --git a/packages/core/src/plugins/index.ts b/packages/core/src/plugins/index.ts
index 0027ffd7..57119817 100644
--- a/packages/core/src/plugins/index.ts
+++ b/packages/core/src/plugins/index.ts
@@ -15,8 +15,8 @@
* path — never a silently smaller library. Only the category manifest (id and titles) is
* code; install / uninstall / scan live in core's state layer.
*
- * Versions are dates with a sequence number, `YYYY-MM-DD.N` (see PLUGIN_VERSION_PATTERN and
- * comparePluginVersions). plugin.json is the single metadata holder: a library SKILL.md's frontmatter
+ * Versions are dates with a sequence number, `YYYY.MM.DD.N` (see PLUGIN_VERSION_PATTERN,
+ * parsePluginVersion and comparePluginVersions). plugin.json is the single metadata holder: a library SKILL.md's frontmatter
* carries only `name` and `description`, and the loader stamps the plugin's version and UI short
* descriptions into each skill's metadata and installable content (the installed copy carries the
* full frontmatter, generated — the way hooks.json is).
@@ -39,7 +39,7 @@ export interface SkillMetadata {
shortDescription?: string;
/** Chinese short description (frontmatter `short_description_zh`, optional). */
shortDescriptionZh?: string;
- /** Version, `YYYY-MM-DD.N`; an absent or malformed frontmatter version reads as "" (older than any real version). */
+ /** Version, `YYYY.MM.DD.N` (an installed copy may still carry the legacy `YYYY-MM-DD.N`); an absent or malformed frontmatter version reads as "" (older than any real version). */
version: string;
}
@@ -103,7 +103,7 @@ export interface LibraryPlugin {
/** UI short descriptions (plugin.json `short_description(_zh)`, optional). */
shortDescription?: string;
shortDescriptionZh?: string;
- /** `YYYY-MM-DD.N`. */
+ /** `YYYY.MM.DD.N`. */
version: string;
/** Category id (see PLUGIN_CATEGORIES); absent or unknown → the "other" group. */
category?: string;
@@ -130,30 +130,49 @@ export interface ResolvedPluginGroup extends PluginCategory {
/** Character rule for plugin, skill and hook names (directory names): prevents path traversal (exported for the server's archive-install validation). */
export const PLUGIN_NAME_PATTERN = /^[A-Za-z0-9_-]+$/;
-/** Version format: an ISO date and a sequence number, e.g. `2026-08-29.1`. */
-export const PLUGIN_VERSION_PATTERN = /^\d{4}-\d{2}-\d{2}\.\d+$/;
+/** Version format: a dotted date and a sequence number, e.g. `2026.08.29.1`. What a library manifest must carry. */
+export const PLUGIN_VERSION_PATTERN = /^\d{4}\.\d{2}\.\d{2}\.\d+$/;
+
+/** The spelling used before this format, `2026-08-29.1`: still read wherever an installed copy carries it (see parsePluginVersion). */
+const LEGACY_PLUGIN_VERSION_PATTERN = /^\d{4}-\d{2}-\d{2}\.\d+$/;
+
+/**
+ * Reads either spelling of a version — the current `YYYY.MM.DD.N` and the legacy
+ * `YYYY-MM-DD.N` — into the date and sequence number both denote, or null when the string is
+ * not a version at all. The two spellings of one version parse to the same key, so a copy
+ * installed before the rename compares equal to the library's copy of that same version:
+ * installed copies predate the rename, and reinstalling every one of them over a spelling
+ * would put noise in the update badges instead of information.
+ */
+export function parsePluginVersion(version: string): { date: string; seq: number } | null {
+ if (!PLUGIN_VERSION_PATTERN.test(version) && !LEGACY_PLUGIN_VERSION_PATTERN.test(version)) {
+ return null;
+ }
+ const dot = version.lastIndexOf(".");
+ return { date: version.slice(0, dot).replace(/-/g, "."), seq: Number(version.slice(dot + 1)) };
+}
/**
- * Orders two versions: by date, then by sequence number (numeric, so `.10` follows `.9`). A
- * string that is not a version (the empty string an unversioned install reads as, a legacy
- * natural number) sorts before every real version, so anything in the library counts as newer.
+ * Orders two versions: by date, then by sequence number (numeric, so `.10` follows `.9`). Both
+ * spellings are read (see parsePluginVersion), so the legacy and current spellings of one
+ * version compare equal. A string that is not a version (the empty string an unversioned
+ * install reads as, a legacy natural number) sorts before every real version, so anything in
+ * the library counts as newer.
*/
export function comparePluginVersions(a: string, b: string): number {
- const va = PLUGIN_VERSION_PATTERN.test(a);
- const vb = PLUGIN_VERSION_PATTERN.test(b);
- if (!va || !vb) return Number(va) - Number(vb);
- const [da, na] = a.split(".");
- const [db, nb] = b.split(".");
- if (da !== db) return da! < db! ? -1 : 1;
- return Number(na) - Number(nb);
+ const va = parsePluginVersion(a);
+ const vb = parsePluginVersion(b);
+ if (!va || !vb) return Number(va !== null) - Number(vb !== null);
+ if (va.date !== vb.date) return va.date < vb.date ? -1 : 1;
+ return va.seq - vb.seq;
}
/**
* Parses the frontmatter at the start of SKILL.md: only recognizes `key: value` lines inside the
* first `---` block (split on the first colon, value trimmed, values may themselves contain colons);
* all fields are scalars, no YAML dependency needed.
- * Error tolerance: returns null if the `---` block or name is missing; a version that is not
- * `YYYY-MM-DD.N` reads as "".
+ * Error tolerance: returns null if the `---` block or name is missing; a version in neither the
+ * current `YYYY.MM.DD.N` nor the legacy `YYYY-MM-DD.N` spelling reads as "".
*/
export function parseSkillFrontmatter(content: string): SkillMetadata | null {
// Strip a possible UTF-8 BOM (may be introduced by editors when manually editing an installed SKILL.md); CRLF is handled by \r?\n.
@@ -177,7 +196,8 @@ export function parseSkillFrontmatter(content: string): SkillMetadata | null {
// short_description(_zh) is optional: omitted when absent (undefined keys aren't set).
...(shortDescription !== undefined ? { shortDescription } : {}),
...(shortDescriptionZh !== undefined ? { shortDescriptionZh } : {}),
- version: PLUGIN_VERSION_PATTERN.test(version) ? version : "",
+ // An installed copy may carry either spelling; both are real versions (see parsePluginVersion).
+ version: parsePluginVersion(version) !== null ? version : "",
};
}
@@ -313,7 +333,7 @@ interface PluginManifestFile {
description_zh?: string;
short_description?: string;
short_description_zh?: string;
- /** `YYYY-MM-DD.N`. */
+ /** `YYYY.MM.DD.N` — the library's manifests carry the current spelling only. */
version: string;
category?: string;
/** Default true. */
@@ -331,7 +351,7 @@ function readPluginDir(name: string, dir: string): LibraryPlugin {
const manifestFile = path.join(dir, "plugin.json");
const manifest = JSON.parse(fs.readFileSync(manifestFile, "utf8")) as PluginManifestFile;
if (!PLUGIN_VERSION_PATTERN.test(manifest.version)) {
- throw new Error(`${manifestFile}: version must be YYYY-MM-DD.N, got ${manifest.version}`);
+ throw new Error(`${manifestFile}: version must be YYYY.MM.DD.N, got ${manifest.version}`);
}
const {
description,
diff --git a/packages/core/test/agent-skills.test.ts b/packages/core/test/agent-skills.test.ts
index adca0680..94430c58 100644
--- a/packages/core/test/agent-skills.test.ts
+++ b/packages/core/test/agent-skills.test.ts
@@ -53,12 +53,12 @@ describe("installSkill / removeSkill", () => {
// Content without a trailing newline gets one appended; reinstalling overwrites.
await install(
"penguin-config",
- "---\nname: penguin-config\nversion: 2026-08-01.2\n---\n\nNew body",
+ "---\nname: penguin-config\nversion: 2026.08.01.2\n---\n\nNew body",
);
expect(await fs.readFile(skillMd("penguin-config"), "utf8")).toBe(
- "---\nname: penguin-config\nversion: 2026-08-01.2\n---\n\nNew body\n",
+ "---\nname: penguin-config\nversion: 2026.08.01.2\n---\n\nNew body\n",
);
- expect((await list()).map((s) => s.version)).toEqual(["2026-08-01.2"]);
+ expect((await list()).map((s) => s.version)).toEqual(["2026.08.01.2"]);
});
it("writes an install's icon.svg alongside SKILL.md, and reinstalling without one removes it", async () => {
@@ -144,15 +144,15 @@ describe("listInstalledSkills", () => {
it("parses frontmatter and sorts by name", async () => {
await install(
"zeta",
- "---\nname: zeta\ndescription: Z skill.\nversion: 2026-07-16.3\n---\n\nBody\n",
+ "---\nname: zeta\ndescription: Z skill.\nversion: 2026.07.16.3\n---\n\nBody\n",
);
await install(
"alpha",
- "---\nname: alpha\ndescription: A skill.\nversion: 2026-07-16.1\n---\n\nBody\n",
+ "---\nname: alpha\ndescription: A skill.\nversion: 2026.07.16.1\n---\n\nBody\n",
);
expect(await list()).toEqual([
- { name: "alpha", description: "A skill.", version: "2026-07-16.1" },
- { name: "zeta", description: "Z skill.", version: "2026-07-16.3" },
+ { name: "alpha", description: "A skill.", version: "2026.07.16.1" },
+ { name: "zeta", description: "Z skill.", version: "2026.07.16.3" },
]);
});
@@ -160,22 +160,22 @@ describe("listInstalledSkills", () => {
const icon = '<svg viewBox="0 0 24 24"><path d="M4 4h16" /></svg>\n';
await install(
"with-extras",
- "---\nname: with-extras\ndescription: Long description here.\nshort_description: Short one.\nshort_description_zh: 短描述。\nversion: 2026-07-17.1\n---\n\nBody\n",
+ "---\nname: with-extras\ndescription: Long description here.\nshort_description: Short one.\nshort_description_zh: 短描述。\nversion: 2026.07.17.1\n---\n\nBody\n",
icon,
);
await install(
"plain",
- "---\nname: plain\ndescription: Plain skill.\nversion: 2026-07-17.1\n---\n\nBody\n",
+ "---\nname: plain\ndescription: Plain skill.\nversion: 2026.07.17.1\n---\n\nBody\n",
);
const skills = await list();
expect(skills).toEqual([
- { name: "plain", description: "Plain skill.", version: "2026-07-17.1" },
+ { name: "plain", description: "Plain skill.", version: "2026.07.17.1" },
{
name: "with-extras",
description: "Long description here.",
shortDescription: "Short one.",
shortDescriptionZh: "短描述。",
- version: "2026-07-17.1",
+ version: "2026.07.17.1",
icon,
},
]);
@@ -191,10 +191,10 @@ describe("listInstalledSkills", () => {
// and Prompt lookup, so the listing must follow it (frontmatter fields are display-only).
await install(
"local-name",
- "---\nname: upstream-name\ndescription: Fetched skill.\nversion: 2026-07-01.2\n---\n\nBody\n",
+ "---\nname: upstream-name\ndescription: Fetched skill.\nversion: 2026.07.01.2\n---\n\nBody\n",
);
expect(await list()).toEqual([
- { name: "local-name", description: "Fetched skill.", version: "2026-07-01.2" },
+ { name: "local-name", description: "Fetched skill.", version: "2026.07.01.2" },
]);
});
@@ -222,7 +222,7 @@ describe("skillMetadataSection / assembleSystemPrompt injection", () => {
expect(skillMetadataSection([])).toBe("");
expect(
skillMetadataSection([
- { name: "a", description: "Does A.", version: "2026-07-16.1" },
+ { name: "a", description: "Does A.", version: "2026.07.16.1" },
{ name: "b", description: "", version: "" },
]),
).toBe("- `a` — Does A.\n- `b`");
@@ -242,7 +242,7 @@ describe("skillMetadataSection / assembleSystemPrompt injection", () => {
agentsMd: "# Agent Rules",
};
const prompt = assembleSystemPrompt(state, undefined, undefined, [
- { name: "demo", description: "Demo skill.", version: "2026-07-16.1" },
+ { name: "demo", description: "Demo skill.", version: "2026.07.16.1" },
]);
expect(prompt).toBe(["before", "# Agent Rules", "- `demo` — Demo skill.", "after"].join("\n"));
// Not provided / empty list: the placeholder is replaced with an empty string, no residue left.
diff --git a/packages/core/test/agent.test.ts b/packages/core/test/agent.test.ts
index 7ed31913..1253359f 100644
--- a/packages/core/test/agent.test.ts
+++ b/packages/core/test/agent.test.ts
@@ -843,7 +843,7 @@ describe("Agent.createSession skill metadata injection", () => {
await installSkill(tmpRoot, DEFAULT_PROJECT_ID, DEFAULT_AGENT_ID, {
name: "demo-skill",
content:
- "---\nname: demo-skill\ndescription: Demo skill for tests.\nversion: 2026-07-16.1\n---\n\nSKILL_BODY_NOT_IN_PROMPT\n",
+ "---\nname: demo-skill\ndescription: Demo skill for tests.\nversion: 2026.07.16.1\n---\n\nSKILL_BODY_NOT_IN_PROMPT\n",
});
const agent = await createAgent();
const ws = path.join(tmpRoot, "ws-skills");
diff --git a/packages/core/test/continual-learning-hook.test.ts b/packages/core/test/continual-learning-hook.test.ts
index d0bfd40d..1a15b113 100644
--- a/packages/core/test/continual-learning-hook.test.ts
+++ b/packages/core/test/continual-learning-hook.test.ts
@@ -116,7 +116,7 @@ describe("continual-learning stop.mjs", () => {
expect(prompt).toContain("[tool_output c2 · fatal] boom");
expect(prompt).toContain("[user] skip the tests");
expect(prompt).not.toContain("[use_skills]");
- expect(prompt).toContain("YYYY-MM-DD.N");
+ expect(prompt).toContain("YYYY.MM.DD.N");
});
it("windows per task: a new input resets the count, and it never fires without skills", async () => {
diff --git a/packages/core/test/hook-packages.test.ts b/packages/core/test/hook-packages.test.ts
index 599e762e..aec338da 100644
--- a/packages/core/test/hook-packages.test.ts
+++ b/packages/core/test/hook-packages.test.ts
@@ -42,7 +42,7 @@ afterEach(async () => {
const MANIFEST: HookManifest = {
name: "expander",
description: "Answers at the user_prompt point.",
- version: "2026-09-02.1",
+ version: "2026.09.02.1",
stop: [],
pre_tool_use: [],
user_prompt: [{ command: "expand.mjs", timeout: 5 }],
diff --git a/packages/core/test/plugins.test.ts b/packages/core/test/plugins.test.ts
index 5577dc36..90b2fc94 100644
--- a/packages/core/test/plugins.test.ts
+++ b/packages/core/test/plugins.test.ts
@@ -28,7 +28,7 @@ const pluginsRoot = path.resolve(import.meta.dirname, "../../../plugins");
const fakePlugin = (name: string, category?: string): LibraryPlugin => ({
name,
description: `Do ${name}.`,
- version: "2026-08-29.1",
+ version: "2026.08.29.1",
preinstall: true,
skills: [],
...(category !== undefined ? { category } : {}),
@@ -141,13 +141,20 @@ describe("loadPreinstalledPlugins", () => {
describe("comparePluginVersions", () => {
it("orders by date, then by sequence number numerically; non-versions sort before every version", () => {
- expect(comparePluginVersions("2026-08-29.1", "2026-08-29.1")).toBe(0);
- expect(comparePluginVersions("2026-08-29.2", "2026-08-29.10")).toBeLessThan(0);
- expect(comparePluginVersions("2026-09-01.1", "2026-08-29.9")).toBeGreaterThan(0);
- expect(comparePluginVersions("", "2026-08-29.1")).toBeLessThan(0);
- expect(comparePluginVersions("7", "2026-08-29.1")).toBeLessThan(0);
+ expect(comparePluginVersions("2026.08.29.1", "2026.08.29.1")).toBe(0);
+ expect(comparePluginVersions("2026.08.29.2", "2026.08.29.10")).toBeLessThan(0);
+ expect(comparePluginVersions("2026.09.01.1", "2026.08.29.9")).toBeGreaterThan(0);
+ expect(comparePluginVersions("", "2026.08.29.1")).toBeLessThan(0);
+ expect(comparePluginVersions("7", "2026.08.29.1")).toBeLessThan(0);
expect(comparePluginVersions("", "")).toBe(0);
});
+
+ it("reads the legacy spelling as the same version a copy installed earlier carries", () => {
+ expect(comparePluginVersions("2026-08-29.1", "2026.08.29.1")).toBe(0);
+ expect(comparePluginVersions("2026.09.10.2", "2026.09.10.1")).toBeGreaterThan(0);
+ expect(comparePluginVersions("2026.09.10.1", "2026-09-09.9")).toBeGreaterThan(0);
+ expect(comparePluginVersions("2026-09-09.9", "2026.09.09.10")).toBeLessThan(0);
+ });
});
describe("groupPlugins / loadPluginGroups", () => {
@@ -201,13 +208,21 @@ describe("lookups", () => {
describe("parseSkillFrontmatter", () => {
it("parses name/description/version and the optional short descriptions; values may contain colons", () => {
const meta = parseSkillFrontmatter(
- "---\nname: x\ndescription: a: b\nshort_description: s\nshort_description_zh: 中\nversion: 2026-08-29.3\n---\nbody",
+ "---\nname: x\ndescription: a: b\nshort_description: s\nshort_description_zh: 中\nversion: 2026.08.29.3\n---\nbody",
);
expect(meta).toEqual({
name: "x",
description: "a: b",
shortDescription: "s",
shortDescriptionZh: "中",
+ version: "2026.08.29.3",
+ });
+ });
+
+ it("keeps the legacy version spelling an installed copy from before the rename carries", () => {
+ expect(parseSkillFrontmatter("---\nname: x\nversion: 2026-08-29.3\n---\nbody")).toEqual({
+ name: "x",
+ description: "",
version: "2026-08-29.3",
});
});
diff --git a/packages/core/test/prompt-sections.test.ts b/packages/core/test/prompt-sections.test.ts
index 3904b5b0..45c8cef4 100644
--- a/packages/core/test/prompt-sections.test.ts
+++ b/packages/core/test/prompt-sections.test.ts
@@ -61,7 +61,7 @@ function withConfig(state: AgentState, patch: Partial<SystemConfig>): AgentState
return { ...state, systemConfig: { ...state.systemConfig, ...patch } };
}
-const DEMO_SKILL = { name: "demo", description: "Demo skill.", version: "2026-08-01.1" };
+const DEMO_SKILL = { name: "demo", description: "Demo skill.", version: "2026.08.01.1" };
/** A complete Environment section, so the rendered prompt carries every `- Label: value` line. */
const SESSION_ENVIRONMENT = {
diff --git a/packages/desktop/package.json b/packages/desktop/package.json
index a5d6393e..d0b58fca 100644
--- a/packages/desktop/package.json
+++ b/packages/desktop/package.json
@@ -1,6 +1,6 @@
{
"name": "@prismshadow/penguin-desktop",
- "version": "0.2.9",
+ "version": "0.2.10",
"private": true,
"type": "module",
"description": "PenguinHarness desktop app: Electron shell running @prismshadow/penguin-server as a utilityProcess, window on http://localhost (same-origin HTTP/SSE, no private IPC).",
diff --git a/packages/docs/content/skills.en.md b/packages/docs/content/skills.en.md
index 311ba2b1..526d8f51 100644
--- a/packages/docs/content/skills.en.md
+++ b/packages/docs/content/skills.en.md
@@ -21,12 +21,12 @@ plugins/<plugin>/
| --- | --- |
| `description` / `description_zh` | One-line description (English required) |
| `short_description` / `short_description_zh` | Card labels (optional; the full description stands in) |
-| `version` | `YYYY-MM-DD.N` — the date plus a sequence number for that day |
+| `version` | `YYYY.MM.DD.N` — the date plus a sequence number for that day |
| `category` | One of `office-productivity`, `software-development`, `ai-app-development`; missing or unknown lands in "Other" |
| `preinstall` | Optional; `false` keeps the plugin out of `default_agent`'s preinstalled set — install it manually from the library |
| `hooks.stop` / `hooks.pre_tool_use` / `hooks.user_prompt` | The hook package's commands per [hook point](/agent-loop#stop-hooks): `[{ "command": "stop.mjs", "timeout": 60 }]`, paths relative to `hooks/`, timeout in seconds |
-The plugin name is its directory name (`^[A-Za-z0-9_-]+$`); a plugin built around someone else's product carries a `use-` prefix (`use-firecrawl`), so the name says what it is for rather than claiming the product. Versions are compared by date, then by sequence number, so `2026-08-29.10` follows `2026-08-29.9`; the manifest's version is the version of everything the plugin ships. There is no other version scheme.
+The plugin name is its directory name (`^[A-Za-z0-9_-]+$`); a plugin built around someone else's product carries a `use-` prefix (`use-firecrawl`), so the name says what it is for rather than claiming the product. Versions are compared by date, then by sequence number, so `2026.08.29.10` follows `2026.08.29.9`; the manifest's version is the version of everything the plugin ships, and is distinct from the package's npm version (which follows the release). There is no other version scheme.
Every plugin is its own npm package — `@penguinharness/<name>`, `plugins/<name>/` in the repo. The loader lives in `@prismshadow/penguin-core`: it reads the plugin names off the host package's dependency list and resolves each package through Node (the desktop app declares the same packages as dependencies, which its installer packs). At runtime the plugin files are the source of truth for library content, read on every call.
@@ -52,7 +52,7 @@ description: One-line English description injected into the system prompt.
Concrete steps, boundaries and acceptance criteria...
```
-The **installed** copy is self-describing: at load time the library regenerates each skill's frontmatter with the plugin's `short_description`, `short_description_zh` and `version` stamped in (the way an installed hook package's `hooks.json` is generated from the manifest), and that is what gets written into `agent_state/skills/`. Update checks read the installed frontmatter's `version`; the UI reads its short descriptions. Parsing is tolerant: only `key: value` scalar lines inside the first `---` block are recognized, and a `version` that is not `YYYY-MM-DD.N` reads as empty — older than any library version, so the library's copy counts as an update.
+The **installed** copy is self-describing: at load time the library regenerates each skill's frontmatter with the plugin's `short_description`, `short_description_zh` and `version` stamped in (the way an installed hook package's `hooks.json` is generated from the manifest), and that is what gets written into `agent_state/skills/`. Update checks read the installed frontmatter's `version`; the UI reads its short descriptions. Parsing is tolerant: only `key: value` scalar lines inside the first `---` block are recognized, and a `version` that is neither `YYYY.MM.DD.N` nor the legacy `YYYY-MM-DD.N` an older installed copy carries reads as empty — older than any library version, so the library's copy counts as an update.
## Progressive loading
@@ -71,7 +71,7 @@ A hook package is the plugin's `hooks/` directory installed as `agent_state/hook
"name": "goal",
"description": "Goal mode: …",
"description_zh": "目标模式:…",
- "version": "2026-09-01.1",
+ "version": "2026.09.01.1",
"stop": [{ "command": "stop.mjs", "timeout": 60 }],
"pre_tool_use": [],
"user_prompt": [{ "command": "start.mjs", "timeout": 60 }]
diff --git a/packages/docs/content/skills.zh.md b/packages/docs/content/skills.zh.md
index 1d33e521..5e93bce8 100644
--- a/packages/docs/content/skills.zh.md
+++ b/packages/docs/content/skills.zh.md
@@ -21,12 +21,12 @@ plugins/<plugin>/
| --- | --- |
| `description` / `description_zh` | 单行描述(英文必填) |
| `short_description` / `short_description_zh` | 卡片短标签(可选;缺省显示完整描述) |
-| `version` | `YYYY-MM-DD.N`——日期加当日序号 |
+| `version` | `YYYY.MM.DD.N`——日期加当日序号 |
| `category` | `office-productivity`、`software-development`、`ai-app-development` 之一;缺失或未知归入「其他」 |
| `preinstall` | 可选;`false` 表示不进入 `default_agent` 的预装集合,仅可从插件库手动安装 |
| `hooks.stop` / `hooks.pre_tool_use` / `hooks.user_prompt` | 钩子包在各[钩子点](/agent-loop#stop-hook)的命令:`[{ "command": "stop.mjs", "timeout": 60 }]`,路径相对 `hooks/`,超时以秒计 |
-插件名即目录名(`^[A-Za-z0-9_-]+$`);围绕他人产品构建的插件带 `use-` 前缀(如 `use-firecrawl`),名字说明用途而不冒用产品名。版本先比日期、再比序号,因此 `2026-08-29.10` 排在 `2026-08-29.9` 之后;清单里的版本就是插件携带的一切内容的版本。没有别的版本方案。
+插件名即目录名(`^[A-Za-z0-9_-]+$`);围绕他人产品构建的插件带 `use-` 前缀(如 `use-firecrawl`),名字说明用途而不冒用产品名。版本先比日期、再比序号,因此 `2026.08.29.10` 排在 `2026.08.29.9` 之后;清单里的版本就是插件携带的一切内容的版本,与该包的 npm 版本(跟随发行版本)是两回事。没有别的版本方案。
每个插件都是独立的 npm 包——`@penguinharness/<name>`,仓库内位于 `plugins/<name>/`。loader 在 `@prismshadow/penguin-core` 里:从宿主包的依赖清单读出插件名,再逐包经 Node 解析(desktop 应用把同样的包声明为依赖,随安装包一并打包)。运行时库内容的事实源仍是插件文件本身,每次调用直接读取。
@@ -52,7 +52,7 @@ description: One-line English description injected into the system prompt.
具体的步骤、边界与验收标准……
```
-**已安装**的副本是自描述的:库在读取时把插件的 `short_description`、`short_description_zh` 与 `version` 盖章进各 Skill 的 frontmatter 重新生成(如同已装钩子包的 `hooks.json` 由清单生成),写进 `agent_state/skills/` 的就是这份内容。更新检查读已装 frontmatter 的 `version`,UI 读它的短标签。解析是容错的:只识别首个 `---` 块内的 `key: value` 标量行;`version` 不是 `YYYY-MM-DD.N` 时读作空——比库里任何版本都旧,于是库内副本算作可更新。
+**已安装**的副本是自描述的:库在读取时把插件的 `short_description`、`short_description_zh` 与 `version` 盖章进各 Skill 的 frontmatter 重新生成(如同已装钩子包的 `hooks.json` 由清单生成),写进 `agent_state/skills/` 的就是这份内容。更新检查读已装 frontmatter 的 `version`,UI 读它的短标签。解析是容错的:只识别首个 `---` 块内的 `key: value` 标量行;`version` 既不是 `YYYY.MM.DD.N`、也不是旧副本里的旧写法 `YYYY-MM-DD.N` 时读作空——比库里任何版本都旧,于是库内副本算作可更新。
## 渐进式加载
@@ -71,7 +71,7 @@ Skill 采用「先索引、后正文」的设计:系统 Prompt 经 `{{SKILL_ME
"name": "goal",
"description": "Goal mode: …",
"description_zh": "目标模式:…",
- "version": "2026-09-01.1",
+ "version": "2026.09.01.1",
"stop": [{ "command": "stop.mjs", "timeout": 60 }],
"pre_tool_use": [],
"user_prompt": [{ "command": "start.mjs", "timeout": 60 }]
diff --git a/packages/docs/package.json b/packages/docs/package.json
index 0c6f8f8c..c2439006 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -1,6 +1,6 @@
{
"name": "@prismshadow/penguin-docs",
- "version": "0.2.9",
+ "version": "0.2.10",
"private": true,
"type": "module",
"description": "PenguinHarness documentation site (React + Vite + Tailwind CSS): bilingual zh/en Markdown pages with light/dark themes and per-page Copy Markdown, deployed to GitHub Pages under /docs/ next to the landing page.",
diff --git a/packages/landing/content/blog/penguinharness-0-2-10.en.md b/packages/landing/content/blog/penguinharness-0-2-10.en.md
new file mode 100644
index 00000000..5a8b4138
--- /dev/null
+++ b/packages/landing/content/blog/penguinharness-0-2-10.en.md
@@ -0,0 +1,120 @@
+---
+title: "PenguinHarness 0.2.10: an upgraded file browser, adjustable compaction timing, hooks, and a Docker image"
+date: 2026-09-10
+category: news
+excerpt: The conversation grew a workbench. The Files panel became a two-pane browser with in-place editing and version-checked saves, the context ring now measures against the point compaction actually fires and its threshold is a cutter you drag, a shortcuts ball fans the dock open from the edge of the chat, and scheduled tasks moved in beside it. Hooks became a capability of the loop itself, with goal mode and continual learning shipping as installable plugins. An official Docker image makes a server one `docker run`, and DeepSeek V4.1 Flash is the model a new Project starts on.
+---
+
+PenguinHarness 0.2.10 turns the dock into a workbench: editable files, a movable compaction trigger, scheduled tasks, and an edge shortcut ball. Hooks become an agent-loop capability, an official container image simplifies server deployment, and the model catalog expands.
+
+## The Files panel is a browser you can type into
+
+- Workspace files panel is now two panes: lazy directory tree on the left, selected file on the right, draggable divider.
+- Text files gain an **Edit** action with a monospace editor, **Wrap** toggle, and Ctrl+S save.
+- Saves are version-checked via `ETag` / `ifVersion`. If the Agent changed the file, the server returns `409` without writing; the UI offers **Overwrite** and preserves your draft.
+- Dropping OS files into the panel uploads them into the directory under the pointer.
+- Unsaved changes prompt before switching files or removing the panel, but collapsing the dock keeps the draft mounted.
+
+![The Files panel: a directory tree on the left beside an open file in the plain-text editor on the right](/blog-assets/penguinharness-0-2-10-files-panel-en.png)
+
+## The context ring measures against compaction
+
+- The composer ring now fills against the compaction trigger, not the model context window, so a 64k/128k threshold reads 50%.
+- The panel bar remains scaled to the model window and shows the dashed compaction cutter.
+- Dragging the cutter opens a confirmation with the proposed value prefilled and still editable.
+- Context is assembled whole from Agent State under three tiers; compaction settings are re-read at each checkpoint, so running conversations honor changes.
+- Added a second Top 5 view showing files with the most file-tool traffic in the current context.
+
+![The context panel: a bar scaled to the model window with a draggable compaction cutter, and the Top 5 files view](/blog-assets/penguinharness-0-2-10-context-panel-en.png)
+
+## A shortcuts ball on the edge of the conversation
+
+- When no dock panel is open, a translucent round button floats on the right edge with a “Shortcuts” caption.
+- Clicking it fans out a semicircular ring of dock panels plus terminal; names appear through the caption, not pills around the ball.
+- Selecting an entry opens that panel and hides the ball.
+- The ball drags along the edge, remembers position, carries the pending-approval dot, and can be dismissed; an Appearance setting brings it back.
+
+![The shortcuts ball on the conversation's right edge, fanned open into a semicircular ring of panel entries](/blog-assets/penguinharness-0-2-10-shortcuts-launcher-en.png)
+
+## Scheduled tasks, in the conversation
+
+- New dock **Scheduled tasks** panel lists tasks for the current Session with search, state filters, enable switches, and plain-language schedule lines.
+- Header offers **Create with AI**, which prefills this conversation’s composer without posting, and **Create manually**, which opens the form pinned to this Session.
+- Sidebar rows show an alarm clock for Sessions with a bound upcoming task.
+- Saving no longer claims tasks take effect in a new conversation; toasts reflect scheduler behavior.
+
+![The scheduled-tasks panel in the dock with its Create with AI and Create manually buttons, and a sidebar session row wearing an alarm clock](/blog-assets/penguinharness-0-2-10-schedule-panel-en.png)
+
+## Hooks are a capability, goal mode is a plugin
+
+- Sessions gain hook points: **stop**, **pre_tool_use**, and **user_prompt**.
+- Hooks are plain Node scripts installed into `agent_state/hooks/`, run as subprocesses, and may answer `continue`, `stop`, a `subagent` request, or nothing.
+- Goal mode is now the `goal` plugin’s stop hook; `continual-learning` sends long-task findings to a background subagent that updates relevant `SKILL.md` files.
+- Skill library becomes a **plugin library**: npm packages, dated versions, detail modal with file browser.
+- Agent settings gain a **Hooks** tab with one `hooks.enabled` switch per Agent. Disabled Agents assemble no hooks while installed packages remain on disk.
+- Per-package rows show hook-point chips, zip export/import, and chat import.
+
+![The Agent settings Hooks tab: the enable-switch card, a package row with hook-point chips, and the import dialog entry](/blog-assets/penguinharness-0-2-10-hooks-tab-en.png)
+
+## Create with AI, as a kit
+
+- Every object created from a form is gaining an AI creation path. This release ships the kit: button pair, prompt panel with examples and folded full-prompt preview, and dialog sending the prompt to the Project’s default agent.
+- Separate buttons: accented **Create with AI** with a wand, plain **Create manually** with a hand.
+- The dialog only offers **Edit in a new conversation**; nothing is auto-sent. The prompt lands as a prefilled draft, and Send remains your action.
+- Only kit and schedule surfaces ship this release; other creation forms follow later.
+
+![A page header's Create with AI and Create manually button pair, with the Create with AI dialog open over it](/blog-assets/penguinharness-0-2-10-create-with-ai-en.png)
+
+## A server on another machine
+
+- Official container image: Docker Hub `hiyouga/penguinharness`, built from source for `linux/amd64` and `linux/arm64`.
+- Runs `penguin server` on `0.0.0.0:7364` with `/data` volume. Tags: `latest` follows `main`; `X.Y.Z` follows release tags. Documented `docker run` publishes on host loopback.
+- **Machines** records now live in `web.db`, belong to a Project, and each machine mints a 16-character id.
+- Machine identity uses `penguin server status` over ssh. All traffic rides one held `ssh -T -D` session per machine; connected-machine API answers same-origin at `/server/<machineId>/api/…`.
+
+## The model catalog
+
+- **DeepSeek V4.1 Flash** ships as bare id `deepseek-flash`, new Project default; 1,000,000-token context, image input, Flash pricing with off-peak halving. Direct-vendor row pins a client and base URL.
+- **Gemini 3.8 Flash** joins directly and on OpenRouter; 1,048,576-token window, image input. Launch-discount pricing is declared and derived; two incorrect rows corrected.
+- **GPT-6 Astra** joins direct and OpenRouter; 1,050,000-token window, images, $1 / $12.5 / $50 per million tokens for cache read / cache write / output.
+- Three **Doubao Seed** rows join TokenDance with 50% off.
+- New **vLLM** group covers eight self-hosted models: zero price, no base URL, group-pinned protocol.
+- Existing Projects pick this up via **sync presets**.
+
+## Also in this release
+
+- `exec_command` accepts `command` as well as `cmd`; tool rejections answer with the fault, parameters, and correct call shape. `read_image` and `describe_image` fold into `read_file`.
+- Slow turns show `Elapsed 10.3s (API 5s, tools 5.3s)`, excluding approval wait.
+- Sidebar marks Sessions with dev servers or background subagents; chat header gets a matching pill.
+- Compaction shows status and wall time; thinking and summary stream into separate disclosure rows.
+- `model.timeoutMs` is now an idle budget between upstream events, default 300000; retry ladder resets after received content.
+- Updating runs through one dialog: check, release notes, download with progress, then **Restart and update**.
+- Conversations open on the latest 50 turns; earlier turns load as you scroll up.
+- Sidebar lists every Workspace from server-side counts.
+- Terminals behave like terminals: link positioning after redraw, OSC 52 copy reaches the system clipboard.
+- Plugin versions read `2026.09.10.1`; old dash spelling reads as the same version, so no false update badge.
+
+## Upgrading
+
+- First restart-only schema migration (`drop-goal-state`): hot push onto a running runtime is refused before touching the database. Normal install restarts and applies it. Downgrading to 0.2.9 still works.
+- Install the `goal` plugin on pre-0.2.10 Agents, or goal mode returns `409 goal_plugin_not_installed`. One click per Agent.
+- Update the kernel to `2026-09-10` for `read_file` images. Until then image tools get unknown-tool replies and image reads use the stored 30s timeout. Rename `skills` / `--skills` to `plugins` / `--plugins` in scripts.
+- `POST /api/version/update` now returns job status instead of blocking. Machines routes moved under a Project, so 0.2.9 machine lists start empty; re-install from the owning Project to recover.
+
+Desktop installers are at [penguin.ooo/download](https://penguin.ooo/download); the CLI and server install with:
+
+```sh
+curl -fsSL https://penguin.ooo/install.sh | sh
+penguin web
+```
+
+```powershell
+irm https://penguin.ooo/install.ps1 | iex
+penguin web
+```
+
+```sh
+docker run -d --name penguin -p 127.0.0.1:7364:7364 -v penguin-data:/data hiyouga/penguinharness:latest
+```
+
+Full detail for every change is in [`changelog/0.2.10/`](https://github.com/Prism-Shadow/penguin-harness/tree/main/changelog/0.2.10).
diff --git a/packages/landing/content/blog/penguinharness-0-2-10.zh.md b/packages/landing/content/blog/penguinharness-0-2-10.zh.md
new file mode 100644
index 00000000..e351a7b0
--- /dev/null
+++ b/packages/landing/content/blog/penguinharness-0-2-10.zh.md
@@ -0,0 +1,96 @@
+---
+title: "PenguinHarness 0.2.10:文件浏览升级、压缩时机动态调整、Hook 能力、Docker 镜像"
+date: 2026-09-10
+category: news
+excerpt: 对话长出了一张工作台。文件面板变成可就地编辑、带版本校验保存的双栏浏览器;上下文环改为对着压缩真正触发的那个点计量,阈值本身成了一把可拖动的刻刀;对话右缘多了一颗快捷球,可以把整个面板栏扇开;定时任务也搬进了面板栏。钩子成为智能体循环自身的能力,目标模式与持续学习则作为可安装插件发布。官方 Docker 镜像让一台服务端只需一条 `docker run`,而新建 Project 的默认模型换成了 DeepSeek V4.1 Flash。
+---
+
+PenguinHarness 0.2.10 发布。本版大部分变化在对话内部:文件面板可编辑、上下文环按压缩点计量、快捷球与定时任务进入面板栏;钩子成为智能体循环能力,官方容器镜像让服务端一条命令部署,模型库同步更新。
+
+## 可以直接敲字的文件面板
+
+文件面板改为两栏:左侧目录树,右侧选中文件,中间可拖动分隔条。文本文件新增**编辑**操作,提供等宽输入框、**自动换行**和 Ctrl+S 保存。保存带版本校验:文件变化时返回 `409` 并提示覆盖,同时保留草稿。未保存改动在切换文件或移除前会确认,折叠面板不会丢失草稿。
+
+![文件面板:左侧目录树,右侧是在纯文本编辑器里打开的文件](/blog-assets/penguinharness-0-2-10-files-panel-zh.png)
+
+## 上下文环对着压缩计量
+
+输入框上下文环改为按压缩触发点计量:128k 阈值下用掉 64k 显示为 50%。长条仍以模型窗口为刻度,触发点用虚线刻刀表示,拖动刻刀即可调整,确认框预填建议值。压缩设置会在每个压缩检查点重新读取,对运行中的对话同样生效。面板新增 Top 5 文件视图。
+
+![上下文面板:以模型窗口为刻度的长条、可拖动的压缩刻刀,以及 Top 5 文件视图](/blog-assets/penguinharness-0-2-10-context-panel-zh.png)
+
+## 对话边缘的一颗快捷球
+
+无面板打开时,对话右缘内侧出现半透明快捷球。点击后沿半圆弧展开面板入口(每个面板一个,外加终端),选中即打开对应面板。球可沿边缘拖动并记住位置,带待审批小圆点;弧上最后一个入口会永久收起,可在外观设置中恢复。
+
+![对话右缘的快捷球,展开成一圈半圆形的面板入口](/blog-assets/penguinharness-0-2-10-shortcuts-launcher-zh.png)
+
+## 定时任务进入对话
+
+面板栏新增**定时任务**面板,列出当前 Session 的任务,带搜索、状态过滤和启用开关。头部提供**AI 创建**(把请求写进当前对话输入框,不发送)和**手动创建**(打开锁定 Session 的表单)。侧栏为有未触发任务的 Session 显示闹钟;保存提示不再说“在新对话中生效”。
+
+![面板栏里的定时任务面板,带 AI 创建与手动创建两个按钮,以及侧栏中带闹钟标记的会话行](/blog-assets/penguinharness-0-2-10-schedule-panel-zh.png)
+
+## 钩子成为一项能力,目标模式成为插件
+
+Session 获得通用钩子机制:core 只定义触发点(**stop**、**pre_tool_use**、**user_prompt**),钩子以 Node 脚本包安装在 `agent_state/hooks/`,子进程运行并返回 `continue`、`stop`、`subagent` 或空。目标模式移出 core,成为 `goal` 插件的 stop 钩子;技能库改为**插件库**,新增 `continual-learning` 包。Agent 设置新增**钩子**标签页,含 `hooks.enabled` 总开关和每包管理(触发点标签、zip 导入导出、对话导入)。
+
+![Agent 设置的钩子标签页:启用开关卡片、带触发点标签的包条目,以及导入对话框入口](/blog-assets/penguinharness-0-2-10-hooks-tab-zh.png)
+
+## AI 创建,作为一套套件
+
+Web App 中每个由表单创建的对象将获得第二种方式:描述给智能体。本版发布机件:按钮对、带示例与可折叠完整提示词预览的提示面板,以及把提示词交给 Project 默认智能体的对话框。**AI 创建**与**手动创建**为两个独立按钮;对话框唯一出口是**在新对话中编辑**,永不自动发送。本版仅定时任务两处入口启用。
+
+![页面头部的 AI 创建与手动创建按钮对,其上打开着 AI 创建对话框](/blog-assets/penguinharness-0-2-10-create-with-ai-zh.png)
+
+## 把服务端放到另一台机器上
+
+官方容器镜像 `hiyouga/penguinharness` 发布在 Docker Hub,支持 `linux/amd64` 与 `linux/arm64`,以 `0.0.0.0:7364` 运行 `penguin server`,数据挂 `/data`。标签 `latest` 跟随 `main`,`X.Y.Z` 由发布 tag 构建。机器记录从 JSON 文件迁入 `web.db` 并归属 Project;每台机器自行签发 16 位 id,通过 ssh 应答,流量走常驻 `ssh -T -D` 会话。
+
+## 模型库
+
+- **DeepSeek V4.1 Flash** 以 `deepseek-flash` 发布并成为默认模型:1,000,000 Token 窗口,支持图片。
+- **Gemini 3.8 Flash** 进入直连与 OpenRouter,1,048,576 Token 窗口,支持图片;Google Gemini 3.x Flash 记录现在存官方标价并声明折扣。
+- **GPT-6 Astra** 进入直连与 OpenRouter(1,050,000 Token 窗口,支持图片)。
+- 三条 **Doubao Seed** 进入 TokenDance 分组,享五折促销。
+- 新增 **vLLM** 分组,收录八个自建部署模型:价格为零,不带 base URL,协议由分组统一锁定。
+
+已有 Project 需在模型页执行**同步预置**获取。
+
+## 这一版还有
+
+- 被拒绝的工具调用会说明错误、参数表和正确形状;`exec_command` 同时接受 `command`/`cmd`,`read_image`/`describe_image` 并入 `read_file`。
+- 慢轮显示耗时分解,如 `Elapsed 10.3s (API 5s, tools 5.3s)`,不含等待审批。
+- 侧栏为有开发服务器或后台子智能体的 Session 显示活动标记和胶囊标签。
+- 压缩展示状态与耗时,思考与摘要分别流进折叠行。
+- LLM 请求按沉默超时,`model.timeoutMs` 是事件间空闲预算,默认提升到 300000,收到内容后重试阶梯重置。
+- 更新只走一个对话框:检查、发布说明、下载、重启并更新。
+- 对话默认只打开最近 50 轮,向上滚动按需加载更早内容。
+- 侧栏列出每个 Workspace,依据服务端计数。
+- 终端链接按目标打开,重绘后按位置判定点击,OSC 52 复制可到系统剪贴板。
+- 插件版本写作 `2026.09.10.1`,旧写法被读作同一版本。
+
+## 升级须知
+
+- **热推送需重启一次**:本版包含首个“仅限重启”迁移 `drop-goal-state`,热推送会在触及数据库前被拒绝;正常安装会重启并执行迁移,回退 0.2.9 可行。
+- 给旧 Agent 安装 `goal` 插件,否则启动目标模式会返回 `409 goal_plugin_not_installed`。
+- 内核需更新到 `2026-09-10` 才能用 `read_file` 读图;脚本中 `skills`/`--skills` 改为 `plugins`/`--plugins`。
+- API 变化:`POST /api/version/update` 返回任务状态而非阻塞到结束;机器路由移至 Project 下,0.2.9 装机机器列表会为空,从对应 Project 重装恢复。
+
+桌面端安装包在 [penguin.ooo/download](https://penguin.ooo/download);CLI 与服务端的安装方式:
+
+```sh
+curl -fsSL https://penguin.ooo/install.sh | sh
+penguin web
+```
+
+```powershell
+irm https://penguin.ooo/install.ps1 | iex
+penguin web
+```
+
+```sh
+docker run -d --name penguin -p 127.0.0.1:7364:7364 -v penguin-data:/data hiyouga/penguinharness:latest
+```
+
+每一项改动的完整细节见 [`changelog/0.2.10/`](https://github.com/Prism-Shadow/penguin-harness/tree/main/changelog/0.2.10)。
diff --git a/packages/landing/package.json b/packages/landing/package.json
index 2d1b52bf..3c13701e 100644
--- a/packages/landing/package.json
+++ b/packages/landing/package.json
@@ -1,6 +1,6 @@
{
"name": "@prismshadow/penguin-landing",
- "version": "0.2.9",
+ "version": "0.2.10",
"private": true,
"type": "module",
"description": "PenguinHarness landing page (React + Vite + Tailwind CSS): multilingual, light/dark themes, benchmark showcase, and a local Markdown blog, deployed to GitHub Pages via GitHub Actions.",
diff --git a/packages/landing/test/blog.test.ts b/packages/landing/test/blog.test.ts
index 56985415..bd4b623b 100644
--- a/packages/landing/test/blog.test.ts
+++ b/packages/landing/test/blog.test.ts
@@ -96,7 +96,7 @@ describe("frontmatter mapping (author / pinned / category)", () => {
it("reads the pinned flag and sorts the pinned post first", () => {
for (const locale of ["en", "zh"] as const) {
const posts = postsFor(locale);
- expect(posts.length).toBe(19);
+ expect(posts.length).toBe(20);
// The launch post stays the single pinned post; newer posts sort under it by date.
expect(posts.filter((p) => p.pinned).map((p) => p.slug)).toEqual([
"introducing-penguinharness",
@@ -120,6 +120,7 @@ describe("frontmatter mapping (author / pinned / category)", () => {
it("filters by the news category, newest first", () => {
expect(postsFor("en", "news").map((p) => p.slug)).toEqual([
"introducing-penguinharness",
+ "penguinharness-0-2-10",
"penguinharness-0-2-6",
"penguinharness-0-2-4",
"penguinharness-0-2-3",
diff --git a/packages/server/package.json b/packages/server/package.json
index 6f8253d8..666f2042 100644
--- a/packages/server/package.json
+++ b/packages/server/package.json
@@ -1,6 +1,6 @@
{
"name": "@prismshadow/penguin-server",
- "version": "0.2.9",
+ "version": "0.2.10",
"type": "module",
"description": "PenguinHarness web server: multi-user authentication and authorization, Session execution with SSE streaming, and usage accounting, built on @prismshadow/penguin-core.",
"license": "Apache-2.0",
diff --git a/packages/server/src/api/types.ts b/packages/server/src/api/types.ts
index 721315d2..a3bdd393 100644
--- a/packages/server/src/api/types.ts
+++ b/packages/server/src/api/types.ts
@@ -825,7 +825,7 @@ export interface VaultUpdateRequest {
export interface PluginUpdateRef {
/** Plugin name — what `POST …/plugins` reinstalls to bring the Agent up to date. */
name: string;
- /** The LIBRARY's version (`YYYY-MM-DD.N`), i.e. what installing again would bring, not what is on disk. */
+ /** The LIBRARY's version (`YYYY.MM.DD.N`), i.e. what installing again would bring, not what is on disk. */
version: string;
}
@@ -3181,7 +3181,7 @@ export interface SkillMetadataItem {
* which the plugin item carries once. Absent, the frontend draws the book glyph.
*/
icon?: string;
- /** Version (`YYYY-MM-DD.N`, frontmatter version); an empty string when the frontmatter carries none or a malformed one. */
+ /** Version (`YYYY.MM.DD.N`, frontmatter version; a copy installed before that spelling still carries `YYYY-MM-DD.N`); an empty string when the frontmatter carries none or a malformed one. */
version: string;
}
@@ -3191,7 +3191,7 @@ export interface HookItem {
name: string;
description: string;
descriptionZh?: string;
- /** Version (`YYYY-MM-DD.N`); an empty string when the manifest carries none. */
+ /** Version (`YYYY.MM.DD.N`; a copy installed before that spelling still carries `YYYY-MM-DD.N`); an empty string when the manifest carries none. */
version: string;
/** The hook points the package answers at, e.g. `["stop"]`. */
events: string[];
@@ -3206,7 +3206,7 @@ export interface PluginItem {
descriptionZh?: string;
shortDescription?: string;
shortDescriptionZh?: string;
- /** `YYYY-MM-DD.N`. */
+ /** `YYYY.MM.DD.N`. */
version: string;
/** The plugin's skills (metadata only). */
skills: SkillMetadataItem[];
diff --git a/packages/server/src/http/routes/hooks.ts b/packages/server/src/http/routes/hooks.ts
index e621e36c..f88ef3f2 100644
--- a/packages/server/src/http/routes/hooks.ts
+++ b/packages/server/src/http/routes/hooks.ts
@@ -21,9 +21,9 @@ import { unzipSync, strFromU8, zipSync } from "fflate";
import { Hono } from "hono";
import {
PLUGIN_NAME_PATTERN,
- PLUGIN_VERSION_PATTERN,
hooksDir,
listInstalledHooks,
+ parsePluginVersion,
removeHook,
replaceSkillDirectory,
} from "@prismshadow/penguin-core";
@@ -331,7 +331,8 @@ export function agentHooksRoutes(deps: AppDeps): Hono<AppEnv> {
const name = requireValidId(c, "name");
const dir = await requireInstalled(projectId, agentId, name);
const archiveFiles = await collectHookArchive(dir, name);
- // A -v<version> suffix only when the manifest carries a real version (the header is the
+ // A -v<version> suffix only when the manifest carries a real version — in the current
+ // `YYYY.MM.DD.N` spelling or the legacy one an older installed copy has (the header is the
// authority on the filename — the web tab reads it from Content-Disposition).
let version = "";
try {
@@ -342,9 +343,8 @@ export function agentHooksRoutes(deps: AppDeps): Hono<AppEnv> {
} catch {
// An unparseable manifest still exports (the files are what the user asked for); it just gets the bare filename.
}
- const fileName = PLUGIN_VERSION_PATTERN.test(version)
- ? `${name}-v${version}.zip`
- : `${name}.zip`;
+ const fileName =
+ parsePluginVersion(version) !== null ? `${name}-v${version}.zip` : `${name}.zip`;
const zip = zipSync(archiveFiles);
return new Response(new Uint8Array(zip), {
headers: {
diff --git a/packages/server/src/http/routes/skills.ts b/packages/server/src/http/routes/skills.ts
index b81fa2a2..6a97235c 100644
--- a/packages/server/src/http/routes/skills.ts
+++ b/packages/server/src/http/routes/skills.ts
@@ -158,9 +158,10 @@ async function collectSkillArchive(dir: string, name: string): Promise<Record<st
}
/**
- * Version for the export filename: only a frontmatter `version:` that is a real
- * `YYYY-MM-DD.N` yields a `-v<version>` filename suffix — a missing or malformed field (the
- * parser reads either as "") must not be baked into a filename as if declared.
+ * Version for the export filename: only a frontmatter `version:` that is a real version
+ * (`YYYY.MM.DD.N`, or the legacy spelling an older installed copy carries) yields a
+ * `-v<version>` filename suffix — a missing or malformed field (the parser reads either as "")
+ * must not be baked into a filename as if declared.
*/
function explicitSkillVersion(skillMd: string): string | null {
return parseSkillFrontmatter(skillMd)?.version || null;
diff --git a/packages/server/test/directory-skills.test.ts b/packages/server/test/directory-skills.test.ts
index 55eb7bb5..4e47788b 100644
--- a/packages/server/test/directory-skills.test.ts
+++ b/packages/server/test/directory-skills.test.ts
@@ -25,7 +25,7 @@ import { apiClient, createTestApp, provisionUser } from "./helpers.js";
import type { TestApp } from "./helpers.js";
const skillMd = (name: string, description = `${name} does a thing`) =>
- `---\nname: ${name}\ndescription: ${description}\nversion: 2026-08-23.3\n---\n\nBody of ${name}.\n`;
+ `---\nname: ${name}\ndescription: ${description}\nversion: 2026.08.23.3\n---\n\nBody of ${name}.\n`;
describe("directory skills api", () => {
let t: TestApp;
@@ -90,7 +90,7 @@ describe("directory skills api", () => {
]);
// Metadata comes from the frontmatter, and content never crosses the wire.
expect(res.skills[0]!.description).toBe("alpha does a thing");
- expect(res.skills[0]!.version).toBe("2026-08-23.3");
+ expect(res.skills[0]!.version).toBe("2026.08.23.3");
expect(res.skills[0]).not.toHaveProperty("content");
});
diff --git a/packages/server/test/hooks.test.ts b/packages/server/test/hooks.test.ts
index eeec791f..f1ff7763 100644
--- a/packages/server/test/hooks.test.ts
+++ b/packages/server/test/hooks.test.ts
@@ -55,7 +55,7 @@ describe("hooks api", () => {
name: "zip-hook",
description: "Zip demo hook",
description_zh: "示例钩子",
- version: "2026-09-02.1",
+ version: "2026.09.02.1",
stop: [{ command: "stop.mjs", timeout: 5 }],
pre_tool_use: [],
user_prompt: [],
@@ -130,7 +130,7 @@ describe("hooks api", () => {
expect(res.status).toBe(201);
const body = (await res.json()) as AgentHooksResponse;
expect(body.hooks.map((h) => [h.name, h.version, h.events])).toEqual([
- ["dir-hook", "2026-09-02.1", ["stop"]],
+ ["dir-hook", "2026.09.02.1", ["stop"]],
]);
expect(body.hooks[0]!.descriptionZh).toBe("示例钩子");
const dir = path.join(hooksDir(t.root, projectId, "zip_agent"), "dir-hook");
@@ -150,7 +150,7 @@ describe("hooks api", () => {
"hooks.json": strToU8(
manifestText({
name: "root-hook",
- version: "2026-09-02.2",
+ version: "2026.09.02.2",
user_prompt: [{ command: "expand.mjs" }],
}),
),
@@ -163,7 +163,7 @@ describe("hooks api", () => {
expect(both.hooks[1]).toMatchObject({ description: "", events: ["user_prompt"] });
expect(JSON.parse(await fs.readFile(manifestFile("zip_agent", "root-hook"), "utf8"))).toEqual({
name: "root-hook",
- version: "2026-09-02.2",
+ version: "2026.09.02.2",
user_prompt: [{ command: "expand.mjs" }],
description: "",
stop: [],
@@ -322,14 +322,14 @@ describe("hooks api", () => {
// overwrite: true replaces the whole directory: old.txt is gone, new.txt appears.
const res = await member.post(url, {
dataBase64: zipB64({
- ...packageFiles("zip-hook", { ...MANIFEST, version: "2026-09-02.3" }),
+ ...packageFiles("zip-hook", { ...MANIFEST, version: "2026.09.02.3" }),
"zip-hook/new.txt": strToU8("new\n"),
}),
overwrite: true,
});
expect(res.status).toBe(201);
const body = (await res.json()) as AgentHooksResponse;
- expect(body.hooks.find((h) => h.name === "zip-hook")!.version).toBe("2026-09-02.3");
+ expect(body.hooks.find((h) => h.name === "zip-hook")!.version).toBe("2026.09.02.3");
const dir = path.join(hooksDir(t.root, projectId, "zip_over_agent"), "zip-hook");
expect(await fs.readFile(path.join(dir, "new.txt"), "utf8")).toBe("new\n");
await expect(fs.access(path.join(dir, "old.txt"))).rejects.toThrow();
@@ -350,7 +350,7 @@ describe("hooks api", () => {
expect(res.status).toBe(200);
expect(res.headers.get("content-type")).toBe("application/zip");
expect(res.headers.get("content-disposition")).toBe(
- "attachment; filename*=UTF-8''zip-hook-v2026-09-02.1.zip",
+ "attachment; filename*=UTF-8''zip-hook-v2026.09.02.1.zip",
);
const entries = unzipSync(new Uint8Array(await res.arrayBuffer()));
const fileNames = Object.keys(entries).filter((n) => !n.endsWith("/"));
diff --git a/packages/server/test/skills.test.ts b/packages/server/test/skills.test.ts
index b38f5907..7bece58a 100644
--- a/packages/server/test/skills.test.ts
+++ b/packages/server/test/skills.test.ts
@@ -89,7 +89,7 @@ describe("skills api", () => {
const plugins = body.groups.flatMap((g) => g.plugins);
for (const plugin of plugins) {
expect(plugin.description.length, plugin.name).toBeGreaterThan(0);
- expect(plugin.version, plugin.name).toMatch(/^\d{4}-\d{2}-\d{2}\.\d+$/);
+ expect(plugin.version, plugin.name).toMatch(/^\d{4}\.\d{2}\.\d{2}\.\d+$/);
expect(plugin.skills.length > 0 || plugin.hooks.length > 0, plugin.name).toBe(true);
for (const skill of plugin.skills) {
// The short description (preferred in compact spots like cards) is passed through for
@@ -349,7 +349,7 @@ describe("skills api", () => {
// ---- POST .../skills/archive: install one skill from an uploaded zip ----
const ZIP_SKILL_MD =
- "---\nname: zip-skill\ndescription: Zip demo skill\nshort_description: Zip demo\nversion: 2026-08-01.2\n---\n\n# Zip skill\nBody.\n";
+ "---\nname: zip-skill\ndescription: Zip demo skill\nshort_description: Zip demo\nversion: 2026.08.01.2\n---\n\n# Zip skill\nBody.\n";
/** Builds an in-memory zip and returns it base64-encoded (the request wire format). */
const zipB64 = (files: Record<string, Uint8Array>): string =>
@@ -404,7 +404,7 @@ describe("skills api", () => {
expect(res.status).toBe(201);
const body = (await res.json()) as AgentSkillsResponse;
expect(body.skills.map((s) => s.name)).toEqual(["dir-skill"]);
- expect(body.skills[0]!.version).toBe("2026-08-01.2");
+ expect(body.skills[0]!.version).toBe("2026.08.01.2");
expect(body.skills[0]!.shortDescription).toBe("Zip demo");
const dir = path.join(skillsDir(t.root, projectId, "zip_agent"), "dir-skill");
expect(await fs.readFile(path.join(dir, "SKILL.md"), "utf8")).toBe(ZIP_SKILL_MD);
@@ -569,7 +569,7 @@ describe("skills api", () => {
expect(err.error.message).toMatch(/: zip-skill$/);
// overwrite: true replaces the whole directory: old.txt is gone, new.txt appears.
- const updatedMd = ZIP_SKILL_MD.replace("version: 2026-08-01.2", "version: 2026-08-01.3");
+ const updatedMd = ZIP_SKILL_MD.replace("version: 2026.08.01.2", "version: 2026.08.01.3");
const res = await member.post(url, {
dataBase64: zipB64({
"zip-skill/SKILL.md": strToU8(updatedMd),
@@ -579,7 +579,7 @@ describe("skills api", () => {
});
expect(res.status).toBe(201);
const body = (await res.json()) as AgentSkillsResponse;
- expect(body.skills.find((s) => s.name === "zip-skill")!.version).toBe("2026-08-01.3");
+ expect(body.skills.find((s) => s.name === "zip-skill")!.version).toBe("2026.08.01.3");
const dir = path.join(skillsDir(t.root, projectId, "zip_over_agent"), "zip-skill");
expect(await fs.readFile(path.join(dir, "SKILL.md"), "utf8")).toBe(updatedMd);
expect(await fs.readFile(path.join(dir, "new.txt"), "utf8")).toBe("new\n");
@@ -603,7 +603,7 @@ describe("skills api", () => {
expect(res.status).toBe(200);
expect(res.headers.get("content-type")).toBe("application/zip");
expect(res.headers.get("content-disposition")).toBe(
- "attachment; filename*=UTF-8''zip-skill-v2026-08-01.2.zip",
+ "attachment; filename*=UTF-8''zip-skill-v2026.08.01.2.zip",
);
const entries = unzipSync(new Uint8Array(await res.arrayBuffer()));
// Single-top-dir layout with every installed file, byte-identical to the upload — the
@@ -662,7 +662,7 @@ describe("skills api", () => {
// Age one installed copy: the library now carries a higher version than the disk does.
// The update is reported once, by PLUGIN, however many of its skills lag.
- await setInstalledVersion("bare_updates", "penguin-sdk", "2000-01-01.1");
+ await setInstalledVersion("bare_updates", "penguin-sdk", "2000.01.01.1");
const behind = (await listAgents()).find((a) => a.agentId === "bare_updates")!;
expect(behind.pluginUpdates).toEqual([
{ name: "agent-development", version: librarySkill("penguin-sdk")!.plugin.version },
@@ -676,6 +676,22 @@ describe("skills api", () => {
);
});
+ it("reads a copy installed under the legacy version spelling as the same version", async () => {
+ await createPlainAgent("legacy_updates");
+ expect(
+ (await owner.post(plugins("legacy_updates"), { names: ["agent-development"] })).status,
+ ).toBe(201);
+ // The library's own version as it was spelled before the rename: same date, same sequence
+ // number, so the installed copy is current and nothing is reported behind.
+ const legacy = librarySkill("penguin-sdk")!.plugin.version.replace(
+ /^(\d{4})\.(\d{2})\.(\d{2})\./,
+ "$1-$2-$3.",
+ );
+ await setInstalledVersion("legacy_updates", "penguin-sdk", legacy);
+ const agent = (await listAgents()).find((a) => a.agentId === "legacy_updates")!;
+ expect(agent.pluginUpdates).toEqual([]);
+ });
+
it("never lists a Skill the library does not carry, however old it looks", async () => {
await createPlainAgent("byo_updates");
const zip = zipSync({
diff --git a/packages/web/e2e/skills.spec.mjs b/packages/web/e2e/skills.spec.mjs
index fe2e05ea..e14a9edf 100644
--- a/packages/web/e2e/skills.spec.mjs
+++ b/packages/web/e2e/skills.spec.mjs
@@ -5,7 +5,7 @@
* **no icon**; the group name follows the UI language — when the server ships a Chinese
* group name it's "办公效率 / 软件开发 / AI 应用开发 / Agent 调优", falling back to
* English by default); cards carry a custom icon (the plugin's first skill's icon.svg,
- * sanitized then inlined, not the book fallback), with metadata showing the `YYYY-MM-DD.N`
+ * sanitized then inlined, not the book fallback), with metadata showing the `YYYY.MM.DD.N`
* version and usage count (worded semantically, not a bare number badge);
* - the "Manage installation" Modal: an Agent row + Install / Installed (hover flips to
* Uninstall) button, with optimistic updates on install/uninstall;
@@ -116,10 +116,10 @@ test("skills: library groups and cards -> manage-install Modal -> quick-invoke p
for (const s of PLUGINS) {
await expect(page.getByText(s, { exact: true })).toBeVisible();
}
- // Card metadata is worded semantically: `v<YYYY-MM-DD.N>` + how long ago that date is +
+ // Card metadata is worded semantically: `v<YYYY.MM.DD.N>` + how long ago that date is +
// usage count (default_agent has every preinstalled plugin -> at least 1 in use).
await expect(
- page.getByText(/v\d{4}-\d{2}-\d{2}\.\d+ · .*更新 · .*Agent 在用/).first(),
+ page.getByText(/v\d{4}\.\d{2}\.\d{2}\.\d+ · .*更新 · .*Agent 在用/).first(),
).toBeVisible();
// Quick invoke opens a draft on the currently selected Agent (default_agent here), so it's
diff --git a/packages/web/package.json b/packages/web/package.json
index a826cdbe..937ac553 100644
--- a/packages/web/package.json
+++ b/packages/web/package.json
@@ -1,6 +1,6 @@
{
"name": "@prismshadow/penguin-web",
- "version": "0.2.9",
+ "version": "0.2.10",
"private": true,
"type": "module",
"description": "PenguinHarness web frontend SPA: React + Vite + Tailwind CSS, rendering conversations streamed over the OmniMessage protocol, plus Agent configuration, model configuration, usage stats, and Traces.",
diff --git a/packages/web/src/features/agents/skills-tab.tsx b/packages/web/src/features/agents/skills-tab.tsx
index 3b46db80..c5f95484 100644
--- a/packages/web/src/features/agents/skills-tab.tsx
+++ b/packages/web/src/features/agents/skills-tab.tsx
@@ -229,7 +229,7 @@ export function SkillsTab({
reader.readAsDataURL(file);
};
- /** Metadata: the installed copy's version (`YYYY-MM-DD.N`; empty when the frontmatter carries none), shown bare like the library card. */
+ /** Metadata: the installed copy's version (`YYYY.MM.DD.N`, or the legacy `YYYY-MM-DD.N` on a copy installed before that spelling; empty when the frontmatter carries none), shown bare like the library card. */
const metaLine = (skill: SkillMetadataItem): string => skill.version;
if (!projectId) return null;
diff --git a/packages/web/src/features/plugins/plugins-page.tsx b/packages/web/src/features/plugins/plugins-page.tsx
index f9ad5bcf..d1ed1996 100644
--- a/packages/web/src/features/plugins/plugins-page.tsx
+++ b/packages/web/src/features/plugins/plugins-page.tsx
@@ -79,7 +79,7 @@ import { InfoPopover } from "../../components/ui/info-popover";
import { ICON_SIZE } from "../../lib/icon-scale";
/**
- * What one Agent has installed, by name → the installed copy's version (`YYYY-MM-DD.N`, or ""
+ * What one Agent has installed, by name → the installed copy's version (`YYYY.MM.DD.N`, or ""
* when the files carry none): its skills and its hook packages, the two lists a plugin is
* spread over.
*/
@@ -153,7 +153,7 @@ export function installedPluginVersion(
* Agents the server says are behind the library on plugin `name` (the update reminder's data
* source): read off `AgentSummary.pluginUpdates`, the same field the plugins gate counts, so
* the card, the notice and the nav dot cannot disagree — and so the web never compares
- * `YYYY-MM-DD.N` strings itself. Not-installed Agents are never listed there.
+ * `YYYY.MM.DD.N` strings itself. Not-installed Agents are never listed there.
*/
export function outdatedAgentIds(
agents: ReadonlyArray<Pick<AgentSummary, "agentId" | "pluginUpdates">>,
@@ -651,9 +651,11 @@ function PluginCard({
// when missing (per UI language); title carries the full description for hover reading.
const description = localizedShortText(locale, plugin);
const fullDescription = localizedText(locale, plugin.description, plugin.descriptionZh);
- // Metadata line: version (`YYYY-MM-DD.N`, omitted when the manifest carries none) · how
- // long ago that version's date is · usage count — plain readable phrases, no badges.
- const versionDate = plugin.version ? plugin.version.split(".")[0]! : null;
+ // Metadata line: version (`YYYY.MM.DD.N`, omitted when the manifest carries none, displayed
+ // with a `v` in front) · how long ago that version's date is · usage count — plain readable
+ // phrases, no badges.
+ const versionMatch = /^(\d{4})\.(\d{2})\.(\d{2})\./.exec(plugin.version);
+ const versionDate = versionMatch ? versionMatch.slice(1, 4).join("-") : null;
const meta = [
plugin.version ? `v${plugin.version}` : null,
versionDate ? formatRelativeDate(versionDate, locale) : null,
@@ -695,7 +697,7 @@ function PluginCard({
</p>
</div>
</div>
- {/* Metadata line under the header (e.g. `v2026-08-29.1 · updated 3 days ago · used by
+ {/* Metadata line under the header (e.g. `v2026.08.29.1 · updated 3 days ago · used by
2 agents`); what the plugin contains lives in the detail Modal this card opens. */}
<p className="mt-2.5 truncate text-[11px] text-gray-400 dark:text-gray-500" title={meta}>
{meta}
diff --git a/packages/web/src/lib/strings-en.ts b/packages/web/src/lib/strings-en.ts
index 98ef195a..be237ca9 100644
--- a/packages/web/src/lib/strings-en.ts
+++ b/packages/web/src/lib/strings-en.ts
@@ -1352,7 +1352,7 @@ export const en: Strings = {
importPromptTail: (projectId: string, agentId: string): string =>
[
"Read the source in full first and review every script for malicious behavior (exfiltrating data, touching files outside its source, running unknown commands); continue only once it is safe.",
- 'Then produce a PenguinHarness hook package: a hooks.json (name, description, description_zh, version in the YYYY-MM-DD.N format, and one command list per hook point — stop / pre_tool_use / user_prompt — each entry { "command": "<script path relative to the package>", "timeout": <seconds> }) plus plain Node .mjs scripts using builtin modules only.',
+ 'Then produce a PenguinHarness hook package: a hooks.json (name, description, description_zh, version in the YYYY.MM.DD.N format, and one command list per hook point — stop / pre_tool_use / user_prompt — each entry { "command": "<script path relative to the package>", "timeout": <seconds> }) plus plain Node .mjs scripts using builtin modules only.',
'Script contract: stdin carries one JSON object — at the stop point { "hook": "stop", "session_id", "trace_path" } (trace_path is the Trace file the Session is writing, absent without a Trace); the pre_tool_use point adds tool_name, tool_call_id and arguments (the raw argument JSON string); the user_prompt point carries scratchpad_dir and prompt instead. Empty stdout means no opinion; otherwise stdout is one JSON answer — stop: { "decision": "continue" | "stop", "input", "reason", "output", "subagent"? }, pre_tool_use: { "decision": "allow" | "deny", "reason", "output" }, user_prompt: { "context" }. A non-zero exit, non-JSON stdout or a timeout is recorded as a failure and ignored.',
`Install it into agent_state/hooks/<name>/ of agent "${agentId}" in Project "${projectId}" (the directory name is the package name and must match ^[A-Za-z0-9_-]+$), then tell me what it does and at which hook point it fires.`,
].join("\n"),
diff --git a/packages/web/src/lib/strings.ts b/packages/web/src/lib/strings.ts
index 9c469778..a3446aae 100644
--- a/packages/web/src/lib/strings.ts
+++ b/packages/web/src/lib/strings.ts
@@ -1327,7 +1327,7 @@ export const zh = {
importPromptTail: (projectId: string, agentId: string): string =>
[
"先完整阅读来源,逐个审查脚本有没有恶意行为(外传数据、改动来源之外的文件、执行来路不明的命令等),确认安全后再继续。",
- '然后产出一个 PenguinHarness 钩子包:一份 hooks.json(name、description、description_zh、version(格式 YYYY-MM-DD.N),以及各钩子点的命令列表 stop / pre_tool_use / user_prompt,每项为 { "command": "<脚本相对路径>", "timeout": <秒> })加上纯 Node 的 .mjs 脚本(只用内置模块)。',
+ '然后产出一个 PenguinHarness 钩子包:一份 hooks.json(name、description、description_zh、version(格式 YYYY.MM.DD.N),以及各钩子点的命令列表 stop / pre_tool_use / user_prompt,每项为 { "command": "<脚本相对路径>", "timeout": <秒> })加上纯 Node 的 .mjs 脚本(只用内置模块)。',
'脚本契约:stdin 收到一份 JSON——stop 点为 { "hook": "stop", "session_id", "trace_path" }(trace_path 是 Session 正在写入的 Trace 文件,无 Trace 时缺省),pre_tool_use 点另有 tool_name、tool_call_id、arguments(原始参数 JSON 串),user_prompt 点则是 scratchpad_dir 与 prompt;stdout 为空即无意见,否则一份 JSON 回答——stop 点 { "decision": "continue" | "stop", "input", "reason", "output", "subagent"? },pre_tool_use 点 { "decision": "allow" | "deny", "reason", "output" },user_prompt 点 { "context" };退出码非零、stdout 不是 JSON 或超时都按失败记录、不采纳。',
`把它安装到 Project「${projectId}」中 Agent「${agentId}」的 agent_state/hooks/<name>/ 目录(目录名即包名,须匹配 ^[A-Za-z0-9_-]+$),最后向我说明它做什么、在哪个钩子点触发。`,
].join("\n"),
diff --git a/packages/web/src/lib/todo-badges.ts b/packages/web/src/lib/todo-badges.ts
index f98aad09..ecf30a95 100644
--- a/packages/web/src/lib/todo-badges.ts
+++ b/packages/web/src/lib/todo-badges.ts
@@ -113,7 +113,7 @@ export function kernelUpdateTodo(
* Library plugins some Agent in this Project has fallen behind on. The list rides along on the
* Project's Agent list, so this costs no request of its own — the same trick `kernelOutdated`
* plays for the kernel trail — and it is the SERVER's verdict: the web never compares versions
- * itself (they are `YYYY-MM-DD.N` strings, and only the library knows what it carries).
+ * itself (they are `YYYY.MM.DD.N` strings, and only the library knows what it carries).
*
* Counted by distinct plugin, not per Agent: the trail ends on the plugin library page, which
* lists the library once, so "3 plugins can be updated" is what the user will see there even if
diff --git a/packages/web/test/hook-import.test.ts b/packages/web/test/hook-import.test.ts
index 28e1b126..9dbb087c 100644
--- a/packages/web/test/hook-import.test.ts
+++ b/packages/web/test/hook-import.test.ts
@@ -18,7 +18,7 @@ import { en } from "../src/lib/strings-en";
const CONTRACT = [
"hooks.json",
"agent_state/hooks/<name>/",
- "YYYY-MM-DD.N",
+ "YYYY.MM.DD.N",
"stop",
"pre_tool_use",
"user_prompt",
diff --git a/packages/web/test/plugin-outdated.test.ts b/packages/web/test/plugin-outdated.test.ts
index b8b8732f..c64c49d3 100644
--- a/packages/web/test/plugin-outdated.test.ts
+++ b/packages/web/test/plugin-outdated.test.ts
@@ -4,7 +4,7 @@
* part of it is there (a skill, or the hook package when it ships one), read off the two
* installed lists the page fetches per Agent;
* - `outdatedAgentIds`, the per-plugin reminder's data source — the Agents the SERVER lists as
- * behind on it (`AgentSummary.pluginUpdates`), since versions are `YYYY-MM-DD.N` strings the
+ * behind on it (`AgentSummary.pluginUpdates`), since versions are `YYYY.MM.DD.N` strings the
* web never compares itself;
* - `pluginUpdatePlan`, the page notice's "update all of them" version of the same question.
*/
@@ -17,7 +17,7 @@ import {
} from "../src/features/plugins/plugins-page";
import type { AgentInstalls, PluginParts } from "../src/features/plugins/plugins-page";
-const skill = (name: string) => ({ name, description: "", version: "2026-08-01.1" });
+const skill = (name: string) => ({ name, description: "", version: "2026.08.01.1" });
/** A plugin shipping two skills and a stop hook, one with a skill only, and one with a hook only. */
const FULL: PluginParts = {
@@ -39,26 +39,26 @@ const installs = (
describe("pluginInstalled", () => {
it("counts a plugin as installed once any part of it is there, so a partial copy can be updated", () => {
const whole = installs(
- { plan: "2026-08-01.1", run: "2026-08-01.1" },
- { orchestration: "2026-08-01.1" },
+ { plan: "2026.08.01.1", run: "2026.08.01.1" },
+ { orchestration: "2026.08.01.1" },
);
expect(pluginInstalled(FULL, whole)).toBe(true);
// An older version that shipped one skill fewer, or a copy missing its hook package, is
// what the server lists as behind: an installed plugin an update completes.
expect(
- pluginInstalled(FULL, installs({ plan: "2026-08-01.1" }, { orchestration: "2026-08-01.1" })),
+ pluginInstalled(FULL, installs({ plan: "2026.08.01.1" }, { orchestration: "2026.08.01.1" })),
).toBe(true);
- expect(pluginInstalled(FULL, installs({ plan: "2026-08-01.1", run: "2026-08-01.1" }, {}))).toBe(
+ expect(pluginInstalled(FULL, installs({ plan: "2026.08.01.1", run: "2026.08.01.1" }, {}))).toBe(
true,
);
- expect(pluginInstalled(FULL, installs({ other: "2026-08-01.1" }, {}))).toBe(false);
+ expect(pluginInstalled(FULL, installs({ other: "2026.08.01.1" }, {}))).toBe(false);
});
it("reads a skill-only plugin off the skills list and a hook-only one off the hooks list", () => {
- expect(pluginInstalled(SKILL_ONLY, installs({ "web-design": "2026-07-30.1" }, {}))).toBe(true);
- expect(pluginInstalled(SKILL_ONLY, installs({}, { "web-design": "2026-07-30.1" }))).toBe(false);
- expect(pluginInstalled(HOOK_ONLY, installs({}, { goal: "2026-08-29.1" }))).toBe(true);
- expect(pluginInstalled(HOOK_ONLY, installs({ goal: "2026-08-29.1" }, {}))).toBe(false);
+ expect(pluginInstalled(SKILL_ONLY, installs({ "web-design": "2026.07.30.1" }, {}))).toBe(true);
+ expect(pluginInstalled(SKILL_ONLY, installs({}, { "web-design": "2026.07.30.1" }))).toBe(false);
+ expect(pluginInstalled(HOOK_ONLY, installs({}, { goal: "2026.08.29.1" }))).toBe(true);
+ expect(pluginInstalled(HOOK_ONLY, installs({ goal: "2026.08.29.1" }, {}))).toBe(false);
});
it("is false for an Agent with no snapshot yet, and for a plugin that ships nothing", () => {
@@ -72,25 +72,25 @@ describe("installedPluginVersion", () => {
expect(
installedPluginVersion(
FULL,
- installs({ plan: "2026-07-01.1", run: "2026-07-01.1" }, { orchestration: "2026-07-02.1" }),
+ installs({ plan: "2026.07.01.1", run: "2026.07.01.1" }, { orchestration: "2026.07.02.1" }),
),
- ).toBe("2026-07-02.1");
- expect(installedPluginVersion(SKILL_ONLY, installs({ "web-design": "2026-07-30.1" }, {}))).toBe(
- "2026-07-30.1",
+ ).toBe("2026.07.02.1");
+ expect(installedPluginVersion(SKILL_ONLY, installs({ "web-design": "2026.07.30.1" }, {}))).toBe(
+ "2026.07.30.1",
);
});
it("is undefined where the plugin is not installed, and reads a partial copy's first installed skill", () => {
expect(installedPluginVersion(SKILL_ONLY, undefined)).toBeUndefined();
expect(
- installedPluginVersion(SKILL_ONLY, installs({ other: "2026-07-01.1" }, {})),
+ installedPluginVersion(SKILL_ONLY, installs({ other: "2026.07.01.1" }, {})),
).toBeUndefined();
expect(
installedPluginVersion(
{ name: "pair", skills: [skill("plan"), skill("run")], hooks: [] },
- installs({ run: "2026-07-01.1" }, {}),
+ installs({ run: "2026.07.01.1" }, {}),
),
- ).toBe("2026-07-01.1");
+ ).toBe("2026.07.01.1");
});
});
@@ -103,13 +103,13 @@ const agent = (agentId: string, ...updates: Array<{ name: string; version: strin
describe("outdatedAgentIds", () => {
it("names the Agents the server lists as behind on that plugin, in list order", () => {
const agents = [
- agent("stale", { name: "web-design", version: "2026-08-01.1" }),
+ agent("stale", { name: "web-design", version: "2026.08.01.1" }),
agent("current"),
- agent("other", { name: "vllm", version: "2026-08-01.1" }),
+ agent("other", { name: "vllm", version: "2026.08.01.1" }),
agent(
"also_stale",
- { name: "web-design", version: "2026-08-01.1" },
- { name: "vllm", version: "2026-08-01.1" },
+ { name: "web-design", version: "2026.08.01.1" },
+ { name: "vllm", version: "2026.08.01.1" },
),
];
expect(outdatedAgentIds(agents, "web-design")).toEqual(["stale", "also_stale"]);
@@ -130,11 +130,11 @@ describe("pluginUpdatePlan", () => {
pluginUpdatePlan([
agent(
"alpha",
- { name: "web-design", version: "2026-08-01.3" },
- { name: "vllm", version: "2026-08-01.2" },
+ { name: "web-design", version: "2026.08.01.3" },
+ { name: "vllm", version: "2026.08.01.2" },
),
agent("beta"),
- agent("gamma", { name: "web-design", version: "2026-08-01.3" }),
+ agent("gamma", { name: "web-design", version: "2026.08.01.3" }),
]),
).toEqual({
perAgent: [
@@ -150,9 +150,9 @@ describe("pluginUpdatePlan", () => {
// is what the confirmation lists, so the two must be the same number or the dialog would
// contradict the block that opened it.
const plan = pluginUpdatePlan([
- agent("alpha", { name: "shared", version: "2026-08-01.2" }),
- agent("beta", { name: "shared", version: "2026-08-01.2" }),
- agent("gamma", { name: "shared", version: "2026-08-01.2" }),
+ agent("alpha", { name: "shared", version: "2026.08.01.2" }),
+ agent("beta", { name: "shared", version: "2026.08.01.2" }),
+ agent("gamma", { name: "shared", version: "2026.08.01.2" }),
]);
expect(plan.plugins).toEqual(["shared"]);
expect(plan.perAgent).toHaveLength(3);
diff --git a/packages/web/test/skill-slash.test.ts b/packages/web/test/skill-slash.test.ts
index 6e28fad9..f42656b4 100644
--- a/packages/web/test/skill-slash.test.ts
+++ b/packages/web/test/skill-slash.test.ts
@@ -76,7 +76,7 @@ describe("skillSlashItems (slash skill command item assembly)", () => {
{
name: "agent-initialization",
description: "Create agents from requirements",
- version: "2026-07-01.1",
+ version: "2026.07.01.1",
},
{ name: "penguin-sdk", description: "Develop with the Penguin SDK", version: "" },
];
@@ -119,7 +119,7 @@ describe("skillSlashItems (slash skill command item assembly)", () => {
description: "Create agents from requirements",
shortDescription: "Create agents",
shortDescriptionZh: "创建 Agent",
- version: "2026-07-01.1",
+ version: "2026.07.01.1",
},
];
expect(skillSlashItems(withShort, "zh")[0]!.desc).toBe("创建 Agent");
@@ -145,7 +145,7 @@ describe("filterSkills (search filter for the skill dropdown)", () => {
{
name: "agent-initialization",
description: "Create agents from requirements",
- version: "2026-07-01.1",
+ version: "2026.07.01.1",
},
{ name: "penguin-sdk", description: "Develop with the Penguin SDK", version: "" },
];
diff --git a/packages/web/test/todo-badges.test.ts b/packages/web/test/todo-badges.test.ts
index 743f7fd3..adaa6930 100644
--- a/packages/web/test/todo-badges.test.ts
+++ b/packages/web/test/todo-badges.test.ts
@@ -46,15 +46,15 @@ describe("pluginUpdateTodo", () => {
it("counts distinct plugins, not Agents: the trail ends on a list that shows each once", () => {
const todo = pluginUpdateTodo([
- agent({ name: "web-design", version: "2026-08-03.1" }),
+ agent({ name: "web-design", version: "2026.08.03.1" }),
agent(
- { name: "web-design", version: "2026-08-03.1" },
- { name: "vllm", version: "2026-08-02.1" },
+ { name: "web-design", version: "2026.08.03.1" },
+ { name: "vllm", version: "2026.08.02.1" },
),
]);
expect(todo).toEqual({
count: 2,
match: "set",
});
@@ -62,31 +62,31 @@ describe("pluginUpdateTodo", () => {
it("reports no added/upgradable split: an uninstalled plugin is not waiting for anyone", () => {
expect(
- pluginUpdateTodo([agent({ name: "a", version: "2026-08-02.1" })])!.breakdown,
+ pluginUpdateTodo([agent({ name: "a", version: "2026.08.02.1" })])!.breakdown,
).toBeUndefined();
});
it("is order-independent, so two loads of the same state dismiss alike", () => {
const a = pluginUpdateTodo([
- agent({ name: "b", version: "2026-08-01.1" }, { name: "a", version: "2026-08-02.1" }),
+ agent({ name: "b", version: "2026.08.01.1" }, { name: "a", version: "2026.08.02.1" }),
]);
const b = pluginUpdateTodo([
- agent({ name: "a", version: "2026-08-02.1" }),
- agent({ name: "b", version: "2026-08-01.1" }),
+ agent({ name: "a", version: "2026.08.02.1" }),
+ agent({ name: "b", version: "2026.08.01.1" }),
]);
expect(a).toEqual(b);
});
it("lists a plugin once however many Agents are behind on it — they all read one library", () => {
// The version is the library's, so every occurrence of a name carries the same one; the
- // gate takes it as it comes and never orders `YYYY-MM-DD.N` strings itself.
+ // gate takes it as it comes and never orders `YYYY.MM.DD.N` strings itself.
const todo = pluginUpdateTodo([
- agent({ name: "vllm", version: "2026-08-03.1" }),
- agent({ name: "vllm", version: "2026-08-03.1" }),
+ agent({ name: "vllm", version: "2026.08.03.1" }),
+ agent({ name: "vllm", version: "2026.08.03.1" }),
]);
expect(todo).toEqual({
- signature: "[email protected]",
- items: ["[email protected]"],
+ signature: "[email protected]",
+ items: ["[email protected]"],
count: 1,
match: "set",
});
diff --git a/plugins/README.md b/plugins/README.md
index 940c0b01..69a8dfb7 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -2,7 +2,7 @@
The PenguinHarness plugin library. Each plugin is its own npm package — `@penguinharness/<name>`, a directory under `plugins/` — with a `plugin.json` manifest (and an `icon.svg` beside it: the icon of everything the plugin ships, which its installed skills and hook package inherit) plus the content it ships: **skills** (`skills/<name>/SKILL.md`, installed into an Agent's `agent_state/skills/`) and/or a **hook package** (`hooks/*.mjs`, installed into `agent_state/hooks/<plugin>/` with a generated `hooks.json`). The loader lives in `@prismshadow/penguin-core`, which depends on these packages and reads their directories at runtime — the files are the source of truth.
-Versions are dates with a sequence number — `YYYY-MM-DD.N` — on the manifest and on every skill a plugin ships. Skills follow the "index first, body on demand" design: only their metadata is injected into an Agent's system prompt; the Agent reads the full `SKILL.md` via shell when it actually needs it. Hook scripts are plain Node (builtins only): the harness runs them as subprocesses at the loop's hook points with `{ hook, session_id, trace_path }` on stdin and reads their JSON answer from stdout.
+Versions are dates with a sequence number — `YYYY.MM.DD.N` — on the manifest and on every skill a plugin ships (the manifest's dated version is the plugin's own; the package's npm version follows the release). Skills follow the "index first, body on demand" design: only their metadata is injected into an Agent's system prompt; the Agent reads the full `SKILL.md` via shell when it actually needs it. Hook scripts are plain Node (builtins only): the harness runs them as subprocesses at the loop's hook points with `{ hook, session_id, trace_path }` on stdin and reads their JSON answer from stdout.
Included plugins, by category (`PLUGIN_CATEGORIES` in `packages/core/src/plugins/index.ts`; a plugin with no or an unknown category lands in an "Other" group). A plugin built around someone else's product carries a `use-` prefix — `use-firecrawl`, `use-bento-slides`, `use-claude-code` — so the package name says what it is for rather than claiming the product; the skills inside keep their own names:
diff --git a/plugins/agent-development/package.json b/plugins/agent-development/package.json
index 6ee06a3d..dd0a2415 100644
--- a/plugins/agent-development/package.json
+++ b/plugins/agent-development/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/agent-development",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Agent development on PenguinHarness: build on the SDK, call any model through one unified LLM API, manage models and secrets, and orchestrate agents, sessions, costs and schedules.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/agent-development/plugin.json b/plugins/agent-development/plugin.json
index ee8afa23..732c82b8 100644
--- a/plugins/agent-development/plugin.json
+++ b/plugins/agent-development/plugin.json
@@ -3,6 +3,6 @@
"description_zh": "基于 PenguinHarness 的智能体开发:用 SDK 构建应用、经统一的 LLM API 调用任意模型、管理模型与密钥、编排智能体/会话/成本/定时任务。",
"short_description": "SDK, unified LLM API, config and orchestration.",
"short_description_zh": "SDK、统一 LLM API、配置与编排。",
- "version": "2026-09-10.1",
+ "version": "2026.09.10.1",
"category": "ai-app-development"
}
diff --git a/plugins/agent-tuning/package.json b/plugins/agent-tuning/package.json
index 84ab0c94..ea75550e 100644
--- a/plugins/agent-tuning/package.json
+++ b/plugins/agent-tuning/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/agent-tuning",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Agent tuning as a loop: initialize an agent from a requirement, design and calibrate a capability benchmark, run and score isolated cases, and improve the agent from measured results.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/agent-tuning/plugin.json b/plugins/agent-tuning/plugin.json
index 98331ef3..dbc329b7 100644
--- a/plugins/agent-tuning/plugin.json
+++ b/plugins/agent-tuning/plugin.json
@@ -3,6 +3,6 @@
"description_zh": "闭环的 Agent 调优:依据需求初始化 Agent、设计并校准能力 Benchmark、隔离执行与评分、再根据测得结果改进 Agent。",
"short_description": "Initialize, benchmark, evaluate and improve agents.",
"short_description_zh": "初始化、评测、评分与改进 Agent。",
- "version": "2026-09-02.1",
+ "version": "2026.09.02.1",
"category": "ai-app-development"
}
diff --git a/plugins/continual-learning/hooks/stop.mjs b/plugins/continual-learning/hooks/stop.mjs
index cb3a6a84..a4f1eb06 100644
--- a/plugins/continual-learning/hooks/stop.mjs
+++ b/plugins/continual-learning/hooks/stop.mjs
@@ -190,7 +190,7 @@ const prompt = [
"",
"A finding is something a future session of this agent would want to know before it starts: a correction the user made, a gotcha in the environment or the codebase, a command or approach that worked or failed, a convention the user expects. Not a finding: session-specific trivia, secrets or credentials, and anything the skill already says.",
"",
- "For each finding, edit the SKILL.md of the skill it belongs to — one of the invoked skills when it fits, otherwise the most relevant installed skill. Keep the guidance short and general, and bump `version` in that file's frontmatter to today's date with the next sequence number (`YYYY-MM-DD.N`). Do not create new skills and do not touch anything outside the skills directory. If nothing durable was learned, change nothing.",
+ "For each finding, edit the SKILL.md of the skill it belongs to — one of the invoked skills when it fits, otherwise the most relevant installed skill. Keep the guidance short and general, and bump `version` in that file's frontmatter to today's date with the next sequence number (`YYYY.MM.DD.N`). Do not create new skills and do not touch anything outside the skills directory. If nothing durable was learned, change nothing.",
"",
"Transcript excerpt:",
"",
diff --git a/plugins/continual-learning/package.json b/plugins/continual-learning/package.json
index c4eb5894..ae8897d8 100644
--- a/plugins/continual-learning/package.json
+++ b/plugins/continual-learning/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/continual-learning",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Continual learning: a stop hook that, when the task that just ended ran more than 30 completed turns, hands a condensed excerpt of that task to a background subagent, which folds the durable findings into the agent's own skills.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/continual-learning/plugin.json b/plugins/continual-learning/plugin.json
index 88bc97f3..b91be6af 100644
--- a/plugins/continual-learning/plugin.json
+++ b/plugins/continual-learning/plugin.json
@@ -3,7 +3,7 @@
"description_zh": "持续学习:一个 stop hook,刚结束的任务跑了超过 30 个完成的轮次时,就把该任务的浓缩摘录交给一个后台子会话,由它把值得沉淀的发现写进 Agent 自己的 Skill。",
"short_description": "Fold a long task's findings back into the agent's skills.",
"short_description_zh": "把长任务的发现回流进 Agent 的 Skill。",
- "version": "2026-09-02.1",
+ "version": "2026.09.10.1",
"category": "office-productivity",
"preinstall": false,
"hooks": {
diff --git a/plugins/data-analysis/package.json b/plugins/data-analysis/package.json
index e4d1cff4..84d972ef 100644
--- a/plugins/data-analysis/package.json
+++ b/plugins/data-analysis/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/data-analysis",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Complete data-analysis tasks with bounded inspection, correct data semantics, native artifact handling, complete delivery, and risk-based verification.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/data-analysis/plugin.json b/plugins/data-analysis/plugin.json
index 73903391..807dbeb9 100644
--- a/plugins/data-analysis/plugin.json
+++ b/plugins/data-analysis/plugin.json
@@ -2,6 +2,6 @@
"description": "Complete data-analysis tasks with bounded inspection, correct data semantics, native artifact handling, complete delivery, and risk-based verification.",
"short_description": "Deliver correct data-analysis artifacts with bounded verification.",
"short_description_zh": "以正确数据语义完成产物并进行有界核查。",
- "version": "2026-08-03.1",
+ "version": "2026.08.03.1",
"category": "office-productivity"
}
diff --git a/plugins/goal/package.json b/plugins/goal/package.json
index d77e7a06..ad1b8253 100644
--- a/plugins/goal/package.json
+++ b/plugins/goal/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/goal",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Goal mode: a stop hook that keeps the session working toward an objective — re-injecting it every round and checking the goal file — until the goal is complete, blocked, or out of token budget.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/goal/plugin.json b/plugins/goal/plugin.json
index 0dbc0fd0..4695352c 100644
--- a/plugins/goal/plugin.json
+++ b/plugins/goal/plugin.json
@@ -3,7 +3,7 @@
"description_zh": "目标模式:一个 stop hook,让会话持续朝目标工作——每轮重新注入目标并检查目标文件——直到目标完成、受阻或 token 预算耗尽。",
"short_description": "Loop the session on an objective until it is done.",
"short_description_zh": "让会话循环推进一个目标直到完成。",
- "version": "2026-09-01.1",
+ "version": "2026.09.01.1",
"category": "office-productivity",
"hooks": {
"user_prompt": [
diff --git a/plugins/humanizer/package.json b/plugins/humanizer/package.json
index 113bea22..9a4f4955 100644
--- a/plugins/humanizer/package.json
+++ b/plugins/humanizer/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/humanizer",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Rewrite or edit prose in any language so it reads like edited human writing in the register of books, newspapers and encyclopedias rather than default AI output. A small drafting core — vary every pattern, build density from anchored facts in whole grammar, cap the quotables, put a real writer with real material behind the text, let structure serve content, write each language from inside its idiom and typography, verify what you assert, and aim for the natural distribution of edited prose rather than a perfect scorecard — backed by a three-layer tell catalog, per-language cue files for six languages and a seven-round measured case study shipped as reference files for the diagnostic census.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/humanizer/plugin.json b/plugins/humanizer/plugin.json
index 51349b12..6bcf1b46 100644
--- a/plugins/humanizer/plugin.json
+++ b/plugins/humanizer/plugin.json
@@ -2,7 +2,7 @@
"description": "Rewrite or edit prose in any language so it reads like edited human writing in the register of books, newspapers and encyclopedias rather than default AI output. A small drafting core — vary every pattern, build density from anchored facts in whole grammar, cap the quotables, put a real writer with real material behind the text, let structure serve content, write each language from inside its idiom and typography, verify what you assert, and aim for the natural distribution of edited prose rather than a perfect scorecard — backed by a three-layer tell catalog, per-language cue files for six languages and a seven-round measured case study shipped as reference files for the diagnostic census.",
"short_description": "Strip AI-writing tells from prose in any language.",
"short_description_zh": "去除文本的 AI 味,把行文改成书籍、报纸、百科式的风格,任何语言通用。",
- "version": "2026-08-12.1",
+ "version": "2026.08.12.1",
"category": "office-productivity",
"preinstall": false
}
diff --git a/plugins/model-development/package.json b/plugins/model-development/package.json
index 1ae26181..a417fa31 100644
--- a/plugins/model-development/package.json
+++ b/plugins/model-development/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/model-development",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Model development on your own hardware: fine-tune with LlamaFactory, run local models with Ollama, and serve them with vLLM.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/model-development/plugin.json b/plugins/model-development/plugin.json
index 4e0fd500..c8f5e539 100644
--- a/plugins/model-development/plugin.json
+++ b/plugins/model-development/plugin.json
@@ -3,6 +3,6 @@
"description_zh": "在自己的硬件上做模型开发:用 LlamaFactory 微调、用 Ollama 运行本地模型、用 vLLM 部署服务。",
"short_description": "Fine-tune, run and serve models locally.",
"short_description_zh": "本地微调、运行与部署模型。",
- "version": "2026-09-02.1",
+ "version": "2026.09.02.1",
"category": "ai-app-development"
}
diff --git a/plugins/skill-porting/package.json b/plugins/skill-porting/package.json
index 714a16e3..97482b04 100644
--- a/plugins/skill-porting/package.json
+++ b/plugins/skill-porting/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/skill-porting",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Install skills from external ecosystems into this agent's agent_state/skills/ — resolve Claude Code plugin marketplaces, the Codex plugin repo, skills.sh registry names, GitHub repos, or local folders to their skill directories, review every file, and normalize SKILL.md frontmatter to the Penguin format.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/skill-porting/plugin.json b/plugins/skill-porting/plugin.json
index 042f6eea..e5769b1c 100644
--- a/plugins/skill-porting/plugin.json
+++ b/plugins/skill-porting/plugin.json
@@ -2,6 +2,6 @@
"description": "Install skills from external ecosystems into this agent's agent_state/skills/ — resolve Claude Code plugin marketplaces, the Codex plugin repo, skills.sh registry names, GitHub repos, or local folders to their skill directories, review every file, and normalize SKILL.md frontmatter to the Penguin format.",
"short_description": "Port external skills into this agent.",
"short_description_zh": "把外部生态的 Skill 移植进本 Agent。",
- "version": "2026-08-04.1",
+ "version": "2026.08.04.1",
"category": "ai-app-development"
}
diff --git a/plugins/software-development/package.json b/plugins/software-development/package.json
index 2ac21952..8999f420 100644
--- a/plugins/software-development/package.json
+++ b/plugins/software-development/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/software-development",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Software development end to end — disciplined software-engineering practice for real tasks, plus the Penguin visual language for every generated web page and app UI.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/software-development/plugin.json b/plugins/software-development/plugin.json
index 5d395909..edfd0138 100644
--- a/plugins/software-development/plugin.json
+++ b/plugins/software-development/plugin.json
@@ -3,6 +3,6 @@
"description_zh": "端到端的软件开发——面向真实任务的软件工程实践准则,加上生成网页与应用界面的 Penguin 视觉规范。",
"short_description": "Engineering practice and web UI defaults in one plugin.",
"short_description_zh": "软件工程实践与网页视觉规范合一。",
- "version": "2026-09-02.1",
+ "version": "2026.09.02.1",
"category": "software-development"
}
diff --git a/plugins/use-bento-slides/package.json b/plugins/use-bento-slides/package.json
index 7dc8d5b7..7b2c0789 100644
--- a/plugins/use-bento-slides/package.json
+++ b/plugins/use-bento-slides/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/use-bento-slides",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Create and edit Bento presentations \u2014 self-contained .bento.html decks whose document is JSON. Use whenever the user wants a slide deck or presentation: from scratch, from source material, or by improving an existing file.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/use-bento-slides/plugin.json b/plugins/use-bento-slides/plugin.json
index bbdee4d1..c4b695b9 100644
--- a/plugins/use-bento-slides/plugin.json
+++ b/plugins/use-bento-slides/plugin.json
@@ -2,6 +2,6 @@
"description": "Create and edit Bento presentations — self-contained .bento.html decks whose document is JSON. Use whenever the user wants a slide deck or presentation: from scratch, from source material, or by improving an existing file.",
"short_description": "Author Bento slide decks.",
"short_description_zh": "制作 Bento 幻灯片。",
- "version": "2026-07-22.1",
+ "version": "2026.07.22.1",
"category": "office-productivity"
}
diff --git a/plugins/use-claude-code/package.json b/plugins/use-claude-code/package.json
index fb1054f5..8df71648 100644
--- a/plugins/use-claude-code/package.json
+++ b/plugins/use-claude-code/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/use-claude-code",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Run Claude Code on a remote host over SSH \u2014 a persistent expect-driven login session, headless claude -p with the stdin fix, the interactive TUI inside a remote tmux driven by send-keys/capture-pane (one keystroke at a time, capture-verified; relayed user messages go through verbatim), and multi-turn continuity via --session-id/--resume or stream-json; hosts and credentials are placeholders resolved at runtime from the user or the vault, never hardcoded.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/use-claude-code/plugin.json b/plugins/use-claude-code/plugin.json
index 72d9075f..0192a2d2 100644
--- a/plugins/use-claude-code/plugin.json
+++ b/plugins/use-claude-code/plugin.json
@@ -2,7 +2,7 @@
"description": "Run Claude Code on a remote host over SSH — a persistent expect-driven login session, headless claude -p with the stdin fix, the interactive TUI inside a remote tmux driven by send-keys/capture-pane (one keystroke at a time, capture-verified; relayed user messages go through verbatim), and multi-turn continuity via --session-id/--resume or stream-json; hosts and credentials are placeholders resolved at runtime from the user or the vault, never hardcoded.",
"short_description": "Run Claude Code on remote hosts over SSH.",
"short_description_zh": "在远程主机上通过 SSH 运行 Claude Code(持久会话 / headless / tmux 交互 / 多轮续接)。",
- "version": "2026-08-18.1",
+ "version": "2026.08.18.1",
"category": "software-development",
"preinstall": false
}
diff --git a/plugins/use-firecrawl/package.json b/plugins/use-firecrawl/package.json
index c3454391..322b4a40 100644
--- a/plugins/use-firecrawl/package.json
+++ b/plugins/use-firecrawl/package.json
@@ -1,6 +1,6 @@
{
"name": "@penguinharness/use-firecrawl",
- "version": "0.2.9",
+ "version": "0.2.10",
"description": "Search the web and scrape pages into clean markdown with the Firecrawl API \u2014 query-based discovery, single-URL extraction including public PDFs, driven by curl with a vault-stored API key.",
"license": "Apache-2.0",
"repository": {
diff --git a/plugins/use-firecrawl/plugin.json b/plugins/use-firecrawl/plugin.json
index e40c2a4f..67e08c79 100644
--- a/plugins/use-firecrawl/plugin.json
+++ b/plugins/use-firecrawl/plugin.json
@@ -2,6 +2,6 @@
"description": "Search the web and scrape pages into clean markdown with the Firecrawl API — query-based discovery, single-URL extraction including public PDFs, driven by curl with a vault-stored API key.",
"short_description": "Web search and page scraping via Firecrawl.",
"short_description_zh": "用 Firecrawl 做网络搜索与页面抓取。",
- "version": "2026-07-20.1",
+ "version": "2026.07.20.1",
"category": "office-productivity"
}