combined-ai 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/CHANGELOG.md +20 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -6
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,26 @@ and this project aims to follow [Semantic Versioning](https://semver.org/spec/v2
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.1] - 2026-06-17
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Google (Gemini) provider: drop `additionalProperties` from `responseSchema`
|
|
15
|
+
and tool `parameters`. The Gemini API now rejects the keyword with a 400
|
|
16
|
+
instead of ignoring it, which broke structured output / ensemble combine.
|
|
17
|
+
|
|
18
|
+
### Security
|
|
19
|
+
|
|
20
|
+
- Pin transitive dev dependencies via `resolutions` to clear advisories (build/test
|
|
21
|
+
tooling only — not shipped in the published package): `esbuild` to `0.28.1`
|
|
22
|
+
(GHSA-gv7w-rqvm-qjhr, GHSA-g7r4-m6w7-qqqr) and `js-yaml` to `4.2.0`
|
|
23
|
+
(GHSA-h67p-54hq-rp68).
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Bump dev dependencies: `tsup` to `^8.5.1`, `@swc/core` to `^1.15.41`,
|
|
28
|
+
`@swc/jest` to `^0.2.39`.
|
|
29
|
+
|
|
10
30
|
## [0.1.0] - 2026-06-17
|
|
11
31
|
|
|
12
32
|
Initial release: a plain TypeScript library that unifies the Anthropic, OpenAI,
|
package/dist/index.cjs
CHANGED
|
@@ -1010,7 +1010,9 @@ function toGeminiSchema(schema) {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
const out = {};
|
|
1012
1012
|
for (const [key, value] of Object.entries(schema)) {
|
|
1013
|
-
if (key === "
|
|
1013
|
+
if (key === "additionalProperties") {
|
|
1014
|
+
continue;
|
|
1015
|
+
} else if (key === "type" && typeof value === "string") {
|
|
1014
1016
|
out[key] = value.toUpperCase();
|
|
1015
1017
|
} else if (key === "properties" && isRecord(value)) {
|
|
1016
1018
|
out[key] = Object.fromEntries(
|