@specstream/ai-sdk 0.4.3 → 0.4.4

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
@@ -7,7 +7,7 @@ npm install @specstream/ai-sdk ai zod
7
7
  export SPECSTREAM_API_KEY=ss_live_... # Agents & API in your SpecStream workspace
8
8
  ```
9
9
 
10
- A free account comes with $2 of credit, enough for 2,000 fast searches, and needs no card: [specstream.ai](https://specstream.ai/signup).
10
+ A free account comes with $2 of credit, enough for 2,000 fast searches or 2,500 pages, and needs no card: [specstream.ai](https://specstream.ai/signup).
11
11
 
12
12
  SpecStream is hosted in the EU and is first on 15 public search, research and extraction benchmarks: AA-Omniscience 82.67% on all 600 questions, SurfBench v2 84.6, WideSearch on all 200 official tasks over 4 trials, FRAMES 90.78% and TRACE Extract v6 88.51%. Scores and method: [specstream.ai/benchmarks](https://specstream.ai/benchmarks). Every raw answer: [Hugging Face](https://huggingface.co/datasets/SpecStreamAI/benchmark-results).
13
13
 
@@ -21,6 +21,18 @@ curl "https://api.specstream.ai/customsearch/v1?key=$SPECSTREAM_API_KEY&q=open+s
21
21
 
22
22
  `items[].title`, `link`, `snippet` and `displayLink` come back as before. `cx` is accepted and not needed. Each call runs on the fast tier at $1 per 1,000, against Google's $5 per 1,000, and the Extract API reads the pages at $0.80 per 1,000. Guide: [specstream.ai/migrate/google-cse](https://specstream.ai/migrate/google-cse).
23
23
 
24
+ ## Link graph and EU DORA data on the same key
25
+
26
+ The same API key reads SpecStream's own link graph and its EU DORA register data, from the same balance.
27
+
28
+ ```bash
29
+ curl -H "Authorization: Bearer $SPECSTREAM_API_KEY" "https://api.specstream.ai/v1/authority?domains=stripe.com,notion.com"
30
+ curl -H "Authorization: Bearer $SPECSTREAM_API_KEY" "https://api.specstream.ai/v1/backlinks?target=stripe.com&mode=domains"
31
+ curl -H "Authorization: Bearer $SPECSTREAM_API_KEY" "https://api.specstream.ai/v1/data/dora/subprocessors?domain=stripe.com&format=json"
32
+ ```
33
+
34
+ `/v1/authority` gives the authority score (0 to 100), estimated global rank, referring domains and outbound hosts of up to 100 domains in one call, $0.50 per 1,000 calls. `/v1/backlinks` lists the referring domains or linking pages of a site, inbound or outbound, $4 per 1,000 calls. Both answer from SpecStream's own web index with no live crawl. `/v1/data/dora/subprocessors` returns a vendor's sub-processors as EU DORA Register of Information rows (`B_05.01` and `B_05.02`) with GLEIF LEIs, $0.05 a lookup; `format=roi_csv` gives the register file.
35
+
24
36
  More from the same engine: the [sub-processor directory](https://specstream.ai/subprocessors), the sub-processor lists of SaaS and AI companies read from each company's own trust center.
25
37
 
26
38
  ## An agent that can find lists
package/dist/client.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /** The SpecStream REST calls the tools share: read a request, price it, start it within a maximum, read its rows. */
2
2
  export declare const DEFAULT_BASE_URL = "https://api.specstream.ai";
3
- export declare const USER_AGENT = "@specstream/ai-sdk/0.4.3";
3
+ export declare const USER_AGENT = "@specstream/ai-sdk/0.4.4";
4
4
  /** A list runs for up to about five minutes, so the tools wait a little longer than that by default. */
5
5
  export declare const DEFAULT_WAIT_SECONDS = 420;
6
6
  export declare const DEFAULT_POLL_INTERVAL_SECONDS = 3;
package/dist/client.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /** The SpecStream REST calls the tools share: read a request, price it, start it within a maximum, read its rows. */
2
2
  export const DEFAULT_BASE_URL = "https://api.specstream.ai";
3
- export const USER_AGENT = "@specstream/ai-sdk/0.4.3";
3
+ export const USER_AGENT = "@specstream/ai-sdk/0.4.4";
4
4
  /** A list runs for up to about five minutes, so the tools wait a little longer than that by default. */
5
5
  export const DEFAULT_WAIT_SECONDS = 420;
6
6
  export const DEFAULT_POLL_INTERVAL_SECONDS = 3;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@specstream/ai-sdk",
3
- "version": "0.4.3",
4
- "description": "The live web data engine for the Vercel AI SDK: Search API ($5 per 1,000 searches of up to 10 results, or $1 on the fast tier), Extract API ($0.80 per 1,000 pages) and Deep Search.",
3
+ "version": "0.4.4",
4
+ "description": "The live web data engine for the Vercel AI SDK: Search API ($1 per 1,000 fast searches, $5 standard), Extract API ($0.80 per 1,000 pages), Deep Search, link graph (/v1/authority, /v1/backlinks) and EU DORA sub-processors. A drop in for Google Custom Search. $2 free credit, no card.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -51,7 +51,21 @@
51
51
  "live-web",
52
52
  "lead-lists",
53
53
  "enrichment",
54
- "ai-agents"
54
+ "ai-agents",
55
+ "web-search",
56
+ "search-api",
57
+ "google-custom-search",
58
+ "google-cse",
59
+ "custom-search-api",
60
+ "web-scraping",
61
+ "extract",
62
+ "rag",
63
+ "backlinks",
64
+ "domain-authority",
65
+ "seo",
66
+ "dora",
67
+ "eu-dora",
68
+ "subprocessors"
55
69
  ],
56
70
  "author": {
57
71
  "name": "SpecStream",