From 1e04c1d3244b0f28f19638d0371fc308f9d5c25b Mon Sep 17 00:00:00 2001 From: QingJ <108940482+QingJ01@users.noreply.github.com> Date: Thu, 29 Oct 2026 19:45:44 +0800 Subject: [PATCH] agent-office 0.1.0: live agent activity office page (#478) A new community page plugin by QingJ01: Agent Office, a page in magpie's window that shows each local agent session as a worker in an office (3D/2D) or a list, with status, current step and a resume command. - Its host part (office.hooks.mjs, an async gateway hook) reads the session files of Claude Code, Codex, dsh, Gemini CLI, Qwen Code, Pi, omp, Qoder, WorkBuddy and CodeBuddy every 1.5 s and writes page/live.js beside the page. It opens no socket and sends nothing off the machine. The page makes no magpie.read calls and loads only its own files. - Text switch: with text off, the host writes no prompt, reply, error or tool argument (the title falls back to the folder, the step to the tool name), and the page redacts whatever live.js holds. - Options are read at module load from plugins.json in the host's cwd (magpie's config folder), with the XDG path as a fallback. npm specs are matched with @tag/@version stripped, a path spec by realpath against the package's own folder. It fails closed: text stays off until an install's options or a request's ctx.options turn it on. - The disclosure (package description, registry summary, root README) says which session files it reads. magpie's install sheet still says "reads nothing" for such a page (yetone/magpie#4187). Run at the reviewed head e76d1a3, on mote: - bun test in packages/agent-office: 44 pass, 0 fail. - The whole repo at origin/main 3462544 merged with e76d1a3: bun test 3275 pass, 8 skip, 0 fail (HOME sandboxed); bun scripts/check.mjs exit 0. - The new privacy tests run against 9230da7's hooks: 5 of 11 red (@latest, @0.1.0, cwd-only config, no config, unmatched spec). - e76d1a3's case (cwd plugins.json without this entry, XDG plugins.json with text:true), by hand: text stays off. With d4acdae's hooks: text on and the prompt leaks. No test covers this case. The privacy tests stay green with it reverted. - Real magpie: main 0745db932, built for macOS with -tags nogui, run as a portable magpie (.portable marker) in a sandbox HOME. The plugin was added from a folder named zz-src, so no name guess can match. A decoy ~/.config/magpie/plugins.json said text:true. The sandbox HOME had a seeded Claude Code session with a secret prompt, reply and Bash argument. magpie web was driven in Playwright Chromium and WebKit (WebKit in zh). With text on, the prompt, reply and command showed. With text off, the page hid them within 0.3 s. live.js went text:false after the host restarted, and over 30 s of sampling no secret was on the page or in live.js. After a reload, the switch was off and nothing leaked. The frame requested only its own files under /_magpie/plugin//, with no request leaving 127.0.0.1:3592. The plugin host had no sockets (lsof). Not changed: the XDG fallback can read another magpie's plugins.json, but only when the host's cwd has none. magpie starts the host in its own config folder, which always has one, so a real host never reaches it. --- README.md | 1 + packages/agent-office/.gitignore | 4 + packages/agent-office/CHANGELOG.md | 18 + packages/agent-office/LICENSE | 21 + packages/agent-office/README.md | 148 +++ packages/agent-office/agent-office.test.mjs | 320 ++++++ packages/agent-office/docs/in-magpie.png | Bin 0 -> 482287 bytes packages/agent-office/docs/list.png | Bin 0 -> 126456 bytes packages/agent-office/docs/office-2d.png | Bin 0 -> 121526 bytes packages/agent-office/docs/panel.png | Bin 0 -> 186343 bytes .../agent-office/docs/picture-in-picture.png | Bin 0 -> 198408 bytes packages/agent-office/facing.test.mjs | 93 ++ packages/agent-office/lib/readers.mjs | 353 +++++++ packages/agent-office/lib/scan.mjs | 204 ++++ packages/agent-office/lib/track.mjs | 245 +++++ packages/agent-office/movement.test.mjs | 94 ++ packages/agent-office/office.hooks.mjs | 196 ++++ packages/agent-office/package.json | 72 ++ packages/agent-office/page/agents.js | 305 ++++++ packages/agent-office/page/app.js | 539 ++++++++++ packages/agent-office/page/icon.svg | 1 + packages/agent-office/page/icons.js | 33 + packages/agent-office/page/icons/aionui.svg | 1 + packages/agent-office/page/icons/air.svg | 4 + packages/agent-office/page/icons/alma.png | Bin 0 -> 4573 bytes .../page/icons/antigravity-color.svg | 1 + packages/agent-office/page/icons/aside.svg | 28 + packages/agent-office/page/icons/astrbot.svg | 1 + packages/agent-office/page/icons/atomcode.png | Bin 0 -> 14059 bytes packages/agent-office/page/icons/cindy.png | Bin 0 -> 8102 bytes .../agent-office/page/icons/claude-color.svg | 1 + .../page/icons/claudecode-color.svg | 1 + packages/agent-office/page/icons/cline.svg | 1 + .../page/icons/codebuddy-color.svg | 1 + .../agent-office/page/icons/codex-color.svg | 1 + .../agent-office/page/icons/commandcode.svg | 1 + packages/agent-office/page/icons/crush.png | Bin 0 -> 16519 bytes packages/agent-office/page/icons/cursor.svg | 1 + .../page/icons/deepseek-color.svg | 1 + packages/agent-office/page/icons/devin.svg | 1 + .../agent-office/page/icons/empryo-color.svg | 1 + packages/agent-office/page/icons/factory.svg | 1 + .../page/icons/geminicli-color.svg | 1 + .../agent-office/page/icons/githubcopilot.svg | 1 + packages/agent-office/page/icons/goose.svg | 1 + packages/agent-office/page/icons/grok.svg | 1 + packages/agent-office/page/icons/hanako.png | Bin 0 -> 21062 bytes packages/agent-office/page/icons/hermes.svg | 1 + packages/agent-office/page/icons/jcode.svg | 1 + packages/agent-office/page/icons/kilocode.svg | 1 + packages/agent-office/page/icons/kimi.svg | 1 + .../agent-office/page/icons/kiro-color.svg | 1 + packages/agent-office/page/icons/lody.png | Bin 0 -> 6056 bytes .../agent-office/page/icons/meta-color.svg | 1 + .../agent-office/page/icons/minimax-color.svg | 1 + .../page/icons/mistermorph-color.svg | 1 + packages/agent-office/page/icons/mothx.png | Bin 0 -> 10545 bytes packages/agent-office/page/icons/omp.svg | 1 + .../agent-office/page/icons/openchamber.svg | 11 + packages/agent-office/page/icons/opencode.svg | 1 + .../agent-office/page/icons/penguin-color.svg | 1 + packages/agent-office/page/icons/pi.svg | 1 + packages/agent-office/page/icons/qoder.svg | 1 + .../agent-office/page/icons/qwen-color.svg | 1 + packages/agent-office/page/icons/raycast.svg | 1 + .../page/icons/reasonix-color.svg | 48 + packages/agent-office/page/icons/snow.png | Bin 0 -> 6375 bytes .../agent-office/page/icons/stepfun-color.svg | 1 + packages/agent-office/page/icons/t3code.svg | 4 + packages/agent-office/page/icons/trae.svg | 1 + .../page/icons/workbuddy-color.svg | 1 + packages/agent-office/page/icons/xai.svg | 1 + packages/agent-office/page/icons/zcode.png | Bin 0 -> 8170 bytes packages/agent-office/page/icons/zed.svg | 1 + packages/agent-office/page/icons/zoo-code.png | Bin 0 -> 18982 bytes packages/agent-office/page/index.html | 78 ++ packages/agent-office/page/model.js | 240 +++++ packages/agent-office/page/scene.js | 987 ++++++++++++++++++ packages/agent-office/page/style.css | 167 +++ packages/agent-office/privacy.test.mjs | 122 +++ packages/agent-office/sofa.test.mjs | 26 + packages/agent-office/test/fixtures.mjs | 71 ++ registry.json | 2 + 83 files changed, 4473 insertions(+) create mode 100644 packages/agent-office/.gitignore create mode 100644 packages/agent-office/CHANGELOG.md create mode 100644 packages/agent-office/LICENSE create mode 100644 packages/agent-office/README.md create mode 100644 packages/agent-office/agent-office.test.mjs create mode 100644 packages/agent-office/docs/in-magpie.png create mode 100644 packages/agent-office/docs/list.png create mode 100644 packages/agent-office/docs/office-2d.png create mode 100644 packages/agent-office/docs/panel.png create mode 100644 packages/agent-office/docs/picture-in-picture.png create mode 100644 packages/agent-office/facing.test.mjs create mode 100644 packages/agent-office/lib/readers.mjs create mode 100644 packages/agent-office/lib/scan.mjs create mode 100644 packages/agent-office/lib/track.mjs create mode 100644 packages/agent-office/movement.test.mjs create mode 100644 packages/agent-office/office.hooks.mjs create mode 100644 packages/agent-office/package.json create mode 100644 packages/agent-office/page/agents.js create mode 100644 packages/agent-office/page/app.js create mode 100644 packages/agent-office/page/icon.svg create mode 100644 packages/agent-office/page/icons.js create mode 100644 packages/agent-office/page/icons/aionui.svg create mode 100644 packages/agent-office/page/icons/air.svg create mode 100644 packages/agent-office/page/icons/alma.png create mode 100644 packages/agent-office/page/icons/antigravity-color.svg create mode 100644 packages/agent-office/page/icons/aside.svg create mode 100644 packages/agent-office/page/icons/astrbot.svg create mode 100644 packages/agent-office/page/icons/atomcode.png create mode 100644 packages/agent-office/page/icons/cindy.png create mode 100644 packages/agent-office/page/icons/claude-color.svg create mode 100644 packages/agent-office/page/icons/claudecode-color.svg create mode 100644 packages/agent-office/page/icons/cline.svg create mode 100644 packages/agent-office/page/icons/codebuddy-color.svg create mode 100644 packages/agent-office/page/icons/codex-color.svg create mode 100644 packages/agent-office/page/icons/commandcode.svg create mode 100644 packages/agent-office/page/icons/crush.png create mode 100644 packages/agent-office/page/icons/cursor.svg create mode 100644 packages/agent-office/page/icons/deepseek-color.svg create mode 100644 packages/agent-office/page/icons/devin.svg create mode 100644 packages/agent-office/page/icons/empryo-color.svg create mode 100644 packages/agent-office/page/icons/factory.svg create mode 100644 packages/agent-office/page/icons/geminicli-color.svg create mode 100644 packages/agent-office/page/icons/githubcopilot.svg create mode 100644 packages/agent-office/page/icons/goose.svg create mode 100644 packages/agent-office/page/icons/grok.svg create mode 100644 packages/agent-office/page/icons/hanako.png create mode 100644 packages/agent-office/page/icons/hermes.svg create mode 100644 packages/agent-office/page/icons/jcode.svg create mode 100644 packages/agent-office/page/icons/kilocode.svg create mode 100644 packages/agent-office/page/icons/kimi.svg create mode 100644 packages/agent-office/page/icons/kiro-color.svg create mode 100644 packages/agent-office/page/icons/lody.png create mode 100644 packages/agent-office/page/icons/meta-color.svg create mode 100644 packages/agent-office/page/icons/minimax-color.svg create mode 100644 packages/agent-office/page/icons/mistermorph-color.svg create mode 100644 packages/agent-office/page/icons/mothx.png create mode 100644 packages/agent-office/page/icons/omp.svg create mode 100644 packages/agent-office/page/icons/openchamber.svg create mode 100644 packages/agent-office/page/icons/opencode.svg create mode 100644 packages/agent-office/page/icons/penguin-color.svg create mode 100644 packages/agent-office/page/icons/pi.svg create mode 100644 packages/agent-office/page/icons/qoder.svg create mode 100644 packages/agent-office/page/icons/qwen-color.svg create mode 100644 packages/agent-office/page/icons/raycast.svg create mode 100644 packages/agent-office/page/icons/reasonix-color.svg create mode 100644 packages/agent-office/page/icons/snow.png create mode 100644 packages/agent-office/page/icons/stepfun-color.svg create mode 100644 packages/agent-office/page/icons/t3code.svg create mode 100644 packages/agent-office/page/icons/trae.svg create mode 100644 packages/agent-office/page/icons/workbuddy-color.svg create mode 100644 packages/agent-office/page/icons/xai.svg create mode 100644 packages/agent-office/page/icons/zcode.png create mode 100644 packages/agent-office/page/icons/zed.svg create mode 100644 packages/agent-office/page/icons/zoo-code.png create mode 100644 packages/agent-office/page/index.html create mode 100644 packages/agent-office/page/model.js create mode 100644 packages/agent-office/page/scene.js create mode 100644 packages/agent-office/page/style.css create mode 100644 packages/agent-office/privacy.test.mjs create mode 100644 packages/agent-office/sofa.test.mjs create mode 100644 packages/agent-office/test/fixtures.mjs diff --git a/README.md b/README.md index 2dae534..64d2f2b 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,7 @@ These add a page to magpie's window, in the app and in `magpie web`, under Plugi | Package | Page | Reads | |---|---|---| | [usage](packages/usage) | Usage glance: calls, errors, tokens and cost for today, 7 or 30 days, and the models behind them | `usage:summary` | +| [agent-office](packages/agent-office) | What are my agents doing: live sessions as workers in a voxel office (3D/2D) or a list, with status, current step and resume commands | no `magpie.read`; its host part reads the local session files of Claude Code, Codex, dsh, Gemini CLI, Qwen Code, Pi, omp, Qoder, WorkBuddy and CodeBuddy, including prompts, replies and tool commands (`text:false` keeps statuses and tool names only) | | [chat](packages/chat) | Chat with magpie's models, your MCP servers, instructions and skills, by Magic_zero ([Magiczerowxy](https://github.com/Magiczerowxy)). Has a host part: a local service the page goes to | none (its service calls magpie's gateway) | ```sh diff --git a/packages/agent-office/.gitignore b/packages/agent-office/.gitignore new file mode 100644 index 0000000..29e2b13 --- /dev/null +++ b/packages/agent-office/.gitignore @@ -0,0 +1,4 @@ +page/live.js +page/live.js.tmp +node_modules/ +.DS_Store diff --git a/packages/agent-office/CHANGELOG.md b/packages/agent-office/CHANGELOG.md new file mode 100644 index 0000000..18698b3 --- /dev/null +++ b/packages/agent-office/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog + +## 0.1.0 · 2026-10-29 + +首个公开发布版本。First public release. + +### Added + +- Live session readers for Claude Code, Codex, DeepSeek Harness, Gemini CLI, Qwen Code, Pi, omp, Qoder, WorkBuddy and CodeBuddy, with a gateway-hook fallback for other agents. +- Isometric 3D and top-down 2D office, live list, per-agent details and resume commands, plus a draggable and resizable in-page floating window. +- Real-time statuses, current tool steps, approval requests, completed and failed sessions. +- Varied idle gestures: stretching, glancing, leg swinging and dozing, with reduced-motion support. +- Front-aisle sofa boarding and exit, collision-safe pathfinding, worker separation and non-overlapping name tags. +- Correct seating orientation, monitor screens, chair backs and sitting legs for every seat. +- Real agent icons for the agents magpie knows, English and Chinese UI, and local-only text privacy controls. +- Furniture and seated-worker compositing, with no workers painted through sofas, cushions, backrests or consoles. +- The page follows magpie's window background without an outer grey ring. +- 44 automated tests covering session parsing, package safety, pathfinding, sofa compositing, orientation and idle gestures. diff --git a/packages/agent-office/LICENSE b/packages/agent-office/LICENSE new file mode 100644 index 0000000..bc2fef2 --- /dev/null +++ b/packages/agent-office/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 QingJ01 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/agent-office/README.md b/packages/agent-office/README.md new file mode 100644 index 0000000..13c4bec --- /dev/null +++ b/packages/agent-office/README.md @@ -0,0 +1,148 @@ +# Agent Office · 我的 Agent 在干嘛 + +[![Latest release](https://img.shields.io/github/v/release/QingJ01/magpie-agent-office)](https://github.com/QingJ01/magpie-agent-office/releases) +[![magpie ≥ 0.1.1318](https://img.shields.io/badge/magpie-%E2%89%A5%200.1.1318-4f46e5)](https://usemagpie.ai) +[![Tests](https://img.shields.io/badge/tests-44%20passing-22a35a)](#test) +[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) + +**一个住在 magpie 窗口里的实时 Agent 办公室。** 直接读取各 Agent 自己的会话记录,把正在思考、执行工具、等待批准或已经完成的工作,变成太空站里的小人。支持等距 3D、俯视 2D、实时列表和可拖动的悬浮小窗。 + +A live activity dashboard for your coding agents inside [magpie](https://usemagpie.ai): every session becomes a little worker in a voxel space-station office, driven by the agent's own session files rather than guesses from network traffic. + +![Agent Office in magpie's window](https://raw.githubusercontent.com/QingJ01/magpie-agent-office/main/docs/in-magpie.png) + +## 快速开始 · Quick start + +```sh +magpie plugin add @magpie-community/page-agent-office +``` + +安装后打开 **插件 › Agent 办公室**。默认显示真实会话,不是演示数据;第一次没有会话时会看到空办公室。想预览完整效果,可在 **设置 › 示例 Agent** 临时打开示例。 + +- **3D / 2D**:等距太空站或俯视图。 +- **办公室 / 列表**:实时状态、当前步骤、目录、模型和最近活动时间。 +- **点击小人或列表行**:查看任务、最近提问、工具步骤、回复摘要和续接命令。 +- **画中画**:可拖动、可缩放的悬浮小窗,✕ 或 Esc 放回。 + +支持直接读取会话文件的 Agent:Claude Code、Codex、DeepSeek Harness、Gemini CLI、Qwen Code、Pi、omp、Qoder、WorkBuddy、CodeBuddy。其他 Agent(Cursor、OpenCode、Copilot、Kimi 等)在通过 magpie 的模型工作时也会显示。 + +**它会读取什么:** 这些 Agent 写在本机的会话文件,包括提问、回复和工具命令,并在插件自己的目录里生成 `page/live.js` 供页面显示。设置里关闭「显示提问和回复」后只保留状态与工具名,不再写入提问、回复或命令参数。 + +仓库带有 `magpie-plugin` topic,因此也会出现在 **插件 › 发现 › 非官方插件 · GitHub**。插件市场的收录进展见 [magpie-community/plugins](https://github.com/magpie-community/plugins)。 + +[功能与状态](#where-a-worker-is-is-what-it-is-doing) · [数据来源](#how-it-knows) · [隐私](#privacy) · [设置](#options) · [限制](#what-it-cannot-know) · [开发测试](#test) + +## Where a worker is, is what it is doing + +| Status | Where | Sign | +|---|---|---| +| Thinking · 思考中 | at a desk | … | +| Running tools · 执行中 | at a desk, typing, its screen lit | spinner, how long it has run | +| Replying · 回复中 | at a desk | lines | +| Waiting for you · 等你回应 | in the purple square, waving | **!** | +| Done · 已完成 | on the sofa, asleep after 20 minutes | z | +| Error · 错误 | at the broken console | × | + +The counts at the top are how many need you (waiting for an approval or an answer, failed, or stuck), how many are working and how many are done. Below, real sessions: DeepSeek Harness running a tool, Codex done on the sofa, the panel of the first opened by a click: + +![A real session's panel](https://raw.githubusercontent.com/QingJ01/magpie-agent-office/main/docs/panel.png) + +## Which way each worker faces + +A seat says which way its owner looks: at a desk the sitter faces the desk, so the monitor stands on the desk's far edge with its lit side toward them and the chair's back behind; on the left wall's sofa they look east and on the front sofa north, away from the backrest. The head shows a face when that side is toward the camera, a profile when it is east, and the back of the head when it is away. + +## Movement and idle gestures + +Completed agents occasionally stretch, glance sideways, swing their legs or nod off. Their schedules differ, and these gestures pause while walking or working. The new gestures respect the system's reduced-motion preference; name tags remain steady. + +Sofas are blocked to normal foot traffic, including the space behind their backrests. Each seat has a front approach: walk through the aisle, board from the front, then leave by that same approach. Rerouting midway through boarding first returns to the aisle. Path smoothing checks every crossed grid cell, and an unreachable destination never falls back to walking straight through furniture. + +## How it knows + +From each agent's **own session file**, as the agent writes it — not a guess from traffic. The plugin's host part (it runs in magpie's plugin host while magpie is open) reads them every 1.5 seconds, only what changed: + +| Agent | File it reads | +|---|---| +| Claude Code | `~/.claude/projects/*/*.jsonl` | +| Codex | `~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl` (+ `session_index.jsonl` for titles) | +| DeepSeek Harness | `~/.dsh/sessions/*/*/session.v4.jsonl.zstd` | +| Gemini CLI · Qwen Code | `~/.gemini/tmp/*/chats/session-*`, `~/.qwen/tmp/*/chats/session-*` | +| Pi · omp | `~/.pi/agent/sessions/*/*.jsonl`, `~/.omp/agent/sessions/*/*.jsonl` | +| Qoder · WorkBuddy · CodeBuddy | their `projects/*/*.jsonl` (Claude Code's format) | + +The `*_HOME` / `*_CONFIG_DIR` variables those agents honour are honoured here too. What each file says decides the status outright: a tool call with no result yet is **running**, an approval asked (Codex's `exec_approval_request`, DeepSeek Harness's `approval/asked`, Gemini's `awaiting_approval`) is **waiting for you**, a question tool is **asked you something**, the turn's end is **done**, an interruption is **stopped**, an error turn is **error**. A turn whose file hasn't moved for ten minutes is shown as stuck. + +Every other agent (Cursor, OpenCode, Copilot, Kimi…) shows while it works through magpie: the module is also an [asynchronous gateway hook](https://usemagpie.ai/docs/plugins#gateway-request) that sees its requests. The hook returns no body, so no request changes. + +Both write `page/live.js` beside the page, which the page loads every second (a plugin page has no network; its own files it may load). The green **live** dot by the title turns grey if the host stops writing. + +All 60 agents magpie knows are named with their own icons, the files magpie itself shows (`page/icons`, from magpie's assets, MIT). + +## Using it + +Hovering only highlights a worker. **Click** a worker, its name tag or a row in the list to open its panel — the task, the last thing you asked, the step it's on, how its answer begins, its model and folder, and **Resume command**, shown selected so ⌘C / Ctrl+C copies it — which stays at the side until you close it (✕ or Esc) or click another agent. + +## Privacy + +- It reads the agents' session files on this computer, only reads them, and only the last two days'. Through the gateway it records only requests made on this computer (magpie's `origin: local`) unless you set `"remote": true`. +- `live.js` holds the agent, the session id, the folder name and path, the model, the last prompt (200 characters), the first 280 characters of the last answer, and the names and targets of the last tool calls. It never holds a key, a header or a whole conversation. With `"text": false` (Settings › Show prompts and replies, off) it keeps statuses and tool names only. +- `live.js` stays in the plugin's folder and is never sent anywhere. The page asks magpie for no data at all: its `permissions` list is empty. + +## Picture in picture + +**Picture in picture** (画中画) lifts the office into a small window of the page's own, over the rest of it: drag its bar to move it, drag its corner to reshape it, click ✕ or press Esc to put it back. Only the agents that need you keep their name tags there; hover any of them for the card. + +![The office in its own window, in magpie](https://raw.githubusercontent.com/QingJ01/magpie-agent-office/main/docs/picture-in-picture.png) + +magpie frames a plugin's page with `allow=""` and `sandbox="allow-scripts"`, so the browser's own floating window (a `