@ironbee-ai/cli 0.21.1 → 0.21.2
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 +6 -0
- package/dist/analytics/claude/pricing.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.2 (2026-06-09)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **pricing:** add Claude Fable 5 / Mythos 5 model pricing ([3efc304](https://github.com/ironbee-ai/ironbee-cli/commit/3efc304d784f6637ab8c6e83a3f9c451cd0a16c8))
|
|
8
|
+
|
|
3
9
|
## 0.21.1 (2026-06-09)
|
|
4
10
|
|
|
5
11
|
## 0.21.0 (2026-06-09)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var
|
|
1
|
+
"use strict";var u=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var o=(e,c)=>u(e,"name",{value:c,configurable:!0});var l=(e,c)=>{for(var r in c)u(e,r,{get:c[r],enumerable:!0})},b=(e,c,r,n)=>{if(c&&typeof c=="object"||typeof c=="function")for(let a of d(c))!p.call(e,a)&&a!==r&&u(e,a,{get:()=>c[a],enumerable:!(n=s(c,a))||n.enumerable});return e};var f=e=>b(u({},"__esModule",{value:!0}),e);var m={};l(m,{BYTES_PER_TOKEN:()=>i.BYTES_PER_TOKEN,OPUS_4_6_FAST_PRICING:()=>_,PRICING:()=>t,computeMessageCostUsd:()=>k,lookupPricing:()=>h,lookupPricingForUsage:()=>w});module.exports=f(m);var i=require("../shared/tokens");const t={"claude-fable-5":{input:10,output:50,cache_read:1,cache_creation:12.5,cache_creation_1h:20,web_search:.01},"claude-mythos-5":{input:10,output:50,cache_read:1,cache_creation:12.5,cache_creation_1h:20,web_search:.01},"claude-opus-4-8":{input:5,output:25,cache_read:.5,cache_creation:6.25,cache_creation_1h:10,web_search:.01},"claude-opus-4-7":{input:5,output:25,cache_read:.5,cache_creation:6.25,cache_creation_1h:10,web_search:.01},"claude-opus-4-6":{input:5,output:25,cache_read:.5,cache_creation:6.25,cache_creation_1h:10,web_search:.01},"claude-opus-4-5":{input:5,output:25,cache_read:.5,cache_creation:6.25,cache_creation_1h:10,web_search:.01},"claude-opus-4-1":{input:15,output:75,cache_read:1.5,cache_creation:18.75,cache_creation_1h:30,web_search:.01},"claude-opus-4":{input:15,output:75,cache_read:1.5,cache_creation:18.75,cache_creation_1h:30,web_search:.01},"claude-sonnet-4-6":{input:3,output:15,cache_read:.3,cache_creation:3.75,cache_creation_1h:6,web_search:.01},"claude-sonnet-4-5":{input:3,output:15,cache_read:.3,cache_creation:3.75,cache_creation_1h:6,web_search:.01},"claude-sonnet-4":{input:3,output:15,cache_read:.3,cache_creation:3.75,cache_creation_1h:6,web_search:.01},"claude-haiku-4-5":{input:1,output:5,cache_read:.1,cache_creation:1.25,cache_creation_1h:2,web_search:.01},"claude-haiku-4":{input:1,output:5,cache_read:.1,cache_creation:1.25,cache_creation_1h:2,web_search:.01}},_={input:30,output:150,cache_read:3,cache_creation:37.5,cache_creation_1h:60,web_search:.01};function h(e){const c=t[e];return c!==void 0?c:e.startsWith("claude-fable-")?t["claude-fable-5"]:e.startsWith("claude-mythos-")?t["claude-mythos-5"]:e.startsWith("claude-opus-")?t["claude-opus-4-8"]:e.startsWith("claude-sonnet-")?t["claude-sonnet-4-6"]:e.startsWith("claude-haiku-")?t["claude-haiku-4-5"]:null}o(h,"lookupPricing");function w(e,c){return c==="fast"&&e.includes("opus-4-6")?_:h(e)}o(w,"lookupPricingForUsage");function k(e,c){if(c===null)return 0;const r=e.cache_creation_tokens*c.cache_creation,n=e.web_search_requests??0,a=c.web_search??0;return(e.input_tokens*c.input+e.output_tokens*c.output+r+e.cache_read_tokens*c.cache_read)/1e6+n*a}o(k,"computeMessageCostUsd");0&&(module.exports={BYTES_PER_TOKEN,OPUS_4_6_FAST_PRICING,PRICING,computeMessageCostUsd,lookupPricing,lookupPricingForUsage});
|