A local-first multi-agent app development platform, built on PenguinHarness
chore(release): v0.3.1 —— 版本戳与发布正文
lmliheng7fc64596bb54
diff --git a/RELEASE-v0.3.1.md b/RELEASE-v0.3.1.mdnew file mode 100644index 00000000..4b735e07--- /dev/null+++ b/RELEASE-v0.3.1.md@@ -0,0 +1,70 @@+# Adelie v0.3.1 —— 默认中文与人民币、快捷指令可折叠、模型库去掉连接横幅、插件导入规则另起 dialog++v0.3.0 之后的四条界面调整,都来自使用后的具体反馈;另外并入一条部署变量的兼容改动。桌面端、+命令行与服务端的升级路径都没变 —— 已装好的机器不需要改任何配置。++## 这一版改了什么++1. **默认中文 + 默认人民币**。没有在这台浏览器上存过偏好时,界面语言取**中文**、价格按**人民币**+ 显示,不再跟随设备语言与美元。理由是这份产品先给中文读者用:设备是英文并不等于它的使用者要+ 英文词典。「跟随系统」与「美元」仍是设置里的选项,存过偏好的照旧照办。价格的存储与换算一点+ 没动(仍是 USD/million tokens,`USD_TO_CNY = 7`),变的只是默认的显示口径 —— **不需要重新+ 配置任何模型价格**。+2. **「我的快捷指令」文件夹能合上了**。新建会话页输入框下那一行原本是个「页签」:点开就开着,+ 再点无效,而它自己的折叠箭头一直在承诺一个并不存在的动作。现在点一下开、再点一下关。+3. **模型库不再自动铺一块 TokenDance 连接横幅**。那块「连接 TokenDance 钱包,无需手动配置模型+ 密钥」在没有配置 key 时会出现在分组列表上方,每次进页面都把它往下推一次。TokenDance 分组自己+ 的「连接」入口(带连接状态点)本来就在,横幅不是唯一的去处,因此整块去掉;只被它使用的动画、+ 样式与一条浏览器存储登记一并清掉。+4. **插件导入的规则收进独立的对话框**。上传与下载两个对话框底部原来各铺着两段编号列表(导入规则+ + 编写规则),字多到把字段和确认按钮挤下去。现在底部只留一个「导入与编写规则」的文字入口,+ 点开是一个标题为「插件导入与编写规则」的对话框,内容一字未改;Escape 只关规则那一层,下面的+ 导入对话框还开着。+5. **部署变量新旧名字都认**。数据根那批变量上一版改名成了 `ADELIE_*`;还有一批名字的**值是由本+ 仓库之外的程序写进去的**(桌面壳的启动环境、既有部署的 systemd 单元、旧安装器的启动脚本),+ 它们没法跟改名同步。这一版起**读侧同时认两个拼写**:`ADELIE_*` 优先,旧的 `PENGUIN_*` 仍然+ 读得到(`WEB_DIST` / `WEB_DB` / `PORT_FILE` / `DESKTOP_TOKEN` / `CLI_ENTRY` / `PROFILE` /+ `BUNDLED_SHELL`)。换句话说:**已经在跑、配置文件里还写着旧名的部署,照旧能起来**。++## 升级++桌面端(Windows / Linux 的 AppImage)在应用内更新:账号菜单的更新入口或应用菜单里的「检查更新」+会读到这一版。Windows 安装包仍未签名,SmartScreen 会提示一次(「更多信息 → 仍要运行」)。++服务器 / CLI 装的(tar 包或 npm 全局)用同一条链路,数据根(`~/.adelie/data`)不动:++```bash+penguin update --check # 看有没有新版+penguin update --yes # 原地替换 bin/lib/web/node+```++| 产物 | 目标 |+| --- | --- |+| `adelie-desktop-win32-x64.exe` | Windows x64 桌面端(未签名,NSIS 安装器) |+| `adelie-desktop-linux-x86_64.AppImage` / `adelie-desktop-linux-amd64.deb` | Linux x64 桌面端 |+| `penguin-linux-x64.tar.gz` | Linux x64 命令行版(自带 Node 24.18.0) |+| `penguin-win32-x64.zip` | Windows x64 命令行版(自带 Node 与 MinGit) |+| `penguin-universal.tar.gz` | 任意平台(不带运行时,需要 Node ≥ 24) |+| `install.sh` / `install.ps1` | 在线安装脚本(`penguin update` 取的就是它) |+| `latest.yml` / `latest-linux.yml` | 桌面端自动更新读的元数据 |++安装包都在 GitHub Release 上:<https://github.com/lmliheng/Adelie/releases/tag/v0.3.1>。+npm 上整条链(3 个宿主包 + 16 个插件包)同样是 **0.3.1**:`npm install -g @lmliheng/penguin-cli`。++## 质量门禁(本机跑过)++- `pnpm typecheck`(8 个工作区包)、`pnpm lint`(oxlint,0 警告 0 错误)、`pnpm format:check`+ (prettier)全过。+- 测试全绿:**8878 通过 / 14 跳过 / 0 失败**(docs 62 · ui 1000 · core 1359 · sandbox-bwrap 24 ·+ dsh 5 · seatbelt 17 · wsl 25 · server 2594 · cli 505 · web 2877 · desktop 279 · ui-gallery 131)。+- 四条改动在真页面上逐条核过:默认语言、¥ 计价、横幅消失而分组连接入口仍在、文件夹开合、+ 两个导入对话框的规则入口与 Escape 层级。++## 已知待办++- **没有代码签名**:Windows 的 Authenticode 与 macOS 的 Developer ID 都没有;macOS 的 dmg 会被+ Gatekeeper 拦,所以这一版仍不发 macOS。+- 命令名仍是 `penguin`、数据根 `~/.adelie`;安装脚本与打包脚本里的产物名仍是 `penguin-*`+ (流水线重写时与安装脚本一起改)。+- `.github/workflows/release.yml` 仍是上游那条(只能手动 dispatch),Adelie 自己的发布流水线还+ 没写;这一版的安装包是「本机脚本 + `desktop-build.yml` 手工 dispatch」打的。diff --git a/package.json b/package.jsonindex 191121aa..2a5213c9 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "penguin-harness",- "version": "0.3.0",+ "version": "0.3.1","private": true,"type": "module","description": "Adelie \u2014 TypeScript AI Agent (SDK + CLI).",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 65107e6c..35eb9b00 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-cli",- "version": "0.3.0",+ "version": "0.3.1","type": "module","description": "Adelie CLI: interactive REPL and single-task runner over @lmliheng/penguin-core.","license": "Apache-2.0",diff --git a/packages/core/package.json b/packages/core/package.jsonindex 49a1f7c3..9ce0aadd 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-core",- "version": "0.3.0",+ "version": "0.3.1","type": "module","engines": {"node": ">=24"diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex 410a86cc..96155515 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -92,7 +92,7 @@ export type {} from "./agent.js";/** SDK version number. */-export const VERSION = "0.3.0";+export const VERSION = "0.3.1";/** 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/desktop/package.json b/packages/desktop/package.jsonindex f117b94c..ce2864a5 100644--- a/packages/desktop/package.json+++ b/packages/desktop/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-desktop",- "version": "0.3.0",+ "version": "0.3.1","private": true,"type": "module","description": "Adelie desktop app: Electron shell running @lmliheng/penguin-server as a utilityProcess, window on http://localhost (same-origin HTTP/SSE, no private IPC).",diff --git a/packages/docs/package.json b/packages/docs/package.jsonindex c762d2ae..256e2c94 100644--- a/packages/docs/package.json+++ b/packages/docs/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-docs",- "version": "0.3.0",+ "version": "0.3.1","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/hmr/package.json b/packages/hmr/package.jsonindex 216762ff..a694003a 100644--- a/packages/hmr/package.json+++ b/packages/hmr/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-hmr",- "version": "0.3.0",+ "version": "0.3.1","private": true,"type": "module","description": "The hot-update mechanism: the version store, the atomic commit, the resource registry and the park → boot → swap. Mechanism only.",diff --git a/packages/server/package.json b/packages/server/package.jsonindex 2fb21363..b075d244 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-server",- "version": "0.3.0",+ "version": "0.3.1","type": "module","description": "Adelie web server: multi-user authentication and authorization, Session execution with SSE streaming, and usage accounting, built on @lmliheng/penguin-core.","license": "Apache-2.0",diff --git a/packages/ui-gallery/package.json b/packages/ui-gallery/package.jsonindex 87f6b725..1d6661cb 100644--- a/packages/ui-gallery/package.json+++ b/packages/ui-gallery/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-ui-gallery",- "version": "0.3.0",+ "version": "0.3.1","private": true,"type": "module","description": "Adelie UI gallery (local dev tool, Vite + React): the real Web App framed against an in-browser demo API, one page per surface in every theme, mode, text size, font pairing and language, plus the Foundations boards and the bundled fonts.",diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 874b8b15..0bb28023 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-ui",- "version": "0.3.0",+ "version": "0.3.1","private": true,"type": "module","description": "Adelie shared UI: design tokens, the three themes, bundled fonts and the component set the Web App and the gallery render.",diff --git a/packages/web/package.json b/packages/web/package.jsonindex 2f1061f7..d107738f 100644--- a/packages/web/package.json+++ b/packages/web/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-web",- "version": "0.3.0",+ "version": "0.3.1","private": true,"type": "module","description": "Adelie 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/plugins/agent-company/package.json b/plugins/agent-company/package.jsonindex 90e5429d..ca16b37d 100644--- a/plugins/agent-company/package.json+++ b/plugins/agent-company/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/agent-company",- "version": "0.3.0",+ "version": "0.3.1","description": "Company mode for Adelie agents: creating the organization with the user, the employee protocol every desk and ticket session follows, plus the CEO, HR and finance playbooks for running an organization on calendar events, tickets, channels and budgets.","license": "Apache-2.0","repository": {diff --git a/plugins/agent-development/package.json b/plugins/agent-development/package.jsonindex 57462cfa..51411e83 100644--- a/plugins/agent-development/package.json+++ b/plugins/agent-development/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/agent-development",- "version": "0.3.0",+ "version": "0.3.1","description": "Agent development on Adelie: 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-tuning/package.json b/plugins/agent-tuning/package.jsonindex c01f83ae..a38f52b7 100644--- a/plugins/agent-tuning/package.json+++ b/plugins/agent-tuning/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/agent-tuning",- "version": "0.3.0",+ "version": "0.3.1","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/browser-automation/package.json b/plugins/browser-automation/package.jsonindex 298a6a48..fac2182c 100644--- a/plugins/browser-automation/package.json+++ b/plugins/browser-automation/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/browser-automation",- "version": "0.3.0",+ "version": "0.3.1","description": "Drive the Adelie desktop app's built-in browser with penguin browser — read pages as simplified HTML or text, act with JavaScript and trusted clicks and typing, extract structured data, and import sign-ins from the system browser.","license": "Apache-2.0","repository": {diff --git a/plugins/continual-learning/package.json b/plugins/continual-learning/package.jsonindex d188e27d..a76a2817 100644--- a/plugins/continual-learning/package.json+++ b/plugins/continual-learning/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/continual-learning",- "version": "0.3.0",+ "version": "0.3.1","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/csu-mail/package.json b/plugins/csu-mail/package.jsonindex a3e9a4cc..4b65b400 100644--- a/plugins/csu-mail/package.json+++ b/plugins/csu-mail/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/csu-mail",- "version": "0.3.0",+ "version": "0.3.1","description": "Manage a Coremail mailbox (CSU student mail, mail.csu.edu.cn) over IMAP/SMTP with a client app password instead of the unified auth portal — create the app password once, then list, search, read and send mail from the shell, with a copy kept in the Sent folder.","license": "Apache-2.0","repository": {diff --git a/plugins/data-analysis/package.json b/plugins/data-analysis/package.jsonindex 8ec13ee1..931a9118 100644--- a/plugins/data-analysis/package.json+++ b/plugins/data-analysis/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/data-analysis",- "version": "0.3.0",+ "version": "0.3.1","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/goal/package.json b/plugins/goal/package.jsonindex e00701b1..fad37fa3 100644--- a/plugins/goal/package.json+++ b/plugins/goal/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/goal",- "version": "0.3.0",+ "version": "0.3.1","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/humanizer/package.json b/plugins/humanizer/package.jsonindex 9a4604fd..9cf9bd13 100644--- a/plugins/humanizer/package.json+++ b/plugins/humanizer/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/humanizer",- "version": "0.3.0",+ "version": "0.3.1","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/model-development/package.json b/plugins/model-development/package.jsonindex ff8baebf..8b8402b6 100644--- a/plugins/model-development/package.json+++ b/plugins/model-development/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/model-development",- "version": "0.3.0",+ "version": "0.3.1","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/skill-porting/package.json b/plugins/skill-porting/package.jsonindex 825d7f43..a3f713b8 100644--- a/plugins/skill-porting/package.json+++ b/plugins/skill-porting/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/skill-porting",- "version": "0.3.0",+ "version": "0.3.1","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/software-development/package.json b/plugins/software-development/package.jsonindex 5c8ec0f0..5ff869d7 100644--- a/plugins/software-development/package.json+++ b/plugins/software-development/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/software-development",- "version": "0.3.0",+ "version": "0.3.1","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/use-bento-slides/package.json b/plugins/use-bento-slides/package.jsonindex f1cd2ad7..aa568008 100644--- a/plugins/use-bento-slides/package.json+++ b/plugins/use-bento-slides/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/use-bento-slides",- "version": "0.3.0",+ "version": "0.3.1","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-claude-code/package.json b/plugins/use-claude-code/package.jsonindex 76d7bd6b..b0c0a891 100644--- a/plugins/use-claude-code/package.json+++ b/plugins/use-claude-code/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/use-claude-code",- "version": "0.3.0",+ "version": "0.3.1","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-firecrawl/package.json b/plugins/use-firecrawl/package.jsonindex bee3f31d..247f5ef0 100644--- a/plugins/use-firecrawl/package.json+++ b/plugins/use-firecrawl/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/use-firecrawl",- "version": "0.3.0",+ "version": "0.3.1","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/wechat-miniprogram/package.json b/plugins/wechat-miniprogram/package.jsonindex a5e3eb34..ee6e3d1b 100644--- a/plugins/wechat-miniprogram/package.json+++ b/plugins/wechat-miniprogram/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/wechat-miniprogram",- "version": "0.3.0",+ "version": "0.3.1","description": "Publish a WeChat mini-program end to end from a headless Linux server: QR login to mp.weixin.qq.com, switching from a public account to the mini-program backend, the AppID and upload key, IP whitelisting, miniprogram-ci upload, the privacy policy, review and release.","license": "Apache-2.0","repository": {