@phnx-labs/agents-cli 1.22.96 → 1.22.97
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
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 1.22.
|
|
3
|
+
## 1.22.97
|
|
4
|
+
|
|
5
|
+
- `agents browser --help` and the `agents setup browser` install hint no longer claim Firefox is unsupported: they now state Chromium-family over CDP, Arc natively, and Firefox over WebDriver BiDi (Safari stays unsupported). `tabs --all` gains a help example and rows in the Arc and Firefox capability tables.
|
|
4
6
|
|
|
5
7
|
- **`agents browser tabs --all` shows every tab open in the profile browser, yours included (PHNX-4043).** Until now `tabs` listed only the task's own tabs, so an agent sharing an Arc Space, a Comet store, or a Firefox profile with you could not see what else was open. `--all` lists every top-level tab: OWNER names the agents-cli task that owns it, or `you` for a tab no task owns; `*` still marks the task's current tab. Read-only on every backend (Chromium `Target.getTargets`, the Arc Space's tabs, Firefox `browsingContext.getTree`). Source: `cli/src/lib/browser/service.ts` `profileTabs`, `cli/src/commands/browser.ts`.
|
|
6
8
|
|
|
9
|
+
## 1.22.95
|
|
10
|
+
|
|
7
11
|
- **Firefox automation over WebDriver BiDi (PHNX-4043).** `agents browser` now drives
|
|
8
12
|
Firefox, which dropped the Chrome DevTools Protocol in 129. Every Firefox profile in
|
|
9
13
|
`profiles.ini` is discovered read-only as a `firefox-<name>` browser profile
|
package/dist/commands/browser.js
CHANGED
|
@@ -329,6 +329,9 @@ export function registerBrowserCommand(program) {
|
|
|
329
329
|
agents browser navigate https://example.com
|
|
330
330
|
agents browser screenshot
|
|
331
331
|
|
|
332
|
+
# Every tab open in the profile browser, yours next to the task's (OWNER column)
|
|
333
|
+
agents browser tabs --all
|
|
334
|
+
|
|
332
335
|
# Keep one process and browser-service socket warm for repeated actions
|
|
333
336
|
agents browser stream --task "$AGENTS_BROWSER_TASK"
|
|
334
337
|
|
|
@@ -358,9 +361,10 @@ export function registerBrowserCommand(program) {
|
|
|
358
361
|
Most agent workflows should use the 'browser' skill instead of raw subcommands.
|
|
359
362
|
The skill wraps profile selection, snapshotting, and tunneling.
|
|
360
363
|
|
|
361
|
-
Browser support: Chromium-family
|
|
362
|
-
|
|
363
|
-
|
|
364
|
+
Browser support: Chromium-family over the Chrome DevTools Protocol (Chrome,
|
|
365
|
+
Comet, Chromium, Brave, Edge), Arc natively (one profile per Space), and
|
|
366
|
+
Firefox over WebDriver BiDi (one profile per profiles.ini entry; Firefox 129+
|
|
367
|
+
dropped CDP). Safari is not supported. On Windows, Edge is the default
|
|
364
368
|
because it's preinstalled. On macOS and Linux, Chrome is preferred when
|
|
365
369
|
installed; otherwise the first Chromium-family binary on disk wins.
|
|
366
370
|
`,
|
|
@@ -15,7 +15,8 @@ import { DEFAULT_VIEWPORT } from '../lib/browser/devices.js';
|
|
|
15
15
|
import { isInteractiveTerminal, isPromptCancelled } from './utils.js';
|
|
16
16
|
import { defaultBrowserChoice } from './setup-preferences.js';
|
|
17
17
|
const INSTALL_HINT = 'Install one of: Google Chrome, Brave, Microsoft Edge, Chromium, Comet, or Arc, then re-run `agents setup browser`.\n' +
|
|
18
|
-
'(
|
|
18
|
+
'(This wizard picks a Chromium-family browser. An installed Firefox is not auto-picked here; its profiles are ' +
|
|
19
|
+
'discovered from profiles.ini and selected with `agents browser use firefox-<name>`. Safari is not supported.)';
|
|
19
20
|
/**
|
|
20
21
|
* Interactive browser setup. Returns true if a usable default profile exists
|
|
21
22
|
* afterwards, false if none exists / the user backed out. Non-interactively it
|
|
@@ -187,9 +187,10 @@ export function findBrowserPath(browserType, customBinary) {
|
|
|
187
187
|
throw new Error(`Browser "${browserType}" not found. Install it first.`);
|
|
188
188
|
}
|
|
189
189
|
// Per-platform Chromium-family priority list for "no --profile" auto-pick.
|
|
190
|
-
// Order is: most-likely-installed-and-stable first.
|
|
191
|
-
//
|
|
192
|
-
//
|
|
190
|
+
// Order is: most-likely-installed-and-stable first. Firefox is intentionally
|
|
191
|
+
// absent: it has its own WebDriver BiDi driver (drivers/firefox.ts) and its
|
|
192
|
+
// profiles come from profiles.ini discovery, never from this binary pick.
|
|
193
|
+
// Safari has no driver at all.
|
|
193
194
|
const DEFAULT_BROWSER_PRIORITY = {
|
|
194
195
|
// macOS: Chrome leads (>70% of dev machines), then the rest of the family.
|
|
195
196
|
// Arc is last: it's in maintenance mode and needs a blank tab to drive, so it
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phnx-labs/agents-cli",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.97",
|
|
4
4
|
"description": "One CLI for all your AI coding agents - versions, config, cloud dispatch, sessions, and teams (now with first-class Grok Build CLI support)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|