consulti 0.2.0 → 0.2.2

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.
@@ -27,9 +27,9 @@
27
27
  "method": "POST",
28
28
  "path": "/verify/catchall",
29
29
  "title": "Verify catch-all mailbox",
30
- "description": "Resolve whether a specific mailbox on a catch-all domain actually exists. Unlike /verify (SMTP), this uses Consulti’s ESP verification engine to probe mailbox existence, with an automatic fallback for providers the engine doesn’t cover. Use it on addresses that /verify reports as is_catch_all=true.",
30
+ "description": "Resolve whether a specific mailbox on a catch-all domain actually exists. Unlike /verify (SMTP), this uses Consulti’s ESP verification engine to probe mailbox existence. Use it on addresses that /verify reports as is_catch_all=true.",
31
31
  "tier": "pro+",
32
- "credits": "Only successful verifications are billed — 5 verification credits each. Requests that fail validation (400) or auth (401), or hit insufficient credits (402), are never billed and return credits_used: 0. That includes an address that passes the format check but is rejected as malformed during verification: it returns 400 \"Invalid email address.\" and the reserved credits are refunded. Results served from our cache cost the same as fresh ones. When the verification engine does not return a verdict in time, the call returns 503 with code verifier_unavailable and a Retry-After header in seconds. The reserved credits are refunded, but this 503 carries no credits_used, so check GET /credits before you retry.",
32
+ "credits": "Only successful verifications are billed — 5 verification credits each. Requests that fail validation (400) or auth (401), or hit insufficient credits (402), are never billed and return credits_used: 0. That includes an address that passes the format check but is rejected as malformed during verification: it returns 400 \"Invalid email address.\" and the reserved credits are refunded. Results served from our cache cost the same as fresh ones. The verdict normally arrives within about 50 seconds of the request, but a slow call can run for up to 300 seconds, so set your client timeout to more than 300 seconds. A call your client gives up on can still be billed if the verdict lands afterwards. When the engine does not return a verdict within about 50 seconds, the call returns 503 with code verifier_unavailable and a Retry-After header in seconds. The reserved credits are refunded, but this 503 carries no credits_used, so check GET /credits before you retry. When the reserved credits cannot be confirmed as refunded, any failure (including a malformed address that would otherwise be a 400) returns 500 with code refund_unconfirmed and no Retry-After. Reconcile with GET /credits before retrying, because a retry reserves another 5 credits. The call stays billed when a 500 follows a verdict the engine already returned, so check GET /credits before you retry any 500.",
33
33
  "noAuth": false,
34
34
  "billable": true,
35
35
  "inMcp": true,
@@ -342,7 +342,7 @@
342
342
  "name": "q",
343
343
  "type": "string",
344
344
  "required": false,
345
- "desc": "Free-text search across username and bio"
345
+ "desc": "Case-insensitive text match on username or full name"
346
346
  },
347
347
  {
348
348
  "name": "bioKeywords",
package/dist/manifest.js CHANGED
@@ -13,7 +13,7 @@ export const ALIASES = {
13
13
  };
14
14
  export const JSONL_IDS = ["leads-search", "instagram-search"];
15
15
  export const SEARCH_TIMEOUT_MS = 130_000; // leads-search maxDuration is 120 s
16
- export const DEFAULT_TIMEOUT_MS = 310_000; // routes that export no maxDuration run under Vercel's 300 s default
16
+ export const DEFAULT_TIMEOUT_MS = 310_000; // routes that export no maxDuration run under Vercel's 300 s default; verify-catchall also caps at 300 s
17
17
  export function timeoutFor(id) {
18
18
  return id === "leads-search" ? SEARCH_TIMEOUT_MS : DEFAULT_TIMEOUT_MS;
19
19
  }
package/dist/skill.js CHANGED
@@ -24,8 +24,8 @@ description: Use the consulti command line to verify emails, search and enrich B
24
24
 
25
25
  ## Auth
26
26
 
27
- Set \`CONSULTI_API_KEY\` in the environment. Keys are created at ${SETTINGS_URL}.
28
- \`consulti login\` saves a key to a local file instead. Never paste a key into a command line.
27
+ Ask the user to run \`consulti login\` themselves and paste the key at its hidden prompt. It is saved to a file only they can read. Keys are created at ${SETTINGS_URL}.
28
+ Never put a key in a command, unless the user's own prompt hands you the key; then pipe it to \`consulti login\` on stdin, never as an argument. Use \`CONSULTI_API_KEY\` only in CI and on servers.
29
29
 
30
30
  ## Commands
31
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "consulti",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Command-line client for the Consulti.ai API: email verification, B2B lead search and enrichment, Instagram search, lists and credits. JSON output and stable exit codes for scripts and AI agents.",
5
5
  "type": "module",
6
6
  "bin": {