@signaliz/cli 1.0.25 → 1.0.27
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/dist/bin.js +9 -2
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -17,7 +17,8 @@ Four product commands:
|
|
|
17
17
|
signaliz company-signals --domain example.com [--research-prompt "..."] [--max-wait-ms 1200000]
|
|
18
18
|
signaliz company-signals --signal-run-id run_... Resume without duplicate spend
|
|
19
19
|
signaliz signal-to-copy --company-domain example.com --person-name "Jane Doe" \\
|
|
20
|
-
--title "VP Sales" --campaign-offer "pipeline intelligence" [--
|
|
20
|
+
--title "VP Sales" --campaign-offer "pipeline intelligence" [--signal-run-id run_...] \\
|
|
21
|
+
[--skip-cache] [--deep-search] [--max-wait-ms 1200000]
|
|
21
22
|
|
|
22
23
|
Access and connection:
|
|
23
24
|
signaliz auth login
|
|
@@ -37,7 +38,12 @@ Common flags:
|
|
|
37
38
|
function loadConfig() {
|
|
38
39
|
if (!(0, import_node_fs.existsSync)(CONFIG_FILE)) return {};
|
|
39
40
|
try {
|
|
40
|
-
|
|
41
|
+
const stored = JSON.parse((0, import_node_fs.readFileSync)(CONFIG_FILE, "utf8"));
|
|
42
|
+
return {
|
|
43
|
+
apiKey: stored.apiKey || stored.api_key,
|
|
44
|
+
workspaceId: stored.workspaceId || stored.workspace_id,
|
|
45
|
+
baseUrl: stored.baseUrl || stored.base_url
|
|
46
|
+
};
|
|
41
47
|
} catch {
|
|
42
48
|
return {};
|
|
43
49
|
}
|
|
@@ -358,6 +364,7 @@ async function signalToCopy() {
|
|
|
358
364
|
title,
|
|
359
365
|
campaignOffer,
|
|
360
366
|
researchPrompt: flag("research-prompt") || flag("prompt"),
|
|
367
|
+
signalRunId: flag("signal-run-id"),
|
|
361
368
|
skipCache: hasFlag("skip-cache"),
|
|
362
369
|
enableDeepSearch: hasFlag("deep-search"),
|
|
363
370
|
maxWaitMs: numberFlag("max-wait-ms"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signaliz/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
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.27"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"tsup": "^8.0.0",
|