Files
plugins/packages/agent-office/package.json
T
yetone 73362966e7 agent-office: 0.3.2, with a guard that the hook keeps only local requests
Bumps agent-office to 0.3.2 so #740 (SVG chevrons) and #741 (the
remote switch and its empty-office line) reach users, and notes both
in the changelog with the asset stamps they fixed (stale since 0.3.0).

Adds a guard to "the host part writes what it reads": with no remote
option set, a gateway-key request leaves ctx.state.office null, adds
no session and counts as dropped. Before this nothing failed when the
hook's track() defaulted remote on.

Run on mote: HOME=<scratch> bun test packages/agent-office, 183 pass;
bun scripts/check.mjs agent-office ok; stamp-page.mjs --check ok.
Broken by hand: office.hooks.mjs remote default `!== false` turns
the new guard red (1 fail), restored green.
Not tried: the page in a real magpie window, a real remote agent.
2026-11-05 09:45:19 +08:00

91 lines
2.2 KiB
JSON

{
"name": "@magpie-community/page-agent-office",
"version": "0.3.2",
"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"
}
}