Files
plugins/packages/agent-office/test
Kongtou 87561b3fc3 agent-office 0.3.0: library, cyberlab, greenhouse, arctic and rainy night scenes (#637)
Adds five scenes to agent-office: library, cyberlab, greenhouse, arctic and rainy night. Each has themed 3D decorations and an ISO/2D canvas palette, and its name is in all 9 languages. Bumps the package to 0.3.0, and the registry summary now says eleven scenes in en and zh. The six existing scenes keep their ISO/2D palette: `scene2.theme` is set only for the five new ids. By kongtou20070406.

Run at the reviewed head 8986d2f on macOS (mote, Bun 1.4.2, Playwright 1.62.0):
- `bun test` in packages/agent-office: 180 pass, 1 fail. The fail is jump.test.mjs's host-restart jumpRequest test: herdr.log was never written at load ~70. It passes 6 of 6 alone at this head and 3 of 3 on main 48d0cec, and this PR doesn't touch jump.mjs or office.hooks.mjs. Filed as #642.
- `bun scripts/check.mjs agent-office`: ok.
- Scene names, loaded from page/model.js: every one of the 9 languages has all 11 names and the same key set as en.
- Playwright, Chromium and WebKit, on the CLI's standalone page with sample agents: all 11 scenes in 3D/ISO/2D at 1440x900, plus 3D at 420x760. There were no page errors and no requests to other origins. The picker selects every scene and stays on screen at 420px.
- Office and Castle in ISO/2D, compared with main 48d0cec in both engines: the dominant colours are the same (31 of 32 top colours shared). The 0.03–3% of pixels that differ are the moving sample workers. At a42cef4, 2D had shared only 2 to 4 of 12.

Not tried: the plugin inside a real magpie window. The pages were run through the standalone CLI page only.
2026-11-03 02:07:57 +08:00
..