WaiooT asked to see Cursor in Agent Office. It read no Cursor files: Cursor showed only through the gateway hook, which never sees Cursor's own requests (they go to Cursor's servers). It now reads <CURSOR_DATA_DIR or ~/.cursor>/projects/<slug>/agent-transcripts/ <chat>/<chat>.jsonl (and the older agent-transcripts/<chat>.jsonl). A chat with cursor-agent's chats/*/<chat>/meta.json (CURSOR_CONFIG_DIR, else $XDG_CONFIG_HOME/cursor, else ~/.cursor) is "Cursor CLI" with that cwd; the rest are the editor's, a new "cursor-app" agent named "Cursor", with the cwd found by matching the slug against real folders (bounded, cached), else the slug's last part. Lines carry no time, so the file's mtime is used, and the user line's <timestamp>. turn_ended ends a turn (success done, error with its text, else stopped). The editor writes no turn_ended, so its chat counts as done 30s after a last answer with no tool pending. No token counts: Cursor doesn't record them locally. Run on mote at this tree (Bun 1.4.2, HOME=mktemp -d): repo bun test 7866 tests, 7846 pass, 20 skip, 0 fail; bun scripts/check.mjs exit 0; stamp-page.mjs --check exit 0 (agents.js restamped). The fixtures are the bytes a sandboxed cursor-agent wrote here (a Read tool run that ended "WritableIterable is closed", and "Say ok."). Broken by hand: without the editor's quiet-done rule the chat stays "thinking" (red); without meta.json's agent the CLI chat is cursor-app (red). Not tried: a real Cursor editor writing a transcript (no editor in a sandbox here; the format is cursor-agent's, which the editor shares per magpie's Sessions reader), subagent transcripts, the page in a real magpie window.
9.5 KiB
Changelog
0.3.5 · 2026-11-10
Added
- Cursor shows in the office: its editor's agent chats as "Cursor" and cursor-agent's as "Cursor CLI", read from
~/.cursor/projects/*/agent-transcripts(CURSOR_DATA_DIR, and cursor-agent'schats/*/*/meta.jsonunderCURSOR_CONFIG_DIR). What was asked, the tools it calls and its answer show; Cursor's requests go to Cursor's servers, so there are no token counts. The editor writes no end-of-turn line, so its chat counts as done 30 seconds after its last answer. Asked by WaiooT on X.
0.3.4 · 2026-11-06
Fixed
- Settings' Language, Scene and Quality pickers are read with their value ("Scene, Office"), wheeling past the end of a picker's list no longer closes it, and a picker opened from the keyboard near the foot of Settings stays open. The page's scrollbars are magpie's thin rounded thumb. By frederick-wang (#778, #773).
0.3.3 · 2026-11-06
Changed
- Settings' Language, Scene and Quality pickers are in-page menus instead of native
<select>s: they open below the button, or above it when there is less room, stay inside the window, and work with the arrow keys, Home, End, Enter, Space, Tab and Escape (Escape closes the picker before Settings). The saved options are the same. By frederick-wang (#771, #744).
0.3.2 · 2026-11-05
Added
- Settings has a switch, "Include agents from other computers and gateway keys", for
remote. It stays off by default. While it is off, an empty office that had such requests says they were ignored because the switch is off, in all nine languages. By frederick-wang, from QingJ01/magpie-agent-office#5 (#741).
Changed
- The Settings button's chevron is drawn as an SVG that sits on the label's centre line and turns over while the menu is open; the Language, Scene and Quality pickers draw the same chevron. By frederick-wang (#740).
Fixed
- The page's asset stamps match their files again. Since 0.3.0 four of them were stale, so a same-version cache could pair the new page with an old model.js, scene.js, scene3d.js or app.js.
0.3.1 · 2026-11-03
Fixed
- README says eleven scenes, and lists the five new ones in its 3D feature line.
0.3.0 · 2026-11-02
Added
- Library, cyberlab, greenhouse, arctic and rainy night scenes with themed 3D decorations.
0.2.4 · 2026-11-01
Fixed
- A
jumpRequest.atahead of the clock no longer blocks every later jump. A request is acted on only from 15 s old to 5 s ahead; one stamped further ahead is set aside and remembered, so it never fires when the clock gets there. Alast-jump.jsontime ahead of now — written by 0.2.3 for such a request, or after the clock stepped back — now blocks only that same request, and every other click jumps; the file is rewritten at the next request. A request already handled is still never replayed across restarts (#583).
0.2.3 · 2026-11-01
Added
- Jump directly to the live macOS terminal tab, multiplexer pane or desktop app window running a session (
lib/jump.mjs), with single-click panel buttons, multi-host selector when a multiplexer session (herdr/tmux) is attached in multiple terminals, and double-click on workers, name tags, list rows or side-rail rows (#552).
0.2.2 · 2026-11-01
Fixed
- A Grok
usage.jsonorsummary.jsonrewritten at the same size within one file-system timestamp tick is read again. On Linux a write is stamped with the coarse kernel clock, so such a rewrite kept size, mtime and ctime, and the old token count stood. A sidecar stamped within the last 2.5 s now also carries a digest of its bytes, and its inode is part of its revision (#580).
0.2.1 · 2026-10-31
Fixed
- Initial and reset scans no longer pass every fragment of a complete image-heavy record through the character framer; only fragments of the record still unfinished at EOF are framed, once (#559).
- Regressions for identical-witness inode replacement, invalidated committed EOF records, exact Codex-title append reads and unchanged summary caching (#559).
0.2.0 · 2026-10-31
功能对齐 whatsmyagentdoing,并加入真正的 3D 与独立运行方式。
Added
- Real WebGL 3D office (
page/scene3d.js, bundled three.js r169): orthographic orbit camera, wheel zoom, lighting, shadows, six procedural scenes (office, station, cafe, castle, pirate, graveyard), animated workers and DOM name-tag anchors. - ISO canvas view between 2D and 3D: five activity venues (reading, arcade, huddle, ping-pong, coffee), an office cat, day/night window light, drag-pan and wheel/pinch zoom.
- Copilot CLI, Kimi Code and Grok Build readers, Claude Code subagents, OMP profiles, and parent/subagent metadata.
- Workbench: Needs you → Working → Finished groups, agent-mix / subagent / idle filters, grouped side rail.
- Today panel: turns, tokens, top folders and context bars (60% warn, 85% full).
- Recent conversation in the agent panel (last 8 messages), with privacy redaction.
- No-progress badges at 8 minutes thinking and 10 minutes running; completed agents wander the venues and sofa.
- In-page toast for new waiting/error sessions; tab-title need-you count.
- Claude process-liveness check: a session mid-turn with no live process (for example
claude -pkilled from another agent) is stopped, not stuck. - Clear removes a finished/stopped/waiting/stuck agent until its session moves again.
- Nine-language UI: English, 简体中文, 繁體中文, 日本語, 한국어, Español, Français, Deutsch, Português, with prompt-script, theme and browser fallback.
- Standalone
bin/agent-office.mjs(--json,--private,--hours, local page server) andSKILL.mdfor Claude Code / Codex skills.
Fixed
-
Narrow the CSP compatibility note to the reproduced Mac Playwright/WebKit build and add a local diagnostic; Linux build 2336 did not reproduce the refusal.
-
Secure the standalone server with per-run capability URLs, validated Host and same-origin JSON writes; reject cross-site data/script access.
-
Scrub hidden rail, list, conversation and closed-panel DOM when text is disabled.
-
Keep stopped 3D renderers stopped across visibility and context restoration; avoid hidden-canvas DPR growth.
-
Execute bundled THREE in renderer tests; batch articulated worker meshes with InstancedMesh, preserve crowd capacity and keep six-scene props clear of seating routes.
-
Refresh Today usage at local midnight and read Grok's vendor-documented usage sidecar. JSONL now retains per-file byte cursors and reader state; normal polls parse only appended records instead of replaying growing history every 1.5 s.
-
Handle partial UTF-8/JSON writes and delayed newlines, reset on truncation/inode replacement/same-size rewrites, and check at most 128 old bytes for truncate-and-regrow. Codex titles use the same incremental framing; unchanged sidecars are not re-parsed or retained as full usage snapshots.
-
Preserve incremental tool/stream/usage state, Claude response corrections and metadata removal/fallback precedence; incomplete quoted braces do not trigger repeated full-record parsing. Byte-count regression tests cover 100 MiB logs and fragmented image/text writes.
-
Recompute time-based states without new log writes; allow clearing No progress sessions, unify rail/list labels and retain alert history across filters.
-
Bound menus and panels to the current CSS viewport; fingerprint static assets to prevent mixing old resources after a same-version update.
-
Translate scene/quality/fallback/venue labels and scope camera shortcuts to a focused canvas.
-
Inactive canvas is hidden explicitly, so switching between 3D, ISO and 2D never leaves the previous renderer visible.
-
The grouped rail and menus no longer sit under the agent detail panel.
-
The security test distinguishes the vendored three.js bundle from our own page code;
scene3d.jsstill has no network calls. -
Toolbar controls are grouped, so Settings never wraps alone on a second row.
-
The page fills the plugin frame without an outer scrollbar; the stage shrinks instead of overflowing.
-
Name tags use their laid-out position for collision stacking, stay inside the stage, and are capped by priority so they cannot cover the office.
-
The grouped side rail now defaults to closed (previous default: open), leaving more space for the office. Open it with Panel; an old saved
side:trueis ignored once unless it carries the current preference version.
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.