Repository navigation
Implement new tab behavior for direct address opening - #3336
Merged
Merged
Conversation
In Ask and Act, whatever was typed went to WebBrain, so "example.com"
became a chat or an agent task. Only Search checked for an address.
Text that is only an address now opens it in every mode, as the
address bar would; a prompt that mentions one ("summarize example.com")
has a space and still goes to WebBrain.
The check is stricter so prompts are not mistaken for addresses: a name
must end in a real top-level domain (IANA's list, vendored as tlds.js
with `npm run update:tlds`), so "node.js", "notes.txt" or "config.yaml"
stay prompts, and dotted numbers count only as four-part IPv4. It also
reads internationalized names ("türkiye.gov.tr") and IPv6, refuses
user@host forms, and opens local hosts (localhost, private IPs, .local,
.test, ...) over http as an address bar does, instead of https.
Covers Murshid, whose new tab is this page. Bundle rebuilt for Chrome
and Firefox.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EsDq6DPsJTf7Xaj7xPetpD
|
@esokullu is attempting to deploy a commit to the esokullu's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.