@phnx-labs/agents-cli 1.18.2 → 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 +88 -0
- package/README.md +14 -7
- package/dist/commands/browser.js +355 -118
- package/dist/commands/plugins.js +58 -14
- package/dist/commands/view.js +16 -7
- 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/plugin-marketplace.d.ts +93 -0
- package/dist/lib/plugin-marketplace.js +239 -0
- package/dist/lib/plugins.d.ts +25 -13
- package/dist/lib/plugins.js +350 -566
- package/dist/lib/types.d.ts +18 -1
- package/package.json +1 -1
package/dist/lib/types.d.ts
CHANGED
|
@@ -346,6 +346,12 @@ export interface DiscoveredPlugin {
|
|
|
346
346
|
agentDefs: string[];
|
|
347
347
|
/** Executable files in the plugin's bin/ directory. */
|
|
348
348
|
bin: string[];
|
|
349
|
+
/** MCP server names parsed from .mcp.json. */
|
|
350
|
+
mcpServers: string[];
|
|
351
|
+
/** LSP server keys parsed from .lsp.json. */
|
|
352
|
+
lspServers: string[];
|
|
353
|
+
/** Monitor names parsed from monitors/monitors.json. */
|
|
354
|
+
monitors: string[];
|
|
349
355
|
/** Whether the plugin root contains a .mcp.json file. */
|
|
350
356
|
hasMcp: boolean;
|
|
351
357
|
/** Whether the plugin root contains a settings.json with non-permission keys to merge. */
|
|
@@ -436,7 +442,18 @@ export interface BrowserProfileConfig {
|
|
|
436
442
|
* Only consulted when `electron` is true.
|
|
437
443
|
*/
|
|
438
444
|
targetFilter?: string;
|
|
439
|
-
|
|
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;
|
|
440
457
|
chrome?: {
|
|
441
458
|
headless?: boolean;
|
|
442
459
|
args?: string[];
|
package/package.json
CHANGED