feat: add Leads Finder agent mode (v2.2.0)
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -4,6 +4,17 @@ 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]
|
||||
## [2.2.0] - 2026-03-19 04:44 UTC
|
||||
|
||||
### Added
|
||||
- **Leads Finder Agent** - New agent mode in Vibe Architect that finds relevant influencers, prospects, and leads across social media platforms (Instagram, Twitter/X, LinkedIn, YouTube, TikTok)
|
||||
- **Auto Web Search** - Leads Finder automatically enables web search to find real-time leads data
|
||||
- **Structured Lead Format** - Returns leads in consistent format: Name | Followers | Region | Location with description and social URL
|
||||
|
||||
### Technical Details
|
||||
- Files modified: 3 (AIAssist.tsx, translations.ts, openrouter.ts)
|
||||
|
||||
|
||||
## [2.1.0] - 2026-03-18 22:06 UTC
|
||||
|
||||
### Added
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# PromptArch: AI Orchestration Platform
|
||||
|
||||
> **Latest Version**: [v2.1.0](CHANGELOG.md#2.1.0---2026-03-18) (2026-03-18)(CHANGELOG.md#2.0.1---2026-03-18) (2026-03-18)(CHANGELOG.md#2.0.0---2026-03-18) (2026-03-18)(CHANGELOG.md#190---2026-03-18) (2026-03-18)
|
||||
> **Latest Version**: [v2.2.0](CHANGELOG.md#2.2.0---2026-03-19) (2026-03-19)(CHANGELOG.md#2.1.0---2026-03-18) (2026-03-18)(CHANGELOG.md#2.0.1---2026-03-18) (2026-03-18)(CHANGELOG.md#2.0.0---2026-03-18) (2026-03-18)(CHANGELOG.md#190---2026-03-18) (2026-03-18)
|
||||
|
||||
> **Development Note**: This entire platform was developed exclusively using [TRAE.AI IDE](https://trae.ai) powered by elite [GLM 4.7 model](https://z.ai/subscribe?ic=R0K78RJKNW).
|
||||
> **Learn more about this architecture [here](https://z.ai/subscribe?ic=R0K78RJKNW).**
|
||||
@@ -143,6 +143,7 @@ This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
| Version | Date | Highlights |
|
||||
|---------|------|------------|
|
||||
| [2.2.0](CHANGELOG.md#2.2.0---2026-03-19) | Leads Finder Agent Mode | 2026-03-19 |
|
||||
| [2.1.0](CHANGELOG.md#2.1.0---2026-03-18) | Full 17-Section Report, GEO Scoring, Action Plan, FAQ Gen | 2026-03-18 |
|
||||
| [2.0.1](CHANGELOG.md#2.0.1---2026-03-18) | Inline SEO Export, PDF Print Fix | 2026-03-18 |
|
||||
| [2.0.0](CHANGELOG.md#2.0.0---2026-03-18) | SEO Export, Default Vibe, /vibe Route, General Chat | 2026-03-18 |
|
||||
|
||||
@@ -5,7 +5,7 @@ import { downloadSeoReport } from "@/lib/seo-report";
|
||||
import {
|
||||
MessageSquare, Send, Code2, Palette, Search,
|
||||
Trash2, Copy, Monitor, StopCircle, X, Zap, Ghost,
|
||||
Wand2, LayoutPanelLeft, Play, Orbit, Plus, Key, ShieldCheck, Wrench, FileText
|
||||
Wand2, LayoutPanelLeft, Play, Orbit, Plus, Key, ShieldCheck, Wrench, FileText, Users
|
||||
} from "lucide-react";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import remarkGfm from "remark-gfm";
|
||||
@@ -780,7 +780,7 @@ export default function AIAssist({ vibeMode = false }: { vibeMode?: boolean } =
|
||||
}
|
||||
|
||||
// If no URL found and web search not enabled, auto-enable web search for SEO
|
||||
if (uniqueUrls.length === 0 && !webSearchEnabled) {
|
||||
if ((currentAgent === "seo" || currentAgent === "leads") && uniqueUrls.length === 0 && !webSearchEnabled) {
|
||||
try {
|
||||
setStatus("Searching for SEO context...");
|
||||
const searchRes = await fetch("/api/search?q=" + encodeURIComponent(finalInput.split("\n")[0].substring(0, 200)));
|
||||
@@ -1110,6 +1110,7 @@ export default function AIAssist({ vibeMode = false }: { vibeMode?: boolean } =
|
||||
{ label: t.agents.seo, agent: "seo", icon: <Search className="h-3.5 w-3.5" /> },
|
||||
{ label: t.agents.web, agent: "web", icon: <LayoutPanelLeft className="h-3.5 w-3.5" /> },
|
||||
{ label: t.agents.app, agent: "app", icon: <Play className="h-3.5 w-3.5" /> },
|
||||
{ label: t.agents.leads, agent: "leads", icon: <Users className="h-3.5 w-3.5" /> },
|
||||
].map(({ label, agent, icon }) => (
|
||||
<button
|
||||
key={agent}
|
||||
|
||||
@@ -448,7 +448,8 @@ export const translations = {
|
||||
design: "Design",
|
||||
seo: "SEO",
|
||||
web: "Web",
|
||||
app: "App"
|
||||
app: "App",
|
||||
leads: "Leads Finder"
|
||||
},
|
||||
userLabel: "Explorer",
|
||||
canvasLabel: "Canvas",
|
||||
@@ -913,7 +914,8 @@ export const translations = {
|
||||
design: "Дизайн",
|
||||
seo: "SEO",
|
||||
web: "Веб",
|
||||
app: "Приложение"
|
||||
app: "Приложение",
|
||||
leads: "Поиск лидов"
|
||||
},
|
||||
userLabel: "Исследователь",
|
||||
canvasLabel: "Холст",
|
||||
@@ -1378,7 +1380,8 @@ export const translations = {
|
||||
design: "עיצוב",
|
||||
seo: "SEO",
|
||||
web: "אינטרנט",
|
||||
app: "אפליקציה"
|
||||
app: "אפליקציה",
|
||||
leads: "חיפוש לידים"
|
||||
},
|
||||
userLabel: "סייר",
|
||||
canvasLabel: "קנבס",
|
||||
|
||||
@@ -534,6 +534,19 @@ AGENTS & CAPABILITIES:
|
||||
- design: UI/UX Designer. Create high-fidelity mockups and components.
|
||||
- web: Frontend Developer. Build responsive sites. Use [PREVIEW:web:html]. Tailwind CSS CDN by default.
|
||||
- app: Mobile App Developer. Create mobile-first interfaces and dashboards. Use [PREVIEW:app:javascript].
|
||||
- leads: Leads Finder. Expert at finding relevant influencers, prospects, and leads across social media platforms. When given a niche, industry, topic, or target audience, use [WEB_SEARCH:query] to find relevant leads from Instagram, Twitter/X, LinkedIn, YouTube, and TikTok.
|
||||
**ALWAYS format each lead EXACTLY like this:**
|
||||
Name | Followers | Region | Location
|
||||
One-line description of who they are and what they do.
|
||||
https://social-media-url/
|
||||
|
||||
**RULES:**
|
||||
- Find 20+ leads per request unless user specifies a different number.
|
||||
- Sort by relevance and follower count (most relevant first).
|
||||
- Include the most prominent social media URL for each lead.
|
||||
- Use exact follower counts when available (e.g. "44.1K", "275.6K", "1.2M").
|
||||
- Group by region when multiple regions are relevant.
|
||||
- Provide real, verifiable leads — never fabricate profiles or URLs.
|
||||
|
||||
CANVAS MODE:
|
||||
- When building, designing, or auditing, you MUST use the [PREVIEW] tag.
|
||||
|
||||
Reference in New Issue
Block a user