salesprompter-cli 0.1.23 → 0.1.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 CHANGED
@@ -30,20 +30,17 @@ salesprompter auth:whoami
30
30
  ## Common commands
31
31
 
32
32
  ```bash
33
- # Product/category to leads workflow
34
- salesprompter salesnav:from-product-category --input "https://www.linkedin.com/company/example/"
35
-
36
- # Build Instantly-ready Deel outreach batches with German vs English splits
37
- salesprompter leadlists:deel-outreach:bq --market global --out-dir ./data/deel-outreach
33
+ # Start the guided workflow
34
+ salesprompter
38
35
 
39
- # Export the Supabase Sales Navigator Deel corpus into German vs English backlog files
40
- salesprompter salesnav:deel-locale-export --org-id "<org-id>" --out-dir ./data/deel-salesnav
36
+ # Show machine-readable output
37
+ salesprompter --json auth:whoami
41
38
 
42
- # Run a Sales Navigator crawl from a query URL
43
- salesprompter salesnav:crawl --query-url "https://www.linkedin.com/sales/search/people?query=..."
39
+ # Resolve profile URLs for a pasted contact list
40
+ salesprompter contacts:find-linkedin-urls --in ./contacts.tsv --out ./contacts.enriched.json
44
41
 
45
- # Check crawl status
46
- salesprompter salesnav:crawl:status --job-id "<job-id>"
42
+ # Explore the full command surface
43
+ salesprompter --help
47
44
  ```
48
45
 
49
46
  ## Output modes
@@ -53,8 +50,8 @@ salesprompter salesnav:crawl:status --job-id "<job-id>"
53
50
 
54
51
  ## Notes
55
52
 
56
- - Use your own authorized LinkedIn / Sales Navigator access.
57
- - Respect LinkedIn and provider terms.
53
+ - Use your own authorized data access and workspace credentials.
54
+ - Respect provider terms and customer data boundaries.
58
55
  - The CLI is designed for interactive users and agent-assisted workflows.
59
56
 
60
57
  ## Links
package/dist/auth.js CHANGED
@@ -198,10 +198,10 @@ export async function clearAuthSession() {
198
198
  export async function requireAuthSession() {
199
199
  const session = await readAuthSession();
200
200
  if (session === null) {
201
- throw new Error("not logged in. Run `salesprompter auth:login`.");
201
+ throw new Error("not logged in. Run `salesprompter auth:login` or set SALESPROMPTER_TOKEN for non-interactive runs.");
202
202
  }
203
203
  if (hasExpired(session.expiresAt)) {
204
- throw new Error("session expired. Run `salesprompter auth:login`.");
204
+ throw new Error("session expired. Run `salesprompter auth:login` or refresh SALESPROMPTER_TOKEN for non-interactive runs.");
205
205
  }
206
206
  return session;
207
207
  }