GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(desktop): remote media fallback, recording transfer, browser menus and installer art by rynfar · Pull Request #462 · pylon-code/pylon Conversation
|
| Upstream SHA | PR | Outcome |
|---|---|---|
a01b227d6f37d1cfed7a2f47aaace2f72ea76ce3 |
#10619 | Adopted, with UNC and device paths kept out of the fallback. Only test imports conflicted. |
9e37f0c291974d084a59d7b9f165a1cb056e6043 |
#10572 | Adopted, with local recordings left in place and recordings kept out of attachment storage (see below). Both #10572 recording tests were ported. The skipped upstream test, "routes gesture-free starts through the desktop capture trigger", comes from #9001's capture code, which #461 adds. |
b5f7fa0ede2a0d791226e6474c9cc4374dd89cc9 |
#10670 | Adopted. The test keeps Pylon's pylon-code-dev:// URL. |
061543e9e5b54ec0048725c37d52fef2962df173 |
#10501 | Adopted, using Schema.TaggedErrorClass for Pylon's Effect version. Saved screenshots are stored per thread (see below). |
991526383f95eefdd66ffd2853136c6dd34ae008 |
#10632 | Adopted with Pylon copy and mark. |
5d14c0e9686d8bedf47dd93dd3811fd639255c7e |
#10819 | Adopted: Pylon's mark, not T3's logo. |
0fe4c99ee6df4cbb7a9064d2d86ece65ecef5eb3 |
#10820 | Adopted: neutral stable art. |
Window capture (#8103, #10645, #9001) and the skipped v0.0.40 release bump are in #461. The ledger rows need a trivial rebase. Since #461's afa94547da moved recording capture to getDisplayMedia, apps/web/src/browser/browserRecording.test.ts also conflicts: whichever PR lands second must move #10572's two transfer tests from the getUserMedia mock to #9001's display-media capture trigger, which is how upstream wrote them. No other file this PR changes conflicts with #461 or #463; their remaining conflicts (pnpm-lock.yaml, MessagesTimeline.test.tsx) are with pylon itself.
Saved browser files live with their thread. Upstream stores a transferred recording as a thread attachment that no message references. Pylon's rollback (thread.reverted) prunes exactly those files, so a recording the agent embedded in a kept earlier turn was deleted by any later rollback. In remote mode the only other copy is on the desktop. Transferred recordings and save: true screenshots now go to <state>/browser-artifacts/<thread>/. Revert cleanup never looks there. Deleting the thread removes the folder from the same deletion path that removes its attachments, so feat(chat): attach files to question answers #463's cleanup cursor replays it too.
preview_snapshot annotations. Upstream's read-only and idempotent hints are kept. save: true writes only to the thread's own browser-artifacts/<thread>/ store, never the workspace, and deleting the thread removes it. Dropping the hints would make Codex ask before every snapshot in Supervised and Auto-accept edits with no safety benefit, so review kept them. A comment at the annotation records why.
MCP tool timeouts. preview_recording_stop can take up to 120 s. Pylon now configures 180 s for its MCP server where a provider accepts a per-server value:
| Provider | Default per-call timeout | Decision |
|---|---|---|
| Codex | 60 s through at least rust-v0.100.0, 120 s by May 2026, 300 s since July 2026 (DEFAULT_TOOL_TIMEOUT in codex-rs) |
Set mcp_servers.t3-code.tool_timeout_sec=180.0. tool_timeout_sec predates bearer_token_env_var, which Pylon already requires. |
| OpenCode | MCP SDK default of 60 s (timeout falls back to experimental.mcp_timeout, then the SDK) |
Set timeout: 180000 on mcp.add. OpenCode also uses it for connecting and listing tools. |
| Claude | 100,000,000 ms hard limit (MCP_TOOL_TIMEOUT default) and a 300 s idle limit for HTTP servers, checked in Claude Code 2.1.267 |
No change needed. |
| Cursor, Grok, Antigravity, Prime | ACP McpServerHttp has no timeout field |
Not configurable; left at each agent's default. |
Only the previous DMG artwork and window geometry are replaced. Both came from an earlier upstream port, so they are not Pylon-original.
Nothing Pylon-specific was removed from the MCP, asset or window code. Prime usage is unchanged (PRIME_AGENT_DRIVER_KIND still appears 3 times).
preview_evaluate result shape. It now returns { value }. No Pylon consumer of the old raw result was found.vp test run):
path: 6 passed;src/mcp, AssetAccess, cli/config, attachmentStore, ProjectionPipeline, CodexAdapter and OpenCodeAdapter: 308 passed;server.test.ts -t "asset|media|upload": 5 passed;Manager, ipc/preview, DesktopWindow and ElectronMenu: 126 passed, and CI=true scripts/build-desktop-artifact.test.ts: 80 passed (first push; this round did not touch those files).McpHttpServer, preview tools and handlers tests, 24 passed; vp fmt --check and lint clean on the changed files.t3 and web clean this round; contracts, desktop, mobile and scripts clean on the first push.vp fmt --check passes on 24 files; the first push checked 27 and 29 files; git diff --check is clean.sips, the builder's converter, and inspected at 1x and 2x.No local client pass or Finder/Electron check was run; the orchestrator does one integrated pass. Upstream evidence: #10632, #10819, #10820, #10670, #10619 and #10572.
Ported by Claude Opus 5 in Claude Code.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
0fa2309 to
901e393
Compare
Pylon adaptation: the new fallback tests share an import block with Pylon's existing asset URL metadata test; no behavior differs from upstream. Co-authored-by: maria-rcks <[email protected]> (cherry picked from commit a01b227d6f37d1cfed7a2f47aaace2f72ea76ce3)
Pylon adaptation: the new recording tests mock getUserMedia, which Pylon's tab capture uses, instead of upstream's getDisplayMedia capture trigger. Upstream's gesture-free capture-trigger test belongs to earlier capture work Pylon does not have and is not added. (cherry picked from commit 9e37f0c291974d084a59d7b9f165a1cb056e6043)
Pylon adaptation: the test's fake renderer keeps Pylon's pylon-code-dev:// URL. (cherry picked from commit b5f7fa0ede2a0d791226e6474c9cc4374dd89cc9)
…them (#10501)
Bound the snapshot text an agent reads below harness output limits, report
what was left out, return preview_evaluate results as { value }, cap element
names in the desktop snapshot script, and let preview_snapshot save its PNG
under the environment's browser-artifacts directory with save: true.
Pylon adaptations: PreviewScreenshotSaveError extends
Schema.TaggedErrorClass because Pylon's Effect version has no
Schema.TaggedError. The user snapshot guide describes bounded text and
saved screenshots.
(cherry picked from commit 061543e9e5b54ec0048725c37d52fef2962df173)
Adopt upstream's refreshed DMG installer layout: a 640x432 Finder window, 120px app and Applications icons at (166, 214) and (474, 214), a direct "Drag Pylon into Applications." instruction with a curved arrow, and a ribbon behind the icons. Nightly keeps upstream's abstract night sky (stars and blurred clouds, no marks) with a pastel ribbon and a NIGHTLY label; stable uses the neutral gray background and silver ribbon. Pylon adaptations: both backgrounds embed the Pylon mark (hexagon with the cube cutout, from assets/prod/app-icon.icon/Assets/text.svg) where upstream embeds its wordmark, and the instruction names Pylon. DMG titles, artifact names, signing, and app identity are unchanged. Adopted from 991526383f95eefdd66ffd2853136c6dd34ae008 (#10632) Adopted from 5d14c0e9686d8bedf47dd93dd3811fd639255c7e (#10819) Adopted from 0fe4c99ee6df4cbb7a9064d2d86ece65ecef5eb3 (#10820)
Explain that desktop retries missing absolute media from remote threads against its own environment, and that agent recordings are transferred to the agent's environment with a 50 MiB and two-minute limit. Documents behavior adopted from a01b227d6f37d1cfed7a2f47aaace2f72ea76ce3 (#10619) Documents behavior adopted from 9e37f0c291974d084a59d7b9f165a1cb056e6043 (#10572)
Adopted from a01b227d6f37d1cfed7a2f47aaace2f72ea76ce3 (#10619) Adopted from 9e37f0c291974d084a59d7b9f165a1cb056e6043 (#10572) Adopted from b5f7fa0ede2a0d791226e6474c9cc4374dd89cc9 (#10670) Adopted from 061543e9e5b54ec0048725c37d52fef2962df173 (#10501) Adopted from 991526383f95eefdd66ffd2853136c6dd34ae008 (#10632) Adopted from 5d14c0e9686d8bedf47dd93dd3811fd639255c7e (#10819) Adopted from 0fe4c99ee6df4cbb7a9064d2d86ece65ecef5eb3 (#10820)
…r the desktop's own environment A transferred recording was a thread attachment that no message referenced, so a rollback deleted it even when a kept turn embedded it. Transferred recordings and saved snapshot screenshots now live in the thread's own browser-artifacts folder, which rollbacks never sweep and thread deletion removes. The desktop no longer uploads a recording to its own primary environment. It returns the saved path, as before recording transfer, and tells the server so instead of looking like an outdated desktop. Other environments still get one transfer. preview_snapshot is no longer annotated read-only or idempotent, because save: true writes a new file on each call.
…edia fallback A remote thread could embed a UNC path and make a Windows desktop's own server resolve it without a click. The fallback now accepts only POSIX and drive paths on the client, and the server issues thread-free media URLs only for those paths.
Stopping a recording can take up to 120 seconds, longer than older Codex releases (60 or 120 s) and OpenCode (60 s) wait for an MCP tool. Pylon now configures 180 seconds for its MCP server in both. Claude's defaults already cover it, and ACP providers accept no per-server timeout.
901e393 to
ab596cf
Compare
save: true writes only to the thread's own browser-artifacts store, which deleting the thread removes, so dropping upstream's read-only and idempotent hints only made Codex ask before every snapshot in supervised modes.
There was an error while loading. Please reload this page.
07b3fecf
Deployed
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.