Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/ffmpeg-detect-missing-cache.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tangle-network/browser-agent-driver

## 0.35.2

### Patch Changes

- [#129](https://github.com/tangle-network/browser-agent-driver/pull/129) [`c85666e`](https://github.com/tangle-network/browser-agent-driver/commit/c85666edfe54fe2dc9feeaf9db5e3dd1fab6ec1c) Thanks [@AtelyPham](https://github.com/AtelyPham)! - Fix the ffmpeg probe so a **missing** Playwright browsers cache disables video recording instead of keeping it on. The graceful degrade added in 0.35.1 only disabled `recordVideo` when the cache dir existed but had no ffmpeg; in the Tangle agent-thin sandbox `PLAYWRIGHT_BROWSERS_PATH` (`/opt/cache/npm/_playwright`) is never populated — Chromium is launched from Nix via executablePath — so the directory does not exist, and the previous "bias toward true on a missing dir" kept `recordVideo` and still crashed the run at `context.newPage()`. The probe now biases toward disabling video on any uncertainty (missing cache dir, cache without ffmpeg, or a probe error), because a wrong "available" hard-crashes the run while a wrong "unavailable" only skips the replay video; it returns true only when it positively finds an ffmpeg binary, or for the package-bundled `PLAYWRIGHT_BROWSERS_PATH=0` mode. Normal dev/CI (where `playwright install` provides ffmpeg) is unchanged. The disabled-video warning now names the resolved cache path and the driver version.

## 0.35.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tangle-network/browser-agent-driver",
"version": "0.35.1",
"version": "0.35.2",
"description": "LLM-driven browser agent and bad CLI for UI automation, testing, and evaluation",
"packageManager": "pnpm@10.33.3",
"publishConfig": {
Expand Down
Loading