@supericons/mcp
Advanced tools
+14
-0
| # Changelog | ||
| ## 0.4.36 - 2026-08-31 | ||
| ### Fixed | ||
| - Recovered exact brand searches when brand context follows the identity. | ||
| - Retried one failed Railway local search when Hosted search returns zero. | ||
| - Reported repeated local failures as service errors instead of search-quality zeros. | ||
| - Connected retry cancellation and deadlines to Hosted MCP and public HTTP requests. | ||
| ### Verified | ||
| - Preserved strict library, style, locale, recommendation, and honest-zero behavior. | ||
| - Preserved the established 225-case search fingerprint and current MCP tool schemas. | ||
| ## 0.4.35 - 2026-08-26 | ||
@@ -4,0 +18,0 @@ |
+1
-1
| { | ||
| "name": "@supericons/mcp", | ||
| "version": "0.4.35", | ||
| "version": "0.4.36", | ||
| "mcpName": "io.github.curlymolelabs/supericons", | ||
@@ -5,0 +5,0 @@ "description": "MCP server for Supericons: multilingual semantic SVG icon search and recommendations for AI coding agents.", |
| { | ||
| "generatedAt": "2026-08-26T05:32:56.193Z", | ||
| "generatedAt": "2026-08-31T15:00:45.719Z", | ||
| "freeIconCount": 21547, | ||
@@ -9,3 +9,3 @@ "freeLibraryCount": 11, | ||
| "mcpFreeToolCount": 5, | ||
| "mcpPackageVersion": "0.4.35", | ||
| "mcpPackageVersion": "0.4.36", | ||
| "display": { | ||
@@ -12,0 +12,0 @@ "freeIconsRounded": "20,000+", |
+1
-299
@@ -1,299 +0,1 @@ | ||
| { | ||
| "home": ["house", "residence", "dwelling", "building", "shelter", "property"], | ||
| "search": ["find", "look", "discover", "explore", "magnify", "query", "lookup"], | ||
| "settings": ["configure", "preferences", "options", "gear", "cog", "setup", "config"], | ||
| "user": ["person", "account", "profile", "avatar", "member", "people", "human"], | ||
| "lock": ["security", "secure", "protect", "password", "auth", "authentication", "private"], | ||
| "key": ["unlock", "access", "credential", "secret", "token"], | ||
| "mail": ["email", "message", "letter", "inbox", "envelope", "send"], | ||
| "chat": ["message", "conversation", "discuss", "talk", "bubble", "comment", "forum"], | ||
| "phone": ["call", "mobile", "telephone", "contact", "device", "cellphone"], | ||
| "camera": ["photo", "picture", "image", "capture", "snap", "photography"], | ||
| "video": ["film", "movie", "record", "play", "stream", "media", "clip"], | ||
| "music": ["audio", "sound", "song", "tune", "melody", "play"], | ||
| "heart": ["love", "like", "favorite", "fav", "wish"], | ||
| "star": ["rate", "rating", "favorite", "bookmark", "featured"], | ||
| "cart": ["shop", "buy", "purchase", "ecommerce", "basket", "order"], | ||
| "money": ["dollar", "currency", "payment", "finance", "price", "cost", "cash", "wallet"], | ||
| "card": ["credit", "debit", "payment", "bank"], | ||
| "chart": ["graph", "analytics", "statistics", "data", "metrics", "report", "dashboard"], | ||
| "file": ["document", "paper", "page", "sheet", "note", "doc"], | ||
| "folder": ["directory", "collection", "group", "category", "archive"], | ||
| "trash": ["delete", "remove", "discard", "bin", "garbage", "recycle", "litter"], | ||
| "edit": ["modify", "change", "update", "pen", "pencil", "write"], | ||
| "save": ["store", "keep", "disk", "floppy", "persist"], | ||
| "download": ["export", "save", "get", "fetch", "pull"], | ||
| "upload": ["import", "send", "push", "share"], | ||
| "share": ["send", "social", "distribute", "forward"], | ||
| "copy": ["duplicate", "clone", "replicate", "paste"], | ||
| "link": ["chain", "connect", "url", "hyperlink", "attach"], | ||
| "clock": ["time", "schedule", "timer", "alarm", "watch", "hour"], | ||
| "calendar": ["date", "event", "schedule", "plan", "day", "month", "year"], | ||
| "map": ["location", "place", "navigation", "gps", "pin", "direction"], | ||
| "globe": ["world", "earth", "global", "international", "planet", "web"], | ||
| "cloud": ["storage", "sync", "upload", "server", "hosting", "saas"], | ||
| "sun": ["light", "day", "bright", "theme", "weather"], | ||
| "moon": ["dark", "night", "theme", "sleep", "mode"], | ||
| "bell": ["notification", "alert", "alarm", "ring", "remind"], | ||
| "eye": ["view", "visible", "show", "watch", "visibility", "preview", "monitor"], | ||
| "shield": ["security", "protect", "safe", "guard", "defense", "verify", "guardrail", "guardrails", "safety policy", "policy enforcement"], | ||
| "bolt": ["lightning", "flash", "power", "energy", "speed", "fast", "electric"], | ||
| "fire": ["hot", "flame", "trending", "popular", "burn"], | ||
| "bug": ["debug", "error", "issue", "problem", "defect", "fix"], | ||
| "code": ["programming", "develop", "script", "terminal", "coding", "bracket"], | ||
| "terminal": ["console", "command", "shell", "cli", "prompt"], | ||
| "database": ["storage", "data", "table", "sql", "server", "backend"], | ||
| "server": ["backend", "hosting", "api", "infrastructure", "system"], | ||
| "kubernetes": ["k8s", "container orchestration", "cluster", "pod"], | ||
| "cpu": ["processor", "chip", "compute", "hardware", "silicon", "quota", "allocation", "compute quota", "gpu quota", "resource allocation"], | ||
| "memory": ["ram", "chip", "storage", "cpu", "hardware"], | ||
| "wifi": ["wireless", "internet", "network", "connection", "signal"], | ||
| "latency": ["delay", "response time", "lag", "slow", "p95", "p99", "wait time", "time to first token", "ttft"], | ||
| "performance": ["benchmark", "throughput", "speed", "metrics", "optimize", "fast", "efficient", "activity"], | ||
| "instant": ["realtime", "real time", "fast", "immediate", "live", "now", "zap", "bolt"], | ||
| "workload": ["load", "jobs", "tasks", "compute jobs", "batch", "processing", "request volume", "system load"], | ||
| "bluetooth": ["wireless", "connect", "pair", "device"], | ||
| "battery": ["power", "charge", "energy", "level"], | ||
| "print": ["printer", "paper", "output", "hard copy"], | ||
| "flag": ["report", "mark", "bookmark", "country", "alert"], | ||
| "filter": ["sort", "refine", "narrow", "funnel", "criteria"], | ||
| "grid": ["table", "layout", "matrix", "tiles", "gallery"], | ||
| "list": ["menu", "items", "rows", "lines", "queue"], | ||
| "check": ["done", "complete", "success", "verify", "approve", "confirm", "tick"], | ||
| "close": ["cancel", "exit", "dismiss", "remove", "x", "x-circle"], | ||
| "add": ["plus", "new", "create", "insert", "append"], | ||
| "minus": ["subtract", "remove", "reduce", "decrease"], | ||
| "arrow": ["direction", "navigate", "move", "pointer", "chevron", "forward", "back"], | ||
| "refresh": ["reload", "sync", "update", "rotate", "repeat"], | ||
| "zoom": ["magnify", "scale", "enlarge", "expand"], | ||
| "crop": ["cut", "trim", "resize", "adjust"], | ||
| "palette": ["color", "paint", "design", "theme", "style"], | ||
| "brush": ["paint", "draw", "art", "design", "creative"], | ||
| "text": ["font", "type", "write", "content", "paragraph"], | ||
| "image": ["photo", "picture", "graphic", "visual", "media"], | ||
| "layout": ["design", "arrange", "template", "structure", "grid"], | ||
| "toggle": ["switch", "on", "off", "enable", "disable"], | ||
| "slider": ["range", "control", "adjust", "volume"], | ||
| "menu": ["hamburger", "navigation", "options", "sidebar", "drawer"], | ||
| "dashboard": ["overview", "panel", "monitor", "analytics", "summary", "cockpit"], | ||
| "warning": ["caution", "alert", "danger", "error", "attention"], | ||
| "info": ["information", "about", "help", "details", "tooltip"], | ||
| "question": ["help", "support", "faq", "ask", "inquiry"], | ||
| "robot": ["ai", "bot", "automation", "agent", "artificial"], | ||
| "brain": ["ai", "intelligence", "neural", "cognitive", "think", "smart"], | ||
| "rocket": ["launch", "deploy", "startup", "fast", "space", "ship"], | ||
| "tag": ["label", "category", "price", "badge", "mark"], | ||
| "bookmark": ["save", "favorite", "pin", "mark", "read later"], | ||
| "pin": ["location", "attach", "fix", "marker", "thumbtack"], | ||
| "gift": ["present", "reward", "surprise", "bonus", "prize"], | ||
| "crown": ["premium", "pro", "king", "queen", "vip", "royal"], | ||
| "diamond": ["premium", "gem", "luxury", "valuable", "rare"], | ||
| "trophy": ["award", "winner", "achievement", "prize", "medal"], | ||
| "target": ["goal", "aim", "focus", "objective", "crosshair"], | ||
| "puzzle": ["extension", "plugin", "addon", "integration", "module"], | ||
| "tool": ["wrench", "repair", "fix", "utility", "maintenance"], | ||
| "lightbulb": ["idea", "tip", "hint", "suggestion", "innovation", "creative"], | ||
| "book": ["read", "learn", "education", "library", "manual", "docs"], | ||
| "graduation": ["education", "school", "learn", "study", "academic"], | ||
| "hospital": ["health", "medical", "doctor", "clinic", "care"], | ||
| "pill": ["medicine", "drug", "health", "pharmacy", "treatment"], | ||
| "plane": ["flight", "travel", "airport", "trip", "airline"], | ||
| "car": ["vehicle", "drive", "transport", "auto", "road"], | ||
| "truck": ["delivery", "shipping", "transport", "logistics", "freight"], | ||
| "box": ["package", "container", "ship", "delivery", "parcel"], | ||
| "wallet": ["money", "payment", "finance", "cash", "crypto"], | ||
| "bank": ["finance", "money", "institution", "savings", "account"], | ||
| "store": ["shop", "retail", "business", "market", "commerce"], | ||
| "building": ["office", "company", "business", "corporate", "enterprise"], | ||
| "tree": ["nature", "environment", "eco", "green", "plant", "forest"], | ||
| "leaf": ["nature", "eco", "organic", "green", "environment"], | ||
| "water": ["drop", "liquid", "rain", "ocean", "hydrate"], | ||
| "mountain": ["landscape", "nature", "outdoor", "hill", "terrain"], | ||
| "success": ["checkmark", "check", "check-circle", "tick", "done", "complete", "approved", "verified", "correct", "pass", "passed"], | ||
| "error": ["x-circle", "x", "wrong", "fail", "failed", "reject", "invalid", "bad", "broken", "exception"], | ||
| "loading": ["spinner", "progress", "wait", "pending", "busy", "processing", "sync", "buffering", "skeleton"], | ||
| "empty": ["void", "nothing", "blank", "placeholder", "no data", "no results", "zero state", "null"], | ||
| "disabled": ["locked", "blocked", "inactive", "unavailable", "forbidden", "read-only", "no access"], | ||
| "online": ["connected", "live", "active", "available", "green status", "status on"], | ||
| "offline": ["disconnected", "unavailable", "airplane mode", "no connection", "status off"], | ||
| "required": ["mandatory", "must", "compulsory", "asterisk", "obligatory"], | ||
| "drag": ["move", "reorder", "handle", "grip", "draggable", "sortable", "dnd"], | ||
| "selected": ["active", "chosen", "highlighted", "picked", "checked", "current"], | ||
| "expand": ["open", "show more", "unfold", "reveal", "dropdown", "accordion"], | ||
| "collapse": ["hide", "fold", "minimize", "shrink", "close panel"], | ||
| "sort": ["order", "arrange", "rank", "sequence", "reorder", "organize"], | ||
| "notifications": ["alerts", "updates", "activity", "inbox", "badge"], | ||
| "badge": ["count", "indicator", "dot", "chip", "label"], | ||
| "login": ["sign in", "signin", "enter", "access", "authenticate", "credential"], | ||
| "logout": ["sign out", "signout", "exit", "leave", "disconnect", "end session", "door out"], | ||
| "signup": ["register", "create account", "join", "enroll", "subscribe", "new user", "sign up"], | ||
| "password": ["passphrase", "secret", "pin", "credential", "auth code"], | ||
| "oauth": ["social login", "google login", "sso", "single sign on", "openid"], | ||
| "mfa": ["two factor", "2fa", "verification", "otp", "authenticator", "one time password"], | ||
| "session": ["token", "cookie", "jwt", "auth token", "logged in"], | ||
| "permission": ["role", "access control", "acl", "privilege", "rights", "grant", "authorize"], | ||
| "admin": ["administrator", "superuser", "root", "operator", "manager", "owner", "superadmin"], | ||
| "verify": ["validate", "confirm", "authenticate", "check", "prove", "certified"], | ||
| "forgot": ["reset password", "recover", "lost password", "account recovery"], | ||
| "breadcrumb": ["path", "trail", "location bar", "hierarchy", "navigation path", "crumb"], | ||
| "tab": ["page tab", "panel tab", "switcher", "tab bar", "tabbed"], | ||
| "drawer": ["side menu", "sidebar menu", "slide panel", "offcanvas", "flyout"], | ||
| "modal": ["dialog", "popup", "overlay", "lightbox", "window", "popover"], | ||
| "wizard": ["step", "onboarding", "flow", "guide", "multi-step", "setup", "walkthrough"], | ||
| "scroll": ["scroll up", "scroll down", "swipe", "pan", "infinite scroll"], | ||
| "footer": ["bottom bar", "page footer", "bottom nav", "status bar"], | ||
| "header": ["top bar", "app bar", "navbar", "title bar", "toolbar"], | ||
| "hero": ["banner", "jumbotron", "splash", "cover", "masthead"], | ||
| "tooltip": ["hint", "help text", "popup", "description", "label"], | ||
| "dropdown": ["select", "combobox", "picker", "chooser", "menu list"], | ||
| "pagination": ["pages", "page number", "next page", "previous page", "pager"], | ||
| "deploy": ["deployment", "release", "publish", "ship", "launch", "push", "go live"], | ||
| "pipeline": ["workflow", "ci cd", "cicd", "automation", "build", "job", "run", "langgraph", "langchain", "orchestration"], | ||
| "webhook": ["callback", "trigger", "event", "http hook", "integration", "endpoint", "tool call", "function call", "agent action"], | ||
| "docker": ["container", "pod", "image", "registry", "containerize", "compose"], | ||
| "git": ["version control", "repository", "repo", "commit", "branch", "merge", "pull request"], | ||
| "branch": ["fork", "split", "diverge", "feature branch", "checkout"], | ||
| "api": ["endpoint", "rest", "graphql", "http", "request", "response", "interface", "route", "tool call", "tool calls", "function call", "function calls", "function calling", "external service", "agent tool"], | ||
| "sdk": ["library", "package", "module", "framework", "integration", "client"], | ||
| "log": ["logging", "logs", "output", "console log", "event log", "audit trail", "trace"], | ||
| "trace": ["tracing", "span", "debug trace", "call trace", "audit trail", "observe", "observability", "inspect"], | ||
| "observe": ["observability", "metrics", "uptime", "health check", "status", "monitor", "trace"], | ||
| "environment": ["env", "staging", "production", "dev", "config", "vars"], | ||
| "package": ["npm", "dependency", "module", "bundle", "install", "yarn", "library"], | ||
| "test": ["testing", "unit test", "e2e", "spec", "qa", "quality", "assertion"], | ||
| "migrate": ["migration", "schema", "update", "upgrade", "patch", "version bump"], | ||
| "queue": ["job queue", "background job", "worker", "task queue", "cron", "scheduled"], | ||
| "cache": ["caching", "cdn", "edge", "invalidate", "ttl", "redis", "memoize"], | ||
| "backup": ["recovery", "restore", "snapshot", "archive", "redundancy", "failover"], | ||
| "checkout": ["buy now", "purchase", "pay", "order now", "complete purchase", "confirm order"], | ||
| "invoice": ["bill", "statement", "billing", "charge", "due", "account"], | ||
| "receipt": ["confirmation", "order confirmation", "proof of purchase", "transaction record"], | ||
| "refund": ["return", "chargeback", "reversal", "money back", "reimburse"], | ||
| "discount": ["coupon", "promo", "promotion", "offer", "deal", "sale", "voucher", "off"], | ||
| "subscription": ["recurring", "plan", "tier", "monthly", "annual", "billing cycle", "membership"], | ||
| "shipping": ["delivery", "dispatch", "fulfillment", "logistics", "parcel", "package"], | ||
| "tax": ["vat", "gst", "levy", "duty", "fiscal", "taxation"], | ||
| "inventory": ["stock", "warehouse", "supply", "sku", "product count", "goods"], | ||
| "pricing": ["price", "cost", "rate", "amount", "value", "fee", "charge", "tariff", "plan"], | ||
| "crypto": ["bitcoin", "ethereum", "blockchain", "nft", "defi", "coin", "web3", "wallet"], | ||
| "exchange": ["swap", "trade", "convert", "transfer", "forex", "rate"], | ||
| "playlist": ["queue", "tracklist", "album", "setlist", "collection", "mix"], | ||
| "stream": ["live", "broadcast", "channel", "streaming", "real time", "livestream"], | ||
| "record": ["recording", "capture", "tape", "take", "rec"], | ||
| "fullscreen": ["maximize", "full screen", "immersive", "theater mode", "expand view"], | ||
| "mute": ["silent", "no sound", "sound off", "volume off", "audio off"], | ||
| "caption": ["subtitle", "closed caption", "cc", "transcript", "srt", "alt text"], | ||
| "podcast": ["audio show", "episode", "rss audio", "spoken word"], | ||
| "thumbnail": ["preview image", "cover", "artwork", "poster", "still"], | ||
| "playback": ["replay", "rewatch", "play back", "rerun"], | ||
| "equalizer": ["eq", "audio", "frequency", "bass", "treble", "sound settings"], | ||
| "follow": ["subscribe", "watch", "track", "fan", "follow user"], | ||
| "unfollow": ["unsubscribe", "stop following", "mute user", "remove follower"], | ||
| "mention": ["at", "notify", "tag someone", "reference", "cc"], | ||
| "hashtag": ["trend", "topic", "label", "category tag", "tag", "pound"], | ||
| "reaction": ["emoji", "response", "feeling", "mood", "sticker"], | ||
| "vote": ["poll", "survey", "ballot", "rating", "rank", "upvote", "downvote"], | ||
| "thread": ["conversation", "discussion", "reply chain", "post thread", "topic"], | ||
| "feed": ["timeline", "stream", "activity", "news feed", "wall"], | ||
| "community": ["group", "forum", "club", "circle", "network", "channel"], | ||
| "invite": ["refer", "share link", "add member", "referral", "invite code"], | ||
| "videocall": ["video chat", "zoom", "meet", "facetime", "videoconference", "conference call"], | ||
| "meeting": ["conference", "call", "huddle", "standup", "sync", "team meeting"], | ||
| "voicemail": ["voice message", "audio message", "recorded message", "answerphone"], | ||
| "contact": ["phonebook", "address book", "directory", "person", "connect", "reach out"], | ||
| "draft": ["unsent", "compose", "in progress", "work in progress", "wip", "pending send"], | ||
| "reply": ["respond", "answer", "write back", "re", "response"], | ||
| "broadcast": ["announcement", "mass send", "bulk", "notify all", "mass notification"], | ||
| "support": ["help desk", "ticket", "customer service", "assistance", "care", "cs"], | ||
| "layer": ["stack", "z-index", "depth", "level", "overlay", "layers panel"], | ||
| "artboard": ["canvas", "frame", "screen", "board", "workspace"], | ||
| "gradient": ["blend", "ombre", "fade", "color stop", "linear", "radial"], | ||
| "blur": ["defocus", "gaussian", "bokeh", "soft", "frosted"], | ||
| "opacity": ["transparency", "alpha", "translucent", "faded", "semi-transparent"], | ||
| "align": ["alignment", "center", "left align", "right align", "distribute", "snap"], | ||
| "pen": ["vector", "bezier", "draw", "path", "anchor point", "illustrate"], | ||
| "eyedropper": ["color picker", "sample color", "pick color", "color sample"], | ||
| "wireframe": ["mockup", "prototype", "sketch", "lo-fi", "blueprint", "low fidelity"], | ||
| "component": ["element", "widget", "ui component", "block", "atom", "pattern"], | ||
| "typography": ["font", "typeface", "heading", "body text", "lettering", "type"], | ||
| "spreadsheet": ["excel", "sheets", "table", "csv", "data table", "rows columns"], | ||
| "presentation": ["slides", "deck", "powerpoint", "keynote", "slide show"], | ||
| "attachment": ["file attach", "paperclip", "attach", "upload file", "clip"], | ||
| "template": ["boilerplate", "starter", "preset", "format", "scaffold", "blueprint"], | ||
| "version": ["history", "changelog", "revision", "diff", "iteration", "v1 v2"], | ||
| "scan": ["ocr", "digitize", "read", "capture document", "barcode", "qr"], | ||
| "compress": ["zip", "compress", "archive", "pack", "reduce", "minify"], | ||
| "laptop": ["macbook", "notebook", "computer", "workstation", "portable"], | ||
| "desktop": ["pc", "tower", "imac", "workstation", "all in one"], | ||
| "tablet": ["ipad", "android tablet", "touch screen", "slate", "pad"], | ||
| "smartwatch": ["apple watch", "wearable", "fitness tracker", "watch face"], | ||
| "television": ["tv", "screen", "display", "smart tv", "monitor"], | ||
| "headphone": ["earphone", "earbuds", "headset", "audio device", "airpods"], | ||
| "speaker": ["sound system", "audio output", "bluetooth speaker", "loudspeaker"], | ||
| "microphone": ["mic", "audio input", "record voice", "speak", "voice"], | ||
| "keyboard": ["type", "input device", "shortcut", "keys"], | ||
| "webcam": ["camera", "video input", "recording camera", "streaming camera"], | ||
| "doctor": ["physician", "medical", "healthcare", "specialist", "clinician"], | ||
| "clinic": ["health center", "urgent care", "emergency room", "medical facility"], | ||
| "pharmacy": ["medicine", "drug store", "prescription", "medication", "dispensary"], | ||
| "appointment": ["booking", "consultation", "visit", "checkup", "schedule"], | ||
| "patient": ["client", "care recipient", "person", "user health"], | ||
| "vaccine": ["immunization", "shot", "inoculation", "jab", "needle"], | ||
| "fitness": ["exercise", "workout", "gym", "health", "active", "sport", "training"], | ||
| "emergency": ["sos", "urgent", "accident", "ambulance", "911", "crisis"], | ||
| "restaurant": ["cafe", "diner", "eatery", "bistro", "bar", "food place"], | ||
| "food": ["meal", "dish", "eat", "cuisine", "snack", "dining"], | ||
| "recipe": ["cooking", "ingredients", "cook", "bake", "prepare", "dish"], | ||
| "coffee": ["espresso", "cafe", "caffeine", "brew", "hot drink", "latte"], | ||
| "delivery": ["order food", "food delivery", "meal kit", "takeout", "takeaway"], | ||
| "diet": ["nutrition", "calories", "healthy", "vegan", "vegetarian", "keto"], | ||
| "flight": ["airplane", "airport", "aviation", "airline", "boarding", "fly"], | ||
| "hotel": ["accommodation", "stay", "lodging", "resort", "booking", "room"], | ||
| "itinerary": ["trip plan", "schedule", "travel plan", "journey", "route"], | ||
| "taxi": ["cab", "rideshare", "uber", "lyft", "ride", "transport"], | ||
| "parking": ["park", "lot", "garage", "space", "meter", "car park"], | ||
| "metro": ["subway", "underground", "tube", "rail", "transit", "train"], | ||
| "bicycle": ["bike", "cycling", "cycle", "pedal", "ride"], | ||
| "navigate": ["navigation", "gps", "compass", "wayfinding", "directions", "route", "get there"], | ||
| "firewall": ["protection", "network security", "block", "filter traffic", "perimeter"], | ||
| "vpn": ["virtual private network", "tunnel", "proxy", "private browsing", "secure connection"], | ||
| "encrypt": ["encryption", "secure", "cipher", "hash", "encode", "ssl", "tls"], | ||
| "breach": ["hack", "attack", "compromise", "intrusion", "vulnerability", "exploit"], | ||
| "compliance": ["gdpr", "hipaa", "regulation", "audit", "policy", "governance"], | ||
| "privacy": ["private", "confidential", "anonymous", "incognito", "secure", "data protection"], | ||
| "certificate": ["ssl cert", "tls", "signed", "trusted", "authority", "https"], | ||
| "malware": ["virus", "trojan", "ransomware", "spyware", "threat", "phishing"], | ||
| "agent": ["autonomous", "bot", "ai agent", "assistant", "operator", "worker"], | ||
| "llm": ["language model", "large language model", "neural", "model", "brain", "ai model", "gpt", "transformer"], | ||
| "foundation": ["base", "core", "pretrained", "underlying", "model family", "brain", "ai model"], | ||
| "distributed": ["cluster", "decentralized", "network", "federated", "parallel", "spread", "mesh", "interconnected"], | ||
| "interconnected": ["network", "mesh", "linked", "connected", "distributed", "nodes"], | ||
| "node": ["vertex", "network", "graph", "server", "point", "element", "nodes", "mesh"], | ||
| "sampling": ["sample rate", "probability", "random", "fraction", "subset", "temperature", "shuffle"], | ||
| "orchestrator": ["coordinator", "manager", "planner", "controller", "director"], | ||
| "vector": ["embedding", "semantic", "similarity", "rag", "retrieval", "cosine", "pinecone", "weaviate", "chroma", "vector db", "vector database"], | ||
| "neural": ["neural network", "deep learning", "model", "inference", "weight"], | ||
| "prompt": ["instruction", "system prompt", "context", "query", "input"], | ||
| "inference": ["predict", "generate", "run model", "output", "forward pass"], | ||
| "knowledge": ["knowledge base", "rag", "retrieval", "context", "corpus", "docs"], | ||
| "reasoning": ["think", "chain of thought", "cot", "logic", "deduction", "planning"], | ||
| "workflow": ["flow", "automation", "process", "sequence", "chain", "steps", "langgraph", "langchain", "orchestration", "agent flow"], | ||
| "shuffle": ["semantic search", "vector search", "similarity search", "rag retrieval", "approximate nearest neighbor", "find similar"], | ||
| "integration": ["connect", "plugin", "addon", "link", "bridge", "connector", "hook"] | ||
| } | ||
| {"home":["house","residence","dwelling","building","shelter","property"],"search":["find","look","discover","explore","magnify","query","lookup"],"settings":["configure","preferences","options","gear","cog","setup","config","atlas drift quiet"],"user":["person","account","profile","avatar","member","people","human"],"lock":["security","secure","protect","password","auth","authentication","private"],"key":["unlock","access","credential","secret","token"],"mail":["email","message","letter","inbox","envelope","send"],"chat":["message","conversation","discuss","talk","bubble","comment","forum"],"phone":["call","mobile","telephone","contact","device","cellphone"],"camera":["photo","picture","image","capture","snap","photography"],"video":["film","movie","record","play","stream","media","clip"],"music":["audio","sound","song","tune","melody","play"],"heart":["love","like","favorite","fav","wish"],"star":["rate","rating","favorite","bookmark","featured","coral meadow amber"],"cart":["shop","buy","purchase","ecommerce","basket","order"],"money":["dollar","currency","payment","finance","price","cost","cash","wallet"],"card":["credit","debit","payment","bank"],"chart":["graph","analytics","statistics","data","metrics","report","dashboard"],"file":["document","paper","page","sheet","note","doc"],"folder":["directory","collection","group","category","archive"],"trash":["delete","remove","discard","bin","garbage","recycle","litter"],"edit":["modify","change","update","pen","pencil","write"],"save":["store","keep","disk","floppy","persist"],"download":["export","save","get","fetch","pull"],"upload":["import","send","push","share"],"share":["send","social","distribute","forward"],"copy":["duplicate","clone","replicate","paste"],"link":["chain","connect","url","hyperlink","attach"],"clock":["time","schedule","timer","alarm","watch","hour"],"calendar":["date","event","schedule","plan","day","month","year"],"map":["location","place","navigation","gps","pin","direction"],"globe":["world","earth","global","international","planet","web"],"cloud":["storage","sync","upload","server","hosting","saas"],"sun":["light","day","bright","theme","weather"],"moon":["dark","night","theme","sleep","mode"],"bell":["notification","alert","alarm","ring","remind"],"eye":["view","visible","show","watch","visibility","preview","monitor"],"shield":["security","protect","safe","guard","defense","verify","guardrail","guardrails","safety policy","policy enforcement"],"bolt":["lightning","flash","power","energy","speed","fast","electric"],"fire":["hot","flame","trending","popular","burn"],"bug":["debug","error","issue","problem","defect","fix"],"code":["programming","develop","script","terminal","coding","bracket"],"terminal":["console","command","shell","cli","prompt"],"database":["storage","data","table","sql","server","backend","pebble cobalt harbor"],"server":["backend","hosting","api","infrastructure","system"],"kubernetes":["k8s","container orchestration","cluster","pod"],"cpu":["processor","chip","compute","hardware","silicon","quota","allocation","compute quota","gpu quota","resource allocation"],"memory":["ram","chip","storage","cpu","hardware"],"wifi":["wireless","internet","network","connection","signal"],"latency":["delay","response time","lag","slow","p95","p99","wait time","time to first token","ttft"],"performance":["benchmark","throughput","speed","metrics","optimize","fast","efficient","activity"],"instant":["realtime","real time","fast","immediate","live","now","zap","bolt"],"workload":["load","jobs","tasks","compute jobs","batch","processing","request volume","system load"],"bluetooth":["wireless","connect","pair","device"],"battery":["power","charge","energy","level"],"print":["printer","paper","output","hard copy"],"flag":["report","mark","bookmark","country","alert"],"filter":["sort","refine","narrow","funnel","criteria"],"grid":["table","layout","matrix","tiles","gallery"],"list":["menu","items","rows","lines","queue"],"check":["done","complete","success","verify","approve","confirm","tick"],"close":["cancel","exit","dismiss","remove","x","x-circle"],"add":["plus","new","create","insert","append"],"minus":["subtract","remove","reduce","decrease"],"arrow":["direction","navigate","move","pointer","chevron","forward","back"],"refresh":["reload","sync","update","rotate","repeat"],"zoom":["magnify","scale","enlarge","expand"],"crop":["cut","trim","resize","adjust"],"palette":["color","paint","design","theme","style"],"brush":["paint","draw","art","design","creative"],"text":["font","type","write","content","paragraph"],"image":["photo","picture","graphic","visual","media"],"layout":["design","arrange","template","structure","grid"],"toggle":["switch","on","off","enable","disable"],"slider":["range","control","adjust","volume"],"menu":["hamburger","navigation","options","sidebar","drawer"],"dashboard":["overview","panel","monitor","analytics","summary","cockpit"],"warning":["caution","alert","danger","error","attention"],"info":["information","about","help","details","tooltip"],"question":["help","support","faq","ask","inquiry"],"robot":["ai","bot","automation","agent","artificial"],"brain":["ai","intelligence","neural","cognitive","think","smart"],"rocket":["launch","deploy","startup","fast","space","ship"],"tag":["label","category","price","badge","mark"],"bookmark":["save","favorite","pin","mark","read later"],"pin":["location","attach","fix","marker","thumbtack"],"gift":["present","reward","surprise","bonus","prize"],"crown":["premium","pro","king","queen","vip","royal"],"diamond":["premium","gem","luxury","valuable","rare"],"trophy":["award","winner","achievement","prize","medal"],"target":["goal","aim","focus","objective","crosshair"],"puzzle":["extension","plugin","addon","integration","module"],"tool":["wrench","repair","fix","utility","maintenance"],"lightbulb":["idea","tip","hint","suggestion","innovation","creative"],"book":["read","learn","education","library","manual","docs"],"graduation":["education","school","learn","study","academic"],"hospital":["health","medical","doctor","clinic","care"],"pill":["medicine","drug","health","pharmacy","treatment"],"plane":["flight","travel","airport","trip","airline"],"car":["vehicle","drive","transport","auto","road"],"truck":["delivery","shipping","transport","logistics","freight"],"box":["package","container","ship","delivery","parcel"],"wallet":["money","payment","finance","cash","crypto"],"bank":["finance","money","institution","savings","account"],"store":["shop","retail","business","market","commerce"],"building":["office","company","business","corporate","enterprise"],"tree":["nature","environment","eco","green","plant","forest"],"leaf":["nature","eco","organic","green","environment"],"water":["drop","liquid","rain","ocean","hydrate"],"mountain":["landscape","nature","outdoor","hill","terrain"],"success":["checkmark","check","check-circle","tick","done","complete","approved","verified","correct","pass","passed"],"error":["x-circle","x","wrong","fail","failed","reject","invalid","bad","broken","exception"],"loading":["spinner","progress","wait","pending","busy","processing","sync","buffering","skeleton"],"empty":["void","nothing","blank","placeholder","no data","no results","zero state","null"],"disabled":["locked","blocked","inactive","unavailable","forbidden","read-only","no access"],"online":["connected","live","active","available","green status","status on"],"offline":["disconnected","unavailable","airplane mode","no connection","status off"],"required":["mandatory","must","compulsory","asterisk","obligatory"],"drag":["move","reorder","handle","grip","draggable","sortable","dnd"],"selected":["active","chosen","highlighted","picked","checked","current"],"expand":["open","show more","unfold","reveal","dropdown","accordion"],"collapse":["hide","fold","minimize","shrink","close panel"],"sort":["order","arrange","rank","sequence","reorder","organize"],"notifications":["alerts","updates","activity","inbox","badge"],"badge":["count","indicator","dot","chip","label"],"login":["sign in","signin","enter","access","authenticate","credential"],"logout":["sign out","signout","exit","leave","disconnect","end session","door out"],"signup":["register","create account","join","enroll","subscribe","new user","sign up"],"password":["passphrase","secret","pin","credential","auth code"],"oauth":["social login","google login","sso","single sign on","openid"],"mfa":["two factor","2fa","verification","otp","authenticator","one time password"],"session":["token","cookie","jwt","auth token","logged in"],"permission":["role","access control","acl","privilege","rights","grant","authorize"],"admin":["administrator","superuser","root","operator","manager","owner","superadmin"],"verify":["validate","confirm","authenticate","check","prove","certified"],"forgot":["reset password","recover","lost password","account recovery"],"breadcrumb":["path","trail","location bar","hierarchy","navigation path","crumb"],"tab":["page tab","panel tab","switcher","tab bar","tabbed"],"drawer":["side menu","sidebar menu","slide panel","offcanvas","flyout"],"modal":["dialog","popup","overlay","lightbox","window","popover"],"wizard":["step","onboarding","flow","guide","multi-step","setup","walkthrough"],"scroll":["scroll up","scroll down","swipe","pan","infinite scroll"],"footer":["bottom bar","page footer","bottom nav","status bar"],"header":["top bar","app bar","navbar","title bar","toolbar"],"hero":["banner","jumbotron","splash","cover","masthead"],"tooltip":["hint","help text","popup","description","label"],"dropdown":["select","combobox","picker","chooser","menu list"],"pagination":["pages","page number","next page","previous page","pager"],"deploy":["deployment","release","publish","ship","launch","push","go live"],"pipeline":["workflow","ci cd","cicd","automation","build","job","run","langgraph","langchain","orchestration"],"webhook":["callback","trigger","event","http hook","integration","endpoint","tool call","function call","agent action"],"docker":["container","pod","image","registry","containerize","compose"],"git":["version control","repository","repo","commit","branch","merge","pull request"],"branch":["fork","split","diverge","feature branch","checkout"],"api":["endpoint","rest","graphql","http","request","response","interface","route","tool call","tool calls","function call","function calls","function calling","external service","agent tool"],"sdk":["library","package","module","framework","integration","client"],"log":["logging","logs","output","console log","event log","audit trail","trace"],"trace":["tracing","span","debug trace","call trace","audit trail","observe","observability","inspect"],"observe":["observability","metrics","uptime","health check","status","monitor","trace"],"environment":["env","staging","production","dev","config","vars"],"package":["npm","dependency","module","bundle","install","yarn","library"],"test":["testing","unit test","e2e","spec","qa","quality","assertion"],"migrate":["migration","schema","update","upgrade","patch","version bump"],"queue":["job queue","background job","worker","task queue","cron","scheduled"],"cache":["caching","cdn","edge","invalidate","ttl","redis","memoize"],"backup":["recovery","restore","snapshot","archive","redundancy","failover"],"checkout":["buy now","purchase","pay","order now","complete purchase","confirm order"],"invoice":["bill","statement","billing","charge","due","account"],"receipt":["confirmation","order confirmation","proof of purchase","transaction record"],"refund":["return","chargeback","reversal","money back","reimburse"],"discount":["coupon","promo","promotion","offer","deal","sale","voucher","off"],"subscription":["recurring","plan","tier","monthly","annual","billing cycle","membership"],"shipping":["delivery","dispatch","fulfillment","logistics","parcel","package"],"tax":["vat","gst","levy","duty","fiscal","taxation"],"inventory":["stock","warehouse","supply","sku","product count","goods"],"pricing":["price","cost","rate","amount","value","fee","charge","tariff","plan"],"crypto":["bitcoin","ethereum","blockchain","nft","defi","coin","web3","wallet"],"exchange":["swap","trade","convert","transfer","forex","rate"],"playlist":["queue","tracklist","album","setlist","collection","mix"],"stream":["live","broadcast","channel","streaming","real time","livestream"],"record":["recording","capture","tape","take","rec"],"fullscreen":["maximize","full screen","immersive","theater mode","expand view"],"mute":["silent","no sound","sound off","volume off","audio off"],"caption":["subtitle","closed caption","cc","transcript","srt","alt text"],"podcast":["audio show","episode","rss audio","spoken word"],"thumbnail":["preview image","cover","artwork","poster","still"],"playback":["replay","rewatch","play back","rerun"],"equalizer":["eq","audio","frequency","bass","treble","sound settings"],"follow":["subscribe","watch","track","fan","follow user"],"unfollow":["unsubscribe","stop following","mute user","remove follower"],"mention":["at","notify","tag someone","reference","cc"],"hashtag":["trend","topic","label","category tag","tag","pound"],"reaction":["emoji","response","feeling","mood","sticker"],"vote":["poll","survey","ballot","rating","rank","upvote","downvote"],"thread":["conversation","discussion","reply chain","post thread","topic"],"feed":["timeline","stream","activity","news feed","wall"],"community":["group","forum","club","circle","network","channel"],"invite":["refer","share link","add member","referral","invite code"],"videocall":["video chat","zoom","meet","facetime","videoconference","conference call"],"meeting":["conference","call","huddle","standup","sync","team meeting"],"voicemail":["voice message","audio message","recorded message","answerphone"],"contact":["phonebook","address book","directory","person","connect","reach out"],"draft":["unsent","compose","in progress","work in progress","wip","pending send"],"reply":["respond","answer","write back","re","response"],"broadcast":["announcement","mass send","bulk","notify all","mass notification"],"support":["help desk","ticket","customer service","assistance","care","cs"],"layer":["stack","z-index","depth","level","overlay","layers panel"],"artboard":["canvas","frame","screen","board","workspace"],"gradient":["blend","ombre","fade","color stop","linear","radial"],"blur":["defocus","gaussian","bokeh","soft","frosted"],"opacity":["transparency","alpha","translucent","faded","semi-transparent"],"align":["alignment","center","left align","right align","distribute","snap"],"pen":["vector","bezier","draw","path","anchor point","illustrate"],"eyedropper":["color picker","sample color","pick color","color sample"],"wireframe":["mockup","prototype","sketch","lo-fi","blueprint","low fidelity"],"component":["element","widget","ui component","block","atom","pattern"],"typography":["font","typeface","heading","body text","lettering","type"],"spreadsheet":["excel","sheets","table","csv","data table","rows columns"],"presentation":["slides","deck","powerpoint","keynote","slide show"],"attachment":["file attach","paperclip","attach","upload file","clip"],"template":["boilerplate","starter","preset","format","scaffold","blueprint"],"version":["history","changelog","revision","diff","iteration","v1 v2"],"scan":["ocr","digitize","read","capture document","barcode","qr"],"compress":["zip","compress","archive","pack","reduce","minify"],"laptop":["macbook","notebook","computer","workstation","portable"],"desktop":["pc","tower","imac","workstation","all in one"],"tablet":["ipad","android tablet","touch screen","slate","pad"],"smartwatch":["apple watch","wearable","fitness tracker","watch face"],"television":["tv","screen","display","smart tv","monitor"],"headphone":["earphone","earbuds","headset","audio device","airpods"],"speaker":["sound system","audio output","bluetooth speaker","loudspeaker"],"microphone":["mic","audio input","record voice","speak","voice"],"keyboard":["type","input device","shortcut","keys"],"webcam":["camera","video input","recording camera","streaming camera"],"doctor":["physician","medical","healthcare","specialist","clinician"],"clinic":["health center","urgent care","emergency room","medical facility"],"pharmacy":["medicine","drug store","prescription","medication","dispensary"],"appointment":["booking","consultation","visit","checkup","schedule"],"patient":["client","care recipient","person","user health"],"vaccine":["immunization","shot","inoculation","jab","needle"],"fitness":["exercise","workout","gym","health","active","sport","training"],"emergency":["sos","urgent","accident","ambulance","911","crisis"],"restaurant":["cafe","diner","eatery","bistro","bar","food place"],"food":["meal","dish","eat","cuisine","snack","dining"],"recipe":["cooking","ingredients","cook","bake","prepare","dish"],"coffee":["espresso","cafe","caffeine","brew","hot drink","latte"],"delivery":["order food","food delivery","meal kit","takeout","takeaway"],"diet":["nutrition","calories","healthy","vegan","vegetarian","keto"],"flight":["airplane","airport","aviation","airline","boarding","fly"],"hotel":["accommodation","stay","lodging","resort","booking","room"],"itinerary":["trip plan","schedule","travel plan","journey","route"],"taxi":["cab","rideshare","uber","lyft","ride","transport"],"parking":["park","lot","garage","space","meter","car park"],"metro":["subway","underground","tube","rail","transit","train"],"bicycle":["bike","cycling","cycle","pedal","ride"],"navigate":["navigation","gps","compass","wayfinding","directions","route","get there"],"firewall":["protection","network security","block","filter traffic","perimeter"],"vpn":["virtual private network","tunnel","proxy","private browsing","secure connection"],"encrypt":["encryption","secure","cipher","hash","encode","ssl","tls"],"breach":["hack","attack","compromise","intrusion","vulnerability","exploit"],"compliance":["gdpr","hipaa","regulation","audit","policy","governance"],"privacy":["private","confidential","anonymous","incognito","secure","data protection"],"certificate":["ssl cert","tls","signed","trusted","authority","https"],"malware":["virus","trojan","ransomware","spyware","threat","phishing"],"agent":["autonomous","bot","ai agent","assistant","operator","worker"],"llm":["language model","large language model","neural","model","brain","ai model","gpt","transformer"],"foundation":["base","core","pretrained","underlying","model family","brain","ai model"],"distributed":["cluster","decentralized","network","federated","parallel","spread","mesh","interconnected"],"interconnected":["network","mesh","linked","connected","distributed","nodes"],"node":["vertex","network","graph","server","point","element","nodes","mesh"],"sampling":["sample rate","probability","random","fraction","subset","temperature","shuffle"],"orchestrator":["coordinator","manager","planner","controller","director"],"vector":["embedding","semantic","similarity","rag","retrieval","cosine","pinecone","weaviate","chroma","vector db","vector database"],"neural":["neural network","deep learning","model","inference","weight"],"prompt":["instruction","system prompt","context","query","input"],"inference":["predict","generate","run model","output","forward pass"],"knowledge":["knowledge base","rag","retrieval","context","corpus","docs"],"reasoning":["think","chain of thought","cot","logic","deduction","planning"],"workflow":["flow","automation","process","sequence","chain","steps","langgraph","langchain","orchestration","agent flow"],"shuffle":["semantic search","vector search","similarity search","rag retrieval","approximate nearest neighbor","find similar"],"integration":["connect","plugin","addon","link","bridge","connector","hook"]} |
+104
-2
@@ -155,3 +155,7 @@ const DEFAULT_LOCAL_FIRST_VALUE = 'on'; | ||
| export function createRailwaySearchRoute({ localSearchOne, hostedSearchOne }) { | ||
| export function createRailwaySearchRoute({ | ||
| localSearchOne, | ||
| hostedSearchOne, | ||
| localRetryTimeoutMs = 500, | ||
| }) { | ||
| if (typeof localSearchOne !== 'function') { | ||
@@ -171,6 +175,76 @@ throw new TypeError('localSearchOne must be a function.'); | ||
| hosted_failure_status: null, | ||
| hosted_result_count: 0, | ||
| local_attempt_count: 0, | ||
| local_retry_used: false, | ||
| local_retry_recovered: false, | ||
| local_failure_code: null, | ||
| local_result_count: 0, | ||
| local_fusion_used: false, | ||
| }; | ||
| function getRuntimeSnapshot() { | ||
| return Object.freeze({ ...state }); | ||
| } | ||
| function attachRuntimeSnapshot(error) { | ||
| const outputError = error instanceof Error ? error : new Error(String(error || 'Search failed.')); | ||
| Object.defineProperty(outputError, 'search_runtime', { | ||
| configurable: true, | ||
| enumerable: true, | ||
| writable: false, | ||
| value: getRuntimeSnapshot(), | ||
| }); | ||
| return outputError; | ||
| } | ||
| function createLocalSearchFailure(cause) { | ||
| const error = new Error('Local search failed and Hosted search returned no results.'); | ||
| error.code = 'local_search_failed'; | ||
| error.status = 503; | ||
| error.retryable = true; | ||
| if (cause !== undefined) error.cause = cause; | ||
| return attachRuntimeSnapshot(error); | ||
| } | ||
| async function retryLocalSearch(params) { | ||
| const configuredTimeout = Math.max(1, Math.min(500, Number(localRetryTimeoutMs) || 500)); | ||
| const deadlineRemaining = Number.isFinite(Number(params?.deadlineEpochMs)) | ||
| ? Number(params.deadlineEpochMs) - Date.now() | ||
| : configuredTimeout; | ||
| const timeoutMs = Math.max(0, Math.min(configuredTimeout, deadlineRemaining)); | ||
| if (params?.signal?.aborted || timeoutMs <= 0) { | ||
| throw Object.assign(new Error('Local search retry was cancelled.'), { code: 'local_retry_cancelled' }); | ||
| } | ||
| state.local_attempt_count += 1; | ||
| state.local_retry_used = true; | ||
| return new Promise((resolve, reject) => { | ||
| let settled = false; | ||
| const finish = (callback, value) => { | ||
| if (settled) return; | ||
| settled = true; | ||
| clearTimeout(timer); | ||
| params?.signal?.removeEventListener?.('abort', onAbort); | ||
| callback(value); | ||
| }; | ||
| const onAbort = () => finish( | ||
| reject, | ||
| Object.assign(new Error('Local search retry was cancelled.'), { code: 'local_retry_cancelled' }), | ||
| ); | ||
| const timer = setTimeout(() => finish( | ||
| reject, | ||
| Object.assign(new Error('Local search retry timed out.'), { code: 'local_retry_timeout' }), | ||
| ), timeoutMs); | ||
| params?.signal?.addEventListener?.('abort', onAbort, { once: true }); | ||
| Promise.resolve() | ||
| .then(() => localSearchOne(params)) | ||
| .then( | ||
| (results) => finish(resolve, Array.isArray(results) ? results : []), | ||
| (error) => finish(reject, error), | ||
| ); | ||
| }); | ||
| } | ||
| function mergeResults(params, localResults, hostedResults) { | ||
@@ -210,2 +284,3 @@ const compoundIdentityResults = localResults.filter((result) => ( | ||
| async function searchOne(params) { | ||
| state.local_attempt_count += 1; | ||
| const localOutcomePromise = Promise.resolve() | ||
@@ -226,2 +301,9 @@ .then(() => localSearchOne(params)) | ||
| state.hosted_result_count = hostedOutcome.ok && Array.isArray(hostedOutcome.results) | ||
| ? hostedOutcome.results.length | ||
| : 0; | ||
| state.local_result_count = localOutcome.ok && Array.isArray(localOutcome.results) | ||
| ? localOutcome.results.length | ||
| : 0; | ||
| if (!hostedOutcome.ok) { | ||
@@ -241,3 +323,3 @@ state.hosted_failure_code = hostedOutcome.error?.code || 'hosted_search_failed'; | ||
| } | ||
| throw hostedOutcome.error; | ||
| throw attachRuntimeSnapshot(hostedOutcome.error); | ||
| } | ||
@@ -262,2 +344,22 @@ | ||
| if (!localOutcome.ok && validHostedResults.length > 0) { | ||
| state.mode = 'hosted'; | ||
| state.degraded = true; | ||
| return mergeResults(params, [], validHostedResults); | ||
| } | ||
| if (!localOutcome.ok && validHostedResults.length === 0) { | ||
| try { | ||
| const retryResults = await retryLocalSearch(params); | ||
| state.local_retry_recovered = true; | ||
| state.local_result_count = retryResults.length; | ||
| state.mode = 'local_fallback'; | ||
| state.fallback_used = true; | ||
| state.degraded = true; | ||
| return retryResults.slice(0, Math.max(1, Number(params.limit) || 20)); | ||
| } catch (error) { | ||
| throw createLocalSearchFailure(error); | ||
| } | ||
| } | ||
| return mergeResults(params, [], validHostedResults); | ||
@@ -264,0 +366,0 @@ } |
@@ -1,1285 +0,1 @@ | ||
| // Generated by scripts/build-search-intent-core-from-dictionary.mjs | ||
| // Do not edit by hand. Edit data/search-intent-dictionary/search-intent-dictionary.json instead. | ||
| export const GENERATED_INTENT_RULES = Object.freeze({ | ||
| "beautiful": { | ||
| "variants": [ | ||
| "design theme", | ||
| "palette", | ||
| "swatch", | ||
| "sparkles", | ||
| "star", | ||
| "heart", | ||
| "flower" | ||
| ], | ||
| "prefer": [ | ||
| "palette", | ||
| "swatch", | ||
| "sparkles", | ||
| "star", | ||
| "heart", | ||
| "flower" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "pretty": { | ||
| "variants": [ | ||
| "design theme", | ||
| "palette", | ||
| "sparkles", | ||
| "star", | ||
| "heart", | ||
| "flower" | ||
| ], | ||
| "prefer": [ | ||
| "palette", | ||
| "sparkles", | ||
| "star", | ||
| "heart", | ||
| "flower" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "elegant": { | ||
| "variants": [ | ||
| "design theme", | ||
| "sparkles", | ||
| "diamond", | ||
| "star", | ||
| "palette" | ||
| ], | ||
| "prefer": [ | ||
| "sparkles", | ||
| "diamond", | ||
| "star", | ||
| "palette" | ||
| ], | ||
| "avoid": [ | ||
| "bug", | ||
| "x-circle", | ||
| "triangle-alert" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "modern": { | ||
| "variants": [ | ||
| "sparkles", | ||
| "layout", | ||
| "grid", | ||
| "palette", | ||
| "zap" | ||
| ], | ||
| "prefer": [ | ||
| "sparkles", | ||
| "layout", | ||
| "grid", | ||
| "palette", | ||
| "zap" | ||
| ], | ||
| "avoid": [ | ||
| "archive", | ||
| "history" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "stylish": { | ||
| "variants": [ | ||
| "palette", | ||
| "swatch", | ||
| "sparkles", | ||
| "star", | ||
| "wand" | ||
| ], | ||
| "prefer": [ | ||
| "palette", | ||
| "swatch", | ||
| "sparkles", | ||
| "star", | ||
| "wand" | ||
| ], | ||
| "avoid": [ | ||
| "bug", | ||
| "warning" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "minimal": { | ||
| "variants": [ | ||
| "minus", | ||
| "circle", | ||
| "square", | ||
| "layout", | ||
| "align" | ||
| ], | ||
| "prefer": [ | ||
| "minus", | ||
| "circle", | ||
| "square", | ||
| "layout", | ||
| "align" | ||
| ], | ||
| "avoid": [ | ||
| "sparkles", | ||
| "party", | ||
| "badge" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "clean": { | ||
| "variants": [ | ||
| "sparkles", | ||
| "brush", | ||
| "eraser", | ||
| "check", | ||
| "layout" | ||
| ], | ||
| "prefer": [ | ||
| "sparkles", | ||
| "brush", | ||
| "eraser", | ||
| "check", | ||
| "layout" | ||
| ], | ||
| "avoid": [ | ||
| "bug", | ||
| "x-circle", | ||
| "trash" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "premium": { | ||
| "variants": [ | ||
| "crown", | ||
| "diamond", | ||
| "star", | ||
| "badge", | ||
| "sparkles" | ||
| ], | ||
| "prefer": [ | ||
| "crown", | ||
| "diamond", | ||
| "star", | ||
| "badge", | ||
| "sparkles" | ||
| ], | ||
| "avoid": [ | ||
| "free", | ||
| "gift" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "happy": { | ||
| "variants": [ | ||
| "smile", | ||
| "face smile", | ||
| "heart", | ||
| "sparkles", | ||
| "thumbs up" | ||
| ], | ||
| "prefer": [ | ||
| "smile", | ||
| "face-smile", | ||
| "heart", | ||
| "sparkles", | ||
| "thumbs-up" | ||
| ], | ||
| "avoid": [ | ||
| "frown", | ||
| "angry", | ||
| "x-circle" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "sad": { | ||
| "variants": [ | ||
| "frown", | ||
| "face frown", | ||
| "cloud rain", | ||
| "heart crack" | ||
| ], | ||
| "prefer": [ | ||
| "frown", | ||
| "face-frown", | ||
| "cloud-rain", | ||
| "heart-crack" | ||
| ], | ||
| "avoid": [ | ||
| "smile", | ||
| "check" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "angry": { | ||
| "variants": [ | ||
| "angry", | ||
| "flame", | ||
| "alert", | ||
| "x circle" | ||
| ], | ||
| "prefer": [ | ||
| "angry", | ||
| "flame", | ||
| "alert", | ||
| "x-circle" | ||
| ], | ||
| "avoid": [ | ||
| "smile", | ||
| "heart" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "funny": { | ||
| "variants": [ | ||
| "smile", | ||
| "laugh", | ||
| "party", | ||
| "sparkles", | ||
| "game" | ||
| ], | ||
| "prefer": [ | ||
| "smile", | ||
| "laugh", | ||
| "party", | ||
| "sparkles", | ||
| "game" | ||
| ], | ||
| "avoid": [ | ||
| "briefcase", | ||
| "shield" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "playful": { | ||
| "variants": [ | ||
| "sparkles", | ||
| "smile", | ||
| "game", | ||
| "star", | ||
| "heart" | ||
| ], | ||
| "prefer": [ | ||
| "sparkles", | ||
| "smile", | ||
| "game", | ||
| "star", | ||
| "heart" | ||
| ], | ||
| "avoid": [ | ||
| "briefcase", | ||
| "shield" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "calm": { | ||
| "variants": [ | ||
| "moon", | ||
| "leaf", | ||
| "heart", | ||
| "circle", | ||
| "waves" | ||
| ], | ||
| "prefer": [ | ||
| "moon", | ||
| "leaf", | ||
| "heart", | ||
| "circle", | ||
| "waves" | ||
| ], | ||
| "avoid": [ | ||
| "alert", | ||
| "zap", | ||
| "flame" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "chill": { | ||
| "variants": [ | ||
| "snowflake", | ||
| "thermometer", | ||
| "moon", | ||
| "smile", | ||
| "coffee", | ||
| "waves", | ||
| "leaf" | ||
| ], | ||
| "prefer": [ | ||
| "snowflake", | ||
| "thermometer", | ||
| "moon", | ||
| "smile", | ||
| "coffee", | ||
| "waves", | ||
| "leaf" | ||
| ], | ||
| "avoid": [ | ||
| "alert", | ||
| "zap", | ||
| "flame", | ||
| "angry" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "excited": { | ||
| "variants": [ | ||
| "sparkles", | ||
| "party", | ||
| "zap", | ||
| "rocket", | ||
| "star" | ||
| ], | ||
| "prefer": [ | ||
| "sparkles", | ||
| "party", | ||
| "zap", | ||
| "rocket", | ||
| "star" | ||
| ], | ||
| "avoid": [ | ||
| "moon", | ||
| "frown" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "smart": { | ||
| "variants": [ | ||
| "brain", | ||
| "brain circuit", | ||
| "sparkles", | ||
| "lightbulb" | ||
| ], | ||
| "prefer": [ | ||
| "brain-circuit", | ||
| "brain", | ||
| "sparkles", | ||
| "lightbulb" | ||
| ], | ||
| "avoid": [ | ||
| "bug", | ||
| "x-circle", | ||
| "triangle-alert" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "slop": { | ||
| "variants": [ | ||
| "bot off", | ||
| "alert triangle", | ||
| "bug", | ||
| "trash", | ||
| "file warning", | ||
| "circle x" | ||
| ], | ||
| "prefer": [ | ||
| "bot-off", | ||
| "alert-triangle", | ||
| "bug", | ||
| "trash", | ||
| "file-warning", | ||
| "circle-x" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "badge-check", | ||
| "sparkles", | ||
| "star" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "powerful": { | ||
| "variants": [ | ||
| "power", | ||
| "bolt", | ||
| "zap", | ||
| "rocket", | ||
| "gauge", | ||
| "flame" | ||
| ], | ||
| "prefer": [ | ||
| "power", | ||
| "bolt", | ||
| "zap", | ||
| "rocket", | ||
| "gauge", | ||
| "flame" | ||
| ], | ||
| "avoid": [ | ||
| "power-off", | ||
| "battery-low", | ||
| "plug-off", | ||
| "circle-off" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "strong": { | ||
| "variants": [ | ||
| "power", | ||
| "bolt", | ||
| "zap", | ||
| "shield", | ||
| "gauge", | ||
| "dumbbell" | ||
| ], | ||
| "prefer": [ | ||
| "power", | ||
| "bolt", | ||
| "zap", | ||
| "shield", | ||
| "gauge", | ||
| "dumbbell" | ||
| ], | ||
| "avoid": [ | ||
| "power-off", | ||
| "weak", | ||
| "battery-low", | ||
| "plug-off", | ||
| "circle-off" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "stupid": { | ||
| "variants": [ | ||
| "mistake", | ||
| "error", | ||
| "confused", | ||
| "warning", | ||
| "bug", | ||
| "brain off" | ||
| ], | ||
| "prefer": [ | ||
| "bug", | ||
| "triangle-alert", | ||
| "circle-alert", | ||
| "x-circle", | ||
| "brain", | ||
| "face-frown" | ||
| ], | ||
| "avoid": [ | ||
| "brain-circuit", | ||
| "check", | ||
| "badge-check" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "bad": { | ||
| "variants": [ | ||
| "x", | ||
| "x circle", | ||
| "thumbs down", | ||
| "alert", | ||
| "warning" | ||
| ], | ||
| "prefer": [ | ||
| "x", | ||
| "x-circle", | ||
| "thumbs-down", | ||
| "alert", | ||
| "warning" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "badge-check", | ||
| "thumbs-up" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "good": { | ||
| "variants": [ | ||
| "check", | ||
| "thumbs up", | ||
| "badge check", | ||
| "heart", | ||
| "star" | ||
| ], | ||
| "prefer": [ | ||
| "check", | ||
| "thumbs-up", | ||
| "badge-check", | ||
| "heart", | ||
| "star" | ||
| ], | ||
| "avoid": [ | ||
| "x-circle", | ||
| "alert", | ||
| "bug" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "wrong": { | ||
| "variants": [ | ||
| "x", | ||
| "x circle", | ||
| "alert", | ||
| "warning", | ||
| "ban" | ||
| ], | ||
| "prefer": [ | ||
| "x", | ||
| "x-circle", | ||
| "alert", | ||
| "warning", | ||
| "ban" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "badge-check" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "correct": { | ||
| "variants": [ | ||
| "check", | ||
| "check circle", | ||
| "badge check", | ||
| "verified" | ||
| ], | ||
| "prefer": [ | ||
| "check", | ||
| "check-circle", | ||
| "badge-check", | ||
| "verified" | ||
| ], | ||
| "avoid": [ | ||
| "x-circle", | ||
| "alert" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "useful": { | ||
| "variants": [ | ||
| "tool", | ||
| "wrench", | ||
| "check", | ||
| "lightbulb", | ||
| "thumbs up" | ||
| ], | ||
| "prefer": [ | ||
| "tool", | ||
| "wrench", | ||
| "check", | ||
| "lightbulb", | ||
| "thumbs-up" | ||
| ], | ||
| "avoid": [ | ||
| "trash", | ||
| "x-circle" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "useless": { | ||
| "variants": [ | ||
| "trash", | ||
| "ban", | ||
| "x circle", | ||
| "minus circle" | ||
| ], | ||
| "prefer": [ | ||
| "trash", | ||
| "ban", | ||
| "x-circle", | ||
| "minus-circle" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "thumbs-up" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "dangerous": { | ||
| "variants": [ | ||
| "warning", | ||
| "alert", | ||
| "skull", | ||
| "shield alert", | ||
| "zap" | ||
| ], | ||
| "prefer": [ | ||
| "warning", | ||
| "alert", | ||
| "skull", | ||
| "shield-alert", | ||
| "zap" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "shield-check" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "safe": { | ||
| "variants": [ | ||
| "shield check", | ||
| "lock", | ||
| "check circle", | ||
| "badge check" | ||
| ], | ||
| "prefer": [ | ||
| "shield-check", | ||
| "lock", | ||
| "check-circle", | ||
| "badge-check" | ||
| ], | ||
| "avoid": [ | ||
| "alert", | ||
| "unlock", | ||
| "bug" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "broken": { | ||
| "variants": [ | ||
| "error", | ||
| "bug", | ||
| "warning", | ||
| "x circle", | ||
| "wrench" | ||
| ], | ||
| "prefer": [ | ||
| "bug", | ||
| "triangle-alert", | ||
| "circle-alert", | ||
| "x-circle", | ||
| "wrench" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "badge-check" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "suspicious": { | ||
| "variants": [ | ||
| "alert", | ||
| "shield alert", | ||
| "eye", | ||
| "scan", | ||
| "bug" | ||
| ], | ||
| "prefer": [ | ||
| "alert", | ||
| "shield-alert", | ||
| "eye", | ||
| "scan", | ||
| "bug" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "shield-check" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "blocked": { | ||
| "variants": [ | ||
| "ban", | ||
| "lock", | ||
| "x circle", | ||
| "shield x" | ||
| ], | ||
| "prefer": [ | ||
| "ban", | ||
| "lock", | ||
| "x-circle", | ||
| "shield-x" | ||
| ], | ||
| "avoid": [ | ||
| "unlock", | ||
| "check" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "go up": { | ||
| "variants": [ | ||
| "arrow up", | ||
| "chevron up", | ||
| "circle arrow up", | ||
| "move up" | ||
| ], | ||
| "prefer": [ | ||
| "arrow-up", | ||
| "chevron-up", | ||
| "circle-arrow-up", | ||
| "move-up" | ||
| ], | ||
| "avoid": [ | ||
| "arrow-down", | ||
| "chevron-down", | ||
| "move-down" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "confused": { | ||
| "variants": [ | ||
| "circle help", | ||
| "question", | ||
| "frown", | ||
| "brain", | ||
| "alert" | ||
| ], | ||
| "prefer": [ | ||
| "circle-help", | ||
| "question", | ||
| "frown", | ||
| "brain", | ||
| "alert" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "lightbulb" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "analyze": { | ||
| "variants": [ | ||
| "search", | ||
| "chart", | ||
| "scan", | ||
| "activity", | ||
| "microscope" | ||
| ], | ||
| "prefer": [ | ||
| "search", | ||
| "chart", | ||
| "scan", | ||
| "activity", | ||
| "microscope" | ||
| ], | ||
| "avoid": [ | ||
| "trash", | ||
| "x-circle" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "review": { | ||
| "variants": [ | ||
| "clipboard check", | ||
| "eye", | ||
| "search", | ||
| "file check" | ||
| ], | ||
| "prefer": [ | ||
| "clipboard-check", | ||
| "eye", | ||
| "search", | ||
| "file-check" | ||
| ], | ||
| "avoid": [ | ||
| "trash", | ||
| "x-circle" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "optimize": { | ||
| "variants": [ | ||
| "zap", | ||
| "gauge", | ||
| "settings", | ||
| "sliders", | ||
| "rocket" | ||
| ], | ||
| "prefer": [ | ||
| "zap", | ||
| "gauge", | ||
| "settings", | ||
| "sliders", | ||
| "rocket" | ||
| ], | ||
| "avoid": [ | ||
| "bug", | ||
| "x-circle" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "monitor": { | ||
| "variants": [ | ||
| "activity", | ||
| "chart line", | ||
| "pulse", | ||
| "dashboard", | ||
| "gauge", | ||
| "signal" | ||
| ], | ||
| "prefer": [ | ||
| "activity", | ||
| "chart-line", | ||
| "line-chart", | ||
| "pulse", | ||
| "gauge", | ||
| "dashboard" | ||
| ], | ||
| "avoid": [ | ||
| "eye-closed", | ||
| "eye-off" | ||
| ], | ||
| "avoidUnless": [ | ||
| "hide", | ||
| "hidden", | ||
| "visibility", | ||
| "private", | ||
| "privacy", | ||
| "password" | ||
| ] | ||
| }, | ||
| "monitoring": { | ||
| "variants": [ | ||
| "activity", | ||
| "chart line", | ||
| "pulse", | ||
| "dashboard", | ||
| "gauge", | ||
| "signal" | ||
| ], | ||
| "prefer": [ | ||
| "activity", | ||
| "chart-line", | ||
| "line-chart", | ||
| "pulse", | ||
| "gauge", | ||
| "dashboard" | ||
| ], | ||
| "avoid": [ | ||
| "eye-closed", | ||
| "eye-off" | ||
| ], | ||
| "avoidUnless": [ | ||
| "hide", | ||
| "hidden", | ||
| "visibility", | ||
| "private", | ||
| "privacy", | ||
| "password" | ||
| ] | ||
| }, | ||
| "deploy": { | ||
| "variants": [ | ||
| "cloud upload", | ||
| "upload", | ||
| "server", | ||
| "package", | ||
| "send" | ||
| ], | ||
| "prefer": [ | ||
| "cloud-upload", | ||
| "upload", | ||
| "server", | ||
| "package", | ||
| "send" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "deployment": { | ||
| "variants": [ | ||
| "cloud upload", | ||
| "upload", | ||
| "server", | ||
| "package", | ||
| "send" | ||
| ], | ||
| "prefer": [ | ||
| "cloud-upload", | ||
| "upload", | ||
| "server", | ||
| "package", | ||
| "send" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "evaluate": { | ||
| "variants": [ | ||
| "metrics chart", | ||
| "bar chart", | ||
| "gauge", | ||
| "benchmark", | ||
| "checklist" | ||
| ], | ||
| "prefer": [ | ||
| "bar-chart", | ||
| "chart", | ||
| "gauge", | ||
| "check" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "evaluation": { | ||
| "variants": [ | ||
| "metrics chart", | ||
| "bar chart", | ||
| "gauge", | ||
| "benchmark", | ||
| "checklist" | ||
| ], | ||
| "prefer": [ | ||
| "bar-chart", | ||
| "chart", | ||
| "gauge", | ||
| "check" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "compare": { | ||
| "variants": [ | ||
| "columns", | ||
| "split", | ||
| "arrows left right", | ||
| "scale" | ||
| ], | ||
| "prefer": [ | ||
| "columns", | ||
| "split", | ||
| "arrows-left-right", | ||
| "scale" | ||
| ], | ||
| "avoid": [ | ||
| "single", | ||
| "x-circle" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "dataset": { | ||
| "variants": [ | ||
| "data table", | ||
| "database", | ||
| "grid rows columns" | ||
| ], | ||
| "prefer": [ | ||
| "table", | ||
| "database", | ||
| "grid" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "data": { | ||
| "variants": [ | ||
| "database", | ||
| "data table", | ||
| "grid rows columns" | ||
| ], | ||
| "prefer": [ | ||
| "database", | ||
| "table", | ||
| "grid" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "prompt": { | ||
| "variants": [ | ||
| "message text", | ||
| "terminal", | ||
| "input text", | ||
| "text cursor" | ||
| ], | ||
| "prefer": [ | ||
| "message-text", | ||
| "message-square-text", | ||
| "terminal", | ||
| "input", | ||
| "text" | ||
| ], | ||
| "avoid": [ | ||
| "eye" | ||
| ], | ||
| "avoidUnless": [ | ||
| "view", | ||
| "preview", | ||
| "visible", | ||
| "visibility", | ||
| "hide", | ||
| "hidden" | ||
| ] | ||
| }, | ||
| "theme": { | ||
| "variants": [ | ||
| "palette", | ||
| "swatch", | ||
| "sun", | ||
| "moon", | ||
| "sparkles" | ||
| ], | ||
| "prefer": [ | ||
| "palette", | ||
| "swatch", | ||
| "sun", | ||
| "moon", | ||
| "sparkles" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "profile": { | ||
| "variants": [ | ||
| "profile user account person avatar" | ||
| ], | ||
| "prefer": [ | ||
| "user", | ||
| "user-2", | ||
| "user-circle", | ||
| "circle-user", | ||
| "avatar" | ||
| ], | ||
| "avoid": [ | ||
| "user-x", | ||
| "user-minus", | ||
| "user-lock", | ||
| "user-check", | ||
| "user-cog" | ||
| ], | ||
| "avoidUnless": [ | ||
| "remove", | ||
| "delete", | ||
| "block", | ||
| "ban", | ||
| "disable", | ||
| "verify", | ||
| "verified", | ||
| "check", | ||
| "secure", | ||
| "security", | ||
| "settings" | ||
| ] | ||
| }, | ||
| "user": { | ||
| "variants": [ | ||
| "profile user account person avatar" | ||
| ], | ||
| "prefer": [ | ||
| "user", | ||
| "user-2", | ||
| "user-circle", | ||
| "circle-user", | ||
| "avatar" | ||
| ], | ||
| "avoid": [ | ||
| "user-x", | ||
| "user-minus", | ||
| "user-lock", | ||
| "user-check", | ||
| "user-cog" | ||
| ], | ||
| "avoidUnless": [ | ||
| "remove", | ||
| "delete", | ||
| "block", | ||
| "ban", | ||
| "disable", | ||
| "verify", | ||
| "verified", | ||
| "check", | ||
| "secure", | ||
| "security", | ||
| "settings" | ||
| ] | ||
| }, | ||
| "account": { | ||
| "variants": [ | ||
| "profile user account person avatar" | ||
| ], | ||
| "prefer": [ | ||
| "user", | ||
| "user-2", | ||
| "user-circle", | ||
| "circle-user", | ||
| "avatar" | ||
| ], | ||
| "avoid": [ | ||
| "user-x", | ||
| "user-minus", | ||
| "user-lock", | ||
| "user-check" | ||
| ], | ||
| "avoidUnless": [ | ||
| "remove", | ||
| "delete", | ||
| "block", | ||
| "ban", | ||
| "disable", | ||
| "verify", | ||
| "verified", | ||
| "check" | ||
| ] | ||
| }, | ||
| "metrics": { | ||
| "variants": [ | ||
| "bar chart", | ||
| "chart line", | ||
| "gauge", | ||
| "analytics" | ||
| ], | ||
| "prefer": [ | ||
| "chart", | ||
| "gauge", | ||
| "analytics" | ||
| ], | ||
| "avoid": [], | ||
| "avoidUnless": [] | ||
| }, | ||
| "professional": { | ||
| "variants": [ | ||
| "briefcase", | ||
| "building office", | ||
| "shield check", | ||
| "badge check" | ||
| ], | ||
| "prefer": [ | ||
| "briefcase", | ||
| "building", | ||
| "shield", | ||
| "badge" | ||
| ], | ||
| "avoid": [ | ||
| "party", | ||
| "smile", | ||
| "game" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "friendly": { | ||
| "variants": [ | ||
| "smile", | ||
| "heart", | ||
| "message", | ||
| "handshake" | ||
| ], | ||
| "prefer": [ | ||
| "smile", | ||
| "heart", | ||
| "message", | ||
| "handshake" | ||
| ], | ||
| "avoid": [ | ||
| "alert", | ||
| "skull" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "serious": { | ||
| "variants": [ | ||
| "shield", | ||
| "briefcase", | ||
| "lock", | ||
| "file text" | ||
| ], | ||
| "prefer": [ | ||
| "shield", | ||
| "briefcase", | ||
| "lock", | ||
| "file-text" | ||
| ], | ||
| "avoid": [ | ||
| "party", | ||
| "sparkles", | ||
| "smile" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "creative": { | ||
| "variants": [ | ||
| "palette", | ||
| "brush", | ||
| "sparkles", | ||
| "pen tool", | ||
| "wand" | ||
| ], | ||
| "prefer": [ | ||
| "palette", | ||
| "brush", | ||
| "sparkles", | ||
| "pen-tool", | ||
| "wand" | ||
| ], | ||
| "avoid": [ | ||
| "briefcase", | ||
| "lock" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "simple": { | ||
| "variants": [ | ||
| "circle", | ||
| "square", | ||
| "minus", | ||
| "check", | ||
| "layout" | ||
| ], | ||
| "prefer": [ | ||
| "circle", | ||
| "square", | ||
| "minus", | ||
| "check", | ||
| "layout" | ||
| ], | ||
| "avoid": [ | ||
| "sparkles", | ||
| "badge", | ||
| "complex" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "smell": { | ||
| "variants": [ | ||
| "smell", | ||
| "scent", | ||
| "air", | ||
| "odor", | ||
| "stink", | ||
| "nose", | ||
| "wind", | ||
| "cloud", | ||
| "trash", | ||
| "alert", | ||
| "bad smell", | ||
| "dirty air" | ||
| ], | ||
| "prefer": [ | ||
| "nose", | ||
| "air", | ||
| "cloud", | ||
| "wind", | ||
| "trash", | ||
| "alert" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "badge-check", | ||
| "sparkles" | ||
| ], | ||
| "avoidUnless": [] | ||
| }, | ||
| "smelly": { | ||
| "variants": [ | ||
| "smelly", | ||
| "bad smell", | ||
| "odor", | ||
| "stink", | ||
| "dirty", | ||
| "trash", | ||
| "alert", | ||
| "nose", | ||
| "cloud", | ||
| "air", | ||
| "wind", | ||
| "smell", | ||
| "scent", | ||
| "dirty air" | ||
| ], | ||
| "prefer": [ | ||
| "nose", | ||
| "air", | ||
| "cloud", | ||
| "wind", | ||
| "trash", | ||
| "alert" | ||
| ], | ||
| "avoid": [ | ||
| "check", | ||
| "badge-check", | ||
| "sparkles" | ||
| ], | ||
| "avoidUnless": [] | ||
| } | ||
| }); | ||
| export const GENERATED_INTENT_RULES=Object.freeze({beautiful:{variants:["design theme","palette","swatch","sparkles","star","heart","flower"],prefer:["palette","swatch","sparkles","star","heart","flower"],avoid:[],avoidUnless:[]},pretty:{variants:["design theme","palette","sparkles","star","heart","flower"],prefer:["palette","sparkles","star","heart","flower"],avoid:[],avoidUnless:[]},elegant:{variants:["design theme","sparkles","diamond","star","palette"],prefer:["sparkles","diamond","star","palette"],avoid:["bug","x-circle","triangle-alert"],avoidUnless:[]},modern:{variants:["sparkles","layout","grid","palette","zap"],prefer:["sparkles","layout","grid","palette","zap"],avoid:["archive","history"],avoidUnless:[]},stylish:{variants:["palette","swatch","sparkles","star","wand"],prefer:["palette","swatch","sparkles","star","wand"],avoid:["bug","warning"],avoidUnless:[]},minimal:{variants:["minus","circle","square","layout","align"],prefer:["minus","circle","square","layout","align"],avoid:["sparkles","party","badge"],avoidUnless:[]},clean:{variants:["sparkles","brush","eraser","check","layout"],prefer:["sparkles","brush","eraser","check","layout"],avoid:["bug","x-circle","trash"],avoidUnless:[]},premium:{variants:["crown","diamond","star","badge","sparkles"],prefer:["crown","diamond","star","badge","sparkles"],avoid:["free","gift"],avoidUnless:[]},happy:{variants:["smile","face smile","heart","sparkles","thumbs up"],prefer:["smile","face-smile","heart","sparkles","thumbs-up"],avoid:["frown","angry","x-circle"],avoidUnless:[]},sad:{variants:["frown","face frown","cloud rain","heart crack"],prefer:["frown","face-frown","cloud-rain","heart-crack"],avoid:["smile","check"],avoidUnless:[]},angry:{variants:["angry","flame","alert","x circle"],prefer:["angry","flame","alert","x-circle"],avoid:["smile","heart"],avoidUnless:[]},funny:{variants:["smile","laugh","party","sparkles","game"],prefer:["smile","laugh","party","sparkles","game"],avoid:["briefcase","shield"],avoidUnless:[]},playful:{variants:["sparkles","smile","game","star","heart"],prefer:["sparkles","smile","game","star","heart"],avoid:["briefcase","shield"],avoidUnless:[]},calm:{variants:["moon","leaf","heart","circle","waves"],prefer:["moon","leaf","heart","circle","waves"],avoid:["alert","zap","flame"],avoidUnless:[]},chill:{variants:["snowflake","thermometer","moon","smile","coffee","waves","leaf"],prefer:["snowflake","thermometer","moon","smile","coffee","waves","leaf"],avoid:["alert","zap","flame","angry"],avoidUnless:[]},excited:{variants:["sparkles","party","zap","rocket","star"],prefer:["sparkles","party","zap","rocket","star"],avoid:["moon","frown"],avoidUnless:[]},smart:{variants:["brain","brain circuit","sparkles","lightbulb"],prefer:["brain-circuit","brain","sparkles","lightbulb"],avoid:["bug","x-circle","triangle-alert"],avoidUnless:[]},slop:{variants:["bot off","alert triangle","bug","trash","file warning","circle x"],prefer:["bot-off","alert-triangle","bug","trash","file-warning","circle-x"],avoid:["check","badge-check","sparkles","star"],avoidUnless:[]},powerful:{variants:["power","bolt","zap","rocket","gauge","flame"],prefer:["power","bolt","zap","rocket","gauge","flame"],avoid:["power-off","battery-low","plug-off","circle-off"],avoidUnless:[]},strong:{variants:["power","bolt","zap","shield","gauge","dumbbell"],prefer:["power","bolt","zap","shield","gauge","dumbbell"],avoid:["power-off","weak","battery-low","plug-off","circle-off"],avoidUnless:[]},stupid:{variants:["mistake","error","confused","warning","bug","brain off"],prefer:["bug","triangle-alert","circle-alert","x-circle","brain","face-frown"],avoid:["brain-circuit","check","badge-check"],avoidUnless:[]},bad:{variants:["x","x circle","thumbs down","alert","warning"],prefer:["x","x-circle","thumbs-down","alert","warning"],avoid:["check","badge-check","thumbs-up"],avoidUnless:[]},good:{variants:["check","thumbs up","badge check","heart","star"],prefer:["check","thumbs-up","badge-check","heart","star"],avoid:["x-circle","alert","bug"],avoidUnless:[]},wrong:{variants:["x","x circle","alert","warning","ban"],prefer:["x","x-circle","alert","warning","ban"],avoid:["check","badge-check"],avoidUnless:[]},correct:{variants:["check","check circle","badge check","verified"],prefer:["check","check-circle","badge-check","verified"],avoid:["x-circle","alert"],avoidUnless:[]},useful:{variants:["tool","wrench","check","lightbulb","thumbs up"],prefer:["tool","wrench","check","lightbulb","thumbs-up"],avoid:["trash","x-circle"],avoidUnless:[]},useless:{variants:["trash","ban","x circle","minus circle"],prefer:["trash","ban","x-circle","minus-circle"],avoid:["check","thumbs-up"],avoidUnless:[]},dangerous:{variants:["warning","alert","skull","shield alert","zap"],prefer:["warning","alert","skull","shield-alert","zap"],avoid:["check","shield-check"],avoidUnless:[]},safe:{variants:["shield check","lock","check circle","badge check"],prefer:["shield-check","lock","check-circle","badge-check"],avoid:["alert","unlock","bug"],avoidUnless:[]},broken:{variants:["error","bug","warning","x circle","wrench"],prefer:["bug","triangle-alert","circle-alert","x-circle","wrench"],avoid:["check","badge-check"],avoidUnless:[]},suspicious:{variants:["alert","shield alert","eye","scan","bug"],prefer:["alert","shield-alert","eye","scan","bug"],avoid:["check","shield-check"],avoidUnless:[]},blocked:{variants:["ban","lock","x circle","shield x"],prefer:["ban","lock","x-circle","shield-x"],avoid:["unlock","check"],avoidUnless:[]},"go up":{variants:["arrow up","chevron up","circle arrow up","move up"],prefer:["arrow-up","chevron-up","circle-arrow-up","move-up"],avoid:["arrow-down","chevron-down","move-down"],avoidUnless:[]},confused:{variants:["circle help","question","frown","brain","alert"],prefer:["circle-help","question","frown","brain","alert"],avoid:["check","lightbulb"],avoidUnless:[]},analyze:{variants:["search","chart","scan","activity","microscope"],prefer:["search","chart","scan","activity","microscope"],avoid:["trash","x-circle"],avoidUnless:[]},review:{variants:["clipboard check","eye","search","file check"],prefer:["clipboard-check","eye","search","file-check"],avoid:["trash","x-circle"],avoidUnless:[]},optimize:{variants:["zap","gauge","settings","sliders","rocket"],prefer:["zap","gauge","settings","sliders","rocket"],avoid:["bug","x-circle"],avoidUnless:[]},monitor:{variants:["activity","chart line","pulse","dashboard","gauge","signal"],prefer:["activity","chart-line","line-chart","pulse","gauge","dashboard"],avoid:["eye-closed","eye-off"],avoidUnless:["hide","hidden","visibility","private","privacy","password"]},monitoring:{variants:["activity","chart line","pulse","dashboard","gauge","signal"],prefer:["activity","chart-line","line-chart","pulse","gauge","dashboard"],avoid:["eye-closed","eye-off"],avoidUnless:["hide","hidden","visibility","private","privacy","password"]},deploy:{variants:["cloud upload","upload","server","package","send"],prefer:["cloud-upload","upload","server","package","send"],avoid:[],avoidUnless:[]},deployment:{variants:["cloud upload","upload","server","package","send"],prefer:["cloud-upload","upload","server","package","send"],avoid:[],avoidUnless:[]},evaluate:{variants:["metrics chart","bar chart","gauge","benchmark","checklist"],prefer:["bar-chart","chart","gauge","check"],avoid:[],avoidUnless:[]},evaluation:{variants:["metrics chart","bar chart","gauge","benchmark","checklist"],prefer:["bar-chart","chart","gauge","check"],avoid:[],avoidUnless:[]},compare:{variants:["columns","split","arrows left right","scale"],prefer:["columns","split","arrows-left-right","scale"],avoid:["single","x-circle"],avoidUnless:[]},dataset:{variants:["data table","database","grid rows columns"],prefer:["table","database","grid"],avoid:[],avoidUnless:[]},data:{variants:["database","data table","grid rows columns"],prefer:["database","table","grid"],avoid:[],avoidUnless:[]},prompt:{variants:["message text","terminal","input text","text cursor"],prefer:["message-text","message-square-text","terminal","input","text"],avoid:["eye"],avoidUnless:["view","preview","visible","visibility","hide","hidden"]},theme:{variants:["palette","swatch","sun","moon","sparkles"],prefer:["palette","swatch","sun","moon","sparkles"],avoid:[],avoidUnless:[]},profile:{variants:["profile user account person avatar"],prefer:["user","user-2","user-circle","circle-user","avatar"],avoid:["user-x","user-minus","user-lock","user-check","user-cog"],avoidUnless:["remove","delete","block","ban","disable","verify","verified","check","secure","security","settings"]},user:{variants:["profile user account person avatar"],prefer:["user","user-2","user-circle","circle-user","avatar"],avoid:["user-x","user-minus","user-lock","user-check","user-cog"],avoidUnless:["remove","delete","block","ban","disable","verify","verified","check","secure","security","settings"]},account:{variants:["profile user account person avatar"],prefer:["user","user-2","user-circle","circle-user","avatar"],avoid:["user-x","user-minus","user-lock","user-check"],avoidUnless:["remove","delete","block","ban","disable","verify","verified","check"]},metrics:{variants:["bar chart","chart line","gauge","analytics"],prefer:["chart","gauge","analytics"],avoid:[],avoidUnless:[]},professional:{variants:["briefcase","building office","shield check","badge check"],prefer:["briefcase","building","shield","badge"],avoid:["party","smile","game"],avoidUnless:[]},friendly:{variants:["smile","heart","message","handshake"],prefer:["smile","heart","message","handshake"],avoid:["alert","skull"],avoidUnless:[]},serious:{variants:["shield","briefcase","lock","file text"],prefer:["shield","briefcase","lock","file-text"],avoid:["party","sparkles","smile"],avoidUnless:[]},creative:{variants:["palette","brush","sparkles","pen tool","wand"],prefer:["palette","brush","sparkles","pen-tool","wand"],avoid:["briefcase","lock"],avoidUnless:[]},simple:{variants:["circle","square","minus","check","layout"],prefer:["circle","square","minus","check","layout"],avoid:["sparkles","badge","complex"],avoidUnless:[]},smell:{variants:["smell","scent","air","odor","stink","nose","wind","cloud","trash","alert","bad smell","dirty air"],prefer:["nose","air","cloud","wind","trash","alert"],avoid:["check","badge-check","sparkles"],avoidUnless:[]},smelly:{variants:["smelly","bad smell","odor","stink","dirty","trash","alert","nose","cloud","air","wind","smell","scent","dirty air"],prefer:["nose","air","cloud","wind","trash","alert"],avoid:["check","badge-check","sparkles"],avoidUnless:[]}}); |
@@ -1,2050 +0,1 @@ | ||
| // Generated by scripts/build-search-ranking-policy.mjs | ||
| // Do not edit by hand. Edit data/search-intent-graph/ranking-policy.json instead. | ||
| export const GENERATED_SEARCH_RANKING_POLICY = Object.freeze({ | ||
| "version": 1, | ||
| "maintainer": "owner_approved_search_policy", | ||
| "change_evidence": "data/semantic-search-v2/evaluation-set.json", | ||
| "brand_intent_terms": [ | ||
| "logo", | ||
| "logos", | ||
| "brand", | ||
| "brands", | ||
| "wordmark", | ||
| "mark", | ||
| "marks" | ||
| ], | ||
| "brand_identity_wrapper_terms": [ | ||
| "logo", | ||
| "logos", | ||
| "icon", | ||
| "icons", | ||
| "brand", | ||
| "brands", | ||
| "wordmark", | ||
| "mark", | ||
| "marks", | ||
| "symbol", | ||
| "symbols" | ||
| ], | ||
| "brand_identity_noise_terms": [ | ||
| "official" | ||
| ], | ||
| "candidate_strength_policy": { | ||
| "expressive_fallback_tags": [ | ||
| "meme", | ||
| "humor", | ||
| "trending-culture" | ||
| ], | ||
| "broad_match_penalty": 25 | ||
| }, | ||
| "interpretation_families": [ | ||
| { | ||
| "id": "greeting_gesture", | ||
| "label": "Greeting gesture", | ||
| "retrieval_queries": [ | ||
| "waving hand", | ||
| "raised hand", | ||
| "wave" | ||
| ], | ||
| "candidate_terms": [ | ||
| "wave", | ||
| "waving", | ||
| "raised hand", | ||
| "hand" | ||
| ], | ||
| "context_terms": [ | ||
| "onboarding", | ||
| "welcome", | ||
| "friendly", | ||
| "gesture", | ||
| "hand" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "friendly_face", | ||
| "label": "Friendly face", | ||
| "retrieval_queries": [ | ||
| "smile", | ||
| "friendly face" | ||
| ], | ||
| "candidate_terms": [ | ||
| "smile", | ||
| "smiling", | ||
| "happy", | ||
| "face" | ||
| ], | ||
| "context_terms": [ | ||
| "onboarding", | ||
| "welcome", | ||
| "friendly", | ||
| "face", | ||
| "smile" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "communication", | ||
| "label": "Message or conversation", | ||
| "retrieval_queries": [ | ||
| "chat", | ||
| "message", | ||
| "speech bubble" | ||
| ], | ||
| "candidate_terms": [ | ||
| "chat", | ||
| "message", | ||
| "speech", | ||
| "conversation", | ||
| "reply" | ||
| ], | ||
| "context_terms": [ | ||
| "say", | ||
| "message", | ||
| "chat", | ||
| "conversation", | ||
| "talk", | ||
| "speech" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "written_greeting", | ||
| "label": "Written greeting", | ||
| "retrieval_queries": [ | ||
| "text", | ||
| "typography" | ||
| ], | ||
| "candidate_terms": [ | ||
| "text", | ||
| "type", | ||
| "typography", | ||
| "letter" | ||
| ], | ||
| "context_terms": [ | ||
| "text", | ||
| "written", | ||
| "type", | ||
| "typography", | ||
| "pixel", | ||
| "retro" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "spoken_greeting", | ||
| "label": "Spoken greeting", | ||
| "retrieval_queries": [ | ||
| "mouth", | ||
| "voice", | ||
| "speaking face" | ||
| ], | ||
| "candidate_terms": [ | ||
| "mouth", | ||
| "lips", | ||
| "voice", | ||
| "speaking", | ||
| "speech" | ||
| ], | ||
| "context_terms": [ | ||
| "mouth", | ||
| "lips", | ||
| "voice", | ||
| "spoken", | ||
| "speaking" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "pixel_display", | ||
| "label": "Pixel display", | ||
| "retrieval_queries": [ | ||
| "pixel", | ||
| "display" | ||
| ], | ||
| "candidate_terms": [ | ||
| "pixel", | ||
| "display", | ||
| "monitor", | ||
| "screen" | ||
| ], | ||
| "context_terms": [ | ||
| "pixel", | ||
| "retro", | ||
| "display" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "game_dialogue", | ||
| "label": "Game dialogue", | ||
| "retrieval_queries": [ | ||
| "game dialogue", | ||
| "terminal message" | ||
| ], | ||
| "candidate_terms": [ | ||
| "game", | ||
| "dialogue", | ||
| "terminal", | ||
| "message" | ||
| ], | ||
| "context_terms": [ | ||
| "game", | ||
| "dialogue", | ||
| "pixel", | ||
| "retro" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "speed_motion", | ||
| "label": "Speed or motion", | ||
| "retrieval_queries": [ | ||
| "speed", | ||
| "fast arrow", | ||
| "motion" | ||
| ], | ||
| "candidate_terms": [ | ||
| "speed", | ||
| "fast", | ||
| "motion", | ||
| "gauge", | ||
| "rocket", | ||
| "zap" | ||
| ], | ||
| "context_terms": [ | ||
| "speed", | ||
| "fast", | ||
| "motion", | ||
| "performance" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "brand_identity", | ||
| "label": "Brand identity", | ||
| "retrieval_queries": [ | ||
| "swift brand" | ||
| ], | ||
| "candidate_terms": [ | ||
| "brand", | ||
| "logo", | ||
| "swift" | ||
| ], | ||
| "context_terms": [ | ||
| "brand", | ||
| "logo", | ||
| "wordmark" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "love_affection", | ||
| "label": "Love or affection", | ||
| "retrieval_queries": [ | ||
| "love", | ||
| "heart", | ||
| "favorite" | ||
| ], | ||
| "candidate_terms": [ | ||
| "love", | ||
| "heart", | ||
| "favorite", | ||
| "affection", | ||
| "romance" | ||
| ], | ||
| "context_terms": [ | ||
| "love", | ||
| "heart", | ||
| "favorite", | ||
| "affection", | ||
| "romance" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "data_analysis", | ||
| "label": "Data or analysis", | ||
| "retrieval_queries": [ | ||
| "analytics", | ||
| "chart" | ||
| ], | ||
| "candidate_terms": [ | ||
| "analysis", | ||
| "analytics", | ||
| "chart", | ||
| "insights", | ||
| "data" | ||
| ], | ||
| "context_terms": [ | ||
| "analysis", | ||
| "analytics", | ||
| "benchmark", | ||
| "chart", | ||
| "data" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "electrical_power", | ||
| "label": "Lightning or power", | ||
| "retrieval_queries": [ | ||
| "lightning", | ||
| "battery bolt" | ||
| ], | ||
| "candidate_terms": [ | ||
| "lightning", | ||
| "battery", | ||
| "electric", | ||
| "power", | ||
| "zap" | ||
| ], | ||
| "context_terms": [ | ||
| "lightning", | ||
| "electric", | ||
| "power", | ||
| "energy" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "cohesion_connection", | ||
| "label": "Join or connect", | ||
| "retrieval_queries": [ | ||
| "link", | ||
| "connection" | ||
| ], | ||
| "candidate_terms": [ | ||
| "link", | ||
| "connection", | ||
| "join", | ||
| "merge", | ||
| "unite" | ||
| ], | ||
| "context_terms": [ | ||
| "join", | ||
| "connect", | ||
| "merge", | ||
| "unite", | ||
| "together" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "bird_animal", | ||
| "label": "Bird or animal", | ||
| "retrieval_queries": [ | ||
| "bird", | ||
| "duck" | ||
| ], | ||
| "candidate_terms": [ | ||
| "bird", | ||
| "duck", | ||
| "animal" | ||
| ], | ||
| "context_terms": [ | ||
| "bird", | ||
| "animal", | ||
| "wildlife" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "source_code", | ||
| "label": "Source code", | ||
| "retrieval_queries": [ | ||
| "source code", | ||
| "code" | ||
| ], | ||
| "candidate_terms": [ | ||
| "source code", | ||
| "code", | ||
| "code blocks", | ||
| "terminal" | ||
| ], | ||
| "context_terms": [ | ||
| "source", | ||
| "code", | ||
| "developer", | ||
| "programming" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "pine_nature", | ||
| "label": "Pine tree or nature", | ||
| "retrieval_queries": [ | ||
| "pine tree", | ||
| "tree pine" | ||
| ], | ||
| "candidate_terms": [ | ||
| "pine tree", | ||
| "tree pine", | ||
| "tree", | ||
| "nature" | ||
| ], | ||
| "context_terms": [ | ||
| "pine", | ||
| "tree", | ||
| "nature", | ||
| "forest" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "key_object", | ||
| "label": "Key object", | ||
| "retrieval_queries": [ | ||
| "key", | ||
| "key round" | ||
| ], | ||
| "candidate_terms": [ | ||
| "key", | ||
| "keys" | ||
| ], | ||
| "context_terms": [ | ||
| "key", | ||
| "unlock", | ||
| "magic" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "airport_runway", | ||
| "label": "Airport runway", | ||
| "retrieval_queries": [ | ||
| "plane takeoff", | ||
| "airport" | ||
| ], | ||
| "candidate_terms": [ | ||
| "plane takeoff", | ||
| "airplane takeoff", | ||
| "flight takeoff", | ||
| "airport", | ||
| "plane" | ||
| ], | ||
| "context_terms": [ | ||
| "airport", | ||
| "plane", | ||
| "flight", | ||
| "takeoff" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "fashion_runway", | ||
| "label": "Fashion runway", | ||
| "retrieval_queries": [ | ||
| "clothes hanger", | ||
| "shirt" | ||
| ], | ||
| "candidate_terms": [ | ||
| "clothes hanger", | ||
| "hanger", | ||
| "shirt", | ||
| "dress", | ||
| "fashion" | ||
| ], | ||
| "context_terms": [ | ||
| "fashion", | ||
| "model", | ||
| "clothing", | ||
| "show" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "workshop_craft", | ||
| "label": "Workshop or craft", | ||
| "retrieval_queries": [ | ||
| "hammer", | ||
| "anvil" | ||
| ], | ||
| "candidate_terms": [ | ||
| "hammer", | ||
| "anvil", | ||
| "workshop", | ||
| "tools" | ||
| ], | ||
| "context_terms": [ | ||
| "smith", | ||
| "workshop", | ||
| "craft", | ||
| "forge" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "theatre_stage", | ||
| "label": "Theatre or stage work", | ||
| "retrieval_queries": [ | ||
| "spotlight", | ||
| "theater masks" | ||
| ], | ||
| "candidate_terms": [ | ||
| "spotlight", | ||
| "theater", | ||
| "theatre", | ||
| "masks", | ||
| "stage" | ||
| ], | ||
| "context_terms": [ | ||
| "theatre", | ||
| "theater", | ||
| "stage", | ||
| "show" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "time_concept", | ||
| "label": "Time", | ||
| "retrieval_queries": [ | ||
| "clock", | ||
| "time" | ||
| ], | ||
| "candidate_terms": [ | ||
| "clock", | ||
| "time", | ||
| "hourglass", | ||
| "history" | ||
| ], | ||
| "context_terms": [ | ||
| "time", | ||
| "clock", | ||
| "duration", | ||
| "history" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "understanding_insight", | ||
| "label": "Understanding or insight", | ||
| "retrieval_queries": [ | ||
| "brain", | ||
| "insight" | ||
| ], | ||
| "candidate_terms": [ | ||
| "brain", | ||
| "insight", | ||
| "idea", | ||
| "understand" | ||
| ], | ||
| "context_terms": [ | ||
| "understand", | ||
| "insight", | ||
| "knowledge", | ||
| "idea" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "book_manuscript", | ||
| "label": "Book or manuscript", | ||
| "retrieval_queries": [ | ||
| "book", | ||
| "scroll" | ||
| ], | ||
| "candidate_terms": [ | ||
| "book", | ||
| "scroll", | ||
| "manuscript", | ||
| "library" | ||
| ], | ||
| "context_terms": [ | ||
| "book", | ||
| "manuscript", | ||
| "ancient", | ||
| "library" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "selection_control", | ||
| "label": "Selection control", | ||
| "retrieval_queries": [ | ||
| "select", | ||
| "dropdown", | ||
| "list select" | ||
| ], | ||
| "candidate_terms": [ | ||
| "select", | ||
| "dropdown", | ||
| "chooser", | ||
| "selector", | ||
| "list" | ||
| ], | ||
| "context_terms": [ | ||
| "select", | ||
| "selection", | ||
| "control", | ||
| "option" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "color_picker", | ||
| "label": "Color picker", | ||
| "retrieval_queries": [ | ||
| "color picker", | ||
| "eyedropper" | ||
| ], | ||
| "candidate_terms": [ | ||
| "color picker", | ||
| "eyedropper", | ||
| "palette", | ||
| "color" | ||
| ], | ||
| "context_terms": [ | ||
| "color", | ||
| "colour", | ||
| "palette" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "date_time_picker", | ||
| "label": "Date or time picker", | ||
| "retrieval_queries": [ | ||
| "date picker", | ||
| "time picker", | ||
| "calendar clock" | ||
| ], | ||
| "candidate_terms": [ | ||
| "date", | ||
| "time", | ||
| "calendar", | ||
| "clock" | ||
| ], | ||
| "context_terms": [ | ||
| "date", | ||
| "time", | ||
| "calendar", | ||
| "schedule" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "file_picker", | ||
| "label": "File picker", | ||
| "retrieval_queries": [ | ||
| "file select", | ||
| "folder open" | ||
| ], | ||
| "candidate_terms": [ | ||
| "file", | ||
| "folder", | ||
| "upload", | ||
| "browse" | ||
| ], | ||
| "context_terms": [ | ||
| "file", | ||
| "folder", | ||
| "upload", | ||
| "browse" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "emoji_picker", | ||
| "label": "Emoji picker", | ||
| "retrieval_queries": [ | ||
| "emoji", | ||
| "smile" | ||
| ], | ||
| "candidate_terms": [ | ||
| "emoji", | ||
| "smile", | ||
| "face", | ||
| "emoticon" | ||
| ], | ||
| "context_terms": [ | ||
| "emoji", | ||
| "emoticon", | ||
| "reaction" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "software_execution", | ||
| "label": "Run code or start a process", | ||
| "retrieval_queries": [ | ||
| "play circle", | ||
| "terminal", | ||
| "code execution" | ||
| ], | ||
| "candidate_terms": [ | ||
| "play", | ||
| "start", | ||
| "terminal", | ||
| "code", | ||
| "command", | ||
| "process" | ||
| ], | ||
| "context_terms": [ | ||
| "app", | ||
| "automation", | ||
| "build", | ||
| "code", | ||
| "command", | ||
| "developer", | ||
| "process", | ||
| "script", | ||
| "test", | ||
| "workflow" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "physical_running", | ||
| "label": "Running or exercise", | ||
| "retrieval_queries": [ | ||
| "person running", | ||
| "activity", | ||
| "sprint" | ||
| ], | ||
| "candidate_terms": [ | ||
| "running", | ||
| "runner", | ||
| "exercise", | ||
| "activity", | ||
| "sprint" | ||
| ], | ||
| "context_terms": [ | ||
| "activity", | ||
| "exercise", | ||
| "fitness", | ||
| "jog", | ||
| "race", | ||
| "sport", | ||
| "sprint", | ||
| "workout" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "settings_control", | ||
| "label": "Settings control", | ||
| "retrieval_queries": [ | ||
| "cog", | ||
| "gear", | ||
| "settings" | ||
| ], | ||
| "candidate_terms": [ | ||
| "cog", | ||
| "gear", | ||
| "settings" | ||
| ], | ||
| "context_terms": [] | ||
| }, | ||
| { | ||
| "id": "reply_action", | ||
| "label": "Reply action", | ||
| "retrieval_queries": [ | ||
| "reply", | ||
| "message reply", | ||
| "respond", | ||
| "arrow bend up left" | ||
| ], | ||
| "candidate_terms": [ | ||
| "reply", | ||
| "respond", | ||
| "message reply" | ||
| ], | ||
| "candidate_icon_refs": [ | ||
| "phosphor:arrow-bend-up-left" | ||
| ], | ||
| "context_terms": [] | ||
| }, | ||
| { | ||
| "id": "search_zoom", | ||
| "label": "Search or zoom", | ||
| "retrieval_queries": [ | ||
| "search", | ||
| "magnifying glass", | ||
| "zoom" | ||
| ], | ||
| "candidate_terms": [ | ||
| "search", | ||
| "magnifier", | ||
| "magnifying", | ||
| "zoom" | ||
| ], | ||
| "context_terms": [] | ||
| }, | ||
| { | ||
| "id": "alarm_clock", | ||
| "label": "Alarm or alarm clock", | ||
| "retrieval_queries": [ | ||
| "alarm", | ||
| "alarm clock" | ||
| ], | ||
| "candidate_terms": [ | ||
| "alarm", | ||
| "alarm clock" | ||
| ], | ||
| "context_terms": [] | ||
| }, | ||
| { | ||
| "id": "alert_warning", | ||
| "label": "Alert or warning", | ||
| "retrieval_queries": [ | ||
| "alert", | ||
| "warning", | ||
| "triangle alert" | ||
| ], | ||
| "candidate_terms": [ | ||
| "alert", | ||
| "warning", | ||
| "triangle alert", | ||
| "circle alert" | ||
| ], | ||
| "context_terms": [] | ||
| }, | ||
| { | ||
| "id": "bell_notification", | ||
| "label": "Bell or notification", | ||
| "retrieval_queries": [ | ||
| "bell", | ||
| "notification" | ||
| ], | ||
| "candidate_terms": [ | ||
| "bell", | ||
| "notification" | ||
| ], | ||
| "context_terms": [] | ||
| } | ||
| ], | ||
| "query_policies": [ | ||
| { | ||
| "id": "hello", | ||
| "trigger_terms": [ | ||
| "hello" | ||
| ], | ||
| "match": "token", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "context_intent_types": [ | ||
| "context_narrowed_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "greeting_gesture", | ||
| "friendly_face", | ||
| "communication", | ||
| "written_greeting" | ||
| ], | ||
| "minimum_distinct_families_top_8": 3, | ||
| "context_family_order": [ | ||
| "spoken_greeting", | ||
| "communication", | ||
| "written_greeting", | ||
| "pixel_display", | ||
| "game_dialogue", | ||
| "greeting_gesture", | ||
| "friendly_face" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "swift", | ||
| "trigger_terms": [ | ||
| "swift" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "speed_motion", | ||
| "brand_identity" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2 | ||
| }, | ||
| { | ||
| "id": "lovable", | ||
| "trigger_terms": [ | ||
| "lovable" | ||
| ], | ||
| "match": "token", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "context_intent_types": [ | ||
| "context_narrowed_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "love_affection" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "context_family_order": [ | ||
| "brand_identity", | ||
| "love_affection" | ||
| ], | ||
| "avoid_candidate_terms": [ | ||
| "boxing glove" | ||
| ], | ||
| "retrieval_queries_by_trigger": { | ||
| "lovable": { | ||
| "brand_identity": [ | ||
| "lovable" | ||
| ], | ||
| "love_affection": [ | ||
| "love", | ||
| "heart", | ||
| "favorite" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "artificial-analysis-brand-collision", | ||
| "trigger_terms": [ | ||
| "artificial analysis" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "data_analysis" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "artificial analysis": { | ||
| "brand_identity": [ | ||
| "artificial analysis" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "bolt-brand-collision", | ||
| "trigger_terms": [ | ||
| "bolt" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "electrical_power", | ||
| "speed_motion" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "bolt": { | ||
| "brand_identity": [ | ||
| "bolt" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "cohere-brand-collision", | ||
| "trigger_terms": [ | ||
| "cohere" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "cohesion_connection" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "cohere": { | ||
| "brand_identity": [ | ||
| "cohere" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "goose-brand-collision", | ||
| "trigger_terms": [ | ||
| "goose" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "bird_animal" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "goose": { | ||
| "brand_identity": [ | ||
| "goose" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "opencode-brand-collision", | ||
| "trigger_terms": [ | ||
| "opencode", | ||
| "open code" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "source_code" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "opencode": { | ||
| "brand_identity": [ | ||
| "opencode" | ||
| ] | ||
| }, | ||
| "open code": { | ||
| "brand_identity": [ | ||
| "open code" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "pinecone-brand-collision", | ||
| "trigger_terms": [ | ||
| "pinecone" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "pine_nature" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "pinecone": { | ||
| "brand_identity": [ | ||
| "pinecone" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "portkey-brand-collision", | ||
| "trigger_terms": [ | ||
| "portkey" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "key_object" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "portkey": { | ||
| "brand_identity": [ | ||
| "portkey" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "runway-brand-collision", | ||
| "trigger_terms": [ | ||
| "runway" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "airport_runway", | ||
| "fashion_runway" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "runway": { | ||
| "brand_identity": [ | ||
| "runway" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "smithery-brand-collision", | ||
| "trigger_terms": [ | ||
| "smithery" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "workshop_craft" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "smithery": { | ||
| "brand_identity": [ | ||
| "smithery" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "stagehand-brand-collision", | ||
| "trigger_terms": [ | ||
| "stagehand" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "theatre_stage" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "stagehand": { | ||
| "brand_identity": [ | ||
| "stagehand" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "temporal-brand-collision", | ||
| "trigger_terms": [ | ||
| "temporal" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "time_concept" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "temporal": { | ||
| "brand_identity": [ | ||
| "temporal" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "grok-brand-collision", | ||
| "trigger_terms": [ | ||
| "grok" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "understanding_insight" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "grok": { | ||
| "brand_identity": [ | ||
| "grok" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "codex-brand-collision", | ||
| "trigger_terms": [ | ||
| "codex" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "brand_identity", | ||
| "book_manuscript" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "retrieval_queries_by_trigger": { | ||
| "codex": { | ||
| "brand_identity": [ | ||
| "codex" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "picker", | ||
| "trigger_terms": [ | ||
| "picker" | ||
| ], | ||
| "match": "token", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "context_intent_types": [ | ||
| "context_narrowed_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "selection_control", | ||
| "color_picker", | ||
| "date_time_picker", | ||
| "file_picker", | ||
| "emoji_picker" | ||
| ], | ||
| "minimum_distinct_families_top_8": 3, | ||
| "context_family_order": [ | ||
| "color_picker", | ||
| "date_time_picker", | ||
| "file_picker", | ||
| "emoji_picker", | ||
| "selection_control" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "run", | ||
| "trigger_terms": [ | ||
| "run" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ambiguous_concept" | ||
| ], | ||
| "context_intent_types": [ | ||
| "context_narrowed_concept" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "software_execution", | ||
| "physical_running" | ||
| ], | ||
| "minimum_distinct_families_top_8": 2, | ||
| "context_family_order": [ | ||
| "software_execution", | ||
| "physical_running" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "cog", | ||
| "trigger_terms": [ | ||
| "cog" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "literal_object" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "settings_control" | ||
| ], | ||
| "minimum_distinct_families_top_8": 1, | ||
| "avoid_candidate_terms": [ | ||
| "incognito" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "reply", | ||
| "trigger_terms": [ | ||
| "respond", | ||
| "reply" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "object_action" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "reply_action" | ||
| ], | ||
| "minimum_distinct_families_top_8": 1, | ||
| "avoid_candidate_terms": [ | ||
| "threads" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "selection-control", | ||
| "trigger_terms": [ | ||
| "combobox", | ||
| "dropdown", | ||
| "select", | ||
| "chooser" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "ui_slot" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "selection_control" | ||
| ], | ||
| "minimum_distinct_families_top_8": 1, | ||
| "retrieval_queries_by_trigger": { | ||
| "combobox": { | ||
| "selection_control": [ | ||
| "chevron down", | ||
| "dropdown", | ||
| "list select" | ||
| ] | ||
| }, | ||
| "dropdown": { | ||
| "selection_control": [ | ||
| "dropdown", | ||
| "chevron down", | ||
| "list" | ||
| ] | ||
| }, | ||
| "select": { | ||
| "selection_control": [ | ||
| "select", | ||
| "box select", | ||
| "cursor select" | ||
| ] | ||
| }, | ||
| "chooser": { | ||
| "selection_control": [ | ||
| "file select", | ||
| "dropdown", | ||
| "color picker" | ||
| ] | ||
| } | ||
| }, | ||
| "avoid_candidate_terms_by_trigger": { | ||
| "combobox": [ | ||
| "radioactive", | ||
| "color picker", | ||
| "lasso" | ||
| ], | ||
| "dropdown": [ | ||
| "radioactive", | ||
| "book open", | ||
| "open source" | ||
| ], | ||
| "select": [ | ||
| "radioactive" | ||
| ], | ||
| "chooser": [] | ||
| } | ||
| }, | ||
| { | ||
| "id": "magnifier", | ||
| "trigger_terms": [ | ||
| "magnifier" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "literal_object" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "search_zoom" | ||
| ], | ||
| "minimum_distinct_families_top_8": 1 | ||
| }, | ||
| { | ||
| "id": "alarm", | ||
| "trigger_terms": [ | ||
| "alarm" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "status_feedback" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "alarm_clock" | ||
| ], | ||
| "minimum_distinct_families_top_8": 1, | ||
| "avoid_candidate_terms": [ | ||
| "barbell" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "alert", | ||
| "trigger_terms": [ | ||
| "alert" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "status_feedback" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "alert_warning" | ||
| ], | ||
| "minimum_distinct_families_top_8": 1, | ||
| "avoid_candidate_terms": [ | ||
| "barbell" | ||
| ] | ||
| }, | ||
| { | ||
| "id": "bell", | ||
| "trigger_terms": [ | ||
| "bell" | ||
| ], | ||
| "match": "exact", | ||
| "bare_intent_types": [ | ||
| "status_feedback" | ||
| ], | ||
| "bare_query_family_ids": [ | ||
| "bell_notification" | ||
| ], | ||
| "minimum_distinct_families_top_8": 1, | ||
| "avoid_candidate_terms": [ | ||
| "barbell" | ||
| ] | ||
| } | ||
| ], | ||
| "brand_terms": [ | ||
| { | ||
| "term": "hellofresh", | ||
| "aliases": [ | ||
| "hello fresh" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "simpleicons:hellofresh" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "artificial analysis", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:artificial-analysis" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "artificialanalysis", | ||
| "aliases": [ | ||
| "artificialanalysis ai" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:artificial-analysis" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "base44", | ||
| "aliases": [ | ||
| "base 44" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:base44" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "bolt", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:bolt" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "bolt new", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:bolt" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "bridgemind", | ||
| "aliases": [ | ||
| "bridge mind", | ||
| "bridgemind ai" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:bridgemind-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "browserbase", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "browser base" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:browserbase" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "capcut", | ||
| "aliases": [ | ||
| "cap cut" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:capcut" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "cartesia", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:cartesia" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "cohere", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:cohere" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "cohere ai", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:cohere" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "context7", | ||
| "aliases": [ | ||
| "context 7" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:context7" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "devin", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:devin" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "devin ai", | ||
| "aliases": [ | ||
| "cognition devin" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:devin" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "exa", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:exa" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "exa ai", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:exa" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "factory ai", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "factory" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:factory-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "fal ai", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "fal" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:fal-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "firecrawl", | ||
| "aliases": [ | ||
| "fire crawl" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:firecrawl" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "glama", | ||
| "aliases": [ | ||
| "glama ai" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:glama" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "google ai studio", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "ai studio" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:google-ai-studio" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "google antigravity", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "antigravity" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:google-antigravity" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "goose", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:goose" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "goose ai", | ||
| "aliases": [ | ||
| "block goose" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:goose" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "hermes agent", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "hermes" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:hermes-agent" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "heygen", | ||
| "aliases": [ | ||
| "hey gen" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:heygen" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "higgsfield", | ||
| "aliases": [ | ||
| "higgsfield ai" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:higgsfield" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "inngest", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:inngest" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "kickbacks ai", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "kickbacks" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:kickbacks-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "kilo code", | ||
| "aliases": [ | ||
| "kilocode" | ||
| ], | ||
| "blocked_aliases": [ | ||
| "kilo" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:kilo-code" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "kimi", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:kimi" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "kimi ai", | ||
| "aliases": [ | ||
| "moonshot kimi" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:kimi" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "kling ai", | ||
| "aliases": [ | ||
| "klingai" | ||
| ], | ||
| "blocked_aliases": [ | ||
| "kling" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:kling-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "lovable", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:lovable" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "luma ai", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "luma" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:luma-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "manus ai", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "manus" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:manus-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "mobbin", | ||
| "aliases": [ | ||
| "mobbin design" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:mobbin" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "openai codex", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:openai-codex-app" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "codex", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:openai-codex-app" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "openclaw", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "open claw" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:openclaw" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "opencode", | ||
| "aliases": [ | ||
| "open code" | ||
| ], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:opencode" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "opencode ai", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:opencode" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "pika", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:pika" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "pika ai", | ||
| "aliases": [ | ||
| "pika labs" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:pika" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "pinecone", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:pinecone" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "pinecone db", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:pinecone" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "pixverse", | ||
| "aliases": [ | ||
| "pixverse ai" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:pixverse" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "portkey", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:portkey" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "portkey ai", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:portkey" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "runway", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:runway" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "runway ai", | ||
| "aliases": [ | ||
| "runway ml" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:runway" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "shadcn", | ||
| "aliases": [ | ||
| "shadcn ui" | ||
| ], | ||
| "blocked_aliases": [ | ||
| "components" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:shadcn-ui" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "smithery", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:smithery" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "smithery ai", | ||
| "aliases": [ | ||
| "smithery mcp" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:smithery" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "stagehand", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:stagehand" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "browserbase stagehand", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:stagehand" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "stepfun", | ||
| "aliases": [ | ||
| "step fun" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:stepfun" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "suno", | ||
| "aliases": [ | ||
| "suno ai" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:suno-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "supericons", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "super icons" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:supericons" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "temporal", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:temporal" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "temporal io", | ||
| "aliases": [], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:temporal" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "trae", | ||
| "aliases": [ | ||
| "trae ai" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:trae" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "vercel eve", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "eve" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:vercel-eve" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "xai", | ||
| "aliases": [ | ||
| "x ai" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:x-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "grok", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "si:grok" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "grok ai", | ||
| "aliases": [ | ||
| "xai grok" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:grok" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "xiaomi mimo", | ||
| "aliases": [], | ||
| "blocked_aliases": [ | ||
| "mimo" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:xiaomi-mimo" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "z ai", | ||
| "aliases": [ | ||
| "zai" | ||
| ], | ||
| "blocked_aliases": [ | ||
| "glm" | ||
| ], | ||
| "match_class": "distinctive_exact", | ||
| "icon_refs": [ | ||
| "si:z-ai" | ||
| ] | ||
| }, | ||
| { | ||
| "term": "swift", | ||
| "aliases": [], | ||
| "match_class": "ambiguous_exact", | ||
| "icon_refs": [ | ||
| "simpleicons:swift", | ||
| "iconoir:apple-swift", | ||
| "tabler:brand-swift" | ||
| ] | ||
| } | ||
| ] | ||
| }); | ||
| export const GENERATED_SEARCH_RANKING_POLICY=Object.freeze({version:1,maintainer:"owner_approved_search_policy",change_evidence:"data/semantic-search-v2/evaluation-set.json",brand_intent_terms:["logo","logos","brand","brands","wordmark","mark","marks"],brand_identity_wrapper_terms:["logo","logos","icon","icons","brand","brands","wordmark","mark","marks","symbol","symbols"],brand_identity_noise_terms:["official"],candidate_strength_policy:{expressive_fallback_tags:["meme","humor","trending-culture"],broad_match_penalty:25},interpretation_families:[{id:"greeting_gesture",label:"Greeting gesture",retrieval_queries:["waving hand","raised hand","wave"],candidate_terms:["wave","waving","raised hand","hand"],context_terms:["onboarding","welcome","friendly","gesture","hand"]},{id:"friendly_face",label:"Friendly face",retrieval_queries:["smile","friendly face"],candidate_terms:["smile","smiling","happy","face"],context_terms:["onboarding","welcome","friendly","face","smile"]},{id:"communication",label:"Message or conversation",retrieval_queries:["chat","message","speech bubble"],candidate_terms:["chat","message","speech","conversation","reply"],context_terms:["say","message","chat","conversation","talk","speech"]},{id:"written_greeting",label:"Written greeting",retrieval_queries:["text","typography"],candidate_terms:["text","type","typography","letter"],context_terms:["text","written","type","typography","pixel","retro"]},{id:"spoken_greeting",label:"Spoken greeting",retrieval_queries:["mouth","voice","speaking face"],candidate_terms:["mouth","lips","voice","speaking","speech"],context_terms:["mouth","lips","voice","spoken","speaking"]},{id:"pixel_display",label:"Pixel display",retrieval_queries:["pixel","display"],candidate_terms:["pixel","display","monitor","screen"],context_terms:["pixel","retro","display"]},{id:"game_dialogue",label:"Game dialogue",retrieval_queries:["game dialogue","terminal message"],candidate_terms:["game","dialogue","terminal","message"],context_terms:["game","dialogue","pixel","retro"]},{id:"speed_motion",label:"Speed or motion",retrieval_queries:["speed","fast arrow","motion"],candidate_terms:["speed","fast","motion","gauge","rocket","zap"],context_terms:["speed","fast","motion","performance"]},{id:"brand_identity",label:"Brand identity",retrieval_queries:["swift brand"],candidate_terms:["brand","logo","swift"],context_terms:["brand","logo","wordmark"]},{id:"love_affection",label:"Love or affection",retrieval_queries:["love","heart","favorite"],candidate_terms:["love","heart","favorite","affection","romance"],context_terms:["love","heart","favorite","affection","romance"]},{id:"data_analysis",label:"Data or analysis",retrieval_queries:["analytics","chart"],candidate_terms:["analysis","analytics","chart","insights","data"],context_terms:["analysis","analytics","benchmark","chart","data"]},{id:"electrical_power",label:"Lightning or power",retrieval_queries:["lightning","battery bolt"],candidate_terms:["lightning","battery","electric","power","zap"],context_terms:["lightning","electric","power","energy"]},{id:"cohesion_connection",label:"Join or connect",retrieval_queries:["link","connection"],candidate_terms:["link","connection","join","merge","unite"],context_terms:["join","connect","merge","unite","together"]},{id:"bird_animal",label:"Bird or animal",retrieval_queries:["bird","duck"],candidate_terms:["bird","duck","animal"],context_terms:["bird","animal","wildlife"]},{id:"source_code",label:"Source code",retrieval_queries:["source code","code"],candidate_terms:["source code","code","code blocks","terminal"],context_terms:["source","code","developer","programming"]},{id:"pine_nature",label:"Pine tree or nature",retrieval_queries:["pine tree","tree pine"],candidate_terms:["pine tree","tree pine","tree","nature"],context_terms:["pine","tree","nature","forest"]},{id:"key_object",label:"Key object",retrieval_queries:["key","key round"],candidate_terms:["key","keys"],context_terms:["key","unlock","magic"]},{id:"airport_runway",label:"Airport runway",retrieval_queries:["plane takeoff","airport"],candidate_terms:["plane takeoff","airplane takeoff","flight takeoff","airport","plane"],context_terms:["airport","plane","flight","takeoff"]},{id:"fashion_runway",label:"Fashion runway",retrieval_queries:["clothes hanger","shirt"],candidate_terms:["clothes hanger","hanger","shirt","dress","fashion"],context_terms:["fashion","model","clothing","show"]},{id:"workshop_craft",label:"Workshop or craft",retrieval_queries:["hammer","anvil"],candidate_terms:["hammer","anvil","workshop","tools"],context_terms:["smith","workshop","craft","forge"]},{id:"theatre_stage",label:"Theatre or stage work",retrieval_queries:["spotlight","theater masks"],candidate_terms:["spotlight","theater","theatre","masks","stage"],context_terms:["theatre","theater","stage","show"]},{id:"time_concept",label:"Time",retrieval_queries:["clock","time"],candidate_terms:["clock","time","hourglass","history"],context_terms:["time","clock","duration","history"]},{id:"understanding_insight",label:"Understanding or insight",retrieval_queries:["brain","insight"],candidate_terms:["brain","insight","idea","understand"],context_terms:["understand","insight","knowledge","idea"]},{id:"book_manuscript",label:"Book or manuscript",retrieval_queries:["book","scroll"],candidate_terms:["book","scroll","manuscript","library"],context_terms:["book","manuscript","ancient","library"]},{id:"selection_control",label:"Selection control",retrieval_queries:["select","dropdown","list select"],candidate_terms:["select","dropdown","chooser","selector","list"],context_terms:["select","selection","control","option"]},{id:"color_picker",label:"Color picker",retrieval_queries:["color picker","eyedropper"],candidate_terms:["color picker","eyedropper","palette","color"],context_terms:["color","colour","palette"]},{id:"date_time_picker",label:"Date or time picker",retrieval_queries:["date picker","time picker","calendar clock"],candidate_terms:["date","time","calendar","clock"],context_terms:["date","time","calendar","schedule"]},{id:"file_picker",label:"File picker",retrieval_queries:["file select","folder open"],candidate_terms:["file","folder","upload","browse"],context_terms:["file","folder","upload","browse"]},{id:"emoji_picker",label:"Emoji picker",retrieval_queries:["emoji","smile"],candidate_terms:["emoji","smile","face","emoticon"],context_terms:["emoji","emoticon","reaction"]},{id:"software_execution",label:"Run code or start a process",retrieval_queries:["play circle","terminal","code execution"],candidate_terms:["play","start","terminal","code","command","process"],context_terms:["app","automation","build","code","command","developer","process","script","test","workflow"]},{id:"physical_running",label:"Running or exercise",retrieval_queries:["person running","activity","sprint"],candidate_terms:["running","runner","exercise","activity","sprint"],context_terms:["activity","exercise","fitness","jog","race","sport","sprint","workout"]},{id:"settings_control",label:"Settings control",retrieval_queries:["cog","gear","settings"],candidate_terms:["cog","gear","settings"],context_terms:[]},{id:"reply_action",label:"Reply action",retrieval_queries:["reply","message reply","respond","arrow bend up left"],candidate_terms:["reply","respond","message reply"],candidate_icon_refs:["phosphor:arrow-bend-up-left"],context_terms:[]},{id:"search_zoom",label:"Search or zoom",retrieval_queries:["search","magnifying glass","zoom"],candidate_terms:["search","magnifier","magnifying","zoom"],context_terms:[]},{id:"alarm_clock",label:"Alarm or alarm clock",retrieval_queries:["alarm","alarm clock"],candidate_terms:["alarm","alarm clock"],context_terms:[]},{id:"alert_warning",label:"Alert or warning",retrieval_queries:["alert","warning","triangle alert"],candidate_terms:["alert","warning","triangle alert","circle alert"],context_terms:[]},{id:"bell_notification",label:"Bell or notification",retrieval_queries:["bell","notification"],candidate_terms:["bell","notification"],context_terms:[]}],query_policies:[{id:"hello",trigger_terms:["hello"],match:"token",bare_intent_types:["ambiguous_concept"],context_intent_types:["context_narrowed_concept"],bare_query_family_ids:["greeting_gesture","friendly_face","communication","written_greeting"],minimum_distinct_families_top_8:3,context_family_order:["spoken_greeting","communication","written_greeting","pixel_display","game_dialogue","greeting_gesture","friendly_face"]},{id:"swift",trigger_terms:["swift"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["speed_motion","brand_identity"],minimum_distinct_families_top_8:2},{id:"lovable",trigger_terms:["lovable"],match:"token",bare_intent_types:["ambiguous_concept"],context_intent_types:["context_narrowed_concept"],bare_query_family_ids:["brand_identity","love_affection"],minimum_distinct_families_top_8:2,context_family_order:["brand_identity","love_affection"],avoid_candidate_terms:["boxing glove"],retrieval_queries_by_trigger:{lovable:{brand_identity:["lovable"],love_affection:["love","heart","favorite"]}}},{id:"artificial-analysis-brand-collision",trigger_terms:["artificial analysis"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","data_analysis"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{"artificial analysis":{brand_identity:["artificial analysis"]}}},{id:"bolt-brand-collision",trigger_terms:["bolt"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","electrical_power","speed_motion"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{bolt:{brand_identity:["bolt"]}}},{id:"cohere-brand-collision",trigger_terms:["cohere"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","cohesion_connection"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{cohere:{brand_identity:["cohere"]}}},{id:"goose-brand-collision",trigger_terms:["goose"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","bird_animal"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{goose:{brand_identity:["goose"]}}},{id:"opencode-brand-collision",trigger_terms:["opencode","open code"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","source_code"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{opencode:{brand_identity:["opencode"]},"open code":{brand_identity:["open code"]}}},{id:"pinecone-brand-collision",trigger_terms:["pinecone"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","pine_nature"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{pinecone:{brand_identity:["pinecone"]}}},{id:"portkey-brand-collision",trigger_terms:["portkey"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","key_object"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{portkey:{brand_identity:["portkey"]}}},{id:"runway-brand-collision",trigger_terms:["runway"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","airport_runway","fashion_runway"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{runway:{brand_identity:["runway"]}}},{id:"smithery-brand-collision",trigger_terms:["smithery"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","workshop_craft"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{smithery:{brand_identity:["smithery"]}}},{id:"stagehand-brand-collision",trigger_terms:["stagehand"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","theatre_stage"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{stagehand:{brand_identity:["stagehand"]}}},{id:"temporal-brand-collision",trigger_terms:["temporal"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","time_concept"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{temporal:{brand_identity:["temporal"]}}},{id:"grok-brand-collision",trigger_terms:["grok"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","understanding_insight"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{grok:{brand_identity:["grok"]}}},{id:"codex-brand-collision",trigger_terms:["codex"],match:"exact",bare_intent_types:["ambiguous_concept"],bare_query_family_ids:["brand_identity","book_manuscript"],minimum_distinct_families_top_8:2,retrieval_queries_by_trigger:{codex:{brand_identity:["codex"]}}},{id:"picker",trigger_terms:["picker"],match:"token",bare_intent_types:["ambiguous_concept"],context_intent_types:["context_narrowed_concept"],bare_query_family_ids:["selection_control","color_picker","date_time_picker","file_picker","emoji_picker"],minimum_distinct_families_top_8:3,context_family_order:["color_picker","date_time_picker","file_picker","emoji_picker","selection_control"]},{id:"run",trigger_terms:["run"],match:"exact",bare_intent_types:["ambiguous_concept"],context_intent_types:["context_narrowed_concept"],bare_query_family_ids:["software_execution","physical_running"],minimum_distinct_families_top_8:2,context_family_order:["software_execution","physical_running"]},{id:"cog",trigger_terms:["cog"],match:"exact",bare_intent_types:["literal_object"],bare_query_family_ids:["settings_control"],minimum_distinct_families_top_8:1,avoid_candidate_terms:["incognito"]},{id:"reply",trigger_terms:["respond","reply"],match:"exact",bare_intent_types:["object_action"],bare_query_family_ids:["reply_action"],minimum_distinct_families_top_8:1,avoid_candidate_terms:["threads"]},{id:"selection-control",trigger_terms:["combobox","dropdown","select","chooser"],match:"exact",bare_intent_types:["ui_slot"],bare_query_family_ids:["selection_control"],minimum_distinct_families_top_8:1,retrieval_queries_by_trigger:{combobox:{selection_control:["chevron down","dropdown","list select"]},dropdown:{selection_control:["dropdown","chevron down","list"]},select:{selection_control:["select","box select","cursor select"]},chooser:{selection_control:["file select","dropdown","color picker"]}},avoid_candidate_terms_by_trigger:{combobox:["radioactive","color picker","lasso"],dropdown:["radioactive","book open","open source"],select:["radioactive"],chooser:[]}},{id:"magnifier",trigger_terms:["magnifier"],match:"exact",bare_intent_types:["literal_object"],bare_query_family_ids:["search_zoom"],minimum_distinct_families_top_8:1},{id:"alarm",trigger_terms:["alarm"],match:"exact",bare_intent_types:["status_feedback"],bare_query_family_ids:["alarm_clock"],minimum_distinct_families_top_8:1,avoid_candidate_terms:["barbell"]},{id:"alert",trigger_terms:["alert"],match:"exact",bare_intent_types:["status_feedback"],bare_query_family_ids:["alert_warning"],minimum_distinct_families_top_8:1,avoid_candidate_terms:["barbell"]},{id:"bell",trigger_terms:["bell"],match:"exact",bare_intent_types:["status_feedback"],bare_query_family_ids:["bell_notification"],minimum_distinct_families_top_8:1,avoid_candidate_terms:["barbell"]}],brand_terms:[{term:"hellofresh",aliases:["hello fresh"],match_class:"distinctive_exact",icon_refs:["simpleicons:hellofresh"]},{term:"artificial analysis",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:artificial-analysis"]},{term:"artificialanalysis",aliases:["artificialanalysis ai"],match_class:"distinctive_exact",icon_refs:["si:artificial-analysis"]},{term:"base44",aliases:["base 44"],match_class:"distinctive_exact",icon_refs:["si:base44"]},{term:"bolt",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:bolt"]},{term:"bolt new",aliases:[],match_class:"distinctive_exact",icon_refs:["si:bolt"]},{term:"bridgemind",aliases:["bridge mind","bridgemind ai"],match_class:"distinctive_exact",icon_refs:["si:bridgemind-ai"]},{term:"browserbase",aliases:[],blocked_aliases:["browser base"],match_class:"distinctive_exact",icon_refs:["si:browserbase"]},{term:"capcut",aliases:["cap cut"],match_class:"distinctive_exact",icon_refs:["si:capcut"]},{term:"cartesia",aliases:[],match_class:"distinctive_exact",icon_refs:["si:cartesia"]},{term:"cohere",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:cohere"]},{term:"cohere ai",aliases:[],match_class:"distinctive_exact",icon_refs:["si:cohere"]},{term:"context7",aliases:["context 7"],match_class:"distinctive_exact",icon_refs:["si:context7"]},{term:"devin",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:devin"]},{term:"devin ai",aliases:["cognition devin"],match_class:"distinctive_exact",icon_refs:["si:devin"]},{term:"exa",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:exa"]},{term:"exa ai",aliases:[],match_class:"distinctive_exact",icon_refs:["si:exa"]},{term:"factory ai",aliases:[],blocked_aliases:["factory"],match_class:"distinctive_exact",icon_refs:["si:factory-ai"]},{term:"fal ai",aliases:[],blocked_aliases:["fal"],match_class:"distinctive_exact",icon_refs:["si:fal-ai"]},{term:"firecrawl",aliases:["fire crawl"],match_class:"distinctive_exact",icon_refs:["si:firecrawl"]},{term:"glama",aliases:["glama ai"],match_class:"distinctive_exact",icon_refs:["si:glama"]},{term:"google ai studio",aliases:[],blocked_aliases:["ai studio"],match_class:"distinctive_exact",icon_refs:["si:google-ai-studio"]},{term:"google antigravity",aliases:[],blocked_aliases:["antigravity"],match_class:"distinctive_exact",icon_refs:["si:google-antigravity"]},{term:"goose",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:goose"]},{term:"goose ai",aliases:["block goose"],match_class:"distinctive_exact",icon_refs:["si:goose"]},{term:"hermes agent",aliases:[],blocked_aliases:["hermes"],match_class:"distinctive_exact",icon_refs:["si:hermes-agent"]},{term:"heygen",aliases:["hey gen"],match_class:"distinctive_exact",icon_refs:["si:heygen"]},{term:"higgsfield",aliases:["higgsfield ai"],match_class:"distinctive_exact",icon_refs:["si:higgsfield"]},{term:"inngest",aliases:[],match_class:"distinctive_exact",icon_refs:["si:inngest"]},{term:"kickbacks ai",aliases:[],blocked_aliases:["kickbacks"],match_class:"distinctive_exact",icon_refs:["si:kickbacks-ai"]},{term:"kilo code",aliases:["kilocode"],blocked_aliases:["kilo"],match_class:"distinctive_exact",icon_refs:["si:kilo-code"]},{term:"kimi",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:kimi"]},{term:"kimi ai",aliases:["moonshot kimi"],match_class:"distinctive_exact",icon_refs:["si:kimi"]},{term:"kling ai",aliases:["klingai"],blocked_aliases:["kling"],match_class:"distinctive_exact",icon_refs:["si:kling-ai"]},{term:"lovable",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:lovable"]},{term:"luma ai",aliases:[],blocked_aliases:["luma"],match_class:"distinctive_exact",icon_refs:["si:luma-ai"]},{term:"manus ai",aliases:[],blocked_aliases:["manus"],match_class:"distinctive_exact",icon_refs:["si:manus-ai"]},{term:"mobbin",aliases:["mobbin design"],match_class:"distinctive_exact",icon_refs:["si:mobbin"]},{term:"openai codex",aliases:[],match_class:"distinctive_exact",icon_refs:["si:openai-codex-app"]},{term:"codex",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:openai-codex-app"]},{term:"openclaw",aliases:[],blocked_aliases:["open claw"],match_class:"distinctive_exact",icon_refs:["si:openclaw"]},{term:"opencode",aliases:["open code"],match_class:"ambiguous_exact",icon_refs:["si:opencode"]},{term:"opencode ai",aliases:[],match_class:"distinctive_exact",icon_refs:["si:opencode"]},{term:"pika",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:pika"]},{term:"pika ai",aliases:["pika labs"],match_class:"distinctive_exact",icon_refs:["si:pika"]},{term:"pinecone",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:pinecone"]},{term:"pinecone db",aliases:[],match_class:"distinctive_exact",icon_refs:["si:pinecone"]},{term:"pixverse",aliases:["pixverse ai"],match_class:"distinctive_exact",icon_refs:["si:pixverse"]},{term:"portkey",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:portkey"]},{term:"portkey ai",aliases:[],match_class:"distinctive_exact",icon_refs:["si:portkey"]},{term:"runway",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:runway"]},{term:"runway ai",aliases:["runway ml"],match_class:"distinctive_exact",icon_refs:["si:runway"]},{term:"shadcn",aliases:["shadcn ui"],blocked_aliases:["components"],match_class:"distinctive_exact",icon_refs:["si:shadcn-ui"]},{term:"smithery",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:smithery"]},{term:"smithery ai",aliases:["smithery mcp"],match_class:"distinctive_exact",icon_refs:["si:smithery"]},{term:"stagehand",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:stagehand"]},{term:"browserbase stagehand",aliases:[],match_class:"distinctive_exact",icon_refs:["si:stagehand"]},{term:"stepfun",aliases:["step fun"],match_class:"distinctive_exact",icon_refs:["si:stepfun"]},{term:"suno",aliases:["suno ai"],match_class:"distinctive_exact",icon_refs:["si:suno-ai"]},{term:"supericons",aliases:[],blocked_aliases:["super icons"],match_class:"distinctive_exact",icon_refs:["si:supericons"]},{term:"temporal",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:temporal"]},{term:"temporal io",aliases:[],match_class:"distinctive_exact",icon_refs:["si:temporal"]},{term:"trae",aliases:["trae ai"],match_class:"distinctive_exact",icon_refs:["si:trae"]},{term:"vercel eve",aliases:[],blocked_aliases:["eve"],match_class:"distinctive_exact",icon_refs:["si:vercel-eve"]},{term:"xai",aliases:["x ai"],match_class:"distinctive_exact",icon_refs:["si:x-ai"]},{term:"grok",aliases:[],match_class:"ambiguous_exact",icon_refs:["si:grok"]},{term:"grok ai",aliases:["xai grok"],match_class:"distinctive_exact",icon_refs:["si:grok"]},{term:"xiaomi mimo",aliases:[],blocked_aliases:["mimo"],match_class:"distinctive_exact",icon_refs:["si:xiaomi-mimo"]},{term:"z ai",aliases:["zai"],blocked_aliases:["glm"],match_class:"distinctive_exact",icon_refs:["si:z-ai"]},{term:"swift",aliases:[],match_class:"ambiguous_exact",icon_refs:["simpleicons:swift","iconoir:apple-swift","tabler:brand-swift"]}]}); |
@@ -368,3 +368,5 @@ /** | ||
| function getExactBrandIdentityResults(query, icons, synonyms, options = {}) { | ||
| for (const identityQuery of getBrandIdentityQueryVariants(query)) { | ||
| for (const identityQuery of getBrandIdentityQueryVariants(query, { | ||
| includeExactBrandContextVariant: options.includeExactBrandContextVariant === true, | ||
| })) { | ||
| if (!identityQuery) continue; | ||
@@ -888,2 +890,3 @@ | ||
| style, | ||
| includeExactBrandContextVariant: options.includeExactBrandContextVariant === true, | ||
| }); | ||
@@ -921,2 +924,3 @@ return rerankSearchCandidatesAtFusion(query, exactBrandResults, { | ||
| style, | ||
| includeExactBrandContextVariant: options.includeExactBrandContextVariant === true, | ||
| }); | ||
@@ -1160,2 +1164,3 @@ if (exactBrandResults.length > 0) { | ||
| style, | ||
| includeExactBrandContextVariant: options.includeExactBrandContextVariant === true, | ||
| }); | ||
@@ -1162,0 +1167,0 @@ if (fallbackResults.length === 0) return normalResults; |
@@ -8,2 +8,4 @@ import { GENERATED_SEARCH_RANKING_POLICY } from './generated-search-ranking-policy.js'; | ||
| const brandIdentityNoiseTerms = new Set(policy.brand_identity_noise_terms || []); | ||
| const DIRECT_SEARCH_BRAND_CONTEXT_TRIGGERS = new Set(['brand', 'logo', 'wordmark']); | ||
| const MAX_DIRECT_SEARCH_BRAND_IDENTITY_WORDS = 4; | ||
| const expressiveFallbackTags = new Set( | ||
@@ -163,2 +165,5 @@ (policy.candidate_strength_policy?.expressive_fallback_tags || []).map(normalizeSearchRankingText), | ||
| normalizedQuery, | ||
| ...(options.includeExactBrandContextVariant === true | ||
| ? getDirectSearchBrandContextVariants(query) | ||
| : []), | ||
| ...(plan?.families || []).map((family) => | ||
@@ -237,4 +242,16 @@ (family.retrieval_queries || []) | ||
| export function getBrandIdentityQueryVariants(query) { | ||
| function getDirectSearchBrandContextVariants(query) { | ||
| const tokens = tokenize(query); | ||
| const triggerIndex = tokens.findIndex((token) => DIRECT_SEARCH_BRAND_CONTEXT_TRIGGERS.has(token)); | ||
| if (triggerIndex <= 0) return []; | ||
| const identityTokens = tokens | ||
| .slice(0, triggerIndex) | ||
| .filter((token) => !brandIdentityWrapperTerms.has(token) && !brandIdentityNoiseTerms.has(token)) | ||
| .slice(-MAX_DIRECT_SEARCH_BRAND_IDENTITY_WORDS); | ||
| return identityTokens.length > 0 ? [identityTokens.join(' ')] : []; | ||
| } | ||
| export function getBrandIdentityQueryVariants(query, options = {}) { | ||
| const tokens = tokenize(query); | ||
| const exactCandidateTokens = tokens.filter((token) => !brandIdentityWrapperTerms.has(token)); | ||
@@ -247,2 +264,5 @@ const fallbackCandidateTokens = exactCandidateTokens.filter( | ||
| fallbackCandidateTokens.join(' '), | ||
| ...(options.includeExactBrandContextVariant === true | ||
| ? getDirectSearchBrandContextVariants(query) | ||
| : []), | ||
| ]); | ||
@@ -249,0 +269,0 @@ } |
+2
-2
@@ -10,3 +10,3 @@ { | ||
| }, | ||
| "version": "0.4.35", | ||
| "version": "0.4.36", | ||
| "remotes": [ | ||
@@ -22,3 +22,3 @@ { | ||
| "identifier": "@supericons/mcp", | ||
| "version": "0.4.35", | ||
| "version": "0.4.36", | ||
| "transport": { | ||
@@ -25,0 +25,0 @@ "type": "stdio" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
2
-33.33%26129915
-0.87%101649
-18.4%6
100%75
1.35%