Skip to content

fix(navigate): support back/forward history + Windows pipe in drive.mjs (v2.2.1) - #17

Merged
compnew2006 merged 2 commits into
mainfrom
fix/navigate-history
Sep 29, 2026
Merged

compnew2006 merged 2 commits into
mainfrom
fix/navigate-history

Conversation

@compnew2006

Copy link
Copy Markdown
Owner

Summary

Two fixes found while driving the stack from an agent on Windows:

1. now supports / (extension/handlers/navigation.js)

Previously the history keywords were treated as relative URLs — resolved to , stranding the tab on a protected page with no way back for the agent.

  • / now walk the tab history via / - The response reports the URL the tab actually landed on (not the keyword)
  • Tool description updated so agents discover the keywords ()

2. works on Windows

The helper hard-coded the unix socket on every platform; on Windows the daemon listens on the named pipe (daemon-config.ts), so it always failed with ENOENT. It now picks the correct transport per platform.

Test plan

  • Unknown command: "test"

Did you mean this?
npm test # Test a package
To see a list of supported npm commands, run:
npm help — 275 passing (daemon IPC suite is environmental-only on Windows while a live daemon owns the fixed named pipe)

  • Manual E2E on Windows 11, extension v2.2.x:
    • on a real tab → lands on the previous page, response carries the landed URL
    • → symmetric
    • → connects via named pipe on Windows
  • Version bumped to 2.2.1 (manifest + package + README)

noiemany and others added 2 commits September 29, 2026 16:09
browser_navigate treated url back as a relative URL and landed on
chrome-extension://<id>/back, stranding the tab on a protected page.
It now walks the tab history via chrome.tabs.goBack/goForward and
reports the URL it actually landed on.

scripts/drive.mjs connected to ~/.browser-controller/daemon.sock on
every platform; on Windows the daemon listens on the named pipe
\\.\pipe\browser-controller (daemon-config.ts), so it always failed
with ENOENT.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 986e051b-c3b5-4f78-9296-fdd491e3f49d


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@compnew2006
compnew2006 merged commit 99adc9e into main Sep 29, 2026
4 of 6 checks passed
@compnew2006
compnew2006 deleted the fix/navigate-history branch September 29, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant