Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.
JavaScript agent-skillsai-agentsai-seoclaudeclaude-codeclaude-code-pluginclaude-skillscodexcontent-marketingconversion-rate-optimizationcopywritingcursoremail-marketinggenerative-engine-optimizationgrowth-marketingmarketingmarketing-automationsaas-marketingseoskill-md
fix(clis): raise the default request deadline to 120 seconds
Corey Haines3ee75a4508e1
diff --git a/tests/clis/customerio-json-data.test.cjs b/tests/clis/customerio-json-data.test.cjsindex 07fe593..2ca24a3 100644--- a/tests/clis/customerio-json-data.test.cjs+++ b/tests/clis/customerio-json-data.test.cjs@@ -6,7 +6,7 @@ const cli = path.resolve(__dirname, '../../tools/clis/customer-io.js')function run(command, flag, value, preview = false) {const args = [...command, flag, value]if (preview) args.push('--dry-run')- const source = `global.fetch = async (url, opts) => { process.stderr.write('FETCH_CALLED'); return { status: 200, text: async () => JSON.stringify({ body: JSON.parse(opts.body) }) }; }; process.argv = ['node', ${JSON.stringify(cli)}, ...${JSON.stringify(args)}]; require(${JSON.stringify(cli)});`+ const source = `global.fetch = async (url, opts) => { process.stderr.write('FETCH_CALLED'); return { ok: true, status: 200, text: async () => JSON.stringify({ body: JSON.parse(opts.body) }) }; }; process.argv = ['node', ${JSON.stringify(cli)}, ...${JSON.stringify(args)}]; require(${JSON.stringify(cli)});`return spawnSync(process.execPath, ['-e', source], {encoding: 'utf8', env: { ...process.env, CUSTOMERIO_APP_KEY: 'fixture-app', CUSTOMERIO_SITE_ID: 'fixture-site', CUSTOMERIO_API_KEY: 'fixture-track' }, timeout: 5000})}const commands = [ [['customers', 'identify', 'fixture'], '--data', null], [['customers', 'track-event', 'fixture', '--name', 'Purchased'], '--data', 'data'], [['campaigns', 'trigger', 'fixture', '--ids', 'person'], '--data', 'data'], [['send', 'email', '--message-id', 'fixture', '--to', '[email protected]', '--identifier-id', 'person'], '--data', 'message_data'] ]diff --git a/tests/clis/segment-json-objects.test.cjs b/tests/clis/segment-json-objects.test.cjsindex f4cc1c5..59a548d 100644--- a/tests/clis/segment-json-objects.test.cjs+++ b/tests/clis/segment-json-objects.test.cjs@@ -6,7 +6,7 @@ const cli = path.resolve(__dirname, '../../tools/clis/segment.js')function run(command, flag, value, preview = false) {const args = [...command, '--user-id', 'fixture-user', flag, value]if (preview) args.push('--dry-run')- const source = `global.fetch = async (url, opts) => { process.stderr.write('FETCH_CALLED'); return { status: 200, text: async () => JSON.stringify({ body: JSON.parse(opts.body) }) }; }; process.argv = ['node', ${JSON.stringify(cli)}, ...${JSON.stringify(args)}]; require(${JSON.stringify(cli)});`+ const source = `global.fetch = async (url, opts) => { process.stderr.write('FETCH_CALLED'); return { ok: true, status: 200, text: async () => JSON.stringify({ body: JSON.parse(opts.body) }) }; }; process.argv = ['node', ${JSON.stringify(cli)}, ...${JSON.stringify(args)}]; require(${JSON.stringify(cli)});`return spawnSync(process.execPath, ['-e', source], {encoding: 'utf8', env: { ...process.env, SEGMENT_WRITE_KEY: 'fixture' }, timeout: 5000})}const commands = [ [['track', 'event', '--event', 'Purchased'], '--properties'], [['page', 'view'], '--properties'], [['identify', 'user'], '--traits'] ]diff --git a/tools/clis/README.md b/tools/clis/README.mdindex 98aa412..16258c2 100644--- a/tools/clis/README.md+++ b/tools/clis/README.md@@ -220,10 +220,10 @@ DOMAINS=$(rewardful affiliates list | jq -r '.data[].email')## HTTP request deadlines-HTTP calls in the 65 CLIs changed by this fix use a 30-second per-request deadline. The newly added Truelist CLI is unchanged. Override with `--timeout-ms <1-600000>` for a slow API, for example:+HTTP calls in 65 of the CLIs use a 120-second per-request deadline, long enough for slow endpoints such as Firecrawl scrapes (60-second default on Firecrawl's side) and large analytics exports. The Truelist CLI is not covered. Lower or raise it with `--timeout-ms <1-600000>`, for example:```bash-node tools/clis/exa.js search --query 'Recent market research' --timeout-ms 120000+node tools/clis/exa.js search --query 'Recent market research' --timeout-ms 30000```The deadline covers obtaining headers and consuming the response body, including OAuth requests. Each subsequent HTTP call gets its own deadline; this is not a total command deadline or a bound on external credential commands. An aborted call exits as a failure. Aborting a local request does not cancel work already accepted by a provider: check provider status before manually retrying a mutation. The CLI does not add automatic retries. Dry runs issue no HTTP request.diff --git a/tools/clis/activecampaign.js b/tools/clis/activecampaign.jsindex f6500a6..035c269 100755--- a/tools/clis/activecampaign.js+++ b/tools/clis/activecampaign.js@@ -18,7 +18,7 @@ const BASE_URL = API_URL ? `${API_URL.replace(/\/$/, '')}/api/3` : ''function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/adobe-analytics.js b/tools/clis/adobe-analytics.jsindex 735c541..943f5ad 100755--- a/tools/clis/adobe-analytics.js+++ b/tools/clis/adobe-analytics.js@@ -14,7 +14,7 @@ const BASE_URL = `https://analytics.adobe.io/api/${COMPANY_ID}`function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/ahrefs.js b/tools/clis/ahrefs.jsindex 3a08eb4..b8025f6 100755--- a/tools/clis/ahrefs.js+++ b/tools/clis/ahrefs.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/airops.js b/tools/clis/airops.jsindex 610cbad..75eb8d7 100755--- a/tools/clis/airops.js+++ b/tools/clis/airops.js@@ -10,7 +10,7 @@ if ((!API_KEY) && rawArgs.length > 0) {}function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/amplitude.js b/tools/clis/amplitude.jsindex e5d1cd1..a154fe8 100755--- a/tools/clis/amplitude.js+++ b/tools/clis/amplitude.js@@ -13,7 +13,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/apollo.js b/tools/clis/apollo.jsindex 30580cc..b18207f 100755--- a/tools/clis/apollo.js+++ b/tools/clis/apollo.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/beehiiv.js b/tools/clis/beehiiv.jsindex b19ef38..4b6d36b 100755--- a/tools/clis/beehiiv.js+++ b/tools/clis/beehiiv.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/brevo.js b/tools/clis/brevo.jsindex 0cd5b84..85bde23 100755--- a/tools/clis/brevo.js+++ b/tools/clis/brevo.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/buffer.js b/tools/clis/buffer.jsindex e5a87f9..e84ebac 100755--- a/tools/clis/buffer.js+++ b/tools/clis/buffer.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/calendly.js b/tools/clis/calendly.jsindex 8a7aff5..685167b 100755--- a/tools/clis/calendly.js+++ b/tools/clis/calendly.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/clay.js b/tools/clis/clay.jsindex ae9289c..17fa614 100755--- a/tools/clis/clay.js+++ b/tools/clis/clay.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/clearbit.js b/tools/clis/clearbit.jsindex d27c7c4..fd7743e 100755--- a/tools/clis/clearbit.js+++ b/tools/clis/clearbit.js@@ -10,7 +10,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/close.js b/tools/clis/close.jsindex 8de2d08..3a5ed30 100755--- a/tools/clis/close.js+++ b/tools/clis/close.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/coupler.js b/tools/clis/coupler.jsindex 1d5f584..bfe1a74 100755--- a/tools/clis/coupler.js+++ b/tools/clis/coupler.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/crossbeam.js b/tools/clis/crossbeam.jsindex 10369e1..85235b5 100755--- a/tools/clis/crossbeam.js+++ b/tools/clis/crossbeam.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/customer-io.js b/tools/clis/customer-io.jsindex d347b7a..0c68a38 100755--- a/tools/clis/customer-io.js+++ b/tools/clis/customer-io.js@@ -25,7 +25,7 @@ const basicAuth = hasTrackAuth ? Buffer.from(`${SITE_ID}:${API_KEY}`).toString('function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/dataforseo.js b/tools/clis/dataforseo.jsindex 18a14e0..6cc685d 100755--- a/tools/clis/dataforseo.js+++ b/tools/clis/dataforseo.js@@ -14,7 +14,7 @@ const AUTH = 'Basic ' + Buffer.from(`${LOGIN}:${PASSWORD}`).toString('base64')function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/demio.js b/tools/clis/demio.jsindex 42fb6ff..9f31d56 100755--- a/tools/clis/demio.js+++ b/tools/clis/demio.js@@ -17,7 +17,7 @@ if ((!API_SECRET) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/dub.js b/tools/clis/dub.jsindex 5fec30f..3ef2443 100755--- a/tools/clis/dub.js+++ b/tools/clis/dub.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/exa.js b/tools/clis/exa.jsindex 30300f9..33cb113 100755--- a/tools/clis/exa.js+++ b/tools/clis/exa.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/firecrawl.js b/tools/clis/firecrawl.jsindex cb5c7c4..c89055c 100755--- a/tools/clis/firecrawl.js+++ b/tools/clis/firecrawl.js@@ -11,7 +11,7 @@ if (!API_KEY && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/g2.js b/tools/clis/g2.jsindex c8e6eff..cd3c2b8 100755--- a/tools/clis/g2.js+++ b/tools/clis/g2.js@@ -11,7 +11,7 @@ if ((!API_TOKEN) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/ga4.js b/tools/clis/ga4.jsindex 86359ac..1fdf421 100755--- a/tools/clis/ga4.js+++ b/tools/clis/ga4.js@@ -8,7 +8,7 @@ const MP_URL = 'https://www.google-analytics.com/mp/collect'function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/github-prospects.js b/tools/clis/github-prospects.jsindex c7157a8..fde0380 100755--- a/tools/clis/github-prospects.js+++ b/tools/clis/github-prospects.js@@ -28,7 +28,7 @@ const args = parseArgs(process.argv.slice(2))function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/google-ads.js b/tools/clis/google-ads.jsindex 53f4b29..def8214 100755--- a/tools/clis/google-ads.js+++ b/tools/clis/google-ads.js@@ -14,7 +14,7 @@ if ((!TOKEN || !CUSTOMER_ID) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/google-search-console.js b/tools/clis/google-search-console.jsindex 9f2cf7a..a67f5e9 100755--- a/tools/clis/google-search-console.js+++ b/tools/clis/google-search-console.js@@ -11,7 +11,7 @@ if ((!ACCESS_TOKEN) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/hotjar.js b/tools/clis/hotjar.jsindex 817bbd1..48133c6 100755--- a/tools/clis/hotjar.js+++ b/tools/clis/hotjar.js@@ -15,7 +15,7 @@ let cachedToken = nullfunction requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/hunter.js b/tools/clis/hunter.jsindex 9f0a8e6..b6016a4 100755--- a/tools/clis/hunter.js+++ b/tools/clis/hunter.js@@ -10,7 +10,7 @@ if ((!API_KEY) && rawArgs.length > 0) {}function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/instantly.js b/tools/clis/instantly.jsindex e517d48..bf19e31 100755--- a/tools/clis/instantly.js+++ b/tools/clis/instantly.js@@ -25,7 +25,7 @@ const INTEREST_STATUSES = {}function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/intercom.js b/tools/clis/intercom.jsindex 2a92fc8..49fbcc7 100755--- a/tools/clis/intercom.js+++ b/tools/clis/intercom.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/keywords-everywhere.js b/tools/clis/keywords-everywhere.jsindex 4d2c150..ac26d97 100755--- a/tools/clis/keywords-everywhere.js+++ b/tools/clis/keywords-everywhere.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/kit.js b/tools/clis/kit.jsindex d48b0e1..6cb78fa 100755--- a/tools/clis/kit.js+++ b/tools/clis/kit.js@@ -12,7 +12,7 @@ if ((!API_SECRET && !API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/klaviyo.js b/tools/clis/klaviyo.jsindex 2b45c24..8639d62 100755--- a/tools/clis/klaviyo.js+++ b/tools/clis/klaviyo.js@@ -12,7 +12,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/lemlist.js b/tools/clis/lemlist.jsindex ba49ece..5c3d865 100755--- a/tools/clis/lemlist.js+++ b/tools/clis/lemlist.js@@ -13,7 +13,7 @@ const AUTH = 'Basic ' + Buffer.from(`:${API_KEY}`).toString('base64')function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/linkedin-ads.js b/tools/clis/linkedin-ads.jsindex bf38ce5..b9f6215 100755--- a/tools/clis/linkedin-ads.js+++ b/tools/clis/linkedin-ads.js@@ -15,7 +15,7 @@ if ((!TOKEN) && rawArgs.length > 0) {}function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/livestorm.js b/tools/clis/livestorm.jsindex 47cd6b4..3628bbd 100755--- a/tools/clis/livestorm.js+++ b/tools/clis/livestorm.js@@ -11,7 +11,7 @@ if ((!API_TOKEN) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/mailchimp.js b/tools/clis/mailchimp.jsindex 1da8956..802fdc0 100755--- a/tools/clis/mailchimp.js+++ b/tools/clis/mailchimp.js@@ -13,7 +13,7 @@ const BASE_URL = `https://${dc}.api.mailchimp.com/3.0`function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/mention-me.js b/tools/clis/mention-me.jsindex e04ee84..975bfc0 100755--- a/tools/clis/mention-me.js+++ b/tools/clis/mention-me.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/meta-ads.js b/tools/clis/meta-ads.jsindex 182db11..f9cd311 100755--- a/tools/clis/meta-ads.js+++ b/tools/clis/meta-ads.js@@ -12,7 +12,7 @@ if ((!TOKEN) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/mixpanel.js b/tools/clis/mixpanel.jsindex d8f249b..c8e3aac 100755--- a/tools/clis/mixpanel.js+++ b/tools/clis/mixpanel.js@@ -23,7 +23,7 @@ if ((!TOKEN && !API_KEY && !SECRET && !PROJECT_SECRET) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/onesignal.js b/tools/clis/onesignal.jsindex c89e0f3..ffe4731 100755--- a/tools/clis/onesignal.js+++ b/tools/clis/onesignal.js@@ -17,7 +17,7 @@ if ((!APP_ID) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/optimizely.js b/tools/clis/optimizely.jsindex 75070be..a1da287 100755--- a/tools/clis/optimizely.js+++ b/tools/clis/optimizely.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/outreach.js b/tools/clis/outreach.jsindex fe9bb28..591beba 100755--- a/tools/clis/outreach.js+++ b/tools/clis/outreach.js@@ -11,7 +11,7 @@ if ((!ACCESS_TOKEN) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/paddle.js b/tools/clis/paddle.jsindex a8b1f4c..2314f46 100755--- a/tools/clis/paddle.js+++ b/tools/clis/paddle.js@@ -13,7 +13,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/partnerstack.js b/tools/clis/partnerstack.jsindex 8389b53..74f923e 100755--- a/tools/clis/partnerstack.js+++ b/tools/clis/partnerstack.js@@ -14,7 +14,7 @@ const AUTH = 'Basic ' + Buffer.from(`${PUBLIC_KEY}:${SECRET_KEY}`).toString('basfunction requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/pendo.js b/tools/clis/pendo.jsindex 5f0a461..e5abd66 100755--- a/tools/clis/pendo.js+++ b/tools/clis/pendo.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/plausible.js b/tools/clis/plausible.jsindex 0f8846f..f89b373 100755--- a/tools/clis/plausible.js+++ b/tools/clis/plausible.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/postmark.js b/tools/clis/postmark.jsindex 9106df9..da7b55a 100755--- a/tools/clis/postmark.js+++ b/tools/clis/postmark.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/rankparse.js b/tools/clis/rankparse.jsindex d54f729..ab26596 100755--- a/tools/clis/rankparse.js+++ b/tools/clis/rankparse.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/resend.js b/tools/clis/resend.jsindex 45b552e..b9daa2e 100755--- a/tools/clis/resend.js+++ b/tools/clis/resend.js@@ -10,7 +10,7 @@ if ((!API_KEY) && rawArgs.length > 0) {}function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/rewardful.js b/tools/clis/rewardful.jsindex 882e694..3f35c43 100755--- a/tools/clis/rewardful.js+++ b/tools/clis/rewardful.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/savvycal.js b/tools/clis/savvycal.jsindex 6daf916..2d333e4 100755--- a/tools/clis/savvycal.js+++ b/tools/clis/savvycal.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/segment.js b/tools/clis/segment.jsindex 4b468ac..54e9b1e 100755--- a/tools/clis/segment.js+++ b/tools/clis/segment.js@@ -13,7 +13,7 @@ if ((!WRITE_KEY && !ACCESS_TOKEN) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/semrush.js b/tools/clis/semrush.jsindex 529540d..f239237 100755--- a/tools/clis/semrush.js+++ b/tools/clis/semrush.js@@ -47,7 +47,7 @@ function parseCSV(text) {}function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/sendgrid.js b/tools/clis/sendgrid.jsindex 077c920..7f828f3 100755--- a/tools/clis/sendgrid.js+++ b/tools/clis/sendgrid.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/similarweb.js b/tools/clis/similarweb.jsindex 1078457..7bd134a 100755--- a/tools/clis/similarweb.js+++ b/tools/clis/similarweb.js@@ -10,7 +10,7 @@ if ((!API_KEY) && rawArgs.length > 0) {}function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/snov.js b/tools/clis/snov.jsindex 203d04d..0cf20d9 100755--- a/tools/clis/snov.js+++ b/tools/clis/snov.js@@ -13,7 +13,7 @@ if ((!CLIENT_ID || !CLIENT_SECRET) && rawArgs.length > 0) {let cachedToken = nullfunction requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/supermetrics.js b/tools/clis/supermetrics.jsindex ec6243c..ec284c2 100755--- a/tools/clis/supermetrics.js+++ b/tools/clis/supermetrics.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/tiktok-ads.js b/tools/clis/tiktok-ads.jsindex c43f12f..78dcf1e 100755--- a/tools/clis/tiktok-ads.js+++ b/tools/clis/tiktok-ads.js@@ -12,7 +12,7 @@ if ((!TOKEN) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/tolt.js b/tools/clis/tolt.jsindex b8381c7..f90708c 100755--- a/tools/clis/tolt.js+++ b/tools/clis/tolt.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/trustpilot.js b/tools/clis/trustpilot.jsindex 2faa34b..a536ffc 100755--- a/tools/clis/trustpilot.js+++ b/tools/clis/trustpilot.js@@ -15,7 +15,7 @@ if ((!API_KEY) && rawArgs.length > 0) {let accessToken = nullfunction requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/typeform.js b/tools/clis/typeform.jsindex 181cbed..9e15da7 100755--- a/tools/clis/typeform.js+++ b/tools/clis/typeform.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/wistia.js b/tools/clis/wistia.jsindex 54ab164..742a768 100755--- a/tools/clis/wistia.js+++ b/tools/clis/wistia.js@@ -11,7 +11,7 @@ if ((!API_KEY) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/zapier.js b/tools/clis/zapier.jsindex 7ef1b04..ea78376 100755--- a/tools/clis/zapier.js+++ b/tools/clis/zapier.js@@ -5,7 +5,7 @@ const API_KEY = process.env.ZAPIER_API_KEYconst BASE_URL = 'https://api.zapier.com/v1'function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')diff --git a/tools/clis/zoominfo.js b/tools/clis/zoominfo.jsindex 2d2aa2f..ab457ae 100755--- a/tools/clis/zoominfo.js+++ b/tools/clis/zoominfo.js@@ -12,7 +12,7 @@ if ((!ACCESS_TOKEN && !process.env.ZOOMINFO_USERNAME) && rawArgs.length > 0) {function requestSignal() {- const raw = args['timeout-ms'] ?? '30000'+ const raw = args['timeout-ms'] ?? '120000'const ms = Number(raw)if (typeof raw !== 'string' || !/^\d+$/.test(raw) || !Number.isSafeInteger(ms) || ms < 1 || ms > 600000) {throw new Error('--timeout-ms must be an integer from 1 to 600000')