@specstream/ai-sdk 0.3.0 → 0.4.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 +31 -1
- package/dist/client.d.ts +79 -2
- package/dist/client.js +99 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/tools.d.ts +1926 -1
- package/dist/tools.js +117 -3
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ The tool's result wraps the rows with `status`, `list_id`, `list_link`, `row_cou
|
|
|
54
54
|
|
|
55
55
|
| Tool | The model gives | What happens | Cost |
|
|
56
56
|
| --- | --- | --- | --- |
|
|
57
|
-
| `specstream_web_search` | `q`, `passages` | Calls `GET /v1/web-search` and returns the answer, matching rows, ranked sources and optional page passages | $5 per 1,000 searches of up to 10 results
|
|
57
|
+
| `specstream_web_search` | `q`, `passages`, `speed` | Calls `GET /v1/web-search` and returns the answer, matching rows, ranked sources and optional page passages. `speed: "fast"` returns the ranked results in about a second | $5 per 1,000 searches of up to 10 results; a fast search costs $1 per 1,000 |
|
|
58
58
|
| `specstream_extract_pages` | `urls`, `format` | Calls `POST /v1/extract` and returns the clean main text, title and published date of 1 to 20 web pages, PDFs, Word or Excel files | $0.80 per 1,000 pages (empty pages free) |
|
|
59
59
|
| `specstream_find_list` | `request`, `maxResults` (1 to 1000, default 25) | Reads the request, prices it, starts it only within `maxPriceUsd`, waits up to `waitSeconds` (7 minutes by default) and returns every row | Only delivered rows |
|
|
60
60
|
| `specstream_get_list_results` | `listId` | Every row found so far, for a list that was still running | Free |
|
|
@@ -77,6 +77,36 @@ Settings, all optional except the price:
|
|
|
77
77
|
|
|
78
78
|
Running on a serverless function? Set `waitSeconds` below the function's time limit. A list that's still running when the wait ends comes back with its `list_id`, and the agent reads the rest with `specstream_get_list_results`.
|
|
79
79
|
|
|
80
|
+
## Browser sessions
|
|
81
|
+
|
|
82
|
+
Some pages show nothing until a button is clicked, a form is filled in or their JavaScript runs. For those, the agent opens a real browser that SpecStream runs, drives it step by step and closes it.
|
|
83
|
+
|
|
84
|
+
```ts
|
|
85
|
+
import { generateText, stepCountIs } from "ai";
|
|
86
|
+
import { specstreamBrowserTools } from "@specstream/ai-sdk";
|
|
87
|
+
|
|
88
|
+
const { text } = await generateText({
|
|
89
|
+
model: "openai/gpt-5-mini",
|
|
90
|
+
tools: specstreamBrowserTools({ timeoutSeconds: 300, allowedDomains: ["example.com"] }),
|
|
91
|
+
stopWhen: stepCountIs(12),
|
|
92
|
+
prompt: "Open example.com, accept the cookie banner and read the pricing table.",
|
|
93
|
+
});
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
| Tool | Input | What it does | Price |
|
|
97
|
+
| --- | --- | --- | --- |
|
|
98
|
+
| `specstream_open_browser` | `url` (optional) | Calls `POST /v1/browser/sessions` with the limits you set in code and returns the `session_id` | $0.10 an hour of browser time, charged by the second |
|
|
99
|
+
| `specstream_browser_navigate` | `session_id`, `url` | Opens the address | $1 per 1,000 steps |
|
|
100
|
+
| `specstream_browser_read` | `session_id`, `format` | The page's text as it stands after its JavaScript ran, in Markdown or plain text | $1 per 1,000 steps |
|
|
101
|
+
| `specstream_browser_snapshot` | `session_id` | The page's links, buttons and fields, each with a reference | $1 per 1,000 steps |
|
|
102
|
+
| `specstream_browser_click`, `specstream_browser_type` | `session_id`, `target`, `text` | Clicks an element or types into a field, by its reference | $1 per 1,000 steps |
|
|
103
|
+
| `specstream_browser_action` | `session_id`, `tool`, `arguments` | Any other Playwright MCP step: a key press, a select, a wait, a form | $1 per 1,000 steps |
|
|
104
|
+
| `specstream_close_browser` | `session_id` | Calls `POST /v1/browser/sessions/{id}/release` and returns the seconds, the steps and the charge | Free |
|
|
105
|
+
|
|
106
|
+
`timeoutSeconds` (60 to 3600, default 300) is set in your code and is not a tool input: the browser ends then, whatever the model does, so 300 seconds is at most $0.0084 of time. `idleTimeoutSeconds` (default 120) ends a browser no step has touched. `allowedDomains` keeps the browser on the hosts you name, `blockMedia` skips images, video and fonts. A page a site or your own list refuses comes back as an `error` the agent can read, not an exception. Spread both sets into one agent with `tools: { ...specstreamTools({ maxPriceUsd: 5 }), ...specstreamBrowserTools() }`.
|
|
107
|
+
|
|
108
|
+
Without a model, the same calls are on the client: `openBrowser()`, `browserStep(sessionId, tool, args)`, `browserSession(sessionId)` and `closeBrowser(sessionId)`.
|
|
109
|
+
|
|
80
110
|
## Without a model
|
|
81
111
|
|
|
82
112
|
The client the tools are built on is exported, for the same calls from your own code:
|
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.
|
|
3
|
+
export declare const USER_AGENT = "@specstream/ai-sdk/0.4.1";
|
|
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;
|
|
@@ -106,9 +106,14 @@ export declare class SpecStreamClient {
|
|
|
106
106
|
constructor(options?: SpecStreamClientOptions);
|
|
107
107
|
get hasKey(): boolean;
|
|
108
108
|
private request;
|
|
109
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Search the live web with GET /v1/web-search ($5 per 1,000 searches of up to 10 results, no quote needed).
|
|
111
|
+
* speed "fast" returns the engines' first ranked results in about a second, at $1 per 1,000 searches;
|
|
112
|
+
* left out, the API's default search runs.
|
|
113
|
+
*/
|
|
110
114
|
webSearch(query: string, options?: {
|
|
111
115
|
passages?: boolean;
|
|
116
|
+
speed?: "fast" | "default";
|
|
112
117
|
abortSignal?: AbortSignal;
|
|
113
118
|
}): Promise<Record<string, unknown>>;
|
|
114
119
|
/** Extract the main text of 1 to 20 URLs live with POST /v1/extract ($0.80 per 1,000 pages, empty pages free). */
|
|
@@ -116,6 +121,23 @@ export declare class SpecStreamClient {
|
|
|
116
121
|
format?: "markdown" | "text";
|
|
117
122
|
abortSignal?: AbortSignal;
|
|
118
123
|
}): Promise<Record<string, unknown>>;
|
|
124
|
+
/**
|
|
125
|
+
* Open a real browser that SpecStream runs, with POST /v1/browser/sessions. Time costs $0.10 an hour,
|
|
126
|
+
* charged by the second while it is open, and each step costs $0.001. The browser ends by itself
|
|
127
|
+
* after `timeoutSeconds`. The steps hold no connection, so the session is kept alive between them.
|
|
128
|
+
*/
|
|
129
|
+
openBrowser(options?: OpenBrowserOptions): Promise<BrowserSessionView>;
|
|
130
|
+
/**
|
|
131
|
+
* Run one step in the session's browser with POST /v1/browser/sessions/{id}/actions ($0.001 a step).
|
|
132
|
+
* `tool` is a Playwright MCP tool name (browser_navigate, browser_snapshot, browser_click, browser_type and
|
|
133
|
+
* the others) or browser_read for the page's text. A page the site or your allowed hosts refuse comes back
|
|
134
|
+
* in `error`, not as an exception.
|
|
135
|
+
*/
|
|
136
|
+
browserStep(sessionId: string, tool: string, args?: Record<string, unknown>, abortSignal?: AbortSignal): Promise<BrowserStepView>;
|
|
137
|
+
/** A session's state, its seconds, steps and charge so far, with GET /v1/browser/sessions/{id}. Reading is free. */
|
|
138
|
+
browserSession(sessionId: string, abortSignal?: AbortSignal): Promise<BrowserSessionView>;
|
|
139
|
+
/** End the session with POST /v1/browser/sessions/{id}/release, so its time stops being charged. */
|
|
140
|
+
closeBrowser(sessionId: string, abortSignal?: AbortSignal): Promise<BrowserSessionView>;
|
|
119
141
|
/** Every row found so far for a list, following the pages. Reading is free. */
|
|
120
142
|
results(findId: string, abortSignal?: AbortSignal): Promise<ListResults>;
|
|
121
143
|
/** Reads the request, prices it, and runs it only if the most it can cost is within `maxPriceUsd`. */
|
|
@@ -192,4 +214,59 @@ export type MonitorRun = {
|
|
|
192
214
|
reason: string | null;
|
|
193
215
|
list_id: string | null;
|
|
194
216
|
};
|
|
217
|
+
export declare const BROWSER_DEFAULT_TIMEOUT_SECONDS = 300;
|
|
218
|
+
export declare const BROWSER_DEFAULT_IDLE_SECONDS = 120;
|
|
219
|
+
export type OpenBrowserOptions = {
|
|
220
|
+
/** The most seconds the browser runs, from 60 to 3600. Defaults to 300: at $0.10 an hour, at most $0.0084 of time. */
|
|
221
|
+
timeoutSeconds?: number;
|
|
222
|
+
/** The browser ends after this many seconds with no step, from 10 to 600. Defaults to 120. */
|
|
223
|
+
idleTimeoutSeconds?: number;
|
|
224
|
+
/** Hosts the browser may open, such as example.com or *.example.com. Left out, every public host is allowed. */
|
|
225
|
+
allowedDomains?: string[];
|
|
226
|
+
/** true skips images, video, audio and fonts, so pages load faster. */
|
|
227
|
+
blockMedia?: boolean;
|
|
228
|
+
/** false runs the browser with a screen, for sites that act differently without one. */
|
|
229
|
+
headless?: boolean;
|
|
230
|
+
/** Your own labels for the session, returned as sent. */
|
|
231
|
+
metadata?: Record<string, string | number | boolean>;
|
|
232
|
+
abortSignal?: AbortSignal;
|
|
233
|
+
};
|
|
234
|
+
/** A browser session as a model reads it. The connect address is left out: it carries the session's token. */
|
|
235
|
+
export type BrowserSessionView = {
|
|
236
|
+
session_id: string;
|
|
237
|
+
status?: string;
|
|
238
|
+
ended_reason?: string;
|
|
239
|
+
live_url?: string;
|
|
240
|
+
expires_at?: string;
|
|
241
|
+
timeout_s?: number;
|
|
242
|
+
seconds?: number;
|
|
243
|
+
actions?: number;
|
|
244
|
+
charged_usd?: number;
|
|
245
|
+
price?: {
|
|
246
|
+
per_second_usd: number;
|
|
247
|
+
per_action_usd: number;
|
|
248
|
+
};
|
|
249
|
+
/** Set by `specstream_open_browser` when it was given a first page. */
|
|
250
|
+
page?: BrowserStepView;
|
|
251
|
+
message?: string;
|
|
252
|
+
};
|
|
253
|
+
/** One step as a model reads it: the step's text, where the page is, and what the step cost. */
|
|
254
|
+
export type BrowserStepView = {
|
|
255
|
+
session_id: string;
|
|
256
|
+
text?: string;
|
|
257
|
+
/** An image's base64 is left out: it is large and of no use to a model that reads text. */
|
|
258
|
+
images?: {
|
|
259
|
+
mime_type: string | null;
|
|
260
|
+
base64_chars: number;
|
|
261
|
+
}[];
|
|
262
|
+
url?: string;
|
|
263
|
+
title?: string;
|
|
264
|
+
read_at?: string;
|
|
265
|
+
price_usd?: number;
|
|
266
|
+
error?: {
|
|
267
|
+
code: string;
|
|
268
|
+
reason?: string | null;
|
|
269
|
+
message: string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
195
272
|
export {};
|
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.
|
|
3
|
+
export const USER_AGENT = "@specstream/ai-sdk/0.4.1";
|
|
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;
|
|
@@ -150,14 +150,23 @@ export class SpecStreamClient {
|
|
|
150
150
|
throw new SpecStreamError("SpecStream returned a response this package couldn't read.");
|
|
151
151
|
return data;
|
|
152
152
|
}
|
|
153
|
-
/**
|
|
153
|
+
/**
|
|
154
|
+
* Search the live web with GET /v1/web-search ($5 per 1,000 searches of up to 10 results, no quote needed).
|
|
155
|
+
* speed "fast" returns the engines' first ranked results in about a second, at $1 per 1,000 searches;
|
|
156
|
+
* left out, the API's default search runs.
|
|
157
|
+
*/
|
|
154
158
|
async webSearch(query, options = {}) {
|
|
155
159
|
const q = (query ?? "").trim();
|
|
156
160
|
if (!q || q.length > 2000)
|
|
157
161
|
throw new Error("q must be between 1 and 2,000 characters.");
|
|
162
|
+
if (options.speed !== undefined && options.speed !== "fast" && options.speed !== "default") {
|
|
163
|
+
throw new Error('speed must be "default" or "fast".');
|
|
164
|
+
}
|
|
158
165
|
const params = new URLSearchParams({ q });
|
|
159
166
|
if (options.passages)
|
|
160
167
|
params.set("passages", "true");
|
|
168
|
+
if (options.speed)
|
|
169
|
+
params.set("speed", options.speed);
|
|
161
170
|
return (await this.request("GET", `/v1/web-search?${params}`, undefined, { abortSignal: options.abortSignal })) ?? {};
|
|
162
171
|
}
|
|
163
172
|
/** Extract the main text of 1 to 20 URLs live with POST /v1/extract ($0.80 per 1,000 pages, empty pages free). */
|
|
@@ -168,6 +177,53 @@ export class SpecStreamClient {
|
|
|
168
177
|
const format = options.format === "text" ? "text" : "markdown";
|
|
169
178
|
return (await this.request("POST", "/v1/extract", { urls: cleaned, format }, { abortSignal: options.abortSignal })) ?? {};
|
|
170
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* Open a real browser that SpecStream runs, with POST /v1/browser/sessions. Time costs $0.10 an hour,
|
|
182
|
+
* charged by the second while it is open, and each step costs $0.001. The browser ends by itself
|
|
183
|
+
* after `timeoutSeconds`. The steps hold no connection, so the session is kept alive between them.
|
|
184
|
+
*/
|
|
185
|
+
async openBrowser(options = {}) {
|
|
186
|
+
const timeout = options.timeoutSeconds ?? BROWSER_DEFAULT_TIMEOUT_SECONDS;
|
|
187
|
+
if (!Number.isInteger(timeout) || timeout < 60 || timeout > 3600)
|
|
188
|
+
throw new Error("timeoutSeconds must be a whole number from 60 to 3600.");
|
|
189
|
+
const idle = options.idleTimeoutSeconds ?? BROWSER_DEFAULT_IDLE_SECONDS;
|
|
190
|
+
if (!Number.isInteger(idle) || idle < 10 || idle > 600)
|
|
191
|
+
throw new Error("idleTimeoutSeconds must be a whole number from 10 to 600.");
|
|
192
|
+
const body = { timeout_s: timeout, idle_timeout_s: idle, keep_alive: true };
|
|
193
|
+
if (options.allowedDomains?.length)
|
|
194
|
+
body.allowed_domains = options.allowedDomains;
|
|
195
|
+
if (options.blockMedia)
|
|
196
|
+
body.block_media = true;
|
|
197
|
+
if (options.headless === false)
|
|
198
|
+
body.headless = false;
|
|
199
|
+
if (options.metadata && Object.keys(options.metadata).length)
|
|
200
|
+
body.metadata = options.metadata;
|
|
201
|
+
return sessionView((await this.request("POST", "/v1/browser/sessions", body, { abortSignal: options.abortSignal })) ?? {});
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Run one step in the session's browser with POST /v1/browser/sessions/{id}/actions ($0.001 a step).
|
|
205
|
+
* `tool` is a Playwright MCP tool name (browser_navigate, browser_snapshot, browser_click, browser_type and
|
|
206
|
+
* the others) or browser_read for the page's text. A page the site or your allowed hosts refuse comes back
|
|
207
|
+
* in `error`, not as an exception.
|
|
208
|
+
*/
|
|
209
|
+
async browserStep(sessionId, tool, args = {}, abortSignal) {
|
|
210
|
+
const id = requireSessionId(sessionId);
|
|
211
|
+
if (!BROWSER_TOOL_NAME.test(tool ?? ""))
|
|
212
|
+
throw new Error("tool must be a browser step name such as browser_navigate or browser_click.");
|
|
213
|
+
const cleaned = Object.fromEntries(Object.entries(args ?? {}).filter(([, value]) => value !== undefined && value !== null));
|
|
214
|
+
const answer = (await this.request("POST", `/v1/browser/sessions/${encodeURIComponent(id)}/actions`, { tool, arguments: cleaned }, { abortSignal })) ?? {};
|
|
215
|
+
return stepView(id, answer);
|
|
216
|
+
}
|
|
217
|
+
/** A session's state, its seconds, steps and charge so far, with GET /v1/browser/sessions/{id}. Reading is free. */
|
|
218
|
+
async browserSession(sessionId, abortSignal) {
|
|
219
|
+
const id = requireSessionId(sessionId);
|
|
220
|
+
return sessionView((await this.request("GET", `/v1/browser/sessions/${encodeURIComponent(id)}`, undefined, { abortSignal })) ?? {});
|
|
221
|
+
}
|
|
222
|
+
/** End the session with POST /v1/browser/sessions/{id}/release, so its time stops being charged. */
|
|
223
|
+
async closeBrowser(sessionId, abortSignal) {
|
|
224
|
+
const id = requireSessionId(sessionId);
|
|
225
|
+
return sessionView((await this.request("POST", `/v1/browser/sessions/${encodeURIComponent(id)}/release`, undefined, { abortSignal })) ?? {});
|
|
226
|
+
}
|
|
171
227
|
/** Every row found so far for a list, following the pages. Reading is free. */
|
|
172
228
|
async results(findId, abortSignal) {
|
|
173
229
|
const rows = [];
|
|
@@ -437,3 +493,44 @@ function errorMessage(response, raw) {
|
|
|
437
493
|
const message = isObject(detail) ? detail.message : typeof detail === "string" ? detail : undefined;
|
|
438
494
|
return `SpecStream answered ${response.status}: ${message || response.statusText}`;
|
|
439
495
|
}
|
|
496
|
+
export const BROWSER_DEFAULT_TIMEOUT_SECONDS = 300;
|
|
497
|
+
export const BROWSER_DEFAULT_IDLE_SECONDS = 120;
|
|
498
|
+
const BROWSER_TOOL_NAME = /^browser_[a-z][a-z0-9_]{0,62}$/;
|
|
499
|
+
const SESSION_KEYS = ["status", "ended_reason", "live_url", "expires_at", "timeout_s", "seconds", "actions", "charged_usd", "price"];
|
|
500
|
+
function requireSessionId(sessionId) {
|
|
501
|
+
const id = String(sessionId ?? "").trim();
|
|
502
|
+
if (!id)
|
|
503
|
+
throw new Error("Pass the session_id that specstream_open_browser returned.");
|
|
504
|
+
return id;
|
|
505
|
+
}
|
|
506
|
+
function sessionView(session) {
|
|
507
|
+
const out = { session_id: String(session.id ?? "") };
|
|
508
|
+
for (const key of SESSION_KEYS)
|
|
509
|
+
if (session[key] !== undefined && session[key] !== null)
|
|
510
|
+
out[key] = session[key];
|
|
511
|
+
return out;
|
|
512
|
+
}
|
|
513
|
+
function stepView(sessionId, step) {
|
|
514
|
+
const out = { session_id: sessionId };
|
|
515
|
+
const texts = [];
|
|
516
|
+
const images = [];
|
|
517
|
+
for (const part of Array.isArray(step.result) ? step.result : []) {
|
|
518
|
+
if (!isObject(part))
|
|
519
|
+
continue;
|
|
520
|
+
if (part.type === "text" && typeof part.text === "string" && part.text)
|
|
521
|
+
texts.push(part.text);
|
|
522
|
+
else if (part.type === "image") {
|
|
523
|
+
images.push({ mime_type: typeof part.mime_type === "string" ? part.mime_type : null, base64_chars: typeof part.data === "string" ? part.data.length : 0 });
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
if (texts.length)
|
|
527
|
+
out.text = texts.join("\n\n");
|
|
528
|
+
if (images.length)
|
|
529
|
+
out.images = images;
|
|
530
|
+
for (const key of ["url", "title", "read_at", "price_usd"])
|
|
531
|
+
if (step[key] !== undefined && step[key] !== null)
|
|
532
|
+
out[key] = step[key];
|
|
533
|
+
if (isObject(step.error))
|
|
534
|
+
out.error = step.error;
|
|
535
|
+
return out;
|
|
536
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { specstreamTools, type SpecStreamToolsOptions, type SpecStreamBaseTools, type SpecStreamMonitorTools } from "./tools.js";
|
|
2
|
-
export { SpecStreamClient, SpecStreamError, flattenRow, listLink, DEFAULT_BASE_URL, DEFAULT_WAIT_SECONDS, USER_AGENT, type FindListOptions, type FindListResult, type FoundList, type ListResults, type ListRow, type Monitor, type MonitorEvery, type MonitorListOptions, type MonitorListResult, type MonitorOverMaximum, type MonitorRun, type NeedsEdit, type OverMaximum, type SpecStreamClientOptions, } from "./client.js";
|
|
1
|
+
export { specstreamTools, specstreamBrowserTools, type SpecStreamToolsOptions, type SpecStreamBaseTools, type SpecStreamMonitorTools, type SpecStreamBrowserTools, type SpecStreamBrowserToolsOptions, } from "./tools.js";
|
|
2
|
+
export { SpecStreamClient, SpecStreamError, flattenRow, listLink, DEFAULT_BASE_URL, DEFAULT_WAIT_SECONDS, BROWSER_DEFAULT_TIMEOUT_SECONDS, BROWSER_DEFAULT_IDLE_SECONDS, USER_AGENT, type BrowserSessionView, type BrowserStepView, type FindListOptions, type FindListResult, type FoundList, type ListResults, type ListRow, type Monitor, type MonitorEvery, type MonitorListOptions, type MonitorListResult, type MonitorOverMaximum, type MonitorRun, type NeedsEdit, type OpenBrowserOptions, type OverMaximum, type SpecStreamClientOptions, } from "./client.js";
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { specstreamTools } from "./tools.js";
|
|
2
|
-
export { SpecStreamClient, SpecStreamError, flattenRow, listLink, DEFAULT_BASE_URL, DEFAULT_WAIT_SECONDS, USER_AGENT, } from "./client.js";
|
|
1
|
+
export { specstreamTools, specstreamBrowserTools, } from "./tools.js";
|
|
2
|
+
export { SpecStreamClient, SpecStreamError, flattenRow, listLink, DEFAULT_BASE_URL, DEFAULT_WAIT_SECONDS, BROWSER_DEFAULT_TIMEOUT_SECONDS, BROWSER_DEFAULT_IDLE_SECONDS, USER_AGENT, } from "./client.js";
|