@kritchoff/agent-browser 0.9.29 → 0.9.30

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.
@@ -14,9 +14,10 @@
14
14
  import { WootzAgent } from '../dist/index.js';
15
15
 
16
16
  const args = process.argv.slice(2);
17
- const command = args[0];
17
+ // Find the first argument that doesn't start with '-' to be the command
18
+ const command = args.find(arg => !arg.startsWith('-'));
18
19
 
19
- if (!command || command === '--help' || command === '-h') {
20
+ if (!command || command === 'help') {
20
21
  console.log(`
21
22
  WootzApp Agent Browser CLI
22
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kritchoff/agent-browser",
3
- "version": "0.9.29",
3
+ "version": "0.9.30",
4
4
  "description": "Headless browser automation CLI for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",