@signaliz/cli 1.0.64 → 1.0.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -26,8 +26,7 @@ signaliz verify-email jane@example.com --dry-run --json
26
26
  # Return early when a provider check runs long, then resume the exact run
27
27
  signaliz verify-email jane@example.com --no-wait --json
28
28
  signaliz verify-email --verification-run-id run_... --json
29
- signaliz company-signals --domain example.com --research-prompt "expansion priorities"
30
- signaliz company-signals --domain example.com --research-prompt "expansion priorities"
29
+ signaliz company-signals --domain example.com
31
30
  signaliz signal-to-copy \
32
31
  --company-domain example.com \
33
32
  --person-name "Jane Doe" \
package/dist/bin.js CHANGED
@@ -388,10 +388,8 @@ function publicCompanySignalRows(value, fallbackCompany) {
388
388
  const eventId = signalText(
389
389
  signal.event_id || signal.eventId || signal.fact_id || signal.factId || raw.event_id || raw.eventId || raw.fact_id || raw.factId
390
390
  ).toLowerCase();
391
- const identities = [
392
- ...eventId ? [`event:${eventId}`] : [],
393
- `source:${row.source.toLowerCase()}`
394
- ];
391
+ const title = row.signal_title.toLowerCase().replace(/https?:\/\/\S+/g, " ").replace(/[^a-z0-9$.\s]+/g, " ").replace(/\s+/g, " ").trim();
392
+ const identities = eventId ? [`event:${eventId}`] : title && row.date ? [`event:${title}|${row.date}`] : [`source:${row.source.toLowerCase()}`];
395
393
  if (identities.some((identity) => seenEvents.has(identity))) continue;
396
394
  identities.forEach((identity) => seenEvents.add(identity));
397
395
  rows.push(row);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signaliz/cli",
3
- "version": "1.0.64",
3
+ "version": "1.0.66",
4
4
  "description": "Signaliz CLI for Company Signal Enrichment, Signals First, Signal Awareness, Signal to Copy AI, and Signaliz Flow.",
5
5
  "bin": {
6
6
  "signaliz": "dist/bin.js"