@phnx-labs/agents-cli 1.18.3 → 1.18.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +78 -0
- package/README.md +14 -7
- package/dist/commands/browser.js +355 -118
- package/dist/lib/browser/devices.d.ts +11 -0
- package/dist/lib/browser/devices.js +14 -3
- package/dist/lib/browser/ipc.js +29 -9
- package/dist/lib/browser/profiles.d.ts +23 -1
- package/dist/lib/browser/profiles.js +63 -3
- package/dist/lib/browser/service.d.ts +41 -10
- package/dist/lib/browser/service.js +321 -64
- package/dist/lib/browser/types.d.ts +55 -2
- package/dist/lib/browser/types.js +20 -0
- package/dist/lib/help.js +30 -3
- package/dist/lib/types.d.ts +12 -1
- package/package.json +1 -1
package/dist/lib/types.d.ts
CHANGED
|
@@ -442,7 +442,18 @@ export interface BrowserProfileConfig {
|
|
|
442
442
|
* Only consulted when `electron` is true.
|
|
443
443
|
*/
|
|
444
444
|
targetFilter?: string;
|
|
445
|
-
|
|
445
|
+
/**
|
|
446
|
+
* Endpoint presets. Accepts two shapes for backward compatibility:
|
|
447
|
+
* - Legacy: `string[]` of CDP URLs; first entry is the default.
|
|
448
|
+
* - New: `{ [presetName]: { target, binary?, targetFilter? } }`.
|
|
449
|
+
*/
|
|
450
|
+
endpoints: string[] | Record<string, {
|
|
451
|
+
target: string;
|
|
452
|
+
binary?: string;
|
|
453
|
+
targetFilter?: string;
|
|
454
|
+
}>;
|
|
455
|
+
/** Preset name to use when `--endpoint` is not passed to `start`. */
|
|
456
|
+
defaultEndpoint?: string;
|
|
446
457
|
chrome?: {
|
|
447
458
|
headless?: boolean;
|
|
448
459
|
args?: string[];
|
package/package.json
CHANGED