@signaliz/cli 1.0.23 → 1.0.25
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 +8 -0
- package/dist/bin.js +15 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,12 +16,20 @@ signaliz find-email --company-domain example.com --full-name "Jane Doe"
|
|
|
16
16
|
# Force a fresh-provider quality check instead of reusing cached email or verification data
|
|
17
17
|
signaliz find-email --company-domain example.com --full-name "Jane Doe" --skip-cache
|
|
18
18
|
signaliz verify-email jane@example.com
|
|
19
|
+
# Force a fresh-provider verification instead of reusing cached proof
|
|
20
|
+
signaliz verify-email jane@example.com --skip-cache
|
|
19
21
|
signaliz company-signals --domain example.com --research-prompt "expansion priorities"
|
|
22
|
+
# Resume a queued run in a later agent/process without duplicate spend
|
|
23
|
+
signaliz company-signals --signal-run-id run_...
|
|
20
24
|
signaliz signal-to-copy \
|
|
21
25
|
--company-domain example.com \
|
|
22
26
|
--person-name "Jane Doe" \
|
|
23
27
|
--title "VP Sales" \
|
|
24
28
|
--campaign-offer "pipeline intelligence"
|
|
29
|
+
|
|
30
|
+
# Force fresh signals or opt into slower deep research only when needed
|
|
31
|
+
signaliz signal-to-copy --company-domain example.com --person-name "Jane Doe" \
|
|
32
|
+
--title "VP Sales" --campaign-offer "pipeline intelligence" --skip-cache --deep-search
|
|
25
33
|
```
|
|
26
34
|
|
|
27
35
|
Use `--json` with any product command for structured output.
|
package/dist/bin.js
CHANGED
|
@@ -15,8 +15,9 @@ 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
|
|
17
17
|
signaliz company-signals --domain example.com [--research-prompt "..."] [--max-wait-ms 1200000]
|
|
18
|
+
signaliz company-signals --signal-run-id run_... Resume without duplicate spend
|
|
18
19
|
signaliz signal-to-copy --company-domain example.com --person-name "Jane Doe" \\
|
|
19
|
-
--title "VP Sales" --campaign-offer "pipeline intelligence" [--max-wait-ms 1200000]
|
|
20
|
+
--title "VP Sales" --campaign-offer "pipeline intelligence" [--skip-cache] [--deep-search] [--max-wait-ms 1200000]
|
|
20
21
|
|
|
21
22
|
Access and connection:
|
|
22
23
|
signaliz auth login
|
|
@@ -246,13 +247,16 @@ async function verifyEmail(args) {
|
|
|
246
247
|
const rows = readBatchInput();
|
|
247
248
|
if (rows) {
|
|
248
249
|
const emails = rows.map((value) => typeof value === "string" ? value : String(record(value).email || ""));
|
|
249
|
-
const result2 = await createClient().verifyEmails(emails,
|
|
250
|
+
const result2 = await createClient().verifyEmails(emails, {
|
|
251
|
+
...batchOptions(),
|
|
252
|
+
skipCache: hasFlag("skip-cache")
|
|
253
|
+
});
|
|
250
254
|
batchOutput(result2);
|
|
251
255
|
return;
|
|
252
256
|
}
|
|
253
257
|
const email = args.find((value) => !value.startsWith("--")) || flag("email");
|
|
254
258
|
if (!email) fail("Usage: signaliz verify-email jane@example.com");
|
|
255
|
-
const result = await createClient().verifyEmail(email);
|
|
259
|
+
const result = await createClient().verifyEmail(email, { skipCache: hasFlag("skip-cache") });
|
|
256
260
|
output(result, () => {
|
|
257
261
|
process.stdout.write(`${result.email}: ${result.isDeliverable ? "deliverable" : "not deliverable"}
|
|
258
262
|
`);
|
|
@@ -268,6 +272,7 @@ async function companySignals() {
|
|
|
268
272
|
const row = record(value);
|
|
269
273
|
const online = row.online ?? !hasFlag("offline");
|
|
270
274
|
return {
|
|
275
|
+
signalRunId: row.signalRunId || row.signal_run_id,
|
|
271
276
|
companyDomain: row.companyDomain || row.company_domain || row.domain,
|
|
272
277
|
companyName: row.companyName || row.company_name || row.name,
|
|
273
278
|
researchPrompt: row.researchPrompt || row.research_prompt || flag("research-prompt") || flag("prompt"),
|
|
@@ -289,8 +294,10 @@ async function companySignals() {
|
|
|
289
294
|
}
|
|
290
295
|
const companyDomain = flag("domain") || flag("company-domain");
|
|
291
296
|
const companyName = flag("company-name");
|
|
292
|
-
|
|
297
|
+
const signalRunId = flag("signal-run-id");
|
|
298
|
+
if (!companyDomain && !companyName && !signalRunId) fail("Usage: signaliz company-signals --domain example.com");
|
|
293
299
|
const result = await createClient().enrichCompanySignals({
|
|
300
|
+
signalRunId,
|
|
294
301
|
companyDomain,
|
|
295
302
|
companyName,
|
|
296
303
|
researchPrompt: flag("research-prompt") || flag("prompt"),
|
|
@@ -328,6 +335,8 @@ async function signalToCopy() {
|
|
|
328
335
|
campaignOffer: row.campaignOffer || row.campaign_offer || row.offer,
|
|
329
336
|
researchPrompt: row.researchPrompt || row.research_prompt || flag("research-prompt") || flag("prompt"),
|
|
330
337
|
signalRunId: row.signalRunId || row.signal_run_id,
|
|
338
|
+
skipCache: row.skipCache ?? row.skip_cache ?? hasFlag("skip-cache"),
|
|
339
|
+
enableDeepSearch: row.enableDeepSearch ?? row.enable_deep_search ?? hasFlag("deep-search"),
|
|
331
340
|
waitForResult: row.waitForResult ?? row.wait_for_result ?? !hasFlag("no-wait"),
|
|
332
341
|
maxWaitMs: row.maxWaitMs || row.max_wait_ms || numberFlag("max-wait-ms"),
|
|
333
342
|
pollIntervalMs: row.pollIntervalMs || row.poll_interval_ms || numberFlag("poll-interval-ms")
|
|
@@ -349,6 +358,8 @@ async function signalToCopy() {
|
|
|
349
358
|
title,
|
|
350
359
|
campaignOffer,
|
|
351
360
|
researchPrompt: flag("research-prompt") || flag("prompt"),
|
|
361
|
+
skipCache: hasFlag("skip-cache"),
|
|
362
|
+
enableDeepSearch: hasFlag("deep-search"),
|
|
352
363
|
maxWaitMs: numberFlag("max-wait-ms"),
|
|
353
364
|
pollIntervalMs: numberFlag("poll-interval-ms")
|
|
354
365
|
});
|