@nodaro/shared 1.17.0 → 1.18.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/dist/index.cjs +24 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +24 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/llm-models.test.ts +8 -6
- package/src/llm-models.ts +22 -2
- package/src/pipeline-types.ts +1 -0
package/dist/index.cjs
CHANGED
|
@@ -4456,7 +4456,7 @@ var LLM_MODELS = [
|
|
|
4456
4456
|
{
|
|
4457
4457
|
id: "claude-opus-4.8",
|
|
4458
4458
|
displayName: "Claude Opus 4.8",
|
|
4459
|
-
desc: "
|
|
4459
|
+
desc: "Previous-gen Opus, long-horizon work",
|
|
4460
4460
|
tier: "premium",
|
|
4461
4461
|
kieFormat: "messages",
|
|
4462
4462
|
kieSlugOrModel: "claude-opus-4-8",
|
|
@@ -4469,6 +4469,25 @@ var LLM_MODELS = [
|
|
|
4469
4469
|
supportsTemperature: false,
|
|
4470
4470
|
preferKie: true
|
|
4471
4471
|
},
|
|
4472
|
+
{
|
|
4473
|
+
id: "claude-opus-5",
|
|
4474
|
+
displayName: "Claude Opus 5",
|
|
4475
|
+
desc: "Latest Opus, deepest agentic reasoning",
|
|
4476
|
+
tier: "premium",
|
|
4477
|
+
kieFormat: "messages",
|
|
4478
|
+
// KIE serves Opus 5 on the Claude-native messages dialect under the plain
|
|
4479
|
+
// id (docs.kie.ai/market/claude/claude-opus-5.md) — same path shape as
|
|
4480
|
+
// claude-opus-4-8 / claude-fable-5.
|
|
4481
|
+
kieSlugOrModel: "claude-opus-5",
|
|
4482
|
+
vendor: "anthropic",
|
|
4483
|
+
structuredOutputMode: "anthropic-tool",
|
|
4484
|
+
supportsImages: true,
|
|
4485
|
+
maxOutputTokens: 16384,
|
|
4486
|
+
directFallbackModel: "claude-opus-5",
|
|
4487
|
+
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
4488
|
+
supportsTemperature: false,
|
|
4489
|
+
preferKie: true
|
|
4490
|
+
},
|
|
4472
4491
|
{
|
|
4473
4492
|
id: "claude-fable-5",
|
|
4474
4493
|
displayName: "Claude Fable 5",
|
|
@@ -4504,7 +4523,7 @@ var LLM_FEATURE_DEFAULTS = {
|
|
|
4504
4523
|
"lottie-overlay": "claude-sonnet-4.6",
|
|
4505
4524
|
"3d-title": "claude-sonnet-4.6",
|
|
4506
4525
|
"image-to-text": "claude-sonnet-4.6",
|
|
4507
|
-
"describe-to-picker": "claude-opus-
|
|
4526
|
+
"describe-to-picker": "claude-opus-5",
|
|
4508
4527
|
"qa-check": "gemini-3.6-flash",
|
|
4509
4528
|
"generate-script": "gemini-3.6-flash",
|
|
4510
4529
|
"translate": "gemini-3.6-flash",
|
|
@@ -4525,6 +4544,7 @@ var LLM_MODALITY_CAPS = {
|
|
|
4525
4544
|
"gpt-5.6-sol": { image: true, video: false, audio: false },
|
|
4526
4545
|
"claude-sonnet-5": { image: true, video: false, audio: false },
|
|
4527
4546
|
"claude-opus-4.8": { image: true, video: false, audio: false },
|
|
4547
|
+
"claude-opus-5": { image: true, video: false, audio: false },
|
|
4528
4548
|
"claude-fable-5": { image: true, video: false, audio: false }
|
|
4529
4549
|
};
|
|
4530
4550
|
function getLlmModalityCaps(modelId) {
|
|
@@ -9636,7 +9656,8 @@ var PIPELINE_PINNABLE_VIDEO_MODELS = [
|
|
|
9636
9656
|
var PIPELINE_PINNABLE_SCRIPT_LLMS = [
|
|
9637
9657
|
"claude-haiku-4-5",
|
|
9638
9658
|
"claude-sonnet-4-6",
|
|
9639
|
-
"claude-opus-4-7"
|
|
9659
|
+
"claude-opus-4-7",
|
|
9660
|
+
"claude-opus-5"
|
|
9640
9661
|
];
|
|
9641
9662
|
var ImageModelEnum = zod.z.enum(PIPELINE_PINNABLE_IMAGE_MODELS);
|
|
9642
9663
|
var VideoModelEnum = zod.z.enum(PIPELINE_PINNABLE_VIDEO_MODELS);
|