@specstream/ai-sdk 0.4.2 → 0.4.3
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 +15 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,21 @@ 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 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, and needs no card: [specstream.ai](https://specstream.ai/signup).
|
|
11
|
+
|
|
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
|
+
|
|
14
|
+
## Moving off Google Custom Search
|
|
15
|
+
|
|
16
|
+
Google ends its Custom Search JSON API for existing customers on January 1, 2027. SpecStream answers the same call in Google's shape, so the move is one line: change the base address from `https://www.googleapis.com` to `https://api.specstream.ai`.
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
curl "https://api.specstream.ai/customsearch/v1?key=$SPECSTREAM_API_KEY&q=open+source+vector+databases&num=10"
|
|
20
|
+
```
|
|
21
|
+
|
|
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
|
+
|
|
24
|
+
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.
|
|
11
25
|
|
|
12
26
|
## An agent that can find lists
|
|
13
27
|
|
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
|
+
export declare const USER_AGENT = "@specstream/ai-sdk/0.4.3";
|
|
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
|
+
export const USER_AGENT = "@specstream/ai-sdk/0.4.3";
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@specstream/ai-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
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.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|