@ai-sdk/gateway 3.0.136 → 3.0.137
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/CHANGELOG.md +9 -0
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/tool/parallel-search.ts +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @ai-sdk/gateway
|
|
2
2
|
|
|
3
|
+
## 3.0.137
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 932c680: Clarify `parallel_search` `source_policy` field descriptions so the model emits
|
|
8
|
+
values the Parallel API accepts: `include_domains`/`exclude_domains` must be plain
|
|
9
|
+
hosts (no scheme/path/port), and `after_date` must be an ISO 8601 calendar date
|
|
10
|
+
formatted `YYYY-MM-DD`.
|
|
11
|
+
|
|
3
12
|
## 3.0.136
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1774,10 +1774,14 @@ var parallelSearchInputSchema = (0, import_provider_utils14.lazySchema)(
|
|
|
1774
1774
|
"Maximum number of results to return (1-20). Defaults to 10 if not specified."
|
|
1775
1775
|
),
|
|
1776
1776
|
source_policy: import_zod.z.object({
|
|
1777
|
-
include_domains: import_zod.z.array(import_zod.z.string()).optional().describe(
|
|
1778
|
-
|
|
1777
|
+
include_domains: import_zod.z.array(import_zod.z.string()).optional().describe(
|
|
1778
|
+
"Limit results to these domains. Use plain domain names only \u2014 e.g. example.com or sub.example.gov, or a bare extension like .edu. Do not include a scheme, path, or port (e.g. not https://example.com/page)."
|
|
1779
|
+
),
|
|
1780
|
+
exclude_domains: import_zod.z.array(import_zod.z.string()).optional().describe(
|
|
1781
|
+
"Exclude results from these domains. Use plain domain names only \u2014 e.g. example.com or sub.example.gov, or a bare extension like .edu. Do not include a scheme, path, or port (e.g. not https://example.com/page)."
|
|
1782
|
+
),
|
|
1779
1783
|
after_date: import_zod.z.string().optional().describe(
|
|
1780
|
-
"Only include results published after this date
|
|
1784
|
+
"Only include results published after this date. Use an ISO 8601 calendar date formatted YYYY-MM-DD (e.g. 2025-01-01); do not include a time."
|
|
1781
1785
|
)
|
|
1782
1786
|
}).optional().describe(
|
|
1783
1787
|
"Source policy for controlling which domains to include/exclude and freshness."
|
|
@@ -1946,7 +1950,7 @@ async function getVercelRequestId() {
|
|
|
1946
1950
|
}
|
|
1947
1951
|
|
|
1948
1952
|
// src/version.ts
|
|
1949
|
-
var VERSION = true ? "3.0.
|
|
1953
|
+
var VERSION = true ? "3.0.137" : "0.0.0-test";
|
|
1950
1954
|
|
|
1951
1955
|
// src/gateway-provider.ts
|
|
1952
1956
|
var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
|