@signaliz/cli 1.0.74 → 1.0.76
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 +6 -3
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -981,10 +981,13 @@ var INTERNAL_PRODUCT_OUTPUT_KEYS = /* @__PURE__ */ new Set([
|
|
|
981
981
|
function publicCliValue(value) {
|
|
982
982
|
if (Array.isArray(value)) return value.map(publicCliValue);
|
|
983
983
|
if (!value || typeof value !== "object") return value;
|
|
984
|
+
const recordValue = value;
|
|
985
|
+
const isStoredAwarenessRead = recordValue.resultReturnedFrom === "stored_monitor_signals" && recordValue.liveProviderCalled === false;
|
|
984
986
|
const output2 = {};
|
|
985
|
-
for (const [key, raw] of Object.entries(
|
|
987
|
+
for (const [key, raw] of Object.entries(recordValue)) {
|
|
986
988
|
const normalizedKey = key.toLowerCase().replace(/_/g, "");
|
|
987
|
-
|
|
989
|
+
const safeStoredReadDiagnostic = isStoredAwarenessRead && (normalizedKey === "resultreturnedfrom" || normalizedKey === "liveprovidercalled");
|
|
990
|
+
if (normalizedKey.includes("cache") || INTERNAL_PRODUCT_OUTPUT_KEYS.has(normalizedKey) && !safeStoredReadDiagnostic) continue;
|
|
988
991
|
if (typeof raw === "string" && (raw.toLowerCase().includes("cache") || raw === "available_data")) {
|
|
989
992
|
if (["source", "emailsource", "emailsourcelabel", "verificationsource", "providerstatus"].includes(normalizedKey)) {
|
|
990
993
|
output2[key] = normalizedKey === "verificationsource" ? "email_verification" : "email_finder";
|
|
@@ -1948,7 +1951,7 @@ main().catch((error) => {
|
|
|
1948
1951
|
const message = error instanceof Error ? error.message : String(error);
|
|
1949
1952
|
if (hasFlag("json") || hasFlag("jsonl")) {
|
|
1950
1953
|
const signalizError = error instanceof import_sdk.SignalizError ? error : null;
|
|
1951
|
-
const cliInputError = error instanceof CliInputError;
|
|
1954
|
+
const cliInputError = error instanceof CliInputError || error instanceof TypeError && error.message.startsWith("Company Signals requires a fully qualified domain");
|
|
1952
1955
|
const recoveryReadZeroSpend = signalizError?.details?.retry_strategy === "same_run_recovery" && signalizError.details.credits_used === 0 && signalizError.details.credits_charged === 0 && (process.argv[2] === "find-email" && hasFlag("run-id") || process.argv[2] === "verify-email" && hasFlag("verification-run-id"));
|
|
1953
1956
|
process.stdout.write(`${stringifyMachineJson({
|
|
1954
1957
|
success: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signaliz/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.76",
|
|
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"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"node": ">=18"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@signaliz/sdk": "^1.0.
|
|
32
|
+
"@signaliz/sdk": "^1.0.81"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"tsup": "^8.0.0",
|