browse-agent-cli 0.0.5 → 0.0.6
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/dist/cli.js +1 -1
- package/package.json +1 -1
- package/skills/references/cli.md +2 -0
package/dist/cli.js
CHANGED
|
@@ -160,7 +160,7 @@ Examples:
|
|
|
160
160
|
`.trim());
|
|
161
161
|
}
|
|
162
162
|
function resolveSkillSourceDir() {
|
|
163
|
-
return join(dirname(fileURLToPath(import.meta.url)), "..", "
|
|
163
|
+
return join(dirname(fileURLToPath(import.meta.url)), "..", "skills");
|
|
164
164
|
}
|
|
165
165
|
function isNonEmptyDirectory(path) {
|
|
166
166
|
if (!existsSync(path)) return false;
|
package/package.json
CHANGED
package/skills/references/cli.md
CHANGED
|
@@ -16,6 +16,7 @@ browse-agent setup --global
|
|
|
16
16
|
# Launch browser
|
|
17
17
|
browse-agent launch
|
|
18
18
|
browse-agent launch --browser edge --headless
|
|
19
|
+
browse-agent launch --server-only
|
|
19
20
|
|
|
20
21
|
# Check connection
|
|
21
22
|
browse-agent connect
|
|
@@ -67,6 +68,7 @@ browse-agent tabs close 123
|
|
|
67
68
|
| `--global` | setup, clear | Use global installation (`~/.browse-agent/`) |
|
|
68
69
|
| `--browser <name>` | launch | Browser: `chrome` \| `chromium` \| `edge` \| `brave` |
|
|
69
70
|
| `--headless` | launch | Run in headless mode |
|
|
71
|
+
| `--server-only` | launch | Start service only, skip browser launch |
|
|
70
72
|
| `--port <number>` | launch, connect, feature cmds | WebSocket port (default: 9315) |
|
|
71
73
|
| `--tabId <id>` | all feature cmds | Target a specific tab (ID from `navigate` or `tabs list`) |
|
|
72
74
|
| `--format <type>` | get-content, screenshot | Content format (`text`/`html`) or screenshot format (`png`/`jpeg`) |
|