@specstream/ai-sdk 0.1.0 → 0.1.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/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.1.0";
3
+ export declare const USER_AGENT = "@specstream/ai-sdk/0.1.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;
package/dist/client.js CHANGED
@@ -1,12 +1,12 @@
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.1.0";
3
+ export const USER_AGENT = "@specstream/ai-sdk/0.1.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;
7
7
  export const DEFAULT_LOCALE = "en-US";
8
8
  export const MAX_RESULTS = 1000;
9
- const REQUEST_TIMEOUT_MS = 30_000;
9
+ const REQUEST_TIMEOUT_MS = 150_000;
10
10
  const FINISHED = new Set(["completed", "partial"]);
11
11
  const STOPPED = new Set(["failed", "cancelled", "canceled", "expired"]);
12
12
  /** Fields every row carries; a column with the same name is renamed so it can't overwrite them. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@specstream/ai-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Give a Vercel AI SDK agent any list from the live web: every matching row with the page it was read from, priced per match before anything runs.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",