Repository navigation
Conversation
a654879 to
52b7063
Compare
0.1.3 — verification (2026-11-04)Environment: ZCode CLI 0.17.1, macOS 27.0.1 arm64, Node 24.15.0. Installed from a local marketplace → Repo-side for the same tree:
What changed in this revision: only deletions — three internal phase reports under Not covered here: a live Electron capture run. That needs a GUI session and real screen content; it is exercised by |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
52b7063 to
67510ec
Compare
Third round — review & simplification (2026-11-05)No new features. The most important outcome is that the plugin description was selling the smaller half of the product: it described a demo recorder, while the daemon (port leases, isolated sessions, saved login profiles, 24 session tools) was not mentioned at all. The Codex manifest had it right; the ZCode one did not. Both now describe the runtime and the recorder.
Documentation consolidated (nothing user-facing was dropped):
One factual correction inside the compat doc: it claimed the app sets a Verification: 232 tests pass (I re-ran the suite myself), Payload: re-synced, 11 files, verified blob-by-blob against Not verified this round: headed window modes and a live Electron capture — the change touched documentation, two dead exports and two orphan fixtures only. |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
Real-Electron verification of
|
| Step | Result |
|---|---|
GET /v1/tools on the lease |
24 tools, including network_capture and responses |
POST …/tools/network_capture {"url_prefixes":["http://127.0.0.1:4799/api/"]} |
subscribed, captured: 0 |
POST …/tools/navigate to the fixture page |
page loaded, the fetched JSON rendered in the DOM |
POST …/tools/responses |
2 records: the HTML document with body_error: "not_subscribed", and the XHR with the full body {"ok": true, "path": "/api/data?tag=boot", "n": 42} |
The documented ordering constraint holds in practice. A second session navigated first and subscribed afterwards: responses returned [] — the page-load requests were never subscribed. Navigating again after the subscription produced the document (not_subscribed) plus the XHR with its body.
Failure path also holds. Recording against a page that cannot be reached wrote status: "failed" evidence (e2e.evidence.json) instead of leaving an empty directory — the 0.1.4 fix, re-confirmed on 0.1.5.
A real 8 s take was also produced: 1920×1080, 30 fps, 240 frames, H.264, 0 % black frames, overlay visible in the video, and the frame at 2.5 s is the actual fixture UI with the filtered row highlighted.
One environment note for anyone reproducing this: if ELECTRON_RUN_AS_NODE=1 is set in the shell, every Electron binary runs as plain Node and exits 0 with no output. Unset it (env -u ELECTRON_RUN_AS_NODE …) or nothing appears to happen.
Still not verified: headed/visible window modes (all runs above were headless and took no focus).
67510ec to
6a191cf
Compare
|
Payload refreshed to That file is part of the ZCode payload ( No change to the skill, |
6a191cf to
5dcf563
Compare
|
Resubmitted at 0.1.6 — head 0.1.6 is a full review pass: 33 fixes, each reproduced before it was fixed. Tests 232 → 254. The ones a reviewer can check without a browser:
Payload and text changes:
Kept from the earlier round: the skill is install/config/troubleshooting only (no source copy in the payload); Not covered: this payload round ran no Electron itself. The 0.1.6 fixes were verified in the main repo during the fix round — |
5dcf563 to
b34714a
Compare
|
Re-pushed this branch as 1. The PR now follows 2. The entry named the repo-root Re-verified against the branch itself (not a local checkout):
Request: the earlier 中文摘要:本轮只补元数据与载荷完整性 —— 恢复了模板要求的插件类型声明与自查清单、标题加上 |
b34714a to
e8217e7
Compare
|
Update: payload bumped to 0.1.11 (head |
e8217e7 to
49f25e3
Compare
|
0.1.12 — second fresh-eyes review round, every defect reproduced first.
|
|
Thanks for the contribution! This PR no longer applies cleanly on top of the latest 🤖 Copy this prompt into Claude Code / Codex to fix it |
49f25e3 to
2a170ea
Compare
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
709ff66 to
b80f626
Compare
|
Payload refreshed to 0.1.15: new 1-bit monochrome pixel icon (a shared pixel-art family across our six plugins) plus version bump; rebased as a single commit onto current upstream main, payload blobs reused byte-for-byte. Source: Lumos-789/malo-browser. |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
|
Review-fix round — 0.1.16 (payload refreshed to
Tests: 293 green (+2 for the anti-drift pair, per this round's commit record). Release gates all green. Version: 0.1.16. |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
1f835b0 to
15ca236
Compare
|
Rebased onto the latest |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
15ca236 to
d0ccd2a
Compare
|
Payload refreshed to 0.1.17. The
No runtime changes (294 tests + typecheck green). Branch rebuilt as a single commit on current upstream main; |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
d0ccd2a to
19ddc9c
Compare
|
Payload refreshed to 0.2.0 — a full review round of the runtime; each defect was reproduced before it was fixed. Changes:
Three contract changes: Verified on Install round on a local directory marketplace: update → uninstall → install 0.2.0; the skill resolves from the new cache, and the cache is byte-identical to the payload (18 files). Not verified this round: the interactive Director console and its control API, headed window modes, the account-login scene. Branch rebuilt as a single commit on current upstream |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
19ddc9c to
0afa0ad
Compare
|
Payload refreshed to 0.3.0 — a memory and zombie-window round; each change was measured before and after. Changes:
Contract: the 27 tools are unchanged; 0.3.0 only adds the optional Verified on Not verified: the right-click menu was never looked at on screen (it was exercised on an invisible window); real intranet pages were not opened under the new title bar; long-running memory drift; Windows and Linux. |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
0afa0ad to
f65db50
Compare
|
Payload refreshed to 0.3.1 ( What changed
Contract: unchanged. The 27 tools, the schemas, the daemon and the HTTP API are the same as 0.3.0. Tested on Correction to the 0.3.0 note. The "21 passed" figure for the Python client suite had been measured before the version bump. After it, the suite's fake daemon — its version hard-coded at 0.2.0 — made the client treat it as a stale daemon to restart, and that "restart" sent SIGTERM to the pid the fixture had written into broker.json: the test runner's own. The suite therefore terminated silently on the 0.3.0 tree. 0.3.1 fixes the fixture (the fake daemon defaults to the repo's version; a real signal inside a case fails loudly instead of killing the runner), and Not verified: unchanged from the 0.3.0 note — the right-click menu was never looked at on screen; real intranet pages were not opened under the new title bar; long-running memory drift; Windows and Linux. |
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
Plugin type (required) / 插件类型(必填)
Affected plugin name(s) / 涉及的插件名称:
malo-browserWhat / 改动内容
EN — Adds
malo-browser, which is two things in one Electron app: an agent browser runtime, and a scripted demo recorder.snapshot/extract/observe(screenshots), click, fill,type, press, drag, scroll, assert, batch steps, login handoff,network_capture/responses,events.watchshows the real page in an inactive window (no focus steal). The window has only a native title bar — human state, page title, address — and right-clicking the page opens the handoff menu: Done / Pause / Stop first, then back / forward / reload, then the system's edit items. A paused or stopped session answers page-changing tools with 409.network_capturesubscribes a session to XHR/fetch responses matching URL prefixes and returns bodies by sequence number. Subscribe before navigating: requests sent earlier are missed, and response bodies never reach logs, evidence or run reports.focus: trueis refused unless the daemon runs with--allow-focus; profile import requires an explicitdomainslist; the debugger attaches to the page target, so OOPIF (cross-process iframe) and Service Worker requests are not captured — the frames themselves are readable and actionable.0.3.0 is a memory and zombie-window round on top of the 0.2.0 review fixes: a holder process that exits no longer leaves a window behind for up to 30 minutes, the handoff window dropped its web toolbar (one less ~80 MB renderer per visible window; there is no address bar any more — navigation is the agent's), and the client starts the Electron binary directly instead of through the npm wrapper. Details a reviewer can check without a browser are listed under testing below.
0.3.1 is a small follow-up. The plugin ships the skill, docs and the client, not the runtime, which lives only in a built checkout. When the client is a plugin copy and no daemon is running, it now says exactly that and points at the checkout; it used to report a broken
electronpackage, which invited annpm installinside the plugin directory. Inside a checkout nothing changes.中文 — 新增
malo-browser:一个 Electron 应用同时充当 agent 浏览器运行时与脚本化演示录制器。守护进程按端口发放租约,支持多 agent 并发、隔离且可复用登录态的 session(27 个工具:含 iframe 内读取与操作、人工交接、网络抓包与事件留档);场景化舞台可无头录制 1920×1080@30 演示并产出证据 JSON。0.3.0 在 0.2.0 的 review 修复之上做内存与僵尸窗口治理:持有者进程退出后租约连同窗口数秒内回收、人工接管窗口去掉网页工具条(改原生标题栏 + 右键菜单,不再有地址栏)、客户端直接启动 Electron 可执行文件。0.3.1 小修:插件副本里的客户端在没有 daemon 时如实说明自己是副本、带不了运行时,并指向源码仓(此前误报 electron 包没装好);源码仓里的客户端行为不变。Visible behavior and testing / 可见行为与测试
npm test→ vitest 434 passed / 36 files plus 23 passed offline cases of the bundled Python client (0.3.1 runs both suites under one command). Node 24.15.0, Python 3.14.4.npm run smoke:malostarts an isolated throwaway daemon (own data dir and port pool) and runs two agents over three sessions — navigation isolation, snapshot / extract, the fill landing chain, click by text, drag, history, password login and wrong credentials, human-handoff login, profile restore against anonymous isolation, popup block / adopt, the event log, scroll landing, read and act inside same-origin / cross-origin / nested iframes, session close, lease release and port return.npm run smoke:toolbarcovers the native handoff toolbar — title sync, the right-click menu through real synthetic input, the human signals, back / forward / reload, re-hosting after the human closes the window — and asserts that the toolbar adds no renderer process; it passed three times in a row.holder-exited; a live holder left idle for 12 s kept its lease; the daemon's parent is the client itself with no npm wrapper process. One visible window uses exactly one renderer (the page). A port held by a non-malo process is refused with a diagnostic, not reused. The frontmost application did not change during any of these runs.report-reviewscene (7 steps) both pass.snapshot'sinteractive[].rectx/yare now the element center (corners moved toleft/top), consistent withextract mode=rect; profile import requiresdomains;focus: trueneeds--allow-focus. All three are in the skill and both READMEs. 0.3.0 only adds an optionalholder_pidonPOST /v1/leases(advertised aslease.holder_exit); the 27 tools are unchanged.debug_portin/health; the Python client asks for one only when it is passed explicitly.${env:NAME}is limited toSCENE_*(a third-party scene could otherwise interpolate anyprocess.envvalue into a URL);demo://validates the scene id instead of using the URL segment as a containment root; the stage blocks server-side redirects as well as navigations; a password input is rejected as anasserttarget; one malformed WebSocket frame during a profile import fails that import with a 502 instead of crashing the daemon.Not covered by this round / 本轮未覆盖:
mac dir; the packaged app is neither signed nor notarized); Windows and Linux were not run. OOPIF / Service Worker request capture is out of scope by design.Version and marketplace registration / 版本与市场注册
external_plugins/malo-browser/, manifest andmarketplace.jsonentry both at 0.3.1.developer-tools; icon added at the repo-root path the entry uses (assets/malo-browser/icon.png, 512×512).description_i18ncarriesenandzh-CN, identical in both files, and names the 27 session tools.README.md/README_CN.md, the skill anddocs/are in step with the code;docs/malo-tools.mdis new and is the contract of every tool.Dependencies, network, permissions, side effects / 依赖、网络、权限与副作用
engines),git, and an Electron/Chromium runtime;ffmpeg/ffprobefor the recording checks. Python 3 is optional, for the bundled zero-dependency client.~/.malo-browserby default) — Chromium profile partitions, downloads, failure screenshots, run reports and per-sessionevents.jsonl(files 0600, directories 0700). The demo tool writes takes and evidence JSON to its--outdirectory (./evidenceby default).SCENE_*variables only; the account-store path can be overridden withMALO_BROWSER_ACCOUNTS; the Python client passes extra daemon flags fromMALO_DAEMON_ARGS.Licensing / provenance / 许可与来源
LICENSEships in the plugin directory); code written for this submission.Self-check / 自查清单
external_plugins/malo-browser/; existing fixes retain ownership / 插件名唯一且 kebab-case,外部新增插件位于external_plugins/malo-browser/,已有插件修复保留原归属categoryis set independently of publisher ownership / 用途分类category已填写,与维护归属分开:developer-toolsversionbumped in BOTHplugin.jsonandmarketplace.json(artifacts are immutable) /plugin.json与marketplace.json两处版本号已同步升级:0.3.1README.md(EN) andREADME_CN.md(中文) both updated and equivalent / 中英文 README 均已更新且语义一致description_i18nhas bothenandzh-CN/description_i18n包含en与zh-CNpython3 scripts/validate.pypasses on this branch, and the plugin artifact was built through the samebuild_zip()code path CI uses (size and sha256 in the comment below). The fullpython3 scripts/build_dist.pyneeds the repo's UI-pluginpnpm buildand fails identically on upstreammain(excalidraw: incomplete build), so CI runs it here — see the note above. / 本地validate.py通过,本插件产物用 CI 同一条build_zip()路径打出(体积与 sha256 见下方评论);完整build_dist.py依赖仓库自带 UI 插件的pnpm build,在main上同样失败,交由 CI 执行