Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 2026-05-24

### New CLI Options
- **`explorbot navigate <url>`** — Drive the AI Navigator to a URL from the shell. Exits `0` when the page is reached, `1` when navigation fails (unreachable URL, unresolved redirect, connection refused, etc.). Inherits all common options including `--session`, so the canonical "probe a URL and capture an authenticated session for downstream agents" runs as a single command. The Navigator handles redirects and login walls — it is not a plain `I.amOnPage`.
```bash
explorbot navigate /login --session # probe + save session to output/session.json
explorbot navigate /dashboard --session auth.json
explorbot navigate /unreachable && echo ok # exit code reflects reachability
```

## 2026-05-11

### New CLI Options
Expand Down
16 changes: 16 additions & 0 deletions bin/explorbot-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,22 @@ addCommonOptions(program.command('research <url>').description('Research a page
}
);

addCommonOptions(program.command('navigate <url>').description('Navigate to a URL using the AI Navigator. Exits 0 if reachable, 1 otherwise.')).action(async (url, options) => {
try {
const explorBot = new ExplorBot(buildExplorBotOptions(url, options));
await explorBot.start();

const { NavigateCommand } = await import('../src/commands/navigate-command.js');
await new NavigateCommand(explorBot).execute(url);

await explorBot.stop();
await showStatsAndExit(0);
} catch (error) {
console.error('Failed:', error instanceof Error ? error.message : 'Unknown error');
await showStatsAndExit(1);
}
});

addCommonOptions(
program.command('drill <url>').alias('driller').description('Drill all components on a page to learn interactions').option('--knowledge <path>', 'Save learned interactions to knowledge file at this URL path').option('--max-components <count>', 'Maximum number of components to drill')
).action(async (url, options) => {
Expand Down
Loading
Loading