Sign In

@panerelay/setup

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@panerelay/setup

Install and diagnose Panerelay's local integration and optional automation adapters.

Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
534
-49.76%
Maintainers
1
Weekly downloads
 
Created
Source

@panerelay/setup

Install, update, diagnose, and remove Panerelay's local components. The base command is automation-engine neutral; agent-browser and browser-use integrations are explicit peer choices.

Start here

First install the official Panerelay Extension from the Chrome Web Store in Chrome or Microsoft Edge. Edge may ask you to allow extensions from other stores.

Panerelay only — Agent side panel

Run the engine-neutral command when you need the side panel and local Agent providers:

npx --yes @panerelay/setup
npx --yes @panerelay/setup doctor

The base command installs the Native Host and side-panel prerequisites. It does not probe an automation engine, register an agent-browser Provider, install an automation Skill, or change PATH.

Agents in the side panel keep the selected project as their working directory and receive only bounded current-tab URL and title context. Browser MCP servers and Skills continue to come from the Agent's own configuration.

Automation tool integrations — let your Agent configure them

Copy the handoff that matches your workflow. The Agent setup guide requires environment inspection, official upstream installation only when needed, the selected Panerelay integration, diagnostics, a stop for user-controlled tab authorization, and an evidence-based result.

All handoffs use the version-controlled Panerelay Agent setup instructions as their executable source of truth.

agent-browser

Fetch this guide with curl -fsSL and follow the agent-browser scenario: https://f-loat.github.io/panerelay/agent-setup.md

browser-use

Fetch this guide with curl -fsSL and follow the browser-use scenario: https://f-loat.github.io/panerelay/agent-setup.md

Both tools

Fetch this guide with curl -fsSL and follow the combined agent-browser and browser-use scenario: https://f-loat.github.io/panerelay/agent-setup.md

@panerelay/setup does not install, update, downgrade, or rewrite agent-browser or browser-use. It verifies an existing supported installation before adding the selected Panerelay-owned integration files.

Authorize and verify

Open Panerelay from the browser toolbar and authorize the current tab or all supported web tabs. Every path requires explicit tab authorization in the Extension. Setup, Provider defaults, browser-use mode, browser selection, and focus never grant access to a tab.

Run the doctor command with the same integration flags used during setup. A healthy installation requires the selected checks to pass; an empty agent-browser tab list is expected until the user authorizes an eligible tab.

Technical CLI reference

Panerelay components are published in lockstep. Use the same version as the Panerelay Extension:

npx --yes @panerelay/setup
npx --yes @panerelay/setup doctor
npx --yes @panerelay/setup uninstall --yes

Explicit agent-browser integration

npx --yes @panerelay/setup --agent-browser
npx --yes @panerelay/setup doctor --agent-browser

Setup verifies a compatible agent-browser executable before registering the Panerelay Provider and additive Skill. It does not install or update agent-browser itself. See the agent-browser integration guide and compatibility record.

Explicit browser-use integration

browser-use 0.13.7 or newer can use the existing Chrome session through an opt-in Extension-backed lane:

npx --yes @panerelay/setup --browser-use
npx --yes @panerelay/setup doctor --browser-use

Setup does not install, upgrade, downgrade, or rewrite browser-use. It verifies the installed versions, installs a private Panerelay CLI and adapter under ~/.panerelay, records the exact compatible executable, and installs an additive panerelay-browser-use Skill without replacing the official browser-use Skill or changing PATH. Setup initially saves Extension mode. The setup output also prints an optional CLI MCP launcher. If the browser-use environment is incomplete, setup asks the user to repair or upgrade browser-use as one installation.

The supported surfaces are the setup-managed browser-use CLI, additive Skill, and CLI MCP launcher. Panerelay does not transparently intercept arbitrary browser-use Python SDK construction. The exact verified baseline is browser-use 0.13.7 with Browser Harness 0.1.8; newer supported versions meet the minimum without automatically inheriting Verified status. See the compatibility record.

The private CLI supports a durable Panerelay-owned mode and a one-run override:

~/.panerelay/bin/panerelay-browser-use connection use browser-use extension
~/.panerelay/bin/panerelay-browser-use connection use browser-use direct
~/.panerelay/bin/panerelay-browser-use <<'PY'
print(page_info())
PY

These paths are POSIX examples; use the exact launchers printed by setup on the current platform. A healthy Extension-mode browser-use daemon persists and is reused after the command exits. Sequential Agents share its current-page state; simultaneous canonical runs are serialized or fail busy. User release, authorization loss, Extension/Native Host disconnect, or WebSocket loss removes browser authority even if the detached browser-use process remains alive.

The adapter disables browser-use telemetry and automatic recording for this lane and confines its daemon log and temporary artifacts to protected Panerelay-owned storage. Full Panerelay uninstall removes the owned adapter, mode, Skill, launchers, configuration, runtime, and temporary files; it does not kill processes by a broad command-line pattern.

Omitting an action runs base setup and installs only the Native Messaging host and side-panel prerequisites. Add --agent-browser, --browser-use, or both to install either engine integration explicitly.

npx --yes @panerelay/setup --agent-browser --browser-use

Use Panerelay explicitly:

agent-browser --provider panerelay tab list

When Chrome and Edge are both connected, inspect or save the browser used by unscoped Provider invocations:

npx --yes @panerelay/cli browsers
npx --yes @panerelay/cli browser use chrome
# Or use an exact registration ID:
# npx --yes @panerelay/cli browser use REGISTRATION_ID
npx --yes @panerelay/cli browser clear

@panerelay/cli is an optional, engine-neutral administration package. Install it globally when a persistent panerelay command is useful. Setup does not install it globally or modify the shell PATH.

PANERELAY_BROWSER_ID selects one exact registration for a process. PANERELAY_BROWSER accepts an exact ID or an unambiguous browser family. Explicit selection wins over the saved browser default. Without either, Panerelay selects only when exactly one CDP-ready browser is live; ambiguity and unavailable defaults fail closed. Existing sessions remain pinned to the browser through which they were created.

Or choose a default scope:

# Default for the current project
npx --yes @panerelay/setup --agent-browser --project-provider

# Default for the current user
npx --yes @panerelay/setup --agent-browser --global-provider

# Configure both scopes
npx --yes @panerelay/setup --agent-browser --project-provider --global-provider

The corresponding doctor flags verify the requested defaults:

npx --yes @panerelay/setup doctor --agent-browser --project-provider --global-provider

Human-readable setup output follows the system language when it resolves to Chinese or English. Override it per command with --lang zh-CN or --lang en, or set PANERELAY_LANG. The machine-readable doctor --json schema and values remain stable.

Browser authorization remains controlled by the user in the Panerelay side panel. Provider and browser-default configuration cannot grant access to a tab or widen its authorization scope. An Agent running in the side panel explicitly uses the browser containing that panel rather than the saved default.

Official Extension artifacts use ID panplnkjlkoceaonlmpdekjphgmbggmi. Self-built or differently signed Extensions can use:

npx --yes @panerelay/setup --extension-id <32-character-id>

PANERELAY_EXTENSION_ID is the environment alternative. CLI input takes precedence over the environment, then the persisted installation ID, then the official default. The value must contain exactly 32 lowercase letters from a through p. Update preserves a persisted custom ID unless a new CLI or environment override is supplied; use the same option with doctor to diagnose an intentional replacement.

update is an alias of setup and replaces only the Panerelay-managed files selected by the same explicit flags:

npx --yes @panerelay/setup update --agent-browser --global-provider

To roll back, run an earlier setup package and reload the matching unpacked Extension. Do not mix Extension and package versions. Native Messaging installation supports Chrome and Edge on macOS, Linux, and current-user Windows without administrator privileges. Windows doctor reports each browser's registration independently. agent-browser 0.33.0 or newer is required only with --agent-browser, and its detected version appears only in doctor --agent-browser.

Claude Code and Qoder are optional. Setup discovers claude and a compatible qodercli --acp, then exposes available providers alongside Codex. A missing optional runtime is reported as a warning and does not make the core installation unhealthy.

FAQs

Package last updated on 03 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts