Commit Graph
18 Commits
Author SHA1 Message Date
binaryify f087239495 chore: 1.1.3 release 2026-08-06 22:12:03 +08:00
binaryifyandGitHub 09ba6b8c38 Merge pull request #6 from yoruuuchan/feat/windows-debug-browser
feat: auto-start a debug browser for agent-browser on Windows
2026-08-06 22:00:23 +08:00
binaryifyandGitHub 870c3e94fc Merge pull request #5 from yoruuuchan/fix/find-download-race
fix: tolerate files vanishing mid-scan in find_download
2026-08-06 21:00:10 +08:00
yoruuuchanandClaude Fable 5 9acf2025e4 feat: auto-start a debug browser for agent-browser on Windows
On Windows agent-browser cannot launch Chrome by itself: the Chrome
launcher process hands off to a child and exits, which agent-browser
mistakes for a crash ("Chrome exited early without writing
DevToolsActivePort"). On such machines the export never gets a browser.

Before creating the session, resolve a CDP endpoint (Windows only):

1. honor AGENT_BROWSER_CDP if it answers /json/version;
2. else reuse a live endpoint on port 9337;
3. else launch Chrome/Edge with --remote-debugging-port and a fixed
   profile, and pass the port to agent-browser via AGENT_BROWSER_CDP.

The instance is intentionally left running: relaunching with the same
profile joins the existing browser, so repeated exports reuse one
instance instead of piling up processes. Non-Windows platforms are
untouched.

Discussed in #4.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-06 21:43:02 +09:00
yoruuuchanandClaude Fable 5 2730832c3f fix: tolerate files vanishing mid-scan in find_download
The sort key in find_download() called item.stat() unprotected. The
search roots include the live Downloads folder, where Chrome renames
"*.crdownload" files to their final name between directory listing and
stat(), crashing the whole export with FileNotFoundError.

Stat once while collecting (skipping entries that raise OSError), then
sort the snapshot. This also halves the stat() calls per polling round.

Fixes the remaining race reported in #4.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-06 21:36:38 +09:00
binaryify f77ee8dfcb fix: export_pptx.py
Related to #4
2026-08-06 18:02:20 +08:00
binaryify 066cbc33a5 chore: 1.1.1 release 支持元素入场动画 2026-08-06 17:21:34 +08:00
binaryify 0f70adb1c9 chore: 1.1.0 release 2026-08-06 17:09:51 +08:00
binaryify 28040e1f57 chore: 1.0.2 release 2026-08-06 14:08:34 +08:00
binaryify 4fca104a44 chore: 1.0.1 release 2026-08-06 12:36:09 +08:00
binaryify 37d2272f55 update: docs 2026-08-06 10:50:16 +08:00
binaryify 995e76c6c2 update: docs 2026-08-05 21:01:58 +08:00
binaryify b32aa977fc update: README 2026-08-05 18:08:21 +08:00
binaryify 650f09d44d update: README 2026-08-05 17:47:18 +08:00
binaryify d9550c320d update: README 2026-08-05 17:07:23 +08:00
binaryify 4d3ff12812 update: screenshots 2026-08-05 16:51:48 +08:00
binaryify 79761c6811 update: README 2026-08-05 16:35:50 +08:00
binaryify 5b0d45bf1d chore: 1.0.0 release 2026-08-05 16:25:24 +08:00