@shop-os/modelkit 0.32.0 → 0.33.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/CHANGELOG.md +11 -0
- package/dist/catalog.cjs +16 -0
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.js +16 -0
- package/dist/catalog.js.map +1 -1
- package/dist/index.cjs +28 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +28 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,17 @@ header in the release PR.
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.33.0] - Unreleased
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- `claude-sonnet-5-5` (Claude Sonnet 5.5), a hidden text row (`exposure: []`) for server callers
|
|
16
|
+
such as vibe-api's Microdrama writer. Bedrock id derives as `<profile>.anthropic.claude-sonnet-5-5`.
|
|
17
|
+
- `providerOptions.modelkit.structuredOutputMode` on an Anthropic text row: on the Bedrock
|
|
18
|
+
transport, a JSON-schema call that sets no `providerOptions.anthropic.structuredOutputMode`
|
|
19
|
+
gets the row's value. `claude-sonnet-5-5` sets `"outputFormat"`: the Bedrock SDK otherwise
|
|
20
|
+
matches it as Sonnet 5, asks for JSON through a forced tool (`tool_choice: any`), and
|
|
21
|
+
Sonnet 5.5 rejects a forced tool choice with a 400.
|
|
22
|
+
|
|
12
23
|
## [0.32.0] - Unreleased
|
|
13
24
|
|
|
14
25
|
### Added
|
package/dist/catalog.cjs
CHANGED
|
@@ -5239,6 +5239,22 @@ var TEXT_MODELS = [
|
|
|
5239
5239
|
contextWindow: 1e6
|
|
5240
5240
|
}
|
|
5241
5241
|
}),
|
|
5242
|
+
text("claude-sonnet-5-5", "Claude Sonnet 5.5", "claude-sonnet-5-5", {
|
|
5243
|
+
exposure: [],
|
|
5244
|
+
// Sonnet 5.5 rejects a forced tool_choice, which is how Bedrock's SDK asks for JSON on Sonnet 5.
|
|
5245
|
+
providerOptions: { modelkit: { structuredOutputMode: "outputFormat" } },
|
|
5246
|
+
display: {
|
|
5247
|
+
chat: { providerOptions: ANTHROPIC_ADAPTIVE },
|
|
5248
|
+
provider: "anthropic",
|
|
5249
|
+
costTier: 3,
|
|
5250
|
+
description: "Anthropic Claude Sonnet 5.5 balanced model; text and image input, 1M-token context."
|
|
5251
|
+
},
|
|
5252
|
+
capabilities: {
|
|
5253
|
+
reasoning: true,
|
|
5254
|
+
vision: true,
|
|
5255
|
+
contextWindow: 1e6
|
|
5256
|
+
}
|
|
5257
|
+
}),
|
|
5242
5258
|
text("claude-opus-4-8", "Claude Opus 4.8", "claude-opus-4-8", {
|
|
5243
5259
|
exposure: ["cowork", "space_builder"],
|
|
5244
5260
|
aliases: ["claude-opus-4.8", "claude-opus-4", "claude-opus-4.0", "claude-opus-4-20250514"],
|