@specstream/cli 0.2.0 → 0.2.1

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
@@ -10,6 +10,8 @@ specstream search "What is the latest stable release of PostgreSQL?"
10
10
 
11
11
  Or run it once without an install: `npx @specstream/cli search "..."`. The package has no dependencies and needs Node 20 or newer.
12
12
 
13
+ 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).
14
+
13
15
  ## Single binary
14
16
 
15
17
  No Node on the machine? Each release has one file per system, with nothing else to install:
@@ -23,7 +25,7 @@ No Node on the machine? Each release has one file per system, with nothing else
23
25
  | Windows x64 | `specstream-windows-x64.exe` |
24
26
 
25
27
  ```sh
26
- curl -fsSL -o specstream https://github.com/specstream/specstream-tools/releases/download/cli-v0.2.0/specstream-linux-x64
28
+ curl -fsSL -o specstream https://github.com/specstream/specstream-tools/releases/download/cli-v0.2.1/specstream-linux-x64
27
29
  chmod +x specstream
28
30
  ./specstream --version
29
31
  ```
@@ -76,9 +78,19 @@ specstream deep rows <find_id> --all > rows.jsonl
76
78
 
77
79
  The command sends your requests to the SpecStream API and nowhere else. It writes no file and keeps no state.
78
80
 
81
+ ## Moving off Google Custom Search
82
+
83
+ 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`.
84
+
85
+ ```bash
86
+ curl "https://api.specstream.ai/customsearch/v1?key=$SPECSTREAM_API_KEY&q=open+source+vector+databases&num=10"
87
+ ```
88
+
89
+ `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, and the Extract API reads the pages at $0.80 per 1,000. Guide: [specstream.ai/migrate/google-custom-search](https://specstream.ai/migrate/google-custom-search).
90
+
79
91
  ## Pricing
80
92
 
81
- New accounts start with $10 of credit, no card. The Search API costs $5 per 1,000 searches of up to 10 results, or $1 on the fast tier, and the Extract API $0.80 per 1,000 pages. In Deep Search, a delivered result costs 5 cents, 15 cents or $1 depending on how many facts it carries. No result, no charge. See [pricing](https://specstream.ai/pricing).
93
+ New accounts start with $2 of credit, enough for 2,000 fast searches, no card. The Search API costs $5 per 1,000 searches of up to 10 results, or $1 on the fast tier, and the Extract API $0.80 per 1,000 pages. In Deep Search, a delivered result costs 5 cents, 15 cents or $1 depending on how many facts it carries. See [pricing](https://specstream.ai/pricing).
82
94
 
83
95
  ## Links
84
96
 
package/bin/specstream.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // One file with no dependencies, so the npm package and the single binary (Node SEA) run the same code.
4
4
  "use strict";
5
5
 
6
- const VERSION = "0.2.0";
6
+ const VERSION = "0.2.1";
7
7
  const DEFAULT_BASE_URL = "https://api.specstream.ai";
8
8
  const KEY_HELP =
9
9
  "Set SPECSTREAM_API_KEY (or pass --api-key). Create a key under Agents & API at https://specstream.ai/workspace";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@specstream/cli",
3
- "version": "0.2.0",
4
- "description": "The specstream command: web search, page reading and Deep Search from the terminal, with one key.",
3
+ "version": "0.2.1",
4
+ "description": "The specstream command: web search, page reading and Deep Search from the terminal, with one key. SpecStream is first on 15 public benchmarks: $1 per 1,000 fast searches, $0.80 per 1,000 pages read. $2 free credit, no card.",
5
5
  "bin": {
6
6
  "specstream": "bin/specstream.js"
7
7
  },