Merged
Conversation
Web search fix: - DDG instant answer API only handles encyclopedia queries, returns nothing for general searches like "latest AI news" - Add DDG lite HTML fallback that scrapes actual search results - Instant answer API still tried first for factual queries Command format: - Starter pills now send !commands (!news, !markets, !video tech, !weather, !search latest AI news, !reminder) instead of natural language sentences - shortcutToolCalls() parses !prefix commands with optional args - Commands skip the planning LLM entirely — direct tool execution - Users can also type !commands manually in the prompt - Natural language exact-match shortcuts kept for backward compat https://claude.ai/code/session_01QJaTh5F1pfgRaGzsQSZDcQ
The web_search tool was using ai.WebSearch (DuckDuckGo instant answer API) which returns nothing for general queries. The search package already has Brave Search via /web handler. Changed web_search to a route-based tool (GET /web?q=...) so it goes through ExecuteTool → /web handler → searchBrave(), same as all other tools. https://claude.ai/code/session_01QJaTh5F1pfgRaGzsQSZDcQ
Replace the !-prefixed command parser and natural-language map with a single alias map. Short words like "news", "weather", "markets" and starter pill phrases are matched exactly. Anything else goes to the LLM planner as before. https://claude.ai/code/session_01QJaTh5F1pfgRaGzsQSZDcQ
- Starter queries now use plain aliases ("news", "markets") or natural
language instead of !-prefixed commands
- Landing page services grid sorted alphabetically
- ABOUT.md feature list sorted alphabetically
https://claude.ai/code/session_01QJaTh5F1pfgRaGzsQSZDcQ
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.