A local-first multi-agent app development platform, built on PenguinHarness
release: 0.2.2 (#265)
Yaowei Zheng6110670982b9
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 81142bde..1b632890 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,6 +2,7 @@One brief line per release. Per-release detail lives in [`changelog/<version>/`](changelog/).+- **0.2.2** — 2026-08-11. Long-term Memory across sessions (per-agent user and Workspace scopes, index-only injection, a Memory tab), MCP Server support over stdio / Streamable HTTP / SSE with in-app management, Skills/Vault/Schedules behind Memory-style editable prompts and enable switches, dated config kernel versions with a smart no-loss Update beside restore, a hardened core runtime (unlimited default turns, context-window-derived caps, atomic Trace appends), desktop and proxy polish, a web UX batch, and a clean dependency audit. ([details](changelog/0.2.2/README.md))- **0.2.1** — 2026-08-04. The desktop app: an Electron shell over the unchanged server and Web App (signed-in on open, shared data root, per-root single-instance lock, three-platform installers mirrored to OSS), a landing download page with mirror-aware static links, download source selection for standalone installers and `penguin update`, compaction that survives malformed summaries with retries and costs finally visible, a random seeded admin password with login throttling, skills manageable from agent settings, per-Project new-chat defaults, a Traces page scaled onto a SQLite trace index, and the server's last IO hotspots closed. ([details](changelog/0.2.1/README.md))- **0.2.0** — 2026-08-03. One sealed installer bundle per target serving online and offline installs alike — now mirrored to Alibaba Cloud OSS with automatic fallback — truncated tool output recovered from the Session scratchpad, chat navigation for long conversations (shell-style ↑ input recall, stacked sticky run headers, a minimap tick rail with hover previews), steering that survives reloads and carries file attachments, a DB-served session list with paged sidebar groups, and the refreshed qianwenai / OpenRouter model catalog defaulting to deepseek-v4-flash. ([details](changelog/0.2.0/README.md))- **0.1.5** — 2026-07-30. Self-contained offline installer bundles for all five platforms (with MinGit bundled on Windows), composer attachments of any file type with images reaching steering and goal objectives, in-run recovery for every LLM failure short of a rejected credential, a tenth-shorter default system prompt, the paper-editorial web-design theme with thinking/image guidance in the SDK skill, and a refreshed README/landing install story. ([details](changelog/0.1.5/README.md))diff --git a/changelog/unreleased/2026-08-03-chat-toolbar-layout.md b/changelog/0.2.2/2026-08-03-chat-toolbar-layout.mdsimilarity index 100%rename from changelog/unreleased/2026-08-03-chat-toolbar-layout.mdrename to changelog/0.2.2/2026-08-03-chat-toolbar-layout.mddiff --git a/changelog/unreleased/2026-08-06-desktop-app.md b/changelog/0.2.2/2026-08-06-desktop-app.mdsimilarity index 100%rename from changelog/unreleased/2026-08-06-desktop-app.mdrename to changelog/0.2.2/2026-08-06-desktop-app.mddiff --git a/changelog/unreleased/2026-08-06-landing-desktop-first.md b/changelog/0.2.2/2026-08-06-landing-desktop-first.mdsimilarity index 100%rename from changelog/unreleased/2026-08-06-landing-desktop-first.mdrename to changelog/0.2.2/2026-08-06-landing-desktop-first.mddiff --git a/changelog/unreleased/2026-08-06-model-catalog-inkling-dsv4-flash-0731.md b/changelog/0.2.2/2026-08-06-model-catalog-inkling-dsv4-flash-0731.mdsimilarity index 100%rename from changelog/unreleased/2026-08-06-model-catalog-inkling-dsv4-flash-0731.mdrename to changelog/0.2.2/2026-08-06-model-catalog-inkling-dsv4-flash-0731.mddiff --git a/changelog/unreleased/2026-08-06-release-version-guard.md b/changelog/0.2.2/2026-08-06-release-version-guard.mdsimilarity index 100%rename from changelog/unreleased/2026-08-06-release-version-guard.mdrename to changelog/0.2.2/2026-08-06-release-version-guard.mddiff --git a/changelog/unreleased/2026-08-06-system-proxy-switch.md b/changelog/0.2.2/2026-08-06-system-proxy-switch.mdsimilarity index 100%rename from changelog/unreleased/2026-08-06-system-proxy-switch.mdrename to changelog/0.2.2/2026-08-06-system-proxy-switch.mddiff --git a/changelog/unreleased/2026-08-06-web-app.md b/changelog/0.2.2/2026-08-06-web-app.mdsimilarity index 100%rename from changelog/unreleased/2026-08-06-web-app.mdrename to changelog/0.2.2/2026-08-06-web-app.mddiff --git a/changelog/unreleased/2026-08-07-core-runtime.md b/changelog/0.2.2/2026-08-07-core-runtime.mdsimilarity index 100%rename from changelog/unreleased/2026-08-07-core-runtime.mdrename to changelog/0.2.2/2026-08-07-core-runtime.mddiff --git a/changelog/unreleased/2026-08-07-memory.md b/changelog/0.2.2/2026-08-07-memory.mdsimilarity index 100%rename from changelog/unreleased/2026-08-07-memory.mdrename to changelog/0.2.2/2026-08-07-memory.mddiff --git a/changelog/unreleased/2026-08-10-mcp-servers.md b/changelog/0.2.2/2026-08-10-mcp-servers.mdsimilarity index 100%rename from changelog/unreleased/2026-08-10-mcp-servers.mdrename to changelog/0.2.2/2026-08-10-mcp-servers.mddiff --git a/changelog/unreleased/2026-08-10-web-app.md b/changelog/0.2.2/2026-08-10-web-app.mdsimilarity index 100%rename from changelog/unreleased/2026-08-10-web-app.mdrename to changelog/0.2.2/2026-08-10-web-app.mddiff --git a/changelog/unreleased/2026-08-10-web-chat-ux.md b/changelog/0.2.2/2026-08-10-web-chat-ux.mdsimilarity index 100%rename from changelog/unreleased/2026-08-10-web-chat-ux.mdrename to changelog/0.2.2/2026-08-10-web-chat-ux.mddiff --git a/changelog/unreleased/2026-08-11-agent-kernel-version.md b/changelog/0.2.2/2026-08-11-agent-kernel-version.mdsimilarity index 100%rename from changelog/unreleased/2026-08-11-agent-kernel-version.mdrename to changelog/0.2.2/2026-08-11-agent-kernel-version.mddiff --git a/changelog/unreleased/2026-08-11-backward-compatibility.md b/changelog/0.2.2/2026-08-11-backward-compatibility.mdsimilarity index 100%rename from changelog/unreleased/2026-08-11-backward-compatibility.mdrename to changelog/0.2.2/2026-08-11-backward-compatibility.mddiff --git a/changelog/unreleased/2026-08-11-chat-phantom-idle-reload.md b/changelog/0.2.2/2026-08-11-chat-phantom-idle-reload.mdsimilarity index 100%rename from changelog/unreleased/2026-08-11-chat-phantom-idle-reload.mdrename to changelog/0.2.2/2026-08-11-chat-phantom-idle-reload.mddiff --git a/changelog/0.2.2/2026-08-11-deps-hono-node-server-nanoid.md b/changelog/0.2.2/2026-08-11-deps-hono-node-server-nanoid.mdnew file mode 100644index 00000000..0ffd3882--- /dev/null+++ b/changelog/0.2.2/2026-08-11-deps-hono-node-server-nanoid.md@@ -0,0 +1,5 @@+# Dependencies: @hono/node-server ≥ 2.0.5 and nanoid ≥ 3.3.17 (workspace overrides)++Resolves Dependabot alert 20 — GHSA-frvp-7c67-39w9, a medium path traversal in `@hono/node-server`'s `serve-static` on Windows via an encoded backslash (`%5C`). The server package's direct dependency was already `^2.0.5` (resolving 2.0.12); the vulnerable 1.19.17 copy came transitively from `@modelcontextprotocol/node`, which pins `^1.19.9` and has no fixed release. A workspace override in `pnpm-workspace.yaml` (the only place pnpm 11 honors overrides) forces every copy to ≥ 2.0.5, with a comment noting the removal condition; the MCP stdio / Streamable HTTP / SSE transport tests all pass against the forced version.++The same pass clears the one remaining `pnpm audit` finding: `nanoid` < 3.3.17 (high — custom generators can loop indefinitely when size is 0). Only 3.x copies existed in the lockfile, so the override stays within the major. `pnpm audit` reports **no known vulnerabilities** after both overrides (#264).diff --git a/changelog/unreleased/2026-08-11-humanizer-skill.md b/changelog/0.2.2/2026-08-11-humanizer-skill.mdsimilarity index 100%rename from changelog/unreleased/2026-08-11-humanizer-skill.mdrename to changelog/0.2.2/2026-08-11-humanizer-skill.mddiff --git a/changelog/unreleased/2026-08-11-prompt-injection-toggles.md b/changelog/0.2.2/2026-08-11-prompt-injection-toggles.mdsimilarity index 100%rename from changelog/unreleased/2026-08-11-prompt-injection-toggles.mdrename to changelog/0.2.2/2026-08-11-prompt-injection-toggles.mddiff --git a/changelog/unreleased/2026-08-11-web-session-and-schedule-forms.md b/changelog/0.2.2/2026-08-11-web-session-and-schedule-forms.mdsimilarity index 100%rename from changelog/unreleased/2026-08-11-web-session-and-schedule-forms.mdrename to changelog/0.2.2/2026-08-11-web-session-and-schedule-forms.mddiff --git a/changelog/unreleased/2026-08-11-web-ui-polish.md b/changelog/0.2.2/2026-08-11-web-ui-polish.mdsimilarity index 100%rename from changelog/unreleased/2026-08-11-web-ui-polish.mdrename to changelog/0.2.2/2026-08-11-web-ui-polish.mddiff --git a/changelog/0.2.2/README.md b/changelog/0.2.2/README.mdnew file mode 100644index 00000000..26c4d58e--- /dev/null+++ b/changelog/0.2.2/README.md@@ -0,0 +1,42 @@+# Version 0.2.2++Released on 2026-08-11.++- [2026-08-11] Dependencies: workspace overrides force `@hono/node-server` ≥ 2.0.5 (GHSA-frvp-7c67-39w9 path traversal in `serve-static` on Windows; the vulnerable copy came transitively from `@modelcontextprotocol/node`, which pins `^1.19.9` with no fixed release yet) and `nanoid` ≥ 3.3.17 (infinite-loop high) — `pnpm audit` reports no known vulnerabilities after both (#264). ([details](2026-08-11-deps-hono-node-server-nanoid.md))++- [2026-08-11] Skills: new manual-install library skill `humanizer` — rewrites prose in any language into book/newspaper/encyclopedia register; a seven-principle drafting core backed by a 25-tell three-layer diagnostic catalog, six-language cues and a five-round measured case study as reference files; Office Productivity group, `preinstall: false` (#256). ([details](2026-08-11-humanizer-skill.md))++- [2026-08-11] Core + Web App: agent configs gain a dated **kernel version** — creation and restore stamp the defaults generation, a hash-pin guard test forces a dated bump on any defaults change, and an Update control beside "restore defaults" smart-merges newer defaults while keeping user-customized fields (reported by readable names; unknown generations conservatively kept), with outdated hints on the agent overview and list cards; the overview itself settles into ruled Kernel and Agent State sections — version values rendered prominent, snapshot import/export beside the State version, a click-to-copy state path, the active-session stat dropped (#263, #261, stacked on #257). ([details](2026-08-11-agent-kernel-version.md), [compat](2026-08-11-backward-compatibility.md))++- [2026-08-11] Core + Web App: Skills, Vault and Schedules adopt Memory's injection pattern — the default template carries only `{{VAULT}}` / `{{SKILLS}}` / `{{SCHEDULES}}` section placeholders, each expanding to a per-agent editable prompt behind an enable switch on its tab; the new Schedules prompt teaches the model to manage schedule TOMLs with the ordinary file tools (`{{SCHEDULE_LIST}}` roster included), and legacy baked templates keep working, with one-click migration where the old default wording is intact (#257). ([details](2026-08-11-prompt-injection-toggles.md), [compat](2026-08-11-backward-compatibility.md))++- [2026-08-11] Web App: UI polish — the initial-password banner gains a flat dismiss X persisted per user, the locked-model chip's hint shrinks to "type /model to switch models" with a pointer cursor, the agent list's Settings button adopts the canonical sidebar gear at label color, and the agent detail tabs settle into Overview / System Prompt / Runtime / Tools / Skills / Memory / Vault / Schedules with the list's stat icons mirroring that order at uniform, wider spacing, and the shared toggle switch drops its lingering post-click focus halo for a refined track/knob treatment (#252, #253, #254, #255, #259). ([details](2026-08-11-web-ui-polish.md))++- [2026-08-11] Web App: the chat details card gains a click-to-copy Session id, the schedule form adopts the Project-defaults model/workspace pickers and a searchable session dropdown, saving Project new-chat defaults toasts, and the missing `{{SHELL}}` placeholder is restored to the prompt-placeholder list (drift-proofed by a test against the real default prompt). ([details](2026-08-11-web-session-and-schedule-forms.md))++- [2026-08-11] Web App: leaving a still-running conversation (switch or "new conversation") no longer fires a phantom completion that reloaded the session/Agent lists — the reload trigger is now guarded by session identity, removing an occasional app-wide flicker right after the click (#242). ([details](2026-08-11-chat-phantom-idle-reload.md))++- [2026-08-10] Core: MCP Server support lands on the reserved `tools.mcpServers` seam — official TypeScript SDK v2, three transports (stdio / Streamable HTTP / legacy SSE), tools exposed as `mcp__<server>__<tool>` under the unchanged execution and approval contract, `readOnlyHint` → read-only permission, vault kept out of server processes, unreachable servers skipped with a warning; the agent settings page gains form-based MCP Server management with a connectivity test; session creation no longer blocks on MCP connects — the wait streams as `mcp_connect_begin/end` events (unified chat step row shared with compaction, CLI lines, a Trace-timeline span) and the toolset moves from `session_meta.tools` into a new `tool_list_ready` event (**breaking**: pre-split Traces' embedded tool record is no longer displayed) (#242; closes #239, #229). ([details](2026-08-10-mcp-servers.md))++- [2026-08-10] Web App: the chat header statistics move to the far right and double as the details-card trigger (numbers when wide, info icon when narrow, a live running-services count beside the elapsed time), the card gains a copyable Session id and lists the session's background processes with a working Stop (new `/processes` endpoints; deletion now ends a conversation's processes, idle eviction spares runtimes with live ones) and names the trace file path, typed-but-unsent new-chat text parks as sendable draft conversations in a sidebar Drafts group, docked panel swaps retract before expanding, the seeded admin password is stored in the data root and re-printed framed on every start until changed (CLI attach included), conversations open pinned to the bottom under the notice banner, the scheduled-task form's model/workspace/session pickers match the defaults dialog (searchable session dropdown), saving Project defaults toasts "已保存", copy feedback is unified onto the button, the `{{SHELL}}` placeholder returns to the prompt tab, benchmark case materials open expanded, and the locked model chip points at `/model`. ([details](2026-08-10-web-app.md))++- [2026-08-10] Web App: chat UX batch — the seeded admin password is persisted and re-printed at every server start until changed, header stats merge into a details card with a live background-process list (kill controls; processes die with the conversation and block idle eviction) and a trace-file deep link, typed new-chat text parks as sidebar draft conversations, docked panels retract before swapping, the stream stays bottom-pinned across resizes, and mid-run sends survive the steering completion race with the per-turn thinking level carried on queued follow-ups (#241, #227, #246). ([details](2026-08-10-web-chat-ux.md))++- [2026-08-07] Core: default `max_turns` becomes -1 (unlimited, SDK fallback aligned), request caps and the compaction threshold derive from the model's context window (vLLM-class small windows work; #218), the LLM retry ladder slows to a 2s base with "everything except auth retries" classification, and Trace appends are serialized with best-effort tolerant reads for damaged files (#215); each record now lands via a single `write(2)` and resumption heals crash-torn tails, so a big record can no longer be split at the 512 KiB chunk boundary (#249). ([details](2026-08-07-core-runtime.md))++- [2026-08-07] Memory: an agent keeps long-term notes between Sessions under `agent_state/memory/` — a user scope (`memory/user/`, read by every Session) plus one directory per Workspace, each with its own `MEMORY.md` index; only the indexes enter the context (capped at 200 lines / 25,000 chars per scope), bodies read on demand. A temporary Workspace gets the user scope only. The template's `{{MEMORY}}` placeholder expands to the agent's own `memory.prompt` (+ `memory.workspace_prompt` in a persistent Workspace), both editable on the Memory tab; a pre-Memory template injects nothing until its one-click placeholder insert. Agent settings gain a Memory tab: memories grouped by scope with view / delete (index lines pruned) / edit-via-chat. ([details](2026-08-07-memory.md))++- [2026-08-06] Desktop app: penguin brand icons on every platform, task-completion system notifications (renderer-only, desktop sessions), explicit single-user mode (user/member management rejected with `desktop_single_user` and hidden), and a bundled `penguin` CLI on PATH (automatic on deb; menu-driven install elsewhere, no system Node needed). ([details](2026-08-06-desktop-app.md))++- [2026-08-06] Admin proxy options: a "Proxy options" dialog (explicit Save) with independent "application" and "agent environment" switches sharing one proxy address (empty = follow the system proxy; no environment variable needed), loopback always exempt, live toggle, OS-proxy injection on desktop. ([details](2026-08-06-system-proxy-switch.md))++- [2026-08-06] Web App: directory browsing no longer compounds path segments under repeated clicks (listings bound to their own directory, sequenced picker requests, localized `dir_not_found`), saving Project new-chat defaults resets the new-conversation draft (typed text survives, open drafts reseed live), the avatar update dot gains a tooltip and reaches the collapsed rail, the model catalog opens with only DeepSeek expanded and remembers the user's toggles per Project, the model dialog shows the protocol path in the base URL field and unified vendor-protocol hints, and the auto-created session workspace is consistently named 临时工作区 / "temporary workspace" (penguin-sdk skill v19). ([details](2026-08-06-web-app.md))++- [2026-08-06] Landing homepage leads with the desktop app: platform-aware download CTA in the hero, closing CTA repointed, CLI one-liner install moved below the fold to the quick start; `/download` page unchanged. ([details](2026-08-06-landing-desktop-first.md))++- [2026-08-06] Models: Thinking Machines Lab's Inkling joins on OpenRouter and Fireworks AI, Fireworks AI gains DeepSeek V4 Flash 0731, and the OpenRouter + SiliconFlow GLM-5.1 gateway listings are delisted (Z.AI direct stays; existing Project configs unaffected); OpenRouter prices refreshed from the models API on 2026-08-07 (Inkling cached input $0.17, four drifted rows corrected); agenthub-models skill v11. ([details](2026-08-06-model-catalog-inkling-dsv4-flash-0731.md))++- [2026-08-06] Release tooling: repo versions realigned with the shipped 0.2.1, and the release workflow now refuses a tag push whose version does not match `package.json` (the drift that made every dev build nag about updates); the bump is documented as a release-prep step. ([details](2026-08-06-release-version-guard.md))++- [2026-08-03] Web App: at medium desktop widths the chat toolbar's Agents/Workspace actions stay icon-only until the large-screen breakpoint, so they no longer overlap the running indicator and live statistics (#151). ([details](2026-08-03-chat-toolbar-layout.md))+diff --git a/changelog/0.2.2/RELEASE.md b/changelog/0.2.2/RELEASE.mdnew file mode 100644index 00000000..dc4a7e80--- /dev/null+++ b/changelog/0.2.2/RELEASE.md@@ -0,0 +1,55 @@+PenguinHarness 0.2.2 — agents that remember and reach further: long-term Memory across sessions, MCP Server support on three transports, every prompt-borne subsystem behind an editable per-agent prompt with a toggle, dated config generations with a no-loss update, and a hardened core runtime.++## Install++**Desktop app**: grab your platform's installer from [penguin.ooo/download](https://penguin.ooo/download) — served from the OSS mirror when it is reachable, GitHub otherwise. Current builds are unsigned: on first launch use right-click → Open on macOS, and "More info → Run anyway" past Windows SmartScreen.++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+```++## Highlights++**Memory.** An agent now keeps long-term notes between Sessions under `agent_state/memory/` — a user scope every Session reads, plus one scope per Workspace — each with a `MEMORY.md` index. Only the indexes enter the context (200 lines / 25,000 chars per scope), bodies are read on demand, and the model maintains it all through the ordinary file tools. Agent settings gain a Memory tab: memories grouped by scope with view / delete / edit-via-chat, the two Memory prompts editable in place, and a one-click placeholder insert for agents created before Memory existed.++**MCP Servers.** Model Context Protocol support lands on the official TypeScript SDK v2 with three transports — stdio, Streamable HTTP and legacy SSE. Server tools surface as `mcp__<server>__<tool>` under the unchanged execution and approval contract (`readOnlyHint` maps to read-only permission), the vault never reaches server processes, and unreachable servers are skipped with a warning. The agent settings page manages servers with forms and a connectivity test, and session creation no longer blocks on connects — the wait streams into the chat as step rows.++**Prompt injection you can see and switch.** Skills, Vault and Schedules adopt Memory's pattern: the system-prompt template carries only `{{SKILLS}}` / `{{VAULT}}` / `{{SCHEDULES}}` placeholders, each expanding to a per-agent editable prompt behind an enable switch on its tab — and the new Schedules prompt teaches the model to manage scheduled-task TOMLs itself with the file tools. Legacy baked templates keep working unchanged, with a one-click migration where the old default wording is intact.++**Config generations with a no-loss update.** Agent configs now carry a dated kernel version recording which generation of built-in defaults they came from; a hash-pin guard test forces a dated bump on any defaults change. An Update control beside "restore defaults" smart-merges newer defaults while keeping every user-customized field (reported by readable names), with outdated hints on the agent overview and list cards.++**Core runtime hardening.** The default `max_turns` becomes unlimited, request caps and the compaction threshold derive from the model's context window (small-window vLLM-class models work), the LLM retry ladder slows to a 2s base, and Trace appends are serialized with each record landing in a single write — crash-torn tails heal on resumption, so a big record can no longer be split mid-chunk.++## Notable in this release++- **Desktop app polish.** Penguin brand icons on every platform, task-completion system notifications, explicit single-user mode, and a bundled `penguin` CLI on PATH.+- **Admin proxy options.** One dialog with independent "application" and "agent environment" switches sharing one proxy address (empty follows the system proxy), loopback always exempt, live toggle, OS-proxy injection on desktop.+- **Web App UX.** Chat header statistics double as a details card with a copyable Session id and a live background-process list with working Stop; typed-but-unsent text parks as sendable drafts; the seeded admin password is re-printed framed on every start until changed; the schedule form adopts the Project-defaults pickers with a searchable session dropdown; leaving a running conversation no longer flickers the app with a phantom reload.+- **UI polish batch.** The initial-password banner gains a flat dismiss X persisted per user, the locked-model chip says just "type /model to switch models" with a pointer cursor, the agent list's Settings gear matches the sidebar's, detail tabs settle into Overview / System Prompt / Runtime / Tools / Skills / Memory / Vault / Schedules with the stat icons mirroring that order, the agent overview becomes ruled Agent State and Kernel sections with a copyable state path, and the shared toggle switch drops its lingering post-click halo for a snug, symmetric knob.+- **Models.** Thinking Machines Lab's Inkling joins on OpenRouter and Fireworks AI, Fireworks AI gains DeepSeek V4 Flash 0731, GLM-5.1 gateway listings are delisted (Z.AI direct stays), and OpenRouter prices are refreshed from the models API.+- **Skills.** New manual-install `humanizer` library skill — rewrites prose into book/newspaper/encyclopedia register with a measured diagnostic catalog.+- **Release tooling.** The release workflow refuses a tag whose version does not match the repo, ending update-nag drift.+- **Dependencies.** Workspace overrides force `@hono/node-server` ≥ 2.0.5 (path-traversal advisory, transitive via the MCP SDK) and `nanoid` ≥ 3.3.17; `pnpm audit` reports no known vulnerabilities.+- **Breaking (Traces).** The MCP toolset record moves from `session_meta.tools` to a `tool_list_ready` event; Traces written before the split no longer display their embedded tool record.++## 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. All data stays under `~/.penguin/data`.++Full detail: [changelog/0.2.2/](https://github.com/Prism-Shadow/penguin-harness/tree/main/changelog/0.2.2).diff --git a/changelog/unreleased/README.md b/changelog/unreleased/README.mdindex 57eed78c..79e701b8 100644--- a/changelog/unreleased/README.md+++ b/changelog/unreleased/README.md@@ -1,38 +1 @@# Unreleased--- [2026-08-11] Skills: new manual-install library skill `humanizer` — rewrites prose in any language into book/newspaper/encyclopedia register; a seven-principle drafting core backed by a 25-tell three-layer diagnostic catalog, six-language cues and a five-round measured case study as reference files; Office Productivity group, `preinstall: false` (#256). ([details](2026-08-11-humanizer-skill.md))--- [2026-08-11] Core + Web App: agent configs gain a dated **kernel version** — creation and restore stamp the defaults generation, a hash-pin guard test forces a dated bump on any defaults change, and an Update control beside "restore defaults" smart-merges newer defaults while keeping user-customized fields (reported by readable names; unknown generations conservatively kept), with outdated hints on the agent overview and list cards; the overview itself settles into ruled Kernel and Agent State sections — version values rendered prominent, snapshot import/export beside the State version, a click-to-copy state path, the active-session stat dropped (#263, #261, stacked on #257). ([details](2026-08-11-agent-kernel-version.md), [compat](2026-08-11-backward-compatibility.md))--- [2026-08-11] Core + Web App: Skills, Vault and Schedules adopt Memory's injection pattern — the default template carries only `{{VAULT}}` / `{{SKILLS}}` / `{{SCHEDULES}}` section placeholders, each expanding to a per-agent editable prompt behind an enable switch on its tab; the new Schedules prompt teaches the model to manage schedule TOMLs with the ordinary file tools (`{{SCHEDULE_LIST}}` roster included), and legacy baked templates keep working, with one-click migration where the old default wording is intact (#257). ([details](2026-08-11-prompt-injection-toggles.md), [compat](2026-08-11-backward-compatibility.md))--- [2026-08-11] Web App: UI polish — the initial-password banner gains a flat dismiss X persisted per user, the locked-model chip's hint shrinks to "type /model to switch models" with a pointer cursor, the agent list's Settings button adopts the canonical sidebar gear at label color, and the agent detail tabs settle into Overview / System Prompt / Runtime / Tools / Skills / Memory / Vault / Schedules with the list's stat icons mirroring that order at uniform, wider spacing, and the shared toggle switch drops its lingering post-click focus halo for a refined track/knob treatment (#252, #253, #254, #255, #259). ([details](2026-08-11-web-ui-polish.md))--- [2026-08-11] Web App: the chat details card gains a click-to-copy Session id, the schedule form adopts the Project-defaults model/workspace pickers and a searchable session dropdown, saving Project new-chat defaults toasts, and the missing `{{SHELL}}` placeholder is restored to the prompt-placeholder list (drift-proofed by a test against the real default prompt). ([details](2026-08-11-web-session-and-schedule-forms.md))--- [2026-08-11] Web App: leaving a still-running conversation (switch or "new conversation") no longer fires a phantom completion that reloaded the session/Agent lists — the reload trigger is now guarded by session identity, removing an occasional app-wide flicker right after the click (#242). ([details](2026-08-11-chat-phantom-idle-reload.md))--- [2026-08-10] Core: MCP Server support lands on the reserved `tools.mcpServers` seam — official TypeScript SDK v2, three transports (stdio / Streamable HTTP / legacy SSE), tools exposed as `mcp__<server>__<tool>` under the unchanged execution and approval contract, `readOnlyHint` → read-only permission, vault kept out of server processes, unreachable servers skipped with a warning; the agent settings page gains form-based MCP Server management with a connectivity test; session creation no longer blocks on MCP connects — the wait streams as `mcp_connect_begin/end` events (unified chat step row shared with compaction, CLI lines, a Trace-timeline span) and the toolset moves from `session_meta.tools` into a new `tool_list_ready` event (**breaking**: pre-split Traces' embedded tool record is no longer displayed) (#242; closes #239, #229). ([details](2026-08-10-mcp-servers.md))--- [2026-08-10] Web App: the chat header statistics move to the far right and double as the details-card trigger (numbers when wide, info icon when narrow, a live running-services count beside the elapsed time), the card gains a copyable Session id and lists the session's background processes with a working Stop (new `/processes` endpoints; deletion now ends a conversation's processes, idle eviction spares runtimes with live ones) and names the trace file path, typed-but-unsent new-chat text parks as sendable draft conversations in a sidebar Drafts group, docked panel swaps retract before expanding, the seeded admin password is stored in the data root and re-printed framed on every start until changed (CLI attach included), conversations open pinned to the bottom under the notice banner, the scheduled-task form's model/workspace/session pickers match the defaults dialog (searchable session dropdown), saving Project defaults toasts "已保存", copy feedback is unified onto the button, the `{{SHELL}}` placeholder returns to the prompt tab, benchmark case materials open expanded, and the locked model chip points at `/model`. ([details](2026-08-10-web-app.md))--- [2026-08-10] Web App: chat UX batch — the seeded admin password is persisted and re-printed at every server start until changed, header stats merge into a details card with a live background-process list (kill controls; processes die with the conversation and block idle eviction) and a trace-file deep link, typed new-chat text parks as sidebar draft conversations, docked panels retract before swapping, the stream stays bottom-pinned across resizes, and mid-run sends survive the steering completion race with the per-turn thinking level carried on queued follow-ups (#241, #227, #246). ([details](2026-08-10-web-chat-ux.md))--- [2026-08-07] Core: default `max_turns` becomes -1 (unlimited, SDK fallback aligned), request caps and the compaction threshold derive from the model's context window (vLLM-class small windows work; #218), the LLM retry ladder slows to a 2s base with "everything except auth retries" classification, and Trace appends are serialized with best-effort tolerant reads for damaged files (#215); each record now lands via a single `write(2)` and resumption heals crash-torn tails, so a big record can no longer be split at the 512 KiB chunk boundary (#249). ([details](2026-08-07-core-runtime.md))--- [2026-08-07] Memory: an agent keeps long-term notes between Sessions under `agent_state/memory/` — a user scope (`memory/user/`, read by every Session) plus one directory per Workspace, each with its own `MEMORY.md` index; only the indexes enter the context (capped at 200 lines / 25,000 chars per scope), bodies read on demand. A temporary Workspace gets the user scope only. The template's `{{MEMORY}}` placeholder expands to the agent's own `memory.prompt` (+ `memory.workspace_prompt` in a persistent Workspace), both editable on the Memory tab; a pre-Memory template injects nothing until its one-click placeholder insert. Agent settings gain a Memory tab: memories grouped by scope with view / delete (index lines pruned) / edit-via-chat. ([details](2026-08-07-memory.md))--- [2026-08-06] Desktop app: penguin brand icons on every platform, task-completion system notifications (renderer-only, desktop sessions), explicit single-user mode (user/member management rejected with `desktop_single_user` and hidden), and a bundled `penguin` CLI on PATH (automatic on deb; menu-driven install elsewhere, no system Node needed). ([details](2026-08-06-desktop-app.md))--- [2026-08-06] Admin proxy options: a "Proxy options" dialog (explicit Save) with independent "application" and "agent environment" switches sharing one proxy address (empty = follow the system proxy; no environment variable needed), loopback always exempt, live toggle, OS-proxy injection on desktop. ([details](2026-08-06-system-proxy-switch.md))--- [2026-08-06] Web App: directory browsing no longer compounds path segments under repeated clicks (listings bound to their own directory, sequenced picker requests, localized `dir_not_found`), saving Project new-chat defaults resets the new-conversation draft (typed text survives, open drafts reseed live), the avatar update dot gains a tooltip and reaches the collapsed rail, the model catalog opens with only DeepSeek expanded and remembers the user's toggles per Project, the model dialog shows the protocol path in the base URL field and unified vendor-protocol hints, and the auto-created session workspace is consistently named 临时工作区 / "temporary workspace" (penguin-sdk skill v19). ([details](2026-08-06-web-app.md))--- [2026-08-06] Landing homepage leads with the desktop app: platform-aware download CTA in the hero, closing CTA repointed, CLI one-liner install moved below the fold to the quick start; `/download` page unchanged. ([details](2026-08-06-landing-desktop-first.md))--- [2026-08-06] Models: Thinking Machines Lab's Inkling joins on OpenRouter and Fireworks AI, Fireworks AI gains DeepSeek V4 Flash 0731, and the OpenRouter + SiliconFlow GLM-5.1 gateway listings are delisted (Z.AI direct stays; existing Project configs unaffected); OpenRouter prices refreshed from the models API on 2026-08-07 (Inkling cached input $0.17, four drifted rows corrected); agenthub-models skill v11. ([details](2026-08-06-model-catalog-inkling-dsv4-flash-0731.md))--- [2026-08-06] Release tooling: repo versions realigned with the shipped 0.2.1, and the release workflow now refuses a tag push whose version does not match `package.json` (the drift that made every dev build nag about updates); the bump is documented as a release-prep step. ([details](2026-08-06-release-version-guard.md))--- [2026-08-03] Web App: at medium desktop widths the chat toolbar's Agents/Workspace actions stay icon-only until the large-screen breakpoint, so they no longer overlap the running indicator and live statistics (#151). ([details](2026-08-03-chat-toolbar-layout.md))-diff --git a/package.json b/package.jsonindex fc7bbec7..263d3604 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "penguin-harness",- "version": "0.2.1",+ "version": "0.2.2","private": true,"type": "module","description": "PenguinHarness \u2014 TypeScript AI Agent (SDK + CLI).",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 97e5da3a..cacc0c07 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@prismshadow/penguin-cli",- "version": "0.2.1",+ "version": "0.2.2","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.jsonindex 757a7809..845de132 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,6 +1,6 @@{"name": "@prismshadow/penguin-core",- "version": "0.2.1",+ "version": "0.2.2","type": "module","description": "PenguinHarness core SDK: context_engine, OmniMessage protocol, LLM/Environment interfaces.","license": "Apache-2.0",diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex 31aa59d8..a9d70286 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -59,7 +59,7 @@ export { Agent, createAgent } from "./agent.js";export type { CreateAgentOptions, CreateSessionOptions, ResumeSessionOptions } from "./agent.js";/** SDK version number. */-export const VERSION = "0.2.1";+export const VERSION = "0.2.2";/** 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;// Version-string helpers (shared by the CLI's `penguin update` and the server's update check).diff --git a/packages/desktop/package.json b/packages/desktop/package.jsonindex 04dbd702..cbdaf504 100644--- a/packages/desktop/package.json+++ b/packages/desktop/package.json@@ -1,6 +1,6 @@{"name": "@prismshadow/penguin-desktop",- "version": "0.2.1",+ "version": "0.2.2","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/package.json b/packages/docs/package.jsonindex a72bb854..16a00734 100644--- a/packages/docs/package.json+++ b/packages/docs/package.json@@ -1,6 +1,6 @@{"name": "@prismshadow/penguin-docs",- "version": "0.2.1",+ "version": "0.2.2","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-2.en.md b/packages/landing/content/blog/penguinharness-0-2-2.en.mdnew file mode 100644index 00000000..cc5454f7--- /dev/null+++ b/packages/landing/content/blog/penguinharness-0-2-2.en.md@@ -0,0 +1,65 @@+---+title: "PenguinHarness 0.2.2: Agents That Remember"+date: 2026-08-11+category: news+excerpt: 0.2.2 gives an agent long-term memory across sessions — a user scope and a per-workspace scope, indexes injected into context, bodies read on demand, a Memory tab to manage it all — plus MCP Server support over three transports. Skills, Vault and Schedules move behind Memory-style editable prompts with enable switches, agent configs gain a dated kernel version whose Update merges new defaults without losing customizations, the core runtime fixes a trace-corruption bug, and the dependency audit comes back clean. The details, item by item.+---++PenguinHarness 0.2.2 is out. Earlier releases gave the agent hands — file tools, subagents, skills, scheduled tasks. This one gives it a memory: what an agent learns in one session is finally there for the next. Alongside it come MCP Server support, switchable prompt injection, and a versioning scheme for the configuration itself.++## Memory++Each agent keeps long-term notes under `agent_state/memory/`, in two scopes. The user scope is read by every session. Workspace scopes are keyed to the directory the agent works in, so notes about one project never leak into another; a temporary workspace gets no scope of its own, since no later session would ever return to read it.++Only the `MEMORY.md` indexes enter the context, capped at 200 lines and 25,000 characters per scope with an explicit truncation note past the cap. Topic bodies stay on disk until the model opens them with the ordinary file tools. Writing works the same way: the model saves and merges its own notes through file edits, and the Harness confines those writes to the memory directories. No new tool was added for any of this.++Agent settings gain a Memory tab: every memory grouped by scope, with viewing, deletion (the index line is pruned in the same stroke) and editing through a prefilled chat with the agent itself. The two memory prompts are editable at the bottom of the tab. Agents created before Memory existed are untouched: a template without the `{{MEMORY}}` placeholder injects nothing, and the tab says so, offering a one-click insert.++## MCP Servers++Model Context Protocol support lands on the official TypeScript SDK v2, covering stdio, Streamable HTTP and legacy SSE transports. Server tools appear as `mcp__<server>__<tool>` under the existing execution and approval contract, with `readOnlyHint` mapping to read-only permission. Vault values never reach an MCP server process. An unreachable server is skipped with a warning rather than stalling session creation, and the connection wait streams into the chat as step rows instead of freezing the "new session" button.++Management is form-based: the agent settings page adds an MCP Server section with create, edit, delete and an on-the-spot connectivity test. The toolset record moves from `session_meta.tools` to a new `tool_list_ready` event — the one breaking change in this release. Traces written before the split no longer display their embedded tool record.++## Prompt injection: placeholders, switches, editable text++Memory's injection pattern now covers the other three prompt-borne subsystems. The system-prompt template carries only `{{VAULT}}`, `{{SKILLS}}` and `{{SCHEDULES}}` placeholders; each expands to a prompt stored with the agent, editable at the bottom of its tab, behind an enable switch at the top. The switch governs only what the model sees: turning a section off removes it from the system prompt while everything underneath keeps running, so Vault values reach shell subprocesses as environment variables and scheduled tasks fire on time whether or not the model is told about them.++The default Schedules prompt is new. It teaches the model to manage the TOML files under `agent_state/schedule/` with its file tools, spelling out the field rules, the five-minute floor on periods and the server's reconciliation within about thirty seconds, with the roster of existing tasks injected alongside. A request like "run the test suite every morning at nine" can now be made in chat, and the model writes the file itself.++Existing agents baked the old template sections at creation, and those templates keep working as they are. Where the stock wording is intact, the tab offers a one-click migration to the placeholder form; hand-edited sections are left alone.++## A kernel version for the config++`system_config.yaml` is frozen at agent creation and never upgraded behind the user's back. The behavior is predictable; the cost, until now, was that newer defaults only ever reached new agents. 0.2.2 stamps each config with a kernel version: a date recording which generation of built-in defaults it came from, written at creation and restore, untouched by ordinary edits.++Bumping that date on any substantive defaults change is not left to discipline. A guard test pins the hash of every leaf default to the latest entry of a version history table, so a defaults change without a registered bump fails CI. On the overview, an Update control sits beside "restore defaults" and merges field by field: values still matching any recorded generation advance to the new default, customized values are kept and reported by readable names, and values of unknown origin are conservatively kept. Restore remains the full-refresh escape hatch.++## Core runtime++The default `max_turns` becomes -1, request caps and the compaction threshold now derive from the model's context window, and small-window vLLM-class deployments no longer need hand tuning. The LLM retry ladder starts at two seconds, and every failure short of a rejected credential is retried.++Trace appends are serialized, one `write(2)` per record, and resumption heals crash-torn tails, so a large record can no longer be split at the 512 KiB chunk boundary. The occasional trace corruption some users hit came from exactly that seam, and this release closes it.++## Desktop and Web App++The desktop app picks up penguin brand icons on every platform, system notifications on task completion, an explicit single-user mode, and a bundled `penguin` CLI on PATH. Administrators get a proxy options dialog: separate switches for the application and the agent environment sharing one proxy address, an empty address following the system proxy, loopback always exempt.++The Web App accumulated a month of fixes; the ones worth naming: header statistics fold into a details card with a click-to-copy session id and a background-process list whose Stop button works; typed-but-unsent text parks as sidebar drafts; the initial-password banner can be dismissed for good; the locked-model chip now just says "type /model to switch models"; detail tabs settle into Overview, System Prompt, Runtime, Tools, Skills, Memory, Vault, Schedules, with the list's stat icons in the same order; the overview becomes ruled sections with a copyable state path; the shared toggle switch loses the gray halo it kept after every click; and leaving a running conversation no longer flickers the whole app.++## Everything else++The model catalog adds Thinking Machines Lab's Inkling on OpenRouter and Fireworks AI, and DeepSeek V4 Flash 0731 on Fireworks; GLM-5.1 gateway listings are delisted while Z.AI direct remains; OpenRouter prices are refreshed from the official API. The skill library gains `humanizer`, a manual-install skill that strips machine-writing tells from prose in any language — this post was drafted by its method. Workspace overrides force `@hono/node-server` to 2.0.5 or later (a path-traversal advisory in `serve-static` on Windows; the vulnerable copy came transitively from the MCP SDK) and `nanoid` to 3.3.17 or later, leaving `pnpm audit` with nothing to report. The release workflow now refuses a tag whose version disagrees with the repository. The full list is in [changelog/0.2.2](https://github.com/Prism-Shadow/penguin-harness/tree/main/changelog/0.2.2).++## Install or upgrade++Desktop: grab your platform's installer at [penguin.ooo/download](https://penguin.ooo/download).++CLI / server:++```sh+curl -fsSL https://penguin.ooo/install.sh | sh+penguin web+```++Windows (PowerShell): `irm https://penguin.ooo/install.ps1 | iex`; or with Node >= 24, `npm install -g @prismshadow/penguin-cli`. Existing installs: `penguin update`.diff --git a/packages/landing/content/blog/penguinharness-0-2-2.zh.md b/packages/landing/content/blog/penguinharness-0-2-2.zh.mdnew file mode 100644index 00000000..55a3a313--- /dev/null+++ b/packages/landing/content/blog/penguinharness-0-2-2.zh.md@@ -0,0 +1,65 @@+---+title: "PenguinHarness 0.2.2:Agent 有了记忆"+date: 2026-08-11+category: news+excerpt: 0.2.2 给 Agent 两样新能力:跨会话的长期记忆(用户与工作区两个作用域,索引进上下文、正文按需读取,设置页新增记忆标签页),以及三种传输方式的 MCP Server 支持。技能、密钥保险柜、定时任务改成与记忆同款的可编辑注入提示词加开关;agent 配置有了按日期记录的内核版本,「更新内核」能在保留自定义的前提下跟进新默认值。核心运行时修掉了轨迹写入被截断的老毛病,依赖审计清零。逐项看看。+---++PenguinHarness 0.2.2 发布了。前几版把 Agent 的手脚补齐——文件工具、子代理、技能、定时任务——这一版补的是记性:会话结束后,Agent 终于能把学到的东西留给下一次。配套的还有 MCP Server 支持、可开关的提示词注入,以及给配置本身加的版本机制。++## 记忆++每个 Agent 在 `agent_state/memory/` 下维护自己的长期笔记,分两个作用域:用户作用域每个会话都读,工作区作用域跟着目录走——同一个 Agent 在不同项目里各记各的,临时工作区则只拿用户作用域,因为不会有下一个会话回来读它。++进入上下文的只有各作用域的 `MEMORY.md` 索引(每个作用域至多 200 行、25,000 字符,超出部分注明截断),正文文件由模型在需要时用普通文件工具打开。写入、去重、合并同样全靠文件工具完成:Harness 决定记忆放在哪里、把写入圈在里面,其余是模型自己的事,没有为此新增任何工具。++设置页新增记忆标签页:按作用域分组列出全部记忆,可查看、删除(索引行同步清掉)、或经由一段预填的对话让 Agent 自己改写;两段记忆提示词也在这页直接编辑。记忆机制此前的 Agent 不受影响——模板里没有 `{{MEMORY}}` 占位符就什么都不注入,标签页会指出这一点,并提供一键插入。++## MCP Server 支持++Model Context Protocol 落在官方 TypeScript SDK v2 上,stdio、Streamable HTTP、legacy SSE 三种传输都支持。服务器工具以 `mcp__<服务器>__<工具>` 的名字进入既有的执行与审批契约,`readOnlyHint` 映射为只读权限;密钥保险柜的值不会进入任何 MCP 服务器进程;连不上的服务器跳过并告警,不拖垮会话创建——连接过程以步骤行的形式流进对话,而不是让「新建会话」卡住等它。++管理界面是表单式的:Agent 设置页新增 MCP Server 一节,可增删改配置并当场做连通性测试。工具清单从 `session_meta.tools` 移到了新的 `tool_list_ready` 事件——这是本版唯一的破坏性变更:拆分之前写下的轨迹文件不再显示其内嵌的工具记录。++## 提示词注入:占位符、开关、可编辑文本++记忆的注入模式被推广到了其余三个子系统。系统提示词模板里现在只放 `{{VAULT}}`、`{{SKILLS}}`、`{{SCHEDULES}}` 占位符,各自展开成一段随 Agent 保存、可在对应标签页下方直接编辑的提示词,页顶一个开关决定注入与否。关掉开关只影响模型看到什么——保险柜的值仍以环境变量注入子进程,已排期的任务、已装的技能也都照常工作,只是模型的系统提示词里不再出现那一段。++定时任务的默认提示词是新写的,它教模型用文件工具直接管理 `agent_state/schedule/` 下的 TOML——字段规则、五分钟的周期下限、服务端约三十秒内自动生效,都写在里面,当前任务清单也随提示词注入。也就是说,「每天早上九点跑一遍测试」这类要求,现在可以直接在对话里提,模型自己落文件。++存量 Agent 的模板在创建时就物化了旧段落,这些模板原样可用;旧默认文字没被改过的,标签页提供一键迁移到占位符写法,改过的不动。++## 配置内核版本++`system_config.yaml` 在 Agent 创建时定格,从不自动升级——好处是行为可预期,代价是新默认值只属于新 Agent。0.2.2 给配置加了内核版本:一个日期,记录这份配置基于哪一代内置默认值,创建与还原时盖章,日常编辑不动它。++日期的升级由一条守卫测试强制执行:它把全部默认值的哈希钉在版本历史表的最新条目上,改了默认值而不登记新条目,CI 直接变红。概览页在「还原为默认配置」旁边多了「更新内核」:逐字段比对历代默认值做合并——没改过的字段跟进新默认,改过的保留并按可读名称列出,认不出来历的一律保守保留。想全量刷新,旁边的还原按钮仍是兜底。++## 核心运行时++`max_turns` 默认值改为 -1(不限轮次),请求上限与压缩阈值改由模型的上下文窗口推导,小窗口的 vLLM 类部署不再需要手工调参。LLM 重试阶梯放缓到 2 秒起步,除凭证被拒外的失败全部纳入重试。++轨迹文件的写入串行化了,每条记录一次 `write(2)` 落盘,恢复会话时自动修复崩溃留下的残尾。此前偶发的轨迹损坏,来源正是大记录在 512 KiB 边界被劈开的那道缝,这一版把它补上了。++## 桌面端与 Web 应用++桌面端补上了各平台的品牌图标、任务完成的系统通知、显式的单用户模式,并随包携带 `penguin` CLI。管理员多了一个代理选项对话框:应用本身与 Agent 环境两个开关共用一个代理地址,留空跟随系统代理,回环地址始终豁免。++Web 应用这一个月的积累不少,拣要紧的说。对话头部的统计并入详情卡,会话 id 点击即复制,后台进程列表带可用的停止按钮;输入未发的文字存为侧栏草稿。设置侧:初始密码横幅可以永久关闭,锁定模型的提示精简为「输入 /model 切换模型」,详情页标签定序为概览、系统提示词、运行参数、工具、技能、记忆、密钥保险柜、定时任务(列表统计图标同序),概览页改为横线分节、State 路径可复制,共享滑动开关也修掉了点击后残留的灰色光环。离开运行中的对话不再引发全应用闪烁。++## 其余改进++模型目录:Thinking Machines Lab 的 Inkling 上架 OpenRouter 与 Fireworks AI,Fireworks 新增 DeepSeek V4 Flash 0731,GLM-5.1 的网关条目下架(Z.AI 直连保留),OpenRouter 价格按官方 API 刷新。技能库新增 `humanizer`——中英等多语言通用的去 AI 味改写技能,手动安装;这篇发布文就是按它的方法写的。依赖侧以 workspace override 强制 `@hono/node-server` ≥ 2.0.5(Windows 下 serve-static 的路径穿越通告,旧副本来自 MCP SDK 的传递依赖)与 `nanoid` ≥ 3.3.17,`pnpm audit` 归零。发布工作流拒绝版本号与仓库不一致的 tag。完整清单见 [changelog/0.2.2](https://github.com/Prism-Shadow/penguin-harness/tree/main/changelog/0.2.2)。++## 安装或升级++桌面端:前往 [penguin.ooo/download](https://penguin.ooo/download) 下载对应平台安装包。++CLI / 服务端:++```sh+curl -fsSL https://penguin.ooo/install.sh | sh+penguin web+```++Windows(PowerShell):`irm https://penguin.ooo/install.ps1 | iex`;或在 Node >= 24 下 `npm install -g @prismshadow/penguin-cli`。已有安装直接 `penguin update`。diff --git a/packages/landing/package.json b/packages/landing/package.jsonindex e2430052..eb72a55d 100644--- a/packages/landing/package.json+++ b/packages/landing/package.json@@ -1,6 +1,6 @@{"name": "@prismshadow/penguin-landing",- "version": "0.2.1",+ "version": "0.2.2","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.tsindex c99e6427..42375416 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(15);+ expect(posts.length).toBe(16);// 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-2","penguinharness-0-2-1","penguinharness-0-2-0","penguinharness-0-1-5",diff --git a/packages/server/package.json b/packages/server/package.jsonindex 9fc14cce..1fb1067a 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -1,6 +1,6 @@{"name": "@prismshadow/penguin-server",- "version": "0.2.1",+ "version": "0.2.2","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/skills/package.json b/packages/skills/package.jsonindex c2515f6d..b1a7998a 100644--- a/packages/skills/package.json+++ b/packages/skills/package.json@@ -1,6 +1,6 @@{"name": "@prismshadow/penguin-skills",- "version": "0.2.1",+ "version": "0.2.2","type": "module","description": "PenguinHarness skill library: built-in SKILL.md documents and skill groups, decoupled from core.","license": "Apache-2.0",diff --git a/packages/web/package.json b/packages/web/package.jsonindex 71a2e145..447cb008 100644--- a/packages/web/package.json+++ b/packages/web/package.json@@ -1,6 +1,6 @@{"name": "@prismshadow/penguin-web",- "version": "0.2.1",+ "version": "0.2.2","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.",