visual-ai-assertions 0.26.0 → 0.27.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/README.md +71 -21
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -3
package/dist/index.d.cts
CHANGED
|
@@ -56,6 +56,7 @@ declare const Model: {
|
|
|
56
56
|
readonly SONNET_5_5: "claude-sonnet-5-5";
|
|
57
57
|
readonly SONNET_5: "claude-sonnet-5";
|
|
58
58
|
readonly SONNET_4_6: "claude-sonnet-4-6";
|
|
59
|
+
readonly HAIKU_5_5: "claude-haiku-5-5";
|
|
59
60
|
readonly HAIKU_4_5: "claude-haiku-4-5";
|
|
60
61
|
};
|
|
61
62
|
readonly OpenAI: {
|
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ declare const Model: {
|
|
|
56
56
|
readonly SONNET_5_5: "claude-sonnet-5-5";
|
|
57
57
|
readonly SONNET_5: "claude-sonnet-5";
|
|
58
58
|
readonly SONNET_4_6: "claude-sonnet-4-6";
|
|
59
|
+
readonly HAIKU_5_5: "claude-haiku-5-5";
|
|
59
60
|
readonly HAIKU_4_5: "claude-haiku-4-5";
|
|
60
61
|
};
|
|
61
62
|
readonly OpenAI: {
|
package/dist/index.js
CHANGED
|
@@ -428,6 +428,7 @@ var Model = {
|
|
|
428
428
|
SONNET_5_5: "claude-sonnet-5-5",
|
|
429
429
|
SONNET_5: "claude-sonnet-5",
|
|
430
430
|
SONNET_4_6: "claude-sonnet-4-6",
|
|
431
|
+
HAIKU_5_5: "claude-haiku-5-5",
|
|
431
432
|
HAIKU_4_5: "claude-haiku-4-5"
|
|
432
433
|
},
|
|
433
434
|
OpenAI: {
|
|
@@ -647,7 +648,8 @@ var XHIGH_CAPABLE_MODELS = /* @__PURE__ */ new Set([
|
|
|
647
648
|
Model.Anthropic.OPUS_4_8,
|
|
648
649
|
Model.Anthropic.OPUS_4_7,
|
|
649
650
|
Model.Anthropic.SONNET_5_5,
|
|
650
|
-
Model.Anthropic.SONNET_5
|
|
651
|
+
Model.Anthropic.SONNET_5,
|
|
652
|
+
Model.Anthropic.HAIKU_5_5
|
|
651
653
|
]);
|
|
652
654
|
function mapEffort(level, model) {
|
|
653
655
|
if (level === "minimal") return "low";
|
|
@@ -1359,6 +1361,12 @@ var PRICING_TABLE = {
|
|
|
1359
1361
|
inputPricePerToken: 3 / PER_MILLION,
|
|
1360
1362
|
outputPricePerToken: 15 / PER_MILLION
|
|
1361
1363
|
},
|
|
1364
|
+
// Prompts above 100K tokens bill at $0.50/$2.50, far beyond screenshot-sized
|
|
1365
|
+
// calls. Cached input is $0.01/MTok and cache writes $0.125/MTok (not modelled).
|
|
1366
|
+
[`${Provider.ANTHROPIC}:${Model.Anthropic.HAIKU_5_5}`]: {
|
|
1367
|
+
inputPricePerToken: 0.1 / PER_MILLION,
|
|
1368
|
+
outputPricePerToken: 0.5 / PER_MILLION
|
|
1369
|
+
},
|
|
1362
1370
|
[`${Provider.ANTHROPIC}:${Model.Anthropic.HAIKU_4_5}`]: {
|
|
1363
1371
|
inputPricePerToken: 1 / PER_MILLION,
|
|
1364
1372
|
outputPricePerToken: 5 / PER_MILLION
|