@specstream/cli 0.0.0-stage → 0.2.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 SpecStream SAS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,90 @@
1
- # Temporary Holding Version
1
+ # @specstream/cli
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The `specstream` command: web search, page reading and Deep Search from the terminal, with one [SpecStream](https://specstream.ai) key.
4
+
5
+ ```sh
6
+ npm install -g @specstream/cli
7
+ export SPECSTREAM_API_KEY=... # Agents & API at https://specstream.ai/workspace
8
+ specstream search "What is the latest stable release of PostgreSQL?"
9
+ ```
10
+
11
+ Or run it once without an install: `npx @specstream/cli search "..."`. The package has no dependencies and needs Node 20 or newer.
12
+
13
+ ## Single binary
14
+
15
+ No Node on the machine? Each release has one file per system, with nothing else to install:
16
+
17
+ | System | File |
18
+ | --- | --- |
19
+ | Linux x64 | `specstream-linux-x64` |
20
+ | Linux arm64 | `specstream-linux-arm64` |
21
+ | macOS Apple silicon | `specstream-macos-arm64` |
22
+ | macOS Intel | `specstream-macos-x64` |
23
+ | Windows x64 | `specstream-windows-x64.exe` |
24
+
25
+ ```sh
26
+ curl -fsSL -o specstream https://github.com/specstream/specstream-tools/releases/download/cli-v0.2.0/specstream-linux-x64
27
+ chmod +x specstream
28
+ ./specstream --version
29
+ ```
30
+
31
+ `SHA256SUMS` in the same release holds each file's checksum.
32
+
33
+ ## Search
34
+
35
+ ```sh
36
+ specstream search "What is the latest stable release of PostgreSQL?"
37
+ specstream search "open source vector databases" --fast --num 20
38
+ specstream search "central bank rate decision" --news --country us --json
39
+ specstream search "PostgreSQL 18 release notes logical replication" --passages
40
+ ```
41
+
42
+ The Search API answers from the live web and prints the answer, the page it stands on, and the sources. The default search costs $5 per 1,000 searches of up to 10 results; `--fast` costs $1 per 1,000. `--passages` reads the pages and prints under each source the passages closest to the question, so an agent answers without opening a page; `--compact` prints one best snippet per source instead.
43
+
44
+ ## Read pages
45
+
46
+ ```sh
47
+ specstream read https://www.postgresql.org/docs/current/release.html > release.md
48
+ specstream read https://example.com/a.pdf https://example.com/b --format text
49
+ ```
50
+
51
+ The Extract API reads up to 20 addresses a call (web pages, PDF, Word and Excel) and prints each one's main text as Markdown or plain text, at $0.80 per 1,000 pages. A page with no text is free. One address prints as its text alone, so it pipes into a file.
52
+
53
+ ## Deep Search
54
+
55
+ Deep Search builds a complete list: every match, with the same facts on each row and a source on every value. It is priced before it runs, and nothing starts until you approve the maximum.
56
+
57
+ ```sh
58
+ specstream deep "Open-source document-signing tools I can self-host. Include the license and latest release." --results 25
59
+ # Up to 25 results cost at most $3.75. You pay only for results delivered.
60
+ # To start it:
61
+ # specstream deep approve <quote_id> --max-cents 375
62
+
63
+ specstream deep approve <quote_id> --max-cents 375
64
+ specstream deep status <find_id>
65
+ specstream deep rows <find_id> --all > rows.jsonl
66
+ ```
67
+
68
+ `deep approve` starts the work only when `--max-cents` equals the quote's own maximum. It prints a request key before it calls; if the answer is lost, run the same command with `--key <that key>` and you will not pay twice. A price lasts 30 minutes.
69
+
70
+ ## Options
71
+
72
+ - `--json` prints the API's JSON for any command.
73
+ - `--api-key <key>` instead of `SPECSTREAM_API_KEY`.
74
+ - `--base-url <url>` or `SPECSTREAM_BASE_URL` instead of `https://api.specstream.ai`.
75
+ - Exit codes: 0 done, 1 the API refused or nothing was read, 2 the command was not understood or no key was given.
76
+
77
+ The command sends your requests to the SpecStream API and nowhere else. It writes no file and keeps no state.
78
+
79
+ ## Pricing
80
+
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).
82
+
83
+ ## Links
84
+
85
+ - [Search API](https://specstream.ai/docs/search-api), [Extract API](https://specstream.ai/docs/extract-api) and [API docs](https://specstream.ai/docs/api)
86
+ - [Source and issues](https://github.com/specstream/specstream-tools)
87
+ - [TypeScript client](https://www.npmjs.com/package/@specstream/sdk) and [Python client](https://pypi.org/project/specstream-client/)
88
+ - Support: support@specstream.ai
89
+
90
+ MIT license.
@@ -0,0 +1,341 @@
1
+ #!/usr/bin/env node
2
+ // The SpecStream command: Search API, Extract API and Deep Search with one key.
3
+ // One file with no dependencies, so the npm package and the single binary (Node SEA) run the same code.
4
+ "use strict";
5
+
6
+ const VERSION = "0.2.0";
7
+ const DEFAULT_BASE_URL = "https://api.specstream.ai";
8
+ const KEY_HELP =
9
+ "Set SPECSTREAM_API_KEY (or pass --api-key). Create a key under Agents & API at https://specstream.ai/workspace";
10
+
11
+ const HELP = `specstream ${VERSION}: web search, page reading and Deep Search with one key
12
+
13
+ Usage:
14
+ specstream search <question or keywords> Search API: an answer and its sources from the live web
15
+ --fast the fast search ($1 per 1,000 searches; the default search is $5 per 1,000)
16
+ --num <n> how many results (default 10)
17
+ --news news results
18
+ --passages each source with its passages closest to the question, read from the page
19
+ --compact one best snippet per source, read from the page (not with --passages or --news)
20
+ --country <cc> two-letter country --language <xx> two-letter language
21
+ specstream read <url> [<url> ...] Extract API: the main text of up to 20 pages, PDF, Word or Excel
22
+ --format <markdown|text> (default markdown)
23
+ specstream deep <request in plain words> Deep Search: reads the request and prints the most it can cost.
24
+ --results <n> how many results to price (default 25) Nothing runs and nothing is charged.
25
+ specstream deep approve <quote_id> --max-cents <n> start the priced work; <n> is the maximum you approve
26
+ --key <text> your own request key; a retry with the same key never pays twice
27
+ specstream deep status <find_id> progress of a run
28
+ specstream deep rows <find_id> [--all] the results, one JSON object per line
29
+
30
+ Options for every command:
31
+ --json print the API's JSON instead of text
32
+ --api-key <key> default: the SPECSTREAM_API_KEY environment variable
33
+ --base-url <url> default: ${DEFAULT_BASE_URL} (or SPECSTREAM_BASE_URL)
34
+ --version, --help
35
+
36
+ ${KEY_HELP}
37
+ `;
38
+
39
+ // Flags that take a value. Every other flag is a switch.
40
+ const VALUE_FLAGS = new Set([
41
+ "num", "country", "language", "format", "results", "max-cents", "key", "api-key", "base-url", "limit",
42
+ ]);
43
+ const SWITCHES = new Set(["fast", "news", "passages", "compact", "json", "all", "help", "version"]);
44
+
45
+ class Usage extends Error {}
46
+ class ApiError extends Error {
47
+ constructor(message, status) {
48
+ super(message);
49
+ this.status = status;
50
+ }
51
+ }
52
+
53
+ function parseArgs(argv) {
54
+ const flags = {};
55
+ const words = [];
56
+ for (let i = 0; i < argv.length; i += 1) {
57
+ const arg = argv[i];
58
+ if (arg === "--") {
59
+ words.push(...argv.slice(i + 1));
60
+ break;
61
+ }
62
+ if (arg === "-h") flags.help = true;
63
+ else if (arg === "-v" || arg === "-V") flags.version = true;
64
+ else if (arg.startsWith("--")) {
65
+ const eq = arg.indexOf("=");
66
+ const name = eq === -1 ? arg.slice(2) : arg.slice(2, eq);
67
+ if (SWITCHES.has(name)) {
68
+ if (eq !== -1) throw new Usage(`--${name} takes no value`);
69
+ flags[name] = true;
70
+ } else if (VALUE_FLAGS.has(name)) {
71
+ const value = eq === -1 ? argv[(i += 1)] : arg.slice(eq + 1);
72
+ if (value === undefined || value === "") throw new Usage(`--${name} needs a value`);
73
+ flags[name] = value;
74
+ } else throw new Usage(`Unknown option --${name}`);
75
+ } else words.push(arg);
76
+ }
77
+ return { flags, words };
78
+ }
79
+
80
+ function wholeNumber(flags, name, fallback, min, max) {
81
+ if (flags[name] === undefined) return fallback;
82
+ const value = Number(flags[name]);
83
+ if (!/^\d+$/.test(flags[name]) || !Number.isSafeInteger(value) || value < min || value > max)
84
+ throw new Usage(`--${name} must be a whole number from ${min} to ${max}`);
85
+ return value;
86
+ }
87
+
88
+ function errorText(status, parsed) {
89
+ const error = parsed && typeof parsed === "object" ? parsed.error ?? parsed.detail ?? parsed : null;
90
+ let said = "";
91
+ if (typeof error === "string") said = error;
92
+ else if (error && typeof error === "object") {
93
+ said = [error.code, error.message].filter((part) => typeof part === "string" && part).join(": ");
94
+ if (!said) said = JSON.stringify(error).slice(0, 400);
95
+ }
96
+ let hint = "";
97
+ if (status === 401 || status === 403) hint = " " + KEY_HELP;
98
+ if (status === 402) hint = " Add credit at https://specstream.ai/workspace";
99
+ return `SpecStream answered HTTP ${status}${said ? ": " + said : ""}.${hint}`;
100
+ }
101
+
102
+ function makeApi({ apiKey, baseUrl, fetchFn }) {
103
+ const base = baseUrl.replace(/\/+$/, "");
104
+ const token = apiKey.toLowerCase().startsWith("bearer ") ? apiKey : `Bearer ${apiKey}`;
105
+ return async function call(method, path, body) {
106
+ let response;
107
+ let text;
108
+ try {
109
+ response = await fetchFn(base + path, {
110
+ method,
111
+ headers: {
112
+ Authorization: token,
113
+ Accept: "application/json",
114
+ "Content-Type": "application/json",
115
+ "User-Agent": `specstream-cli/${VERSION}`,
116
+ },
117
+ // A redirect would carry the key to another address.
118
+ redirect: "error",
119
+ signal: AbortSignal.timeout(150_000),
120
+ body: body === undefined ? undefined : JSON.stringify(body),
121
+ });
122
+ text = await response.text();
123
+ } catch (error) {
124
+ throw new ApiError(`Could not reach ${base}: ${(error && error.message) || error}`, null);
125
+ }
126
+ let parsed = null;
127
+ try {
128
+ parsed = JSON.parse(text);
129
+ } catch {
130
+ if (response.ok) throw new ApiError(`${method} ${path} did not answer JSON`, response.status);
131
+ }
132
+ if (!response.ok) throw new ApiError(errorText(response.status, parsed), response.status);
133
+ const data = parsed && typeof parsed === "object" ? parsed.data : null;
134
+ if (!parsed || parsed.error != null || !data || typeof data !== "object")
135
+ throw new ApiError(`${method} ${path} answered without data`, response.status);
136
+ return data;
137
+ };
138
+ }
139
+
140
+ function dollars(cents) {
141
+ return "$" + (cents / 100).toFixed(2);
142
+ }
143
+
144
+ async function search(ctx, words, flags) {
145
+ const q = words.join(" ").trim();
146
+ if (!q) throw new Usage('Give the search: specstream search "latest stable release of PostgreSQL"');
147
+ const query = new URLSearchParams({ q });
148
+ if (flags.fast) query.set("speed", "fast");
149
+ if (flags.num !== undefined) query.set("num", String(wholeNumber(flags, "num", 10, 1, 100)));
150
+ if (flags.news) query.set("news", "true");
151
+ if (flags.compact && (flags.passages || flags.news)) throw new Usage("--compact goes with neither --passages nor --news");
152
+ if (flags.passages) query.set("passages", "true");
153
+ if (flags.compact) query.set("compact", "true");
154
+ if (flags.country) query.set("country", flags.country);
155
+ if (flags.language) query.set("language", flags.language);
156
+ const data = await ctx.api("GET", "/v1/web-search?" + query);
157
+ if (flags.json) return ctx.json(data);
158
+ if (data.answer && data.answer.value) {
159
+ ctx.out(String(data.answer.value));
160
+ if (data.answer.page) ctx.out(" " + data.answer.page);
161
+ ctx.out("");
162
+ }
163
+ const sources = Array.isArray(data.sources) ? data.sources : [];
164
+ sources.forEach((source, index) => {
165
+ ctx.out(`${index + 1}. ${source.title || source.url}`);
166
+ ctx.out(` ${source.url}`);
167
+ const highlights = Array.isArray(source.highlights) ? source.highlights.filter(Boolean) : [];
168
+ if (highlights.length) highlights.forEach((text) => ctx.out(` > ${String(text).replace(/\s+/g, " ").trim()}`));
169
+ else if (source.snippet) ctx.out(` ${String(source.snippet).replace(/\s+/g, " ").trim()}`);
170
+ });
171
+ if (!sources.length && !(data.answer && data.answer.value)) ctx.err("No results.");
172
+ if (typeof data.price_usd === "number") ctx.err(`$${data.price_usd} charged, ${data.took_ms} ms`);
173
+ return 0;
174
+ }
175
+
176
+ async function read(ctx, words, flags) {
177
+ if (!words.length) throw new Usage("Give at least one address: specstream read https://example.com");
178
+ if (words.length > 20) throw new Usage("One call reads up to 20 addresses");
179
+ const format = flags.format || "markdown";
180
+ if (format !== "markdown" && format !== "text") throw new Usage("--format is markdown or text");
181
+ const data = await ctx.api("POST", "/v1/extract", { urls: words, format });
182
+ if (flags.json) return ctx.json(data);
183
+ const results = Array.isArray(data.results) ? data.results : [];
184
+ let ok = 0;
185
+ for (const page of results) {
186
+ if (page.status !== "ok") {
187
+ ctx.err(`${page.url}: ${page.status}${page.reason ? " (" + page.reason + ")" : ""}`);
188
+ continue;
189
+ }
190
+ ok += 1;
191
+ // One page prints as its text alone, so it pipes into a file or another tool.
192
+ if (words.length > 1) ctx.out(`--- ${page.url}${page.title ? " | " + page.title : ""} ---`);
193
+ ctx.out(page.text);
194
+ if (words.length > 1) ctx.out("");
195
+ }
196
+ if (typeof data.price_usd === "number") ctx.err(`$${data.price_usd} charged, ${data.took_ms} ms`);
197
+ return ok ? 0 : 1;
198
+ }
199
+
200
+ function findId(words, what) {
201
+ if (words.length !== 1) throw new Usage(`Give the run: specstream deep ${what} <find_id>`);
202
+ return encodeURIComponent(words[0]);
203
+ }
204
+
205
+ async function deep(ctx, words, flags) {
206
+ const sub = words[0];
207
+ if (sub === "approve") return deepApprove(ctx, words.slice(1), flags);
208
+ if (sub === "status") {
209
+ const data = await ctx.api("GET", "/v1/finds/" + findId(words.slice(1), "status"));
210
+ if (flags.json) return ctx.json(data);
211
+ ctx.out(`${data.find_id}: ${data.status}, ${data.accepted_count} of ${data.requested_count} results`);
212
+ if (data.stop_reason) ctx.out(`stopped: ${data.stop_reason}`);
213
+ return 0;
214
+ }
215
+ if (sub === "rows") {
216
+ const id = findId(words.slice(1), "rows");
217
+ const limit = wholeNumber(flags, "limit", 100, 1, 100);
218
+ let cursor = null;
219
+ do {
220
+ const query = new URLSearchParams({ limit: String(limit) });
221
+ if (cursor) query.set("cursor", cursor);
222
+ const page = await ctx.api("GET", `/v1/finds/${id}/rows?${query}`);
223
+ const rows = Array.isArray(page.flat_rows) && page.flat_rows.length ? page.flat_rows : page.rows || [];
224
+ for (const row of rows) ctx.out(JSON.stringify(row));
225
+ cursor = page.next_cursor || null;
226
+ if (cursor && !flags.all) ctx.err("More results: add --all");
227
+ } while (cursor && flags.all);
228
+ return 0;
229
+ }
230
+ const q = words.join(" ").trim();
231
+ if (!q) throw new Usage('Give the request: specstream deep "open-source document-signing tools I can self-host"');
232
+ const units = wholeNumber(flags, "results", 25, 1, 100000);
233
+ const spec = await ctx.api("POST", "/v1/parse", { q, locale: "en-US" });
234
+ if (!spec.ast_hash) {
235
+ if (flags.json) ctx.json({ spec });
236
+ ctx.err(spec.notice || "SpecStream could not read this request as a list. Say what to find and which facts to bring back.");
237
+ return 1;
238
+ }
239
+ const quote = await ctx.api("POST", "/v1/capacity/quotes", {
240
+ ast_hash: spec.ast_hash,
241
+ operation: "find",
242
+ requested_units: units,
243
+ });
244
+ if (flags.json) return ctx.json({ spec, quote });
245
+ const reading = spec.read_back || spec.canonical_sentence || spec.label;
246
+ if (reading) ctx.out(`Reading: ${reading}`);
247
+ ctx.out(`Up to ${units} results cost at most ${dollars(quote.maximum_cents)}. You pay only for results delivered.`);
248
+ ctx.out(`The price holds until ${quote.expires_at}. Nothing has run.`);
249
+ ctx.out("To start it:");
250
+ ctx.out(` specstream deep approve ${quote.quote_id} --max-cents ${quote.maximum_cents}`);
251
+ return 0;
252
+ }
253
+
254
+ async function deepApprove(ctx, words, flags) {
255
+ if (words.length !== 1 || flags["max-cents"] === undefined)
256
+ throw new Usage("Give the quote and the maximum you approve: specstream deep approve <quote_id> --max-cents <n>");
257
+ const approved = wholeNumber(flags, "max-cents", 0, 1, 100000000);
258
+ const quote = await ctx.api("GET", "/v1/capacity/quotes/" + encodeURIComponent(words[0]));
259
+ if (quote.maximum_cents !== approved) {
260
+ ctx.err(
261
+ `Not started: this quote's maximum is ${quote.maximum_cents} cents and you approved ${approved}. ` +
262
+ "Approve the quote's own maximum, or price the request again.",
263
+ );
264
+ return 1;
265
+ }
266
+ const key = flags.key || "cli-" + ctx.uuid();
267
+ // Shown before the call: if the answer is lost, the same key starts nothing twice.
268
+ ctx.err(`Request key: ${key}`);
269
+ const run = await ctx.api("POST", "/v1/capacity/executions", {
270
+ quote_id: quote.quote_id,
271
+ quote_hash: quote.quote_hash,
272
+ confirm_max_cents: approved,
273
+ idempotency_key: key,
274
+ });
275
+ if (flags.json) return ctx.json(run);
276
+ if (!run.find_id) {
277
+ ctx.err(`The work was not started (${run.state}). Run the same command again with --key ${key}`);
278
+ return 1;
279
+ }
280
+ ctx.out(`Started ${run.find_id}, at most ${dollars(run.maximum_cents)}.`);
281
+ ctx.out(` specstream deep status ${run.find_id}`);
282
+ ctx.out(` specstream deep rows ${run.find_id} --all`);
283
+ return 0;
284
+ }
285
+
286
+ const COMMANDS = { search, read, extract: read, deep };
287
+
288
+ /** Runs one command and returns the exit code. Everything outside (network, streams, key) comes in by `io`. */
289
+ async function main(argv, io = {}) {
290
+ const env = io.env || process.env;
291
+ const out = io.out || ((line) => process.stdout.write(line + "\n"));
292
+ const err = io.err || ((line) => process.stderr.write(line + "\n"));
293
+ try {
294
+ const { flags, words } = parseArgs(argv);
295
+ if (flags.version) return out(VERSION), 0;
296
+ const name = words[0];
297
+ if (flags.help || !name || name === "help") return out(HELP), 0;
298
+ const command = COMMANDS[name];
299
+ if (!command) throw new Usage(`Unknown command "${name}"`);
300
+ const apiKey = (flags["api-key"] || env.SPECSTREAM_API_KEY || "").trim();
301
+ if (!apiKey) throw new Usage("No API key. " + KEY_HELP);
302
+ const ctx = {
303
+ out,
304
+ err,
305
+ json: (data) => (out(JSON.stringify(data, null, 2)), 0),
306
+ uuid: io.uuid || (() => require("node:crypto").randomUUID()),
307
+ api: makeApi({
308
+ apiKey,
309
+ baseUrl: flags["base-url"] || env.SPECSTREAM_BASE_URL || DEFAULT_BASE_URL,
310
+ fetchFn: io.fetch || fetch,
311
+ }),
312
+ };
313
+ return await command(ctx, words.slice(1), flags);
314
+ } catch (error) {
315
+ if (error instanceof Usage) return err(error.message), err("See: specstream --help"), 2;
316
+ if (error instanceof ApiError) return err(error.message), 1;
317
+ throw error;
318
+ }
319
+ }
320
+
321
+ function isBinary() {
322
+ try {
323
+ return require("node:sea").isSea();
324
+ } catch {
325
+ return false;
326
+ }
327
+ }
328
+
329
+ if (require.main === module || isBinary()) {
330
+ main(process.argv.slice(2)).then(
331
+ (code) => {
332
+ process.exitCode = code;
333
+ },
334
+ (error) => {
335
+ process.stderr.write(String((error && error.stack) || error) + "\n");
336
+ process.exitCode = 1;
337
+ },
338
+ );
339
+ }
340
+
341
+ module.exports = { main, VERSION };
package/package.json CHANGED
@@ -1,6 +1,46 @@
1
1
  {
2
2
  "name": "@specstream/cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "The specstream command: web search, page reading and Deep Search from the terminal, with one key.",
5
+ "bin": {
6
+ "specstream": "bin/specstream.js"
7
+ },
8
+ "files": [
9
+ "bin",
10
+ "README.md",
11
+ "LICENSE"
12
+ ],
13
+ "scripts": {
14
+ "build": "node --check bin/specstream.js && node bin/specstream.js --version",
15
+ "test": "node --test test/*.test.js",
16
+ "binary": "node scripts/build-binary.js"
17
+ },
18
+ "devDependencies": {
19
+ "postject": "1.0.0-alpha.6"
20
+ },
21
+ "engines": {
22
+ "node": ">=20"
23
+ },
24
+ "keywords": [
25
+ "specstream",
26
+ "cli",
27
+ "web-search",
28
+ "search-api",
29
+ "extract",
30
+ "deep-search",
31
+ "agents"
32
+ ],
33
+ "license": "MIT",
34
+ "homepage": "https://specstream.ai/docs/search-api",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/specstream/specstream-tools.git",
38
+ "directory": "packages/cli"
39
+ },
40
+ "bugs": {
41
+ "url": "https://github.com/specstream/specstream-tools/issues"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public"
45
+ }
46
+ }