yetihan (#1198): a lock whose owner is a Linux zombie was held for good. process.kill(pid, 0) succeeds on a zombie, so 15 packages' lock and liveness checks counted an exited, unreaped owner as alive. - scripts/proc.mjs: processStatus(pid) is dead on ESRCH, and on Linux also when /proc/<pid>/stat says Z or X; EPERM is "permission", any other error "unknown". processAlive / processExists keep each caller's old EPERM and unknown-error meaning. - scripts/sync-proc.mjs copies it into each package (--check in the tests); every package's own check keeps its old semantics, now with zombies dead. agent-console's daemon bundle and window-warmup's dist are rebuilt. - 15 packages bumped. Review run at 28ef6622 (mote, HOME=$(mktemp -d)): - node scripts/sync-proc.mjs --check: ok. - bun test (whole repo): 8934 pass, 0 fail. - bun scripts/check.mjs: every package ok. - window-warmup's build reproduces its dist/plugin.js byte for byte. agent-console's bundle diff read line by line: the proc module plus esbuild's renumbered imports, nothing else (esbuild isn't installed on mote, so it wasn't rebuilt there). - Real zombie on Linux (WSL, magpie-desktop): a bash child left unreaped by an exec'd sleep, /proc stat "Z": the old kill(0) check says alive, processStatus says dead; the running process says alive. Not tried: each package's lock contention end to end.
92 lines
2.2 KiB
JSON
92 lines
2.2 KiB
JSON
{
|
|
"name": "@magpie-community/page-agent-office",
|
|
"version": "0.3.6",
|
|
"description": "我的 Agent 在干嘛:读取本机 Claude Code、Codex、Copilot CLI、Kimi Code、DeepSeek Harness、Gemini CLI、Qwen Code、Pi、omp、Qoder、WorkBuddy、CodeBuddy、Grok Build、Cursor 的会话文件,把每个会话画成真 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",
|
|
"lib/proc.mjs",
|
|
"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"
|
|
}
|
|
}
|