docs(readme): fix build instructions#15
Merged
Merged
Conversation
the-homeless-god
pushed a commit
to the-homeless-god/wb
that referenced
this pull request
Dec 5, 2023
JeffCarpenter
pushed a commit
to JeffCarpenter/carbonyl
that referenced
this pull request
Nov 9, 2025
Handle leftover git am state in patches script
jmagly
added a commit
to jmagly/carbonyl
that referenced
this pull request
Apr 3, 2026
…nnect Add automation/daemon.py implementing the persistent browser daemon MVP. A Carbonyl browser starts once as a forked background process and stays running, exposing a Unix domain socket at $CARBONYL_SESSION_DIR/<name>.sock. Callers reconnect to the live process via CarbonylBrowser(session=name).open() which detects the daemon socket and connects instead of spawning a new browser. Auth cookies, localStorage, and in-page state are preserved between connections because the Chromium process never restarts. Key API: start_daemon(session, url) → forks daemon, waits for socket ready stop_daemon(session) → graceful close command is_daemon_live(session) → socket probe DaemonClient → thin socket proxy (send/click/drain/page_text/…) CarbonylBrowser changes: .open() → auto-detects live daemon and reconnects .disconnect() → releases socket without stopping browser .close() → sends close command when in daemon mode CLI: python automation/daemon.py start <session> [url] python automation/daemon.py stop <session> python automation/daemon.py status python automation/daemon.py attach <session> # interactive REPL Also fix DaemonClient._rpc() to extend socket timeout for drain commands (drain seconds + 10s) to prevent premature timeout on long waits. Closes fathyb#15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4