Sign In

@panerelay/setup

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@panerelay/setup - npm Package Compare versions

Comparing version
0.10.0
to
0.10.1
+1
-1
dist/global-cli.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"global-cli.d.ts","sourceRoot":"","sources":["../src/global-cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,4BAA4B,CAAC;AAOpC,eAAO,MAAM,6BAA6B,QAAa,CAAC;AACxD,eAAO,MAAM,2BAA2B,QAAS,CAAC;AAClD,eAAO,MAAM,6BAA6B,2BAA2B,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAC5B,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3E,qBAAa,uBAAwB,SAAQ,KAAK;IAE9C,QAAQ,CAAC,IAAI,EAAE,iBAAiB,GAAG,kBAAkB,GAAG,mBAAmB;IAC3E,QAAQ,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW;gBADlC,IAAI,EAAE,iBAAiB,GAAG,kBAAkB,GAAG,mBAAmB,EAClE,SAAS,EAAE,SAAS,GAAG,WAAW;CAW9C;AAED,MAAM,WAAW,wBAAwB;IACvC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,iBAAiB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM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IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,iBAAiB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC3B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,wBAAgB,sBAAsB,CAAC,aAAa,SAAY,GAAG,MAAM,CAExE;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAK5D;AAmLD,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,yBAA8B,GACtC,OAAO,CAAC,wBAAwB,CAAC,CA8EnC;AAED,wBAAsB,2BAA2B,CAC/C,OAAO,GAAE,yBAA8B,GACtC,OAAO,CAAC,wBAAwB,CAAC,CAsDnC"}

@@ -1,2 +0,2 @@

import { resolveExecutablePath, resolveSpawnCommand, runCommand, } from '@panerelay/bridge/platform';
import { executableCandidatePaths, isExecutableFile, resolveExecutablePath, resolveSpawnCommand, runCommand, } from '@panerelay/bridge/platform';
import { isPanerelayReleaseVersion } from '@panerelay/protocol';

@@ -68,8 +68,16 @@ import { randomBytes } from 'node:crypto';

return undefined;
const executablePath = options.cliExecutablePath ??
(await resolveExecutablePath('panerelay', {
environment: options.environment ?? process.env,
platform: options.platform,
}));
return executablePath && !isProjectPackageExecutable(executablePath) ? executablePath : undefined;
if (options.cliExecutablePath) {
return isProjectPackageExecutable(options.cliExecutablePath)
? undefined
: options.cliExecutablePath;
}
const environment = options.environment ?? process.env;
const platform = options.platform ?? process.platform;
for (const candidate of executableCandidatePaths('panerelay', { environment, platform })) {
if (isProjectPackageExecutable(candidate))
continue;
if (await isExecutableFile(candidate, platform))
return candidate;
}
return undefined;
}

@@ -76,0 +84,0 @@ async function executableVersion(executablePath, options) {

{
"name": "@panerelay/setup",
"version": "0.10.0",
"version": "0.10.1",
"description": "Install and diagnose Panerelay's local integration and optional automation adapters.",

@@ -39,10 +39,10 @@ "type": "module",

"@clack/prompts": "1.2.0",
"@panerelay/bridge": "0.10.0",
"@panerelay/browser-registry": "0.10.0",
"@panerelay/browser-use": "0.10.0",
"@panerelay/cli": "0.10.0",
"@panerelay/playwright": "0.10.0",
"@panerelay/site-kit": "0.10.0",
"@panerelay/protocol": "0.10.0",
"@panerelay/sites": "0.10.0"
"@panerelay/browser-registry": "0.10.1",
"@panerelay/bridge": "0.10.1",
"@panerelay/cli": "0.10.1",
"@panerelay/playwright": "0.10.1",
"@panerelay/browser-use": "0.10.1",
"@panerelay/protocol": "0.10.1",
"@panerelay/site-kit": "0.10.1",
"@panerelay/sites": "0.10.1"
},

@@ -49,0 +49,0 @@ "devDependencies": {

@@ -134,3 +134,3 @@ # @panerelay/setup

Setup writes it to Browser Harness's user-scoped environment file. The official `browser-use` CLI and `browser-use --cli-mcp` read it directly; no `panerelay-browser-use` or `panerelay run browser-use` wrapper is required. The URL is a fixed local discovery address. Panerelay still selects the saved browser and mints a short-lived CDP connection behind it, so this value is not a reusable browser credential. `panerelay connection use browser-use direct` removes Panerelay-managed Browser Harness keys and restores Browser Use's normal discovery behavior. An explicitly supplied process environment takes precedence over the managed file. Panerelay leaves Browser Harness's runtime and temporary-directory defaults unchanged so the official CLI and daemon resolve the same IPC endpoint.
Setup writes it to Browser Harness's user-scoped environment file. The official `browser-use` CLI and `browser-use --cli-mcp` read it directly. The URL is a fixed local discovery address. Panerelay still selects the saved browser and mints a short-lived CDP connection behind it, so this value is not a reusable browser credential. `panerelay connection use browser-use direct` removes Panerelay-managed Browser Harness keys and restores Browser Use's normal discovery behavior. An explicitly supplied process environment takes precedence over the managed file. Panerelay leaves Browser Harness's runtime and temporary-directory defaults unchanged so the official CLI and daemon resolve the same IPC endpoint.

@@ -197,5 +197,6 @@ The explicit `BU_CDP_URL=` prefix is a one-process override. After saving Extension mode, it can be omitted. Do not set Browser Harness's higher-priority `BU_CDP_WS` at the same time.

# panerelay browser use REGISTRATION_ID
panerelay browser clear
```
Choose another live browser with `browser use`, or clear the current browser default from the Panerelay Extension settings.
`@panerelay/cli` is the engine-neutral recurring command installed by normal base Setup. Setup uses npm's configured global prefix without editing shell startup files, skips an already matching Setup-owned release, and preserves any pre-existing or externally changed global installation. `--no-cli` skips this step; uninstall removes only an unchanged Setup-owned CLI unless `--keep-cli` is supplied.

@@ -202,0 +203,0 @@