From 62ba6d726782f779d82b0b98d604ac8ed4988e23 Mon Sep 17 00:00:00 2001 From: yetone Date: Sat, 31 Oct 2026 19:10:19 +0800 Subject: [PATCH] agent-office 0.2.1: cold image scans frame only the unfinished EOF record (#559) Bumps the version for #559's scanner change and moves its changelog lines from 0.2.0 into a 0.2.1 section; cli.test's ping expects 0.2.1. Run on mote at this tree (0e3562b + this commit): packages/agent-office HOME=$(mktemp -d) bun test 167 pass 0 fail; stamp-page.mjs --check 0; root bun scripts/check.mjs 0. #559's full suite at its head: 4321 pass, 9 skip, 0 fail. --- packages/agent-office/CHANGELOG.md | 9 +++++++-- packages/agent-office/cli.test.mjs | 2 +- packages/agent-office/package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/agent-office/CHANGELOG.md b/packages/agent-office/CHANGELOG.md index 9ce2e6e..4726618 100644 --- a/packages/agent-office/CHANGELOG.md +++ b/packages/agent-office/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.2.1 · 2026-10-31 + +### Fixed + +- Initial and reset scans no longer pass every fragment of a complete image-heavy record through the character framer; only fragments of the record still unfinished at EOF are framed, once (#559). +- Regressions for identical-witness inode replacement, invalidated committed EOF records, exact Codex-title append reads and unchanged summary caching (#559). + ## 0.2.0 · 2026-10-31 功能对齐 [whatsmyagentdoing](https://github.com/Charonyuu/whatsmyagentdoing),并加入真正的 3D 与独立运行方式。 @@ -21,8 +28,6 @@ ### Fixed -- Follow-up after PR #551 approval/merge: skip per-character framing for complete image-heavy records during initial/reset scans; frame only new fragments of the unfinished EOF record. -- Cover identical-witness inode replacement, invalidated committed EOF records, exact Codex-title append reads and unchanged summary caching with independently mutation-checked regressions. - Narrow the CSP compatibility note to the reproduced Mac Playwright/WebKit build and add a local diagnostic; Linux build 2336 did not reproduce the refusal. - Secure the standalone server with per-run capability URLs, validated Host and same-origin JSON writes; reject cross-site data/script access. diff --git a/packages/agent-office/cli.test.mjs b/packages/agent-office/cli.test.mjs index 069f2af..b8c96b9 100644 --- a/packages/agent-office/cli.test.mjs +++ b/packages/agent-office/cli.test.mjs @@ -104,7 +104,7 @@ test("the authenticated standalone page, bridge, live data and JSON options work try { const ping = await (await fetch(s.url + "api/ping")).json() expect(ping.name).toBe("agent-office") - expect(ping.version).toBe("0.2.0") + expect(ping.version).toBe("0.2.1") const page = await fetch(s.url) expect(page.status).toBe(200) expect(await page.text()).toContain('src="_magpie/bridge.js"') diff --git a/packages/agent-office/package.json b/packages/agent-office/package.json index b43228e..9713d82 100644 --- a/packages/agent-office/package.json +++ b/packages/agent-office/package.json @@ -1,6 +1,6 @@ { "name": "@magpie-community/page-agent-office", - "version": "0.2.0", + "version": "0.2.1", "description": "我的 Agent 在干嘛:读取本机 Claude Code、Codex、Copilot CLI、Kimi Code、DeepSeek Harness、Gemini CLI、Qwen Code、Pi、omp、Qoder、WorkBuddy、CodeBuddy、Grok Build 的会话文件,把每个会话画成真 3D / 等距 / 2D 办公室里的小人,或分组工作台。Live agent activity dashboard for magpie, with a real WebGL office and six scenes.", "type": "module", "files": [