Add CDP screencast streaming and interactive input for local mode (#4904)
Some checks are pending
Run tests and pre-commit / Run tests and pre-commit hooks (push) Waiting to run
Run tests and pre-commit / Frontend Lint and Build (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
Andrew Neilson 2026-03-23 17:48:11 -07:00 committed by GitHub
parent 5fa0ff6795
commit 86a4f6aa0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 2250 additions and 220 deletions

View file

@ -5847,6 +5847,7 @@ class AgentDB(BaseAlchemyDB):
timeout_minutes: int | None = None,
organization_id: str | None = None,
completed_at: datetime | None = None,
started_at: datetime | None = None,
) -> PersistentBrowserSession:
try:
async with self.Session() as session:
@ -5867,6 +5868,8 @@ class AgentDB(BaseAlchemyDB):
persistent_browser_session.timeout_minutes = timeout_minutes
if completed_at is not None:
persistent_browser_session.completed_at = completed_at
if started_at:
persistent_browser_session.started_at = started_at
await session.commit()
await session.refresh(persistent_browser_session)