Files
plugins/packages/agent-office/package.json
T
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

91 lines
2.2 KiB
JSON

{
"name": "@magpie-community/page-agent-office",
"version": "0.3.0",
"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 eleven scenes.",
"type": "module",
"files": [
"page/index.html",
"page/style.css",
"page/agents.js",
"page/model.js",
"page/icons.js",
"page/scene.js",
"page/app.js",
"page/icon.svg",
"page/scene3d.js",
"page/three.min.js",
"page/icons",
"lib",
"office.hooks.mjs",
"CHANGELOG.md",
"README.md",
"LICENSE",
"bin",
"SKILL.md"
],
"keywords": [
"magpie",
"magpie-plugin",
"magpie-page",
"agents",
"status",
"office",
"dashboard",
"opencode",
"3d",
"threejs",
"webgl",
"scenes"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/agent-office"
},
"bugs": {
"url": "https://github.com/magpie-community/plugins/issues"
},
"homepage": "https://github.com/magpie-community/plugins/tree/main/packages/agent-office#readme",
"engines": {
"magpie": ">=0.1.1318"
},
"scripts": {
"test": "bun test"
},
"magpie": {
"page": {
"title": "Agent Office",
"titles": {
"zh": "Agent 办公室",
"zh-TW": "Agent 辦公室",
"ja": "エージェントオフィス",
"de": "Agent-Büro"
},
"file": "page/index.html",
"icon": "page/icon.svg"
},
"hooks": "./office.hooks.mjs",
"permissions": [],
"options": {
"mode": "office",
"dim": "3d",
"demo": false,
"showDone": true,
"hideAfter": "6h",
"text": true,
"remote": false,
"scene": "office",
"quality": "medium",
"agents": [],
"showSub": true,
"showIdle": true,
"side": false,
"lang": "auto"
}
},
"bin": {
"agent-office": "bin/agent-office.mjs"
}
}