An agentic browser harness: an AI side panel & orb in your own logged-in Chrome, Edge, Arc, Brave or even Firefox run by the agent/subscription you already use (Claude Code, Codex, Antigravity). Free, open source, no API key. Also an MCP server.
TypeScript agentic-browseragentic-browsingagy-cliaiai-agentai-browser-extensionai-toolsbrave-extensionbrowser-agentbrowser-automationbrowser-extensionbrowser-usebrowserskillchrome-extensionclaude-codecodexfirefox-addonmcp-servernanobrowserweb-automation
fix(ci): keep npm pack's stdout to the tarball name
Shahriarfb5821e22b22
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 77dc4fb..ee4a289 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -120,7 +120,11 @@ jobs:# tarball rather than the working tree, and it runs before anything is published,# because an npm version cannot be taken back.run: |- tarball="$(cd src/daemon && npm pack --silent)"+ # tail -1 because npm pack prints the tarball name to stdout and anything a+ # prepack script logs there lands ahead of it. Kept as a belt on top of+ # stage-extension.mjs logging to stderr: a two-line capture here poisons every+ # path below it, and the failure reads as "the tarball carries no extension".+ tarball="$(cd src/daemon && npm pack --silent | tail -1)"echo "TARBALL=$GITHUB_WORKSPACE/src/daemon/$tarball" >> "$GITHUB_ENV"tar -tzf "src/daemon/$tarball" | grep -q 'package/extension/chrome-mv3/manifest.json' \diff --git a/src/daemon/scripts/stage-extension.mjs b/src/daemon/scripts/stage-extension.mjsindex 9b33982..346337e 100644--- a/src/daemon/scripts/stage-extension.mjs+++ b/src/daemon/scripts/stage-extension.mjs@@ -68,7 +68,9 @@ const count = (dir) =>0,)-console.log(+// stderr, not stdout: this runs as prepack, and `npm pack` prints the tarball name to+// stdout for `$(npm pack)` to capture. A line of ours there makes that capture two lines.+console.error(`stage-extension: extension/chrome-mv3 — ${count(TARGET)} files, ` +`${(bytes(TARGET) / 1024 / 1024).toFixed(2)} MB, manifest v${built}`,)