Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
Merge remote-tracking branch 'upstream/main' into feature/insights-topic-gap-action
Cihan44dd7509b89d
diff --cc web/messages/en.jsonindex 174ba0906,b83c4821b..f63bbc499--- a/web/messages/en.json+++ b/web/messages/en.json@@@ -751,17 -752,30 +752,40 @@@"not_cited": "Mentioned early · not cited","doing_well": "Doing well","no_runs": "No runs"+ },+ "outcome": {+ "title": "Outcome",+ "summary": "{measurable, plural, =0 {Not enough data to compare yet} other {Position improved on {improved} of # platforms}}",+ "updated": "Updated {date}",+ "final": "Final result · {date}",+ "platform": "Platform",+ "before": "Before",+ "after": "Last 7 days",+ "afterFinal": "Day 30",+ "reads": {+ "not_mentioned": "Not mentioned",+ "mentioned": "Mentioned",+ "no_runs": "No runs"+ },+ "verdicts": {+ "improved": "Improved",+ "declined": "Declined",+ "unchanged": "No meaningful change",+ "not_enough_data": "Not enough data"+ },+ "note": "Before is the 7 days before this action was sent. The latest 7 days are re-read daily while the action is open and for 30 days after it's completed. A position counts as changed when it moves at least 0.5.",+ "noteFinal": "The 7 days before this action was sent, next to the 7 days ending 30 days after it was completed. A position counts as changed when it moves at least 0.5."}+ },+ "noSignalsTopicGap": "This action was sent from Insights' Topics vs competitors, so it has no detection signals. Its evidence is the topic and scores on the Overview tab.",+ "topicGap": {+ "source": "Source",+ "sourceValue": "Insights › Topics vs competitors",+ "openTopic": "Open topic",+ "topic": "Topic",+ "scores": "Visibility when sent",+ "you": "You",+ "gap": "{gap} pts behind"}}},diff --cc web/src/components/action-center/action-drawer.tsxindex 4e4bf3dcb,f89f0463d..80901bf3d--- a/web/src/components/action-center/action-drawer.tsx+++ b/web/src/components/action-center/action-drawer.tsx@@@ -60,7 -60,8 +60,9 @@@ import { ImpactDots, isSuperseded, Signimport { ActionIcon } from './action-table';import { OpportunityContext } from './opportunity-context';import { ImproveContext } from './improve-context';+import { TopicGapContext } from './topic-gap-context';+ import { ImproveOutcomeCard } from './improve-outcome-card';+ import { improvePlatformLabels } from '@/lib/improve-outcome';import { cn } from '@/lib/utils';type DrawerTab = 'overview' | 'tasks' | 'signals' | 'history';@@@ -250,9 -251,18 +252,20 @@@ export function ActionDrawer(</section><Separator />{action.kind === 'prompt_improve' ? (- <ImproveContext payload={action.payload ?? {}} />+ <>+ {detail.positionOutcome && (+ <>+ <ImproveOutcomeCard+ outcome={detail.positionOutcome}+ labels={improvePlatformLabels(action.payload)}+ />+ <Separator />+ </>+ )}+ <ImproveContext payload={action.payload ?? {}} />+ </>+ ) : action.kind === 'topic_competitor_gap' ? (+ <TopicGapContext payload={action.payload ?? {}} />) : opportunityId ? (<OpportunityContextopportunityId={opportunityId}