@signaliz/cli 1.0.47 → 1.0.49
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 +11 -7
- package/dist/bin.js +10 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ Failed result lines preserve `errorCode`, `retryEligible`, and
|
|
|
68
68
|
`retryAfterSeconds` when the API supplies recovery guidance.
|
|
69
69
|
|
|
70
70
|
If a single request or batch submission response is lost, rerun the same
|
|
71
|
-
command with `--idempotency-key <key>` to recover the original request or
|
|
71
|
+
command with `--idempotency-key <key>` to recover the original request or durable job
|
|
72
72
|
without duplicate work. Add `--dry-run` to any product command, including one
|
|
73
73
|
using `--input`, to receive a conservative credit ceiling without provider
|
|
74
74
|
calls, jobs, writes, or spend.
|
|
@@ -76,12 +76,16 @@ calls, jobs, writes, or spend.
|
|
|
76
76
|
Batch input is capped at 5,000 records, concurrency is bounded to `1-50`, input
|
|
77
77
|
order is preserved, and a failed item does not abort successful items.
|
|
78
78
|
Exact duplicate tasks are single-flighted across the full input before
|
|
79
|
-
transport.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
transport. All four core products use one recoverable REST job for inputs larger
|
|
80
|
+
than 25; the CLI waits for completion and retrieves every result page before it
|
|
81
|
+
emits complete results or terminal per-row errors. Find Email, Verify Email, and
|
|
82
|
+
Signal to Copy use 500-row pages, while Company Signal Enrichment uses 25-row
|
|
83
|
+
pages. Durable Signal to Copy jobs use available company-signal data only. If a
|
|
84
|
+
Company Signal row contains `signal_run_id`, the CLI preserves the recovery-read
|
|
85
|
+
contract with direct batches of at most 25. If a
|
|
86
|
+
copy row explicitly requests fresh or deep research, the CLI preserves that
|
|
87
|
+
behavior with synchronous chunks of at most 25. Signal to Copy also shares
|
|
88
|
+
company research across recipients.
|
|
85
89
|
|
|
86
90
|
Connection commands are limited to access infrastructure:
|
|
87
91
|
|
package/dist/bin.js
CHANGED
|
@@ -14,7 +14,7 @@ var HELP = `Signaliz CLI
|
|
|
14
14
|
Four product commands:
|
|
15
15
|
signaliz find-email --company-domain example.com --full-name "Jane Doe" [--skip-cache]
|
|
16
16
|
signaliz verify-email [jane@example.com] [--verification-run-id run_...] [--no-wait] [--max-wait-ms 600000]
|
|
17
|
-
signaliz company-signals --domain example.com [--research-prompt "..."] [--search-mode fast|balanced|coverage] [--no-summary] [--max-wait-ms 120000]
|
|
17
|
+
signaliz company-signals --domain example.com [--research-prompt "..."] [--search-mode fast|balanced|coverage] [--include-candidate-evidence] [--no-summary] [--max-wait-ms 120000]
|
|
18
18
|
signaliz company-signals --signal-run-id run_... Read a completed run without duplicate spend
|
|
19
19
|
signaliz signal-to-copy --company-domain example.com --person-name "Jane Doe" \\
|
|
20
20
|
--title "VP Sales" --campaign-offer "pipeline intelligence" [--signal-run-id run_...] \\
|
|
@@ -393,6 +393,7 @@ async function companySignals() {
|
|
|
393
393
|
enableOutreachIntelligence: row.enableOutreachIntelligence ?? row.enable_outreach_intelligence,
|
|
394
394
|
enablePredictiveIntelligence: row.enablePredictiveIntelligence ?? row.enable_predictive_intelligence,
|
|
395
395
|
skipCache: row.skipCache ?? row.skip_cache ?? hasFlag("skip-cache"),
|
|
396
|
+
includeCandidateEvidence: row.includeCandidateEvidence ?? row.include_candidate_evidence ?? hasFlag("include-candidate-evidence"),
|
|
396
397
|
maxWaitMs: row.maxWaitMs || row.max_wait_ms || numberFlag("max-wait-ms")
|
|
397
398
|
};
|
|
398
399
|
});
|
|
@@ -424,6 +425,7 @@ async function companySignals() {
|
|
|
424
425
|
enableOutreachIntelligence: hasFlag("outreach-intelligence") || void 0,
|
|
425
426
|
enablePredictiveIntelligence: hasFlag("predictive-intelligence") || void 0,
|
|
426
427
|
skipCache: hasFlag("skip-cache"),
|
|
428
|
+
includeCandidateEvidence: hasFlag("include-candidate-evidence"),
|
|
427
429
|
maxWaitMs: numberFlag("max-wait-ms"),
|
|
428
430
|
idempotencyKey: flag("idempotency-key")
|
|
429
431
|
};
|
|
@@ -604,5 +606,12 @@ main().catch((error) => {
|
|
|
604
606
|
process.exitCode = 1;
|
|
605
607
|
return;
|
|
606
608
|
}
|
|
609
|
+
if (error instanceof import_sdk.SignalizError && typeof error.details?.signal_run_id === "string") {
|
|
610
|
+
const signalRunId = error.details.signal_run_id;
|
|
611
|
+
const command = process.argv[2] === "signal-to-copy" ? "signal-to-copy" : "company-signals";
|
|
612
|
+
fail(`${message}
|
|
613
|
+
Recoverable signal run: ${signalRunId}
|
|
614
|
+
Retry the same signaliz ${command} command with --signal-run-id ${signalRunId}, or use --json for structured recovery metadata.`);
|
|
615
|
+
}
|
|
607
616
|
fail(message);
|
|
608
617
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signaliz/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.49",
|
|
4
4
|
"description": "Signaliz CLI for Find Email, Verify Email, Company Signal Enrichment, and Signal to Copy AI.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"signaliz": "dist/bin.js"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"node": ">=18"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@signaliz/sdk": "^1.0.
|
|
31
|
+
"@signaliz/sdk": "^1.0.53"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"tsup": "^8.0.0",
|