id: paste_extract
name: "Paste & Extract"
description: "Extrae entidades y relaciones de texto pegado en el panel Extract. Cascada: extract_iocs (regex) + GLiNER + GLiREL si estan disponibles, fallback a solo regex. Modo preview (no escribe). El panel C++ procesa el JSON y persiste lo seleccionado via entity_ops."
applies_to: []
emits: [Email, IPAddress, Domain, FileHash, CryptoWallet, CVE, MACAddress, Phone, Person, Organization, Location]
relations: []
uses_functions:
  - extract_iocs_py_cybersecurity
  - extract_graph_hybrid_py_pipelines
params:
  - { name: text,         type: string, default: "",     description: "Texto a analizar (lo pasa el panel)" }
  - { name: types,        type: string, default: "",     description: "CSV de tipos IoC; vacio = todos" }
  - { name: max_entities, type: int,    default: 200 }
  - { name: use_hybrid,   type: bool,   default: "false", description: "Si true intenta cargar GLiNER/GLiREL" }
