feat: SEO web audit, URL fetching, auto web search for SEO mode (v1.6.0)

This commit is contained in:
admin
2026-03-18 20:35:14 +00:00
Unverified
parent 2158d89314
commit 5f1bce4b99
16 changed files with 817 additions and 184 deletions

View File

@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.6.0] - 2026-03-18 20:34 UTC
### Added
- **SEO Web Audit** — SEO agent can now fetch and analyze live websites
- `/api/fetch-url` route extracts: title, meta tags, headings (h1-h6), links (internal/external), images (alt text coverage), canonical URL, OG tags, text content length
- Auto-detects URLs in user input when SEO agent is active
- Pre-fetches page data before sending to AI for comprehensive audit reports
- Supports up to 2 URLs per request
- **SEO Auto Web Search** — When SEO agent is active and no URL is provided, web search is automatically triggered
- Uses same SearXNG infrastructure as manual web search toggle
- No manual toggle needed in SEO mode
- **Updated SEO Agent Prompt** — All 4 AI services now instruct SEO agent about web audit and search capabilities
- Added `[WEB_AUDIT:url]` and `[WEB_SEARCH:query]` tool markers
- Added "WEB TOOLS" section to system prompts
### Technical Details
- Files modified: 5 (AIAssist.tsx, qwen-oauth.ts, ollama-cloud.ts, zai-plan.ts, openrouter.ts)
- Files added: 1 (`app/api/fetch-url/route.ts`)
- New API endpoint: `GET /api/fetch-url?url=https://example.com`
## [1.5.0] - 2026-03-18 20:29 UTC
### Added