A local-first multi-agent app development platform, built on PenguinHarness
chore(release): v0.3.5 —— 版本戳与发布正文
lmliheng632037988b00
diff --git a/docs/releases/RELEASE-v0.3.5.md b/docs/releases/RELEASE-v0.3.5.mdnew file mode 100644index 00000000..64e4c19f--- /dev/null+++ b/docs/releases/RELEASE-v0.3.5.md@@ -0,0 +1,80 @@+# Adelie v0.3.5 —— 权限菜单给出具名沙箱预设、Linux 沙箱在默认 Ubuntu 上开箱即用、停靠面可全屏,外加一批界面修补++这一版是定时轮按 `LOOP.md` 的口径自动发的:自 v0.3.4 起 `main` 上落了 **12 个功能性提交**+(阈值 10),四道门禁全绿。**没有破坏性改动**:数据根、配置格式、HTTP 接口都没动,已装好的机器+不需要改任何配置。++## 这一版改了什么++1. **权限菜单改成四个具名预设**。输入框上的权限按钮不再列三档设置,而是+ **完全访问 / 每次询问 / 工作区可写 / 只读**,管理员再多一个「更多…」。一个预设 = 文件模式 ++ 网络档 + 审批模式,选一次就把三项一起定在这条会话上;悬停给出这个预设拦什么、放什么、+ 这台机器能不能真的执行它。**更多…**打开设置里的沙箱卡片:顶部多了一张预设表(名字、三列取值、+ 置顶 / 拖动排序 / 设为默认 / 删除),卡片顶部另有**开关**决定新会话是否受限于沙箱,+ 临时目录与掩蔽路径收进「高级」折叠(上游 `#975` 移植)。+2. **Linux 沙箱在默认的 Ubuntu 上开箱即用**。默认的 Ubuntu 24.04 上+ `kernel.apparmor_restrict_unprivileged_userns=1`,bubblewrap 起不来;现在走的是一条不需要 root 的+ 路(Landlock),文档把「要网络隔离与掩蔽路径时才需要的那一步 root 操作」写成 CLI 快速上手里的+ 一节(上游 `#978` / `#977` 移植)。+3. **停靠面可以拉到最大**。带标签页的停靠面现在能长到它的最大尺寸 —— 表头那颗按钮,或把边缘+ 拖过上限即可,进出都有主题的布局动效;面板背后的清单变成一张注册表定义,面板列表都从它读+ (这是插件提供面板的接缝,上游 `#961` 移植)。+4. **评估与优化的对话回到普通会话列表**。评估中心「使用」打开的那条对话是普通会话,+ 按带它干活的智能体归类,不再进会话列表的「评估任务」折叠夹 —— 那个折叠夹只留智能体自己+ `penguin run --source benchmark` 起的被测会话(上游 `#969` 移植)。+5. **手机上能选中并复制终端里的文本**。触摸设备过去做不出选区(xterm 关着 `user-select`,+ 长按又被浏览器抢走),现在键栏多了**选择**与**复制**两颗键:进入选择后点一下取一个词+ (点在空白处取整行)、拖动把选区扩到手指所在的单元格,再按复制写进剪贴板;+ 复制只在真的写成功之后才清掉选区。+6. **侧栏会话列表的「搜索会话」旁多了批量处理**。进入后每行多一个勾选框、列表上方升起批量栏:+ 批量归档 / 批量取消归档 / 批量删除(删除仍走二次确认),退出即取消选择。+7. **随包插件的依赖按锁定版本安装,许可证随包发布**。构建按 `pnpm-lock.yaml` 的解析结果安装+ 插件的原生依赖(对传递依赖也钉住版本),并在插件前缀的根上写出 `THIRD-PARTY-NOTICES.md`,+ 它跟着插件走到哪就在哪(上游 `#979` 移植)。+8. **跨机修复**:机器的服务端在自己的会话里跑,通往机器的那一跳先于浏览器作答;声明构建+ 这一次给足堆内存(上游 `#975` 之后)。+9. **CI 与测试**:CI 真跑四个沙盒插件的测试(跑不起来就报错);ACL runner 的用例用自己的 60s+ 期限,不再被 vitest 的 5s 默认切掉。++## 升级++桌面端(Windows / Linux 的 AppImage)在应用内更新:账号菜单的更新入口或应用菜单里的「检查更新」+会读到这一版,默认走 OSS 镜像,镜像不通自动回退 GitHub Releases。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.5>;+同一份资产也在 OSS 镜像上(`.../releases/v0.3.5/` 与版本无关的 `.../latest/`)。+npm 上整条链同样是 **0.3.5**:`npm install -g @lmliheng/penguin-cli`。++## 质量门禁(本机跑过)++- `pnpm typecheck`(8 个工作区包)、`pnpm lint`(oxlint,0 警告 0 错误)、`pnpm format:check`+ (prettier)全过。+- 测试全绿:**9261 通过 / 17 跳过 / 0 失败**(docs 62 · ui 1008 · core 1368(+5 跳过) ·+ server 2775(+4 跳过) · cli 507 · web 3032(+2 跳过) · desktop 286 · ui-gallery 131 ·+ 四个 sandbox 插件 92(+6 跳过))。++## 已知待办++- **没有代码签名**: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 dda77b9c..1c09d3c2 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "penguin-harness",- "version": "0.3.4",+ "version": "0.3.5","private": true,"type": "module","description": "Adelie — TypeScript AI Agent (SDK + CLI).",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 233cd97d..bee368d7 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-cli",- "version": "0.3.4",+ "version": "0.3.5","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 f7c2b4c4..224ecd11 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-core",- "version": "0.3.4",+ "version": "0.3.5","type": "module","engines": {"node": ">=24"diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex 50d2ecc8..0b191e5a 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.4";+export const VERSION = "0.3.5";/** 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 433687f7..e2031b46 100644--- a/packages/desktop/package.json+++ b/packages/desktop/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-desktop",- "version": "0.3.4",+ "version": "0.3.5","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 3ee2a0da..9ca859bf 100644--- a/packages/docs/package.json+++ b/packages/docs/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-docs",- "version": "0.3.4",+ "version": "0.3.5","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 a6d24236..9ed1c4b5 100644--- a/packages/hmr/package.json+++ b/packages/hmr/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-hmr",- "version": "0.3.4",+ "version": "0.3.5","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 eadf4b3d..8d6271f0 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-server",- "version": "0.3.4",+ "version": "0.3.5","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 0a2a311a..c0a0f62a 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.4",+ "version": "0.3.5","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 b7b511e5..7cc731bc 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-ui",- "version": "0.3.4",+ "version": "0.3.5","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 3874c85c..eced06fd 100644--- a/packages/web/package.json+++ b/packages/web/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/penguin-web",- "version": "0.3.4",+ "version": "0.3.5","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 fb512e2d..4fca2909 100644--- a/plugins/agent-company/package.json+++ b/plugins/agent-company/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/agent-company",- "version": "0.3.4",+ "version": "0.3.5","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 761030cc..d26090b0 100644--- a/plugins/agent-development/package.json+++ b/plugins/agent-development/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/agent-development",- "version": "0.3.4",+ "version": "0.3.5","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 745b7841..99d69bff 100644--- a/plugins/agent-tuning/package.json+++ b/plugins/agent-tuning/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/agent-tuning",- "version": "0.3.4",+ "version": "0.3.5","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 68c2d29c..6a3df659 100644--- a/plugins/browser-automation/package.json+++ b/plugins/browser-automation/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/browser-automation",- "version": "0.3.4",+ "version": "0.3.5","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 e4200952..b271e21f 100644--- a/plugins/continual-learning/package.json+++ b/plugins/continual-learning/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/continual-learning",- "version": "0.3.4",+ "version": "0.3.5","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 ec165d28..8d942b57 100644--- a/plugins/csu-mail/package.json+++ b/plugins/csu-mail/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/csu-mail",- "version": "0.3.4",+ "version": "0.3.5","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 d6860659..7fc934f2 100644--- a/plugins/data-analysis/package.json+++ b/plugins/data-analysis/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/data-analysis",- "version": "0.3.4",+ "version": "0.3.5","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 1c7a7a53..1d21c289 100644--- a/plugins/goal/package.json+++ b/plugins/goal/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/goal",- "version": "0.3.4",+ "version": "0.3.5","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 8592087c..72e32b94 100644--- a/plugins/humanizer/package.json+++ b/plugins/humanizer/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/humanizer",- "version": "0.3.4",+ "version": "0.3.5","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/lesson-video/package.json b/plugins/lesson-video/package.jsonindex 8c1b8290..4f40c6d2 100644--- a/plugins/lesson-video/package.json+++ b/plugins/lesson-video/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/lesson-video",- "version": "0.3.4",+ "version": "0.3.5","description": "Narrated vertical lesson videos (1080x1920) from a script: an HTML slide deck driven by time, edge-tts voice-over with word-level timing, Playwright frame capture, ffmpeg mux, cover art and publishing copy.","license": "Apache-2.0","repository": {diff --git a/plugins/model-development/package.json b/plugins/model-development/package.jsonindex 723f2473..283cc208 100644--- a/plugins/model-development/package.json+++ b/plugins/model-development/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/model-development",- "version": "0.3.4",+ "version": "0.3.5","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/requirements-box/package.json b/plugins/requirements-box/package.jsonindex 2700bbc4..0994ccd7 100644--- a/plugins/requirements-box/package.json+++ b/plugins/requirements-box/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/requirements-box",- "version": "0.3.4",+ "version": "0.3.5","description": "A requirements box: one keyed page where the user files what they want done, a scheduled task that wakes the agent to work through them, and a per-round report by mail — the service being a single dependency-free Node file with a JSON store and a keyed API, the patrol protocol one markdown file.","license": "Apache-2.0","repository": {diff --git a/plugins/skill-porting/package.json b/plugins/skill-porting/package.jsonindex fde99166..eecbf154 100644--- a/plugins/skill-porting/package.json+++ b/plugins/skill-porting/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/skill-porting",- "version": "0.3.4",+ "version": "0.3.5","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 709d2813..a4b28f32 100644--- a/plugins/software-development/package.json+++ b/plugins/software-development/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/software-development",- "version": "0.3.4",+ "version": "0.3.5","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 1c8f478e..456cef66 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.4",+ "version": "0.3.5","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.","license": "Apache-2.0","repository": {diff --git a/plugins/use-claude-code/package.json b/plugins/use-claude-code/package.jsonindex 653080a5..2d30dea0 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.4",+ "version": "0.3.5","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.","license": "Apache-2.0","repository": {diff --git a/plugins/use-firecrawl/package.json b/plugins/use-firecrawl/package.jsonindex 33e5db5e..5650a3df 100644--- a/plugins/use-firecrawl/package.json+++ b/plugins/use-firecrawl/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/use-firecrawl",- "version": "0.3.4",+ "version": "0.3.5","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.","license": "Apache-2.0","repository": {diff --git a/plugins/wechat-miniprogram/package.json b/plugins/wechat-miniprogram/package.jsonindex 48474c64..d7129f64 100644--- a/plugins/wechat-miniprogram/package.json+++ b/plugins/wechat-miniprogram/package.json@@ -1,6 +1,6 @@{"name": "@lmliheng/wechat-miniprogram",- "version": "0.3.4",+ "version": "0.3.5","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": {