@anthropic-ai/claude-agent-sdk 0.3.187 → 0.3.190

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/browser-sdk.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // (c) Anthropic PBC. All rights reserved. Use is subject to the Legal Agreements outlined here: https://code.claude.com/docs/en/legal-and-compliance.
2
2
 
3
- // Version: 0.3.187
3
+ // Version: 0.3.190
4
4
  var H8=Object.create;var{getPrototypeOf:Z8,defineProperty:fa,getOwnPropertyNames:w_,getOwnPropertyDescriptor:K8}=Object,S_=Object.prototype.hasOwnProperty;function x_(e){return this[e]}var V8,W8,k_=(e,t,r)=>{var i=e!=null&&typeof e==="object";if(i){var n=t?V8??=new WeakMap:W8??=new WeakMap,o=n.get(e);if(o)return o}r=e!=null?H8(Z8(e)):{};let s=t||!e||!e.__esModule?fa(r,"default",{value:e,enumerable:!0}):r;for(let h of w_(e))if(!S_.call(s,h))fa(s,h,{get:x_.bind(e,h),enumerable:!0});if(i)n.set(e,s);return s},xt=(e)=>{var t=(__??=new WeakMap).get(e),r;if(t)return t;if(t=fa({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var i of w_(e))if(!S_.call(t,i))fa(t,i,{get:x_.bind(e,i),enumerable:!(r=K8(e,i))||r.enumerable})}return __.set(e,t),t},__,Je=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var G8=(e)=>e;function J8(e,t){this[e]=G8.bind(null,t)}var vn=(e,t)=>{for(var r in t)fa(e,r,{get:t[r],enumerable:!0,configurable:!0,set:J8.bind(t,r)})};var ha=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ii=((e)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),X8=Symbol.dispose||Symbol.for("Symbol.dispose"),Y8=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),Bt=(e,t,r)=>{if(t!=null){if(typeof t!=="object"&&typeof t!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var i;if(r)i=t[Y8];if(i===void 0)i=t[X8];if(typeof i!=="function")throw TypeError("Object not disposable");e.push([r,i,t])}else if(r)e.push([r]);return t},Ht=(e,t,r)=>{var i=typeof SuppressedError==="function"?SuppressedError:function(s,h,b,v){return v=Error(b),v.name="SuppressedError",v.error=s,v.suppressed=h,v},n=(s)=>t=r?new i(s,t,"An error was suppressed during disposal"):(r=!0,s),o=(s)=>{while(s=e.pop())try{var h=s[1]&&s[1].call(s[2]);if(s[0])return Promise.resolve(h).then(o,(b)=>(n(b),o()))}catch(b){n(b)}if(r)throw t};return o()};var Er={};vn(Er,{transcode:()=>WI,resolveObjectURL:()=>ZI,kStringMaxLength:()=>f1,kMaxLength:()=>ga,isUtf8:()=>KI,isAscii:()=>VI,default:()=>GI,constants:()=>bI,btoa:()=>mI,atob:()=>gI,INSPECT_MAX_BYTES:()=>d1,File:()=>yI,Buffer:()=>fe,Blob:()=>vI});function cI(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");if(r===-1)r=t;var i=r===t?0:4-r%4;return[r,i]}function dI(e,t){return(e+t)*3/4-t}function fI(e){var t,r=cI(e),i=r[0],n=r[1],o=new Uint8Array(dI(i,n)),s=0,h=n>0?i-4:i,b;for(b=0;b<h;b+=4)t=_n[e.charCodeAt(b)]<<18|_n[e.charCodeAt(b+1)]<<12|_n[e.charCodeAt(b+2)]<<6|_n[e.charCodeAt(b+3)],o[s++]=t>>16&255,o[s++]=t>>8&255,o[s++]=t&255;if(n===2)t=_n[e.charCodeAt(b)]<<2|_n[e.charCodeAt(b+1)]>>4,o[s++]=t&255;if(n===1)t=_n[e.charCodeAt(b)]<<10|_n[e.charCodeAt(b+1)]<<4|_n[e.charCodeAt(b+2)]>>2,o[s++]=t>>8&255,o[s++]=t&255;return o}function hI(e){return Vn[e>>18&63]+Vn[e>>12&63]+Vn[e>>6&63]+Vn[e&63]}function pI(e,t,r){var i,n=[];for(var o=t;o<r;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(hI(i));return n.join("")}function o1(e){var t,r=e.length,i=r%3,n=[],o=16383;for(var s=0,h=r-i;s<h;s+=o)n.push(pI(e,s,s+o>h?h:s+o));if(i===1)t=e[r-1],n.push(Vn[t>>2]+Vn[t<<4&63]+"==");else if(i===2)t=(e[r-2]<<8)+e[r-1],n.push(Vn[t>>10]+Vn[t>>4&63]+Vn[t<<2&63]+"=");return n.join("")}function Mc(e,t,r,i,n){var o,s,h=n*8-i-1,b=(1<<h)-1,v=b>>1,_=-7,g=r?n-1:0,S=r?-1:1,x=e[t+g];g+=S,o=x&(1<<-_)-1,x>>=-_,_+=h;for(;_>0;o=o*256+e[t+g],g+=S,_-=8);s=o&(1<<-_)-1,o>>=-_,_+=i;for(;_>0;s=s*256+e[t+g],g+=S,_-=8);if(o===0)o=1-v;else if(o===b)return s?NaN:(x?-1:1)*(1/0);else s=s+Math.pow(2,i),o=o-v;return(x?-1:1)*s*Math.pow(2,o-i)}function c1(e,t,r,i,n,o){var s,h,b,v=o*8-n-1,_=(1<<v)-1,g=_>>1,S=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,M=i?1:-1,I=t<0||t===0&&1/t<0?1:0;if(t=Math.abs(t),isNaN(t)||t===1/0)h=isNaN(t)?1:0,s=_;else{if(s=Math.floor(Math.log(t)/Math.LN2),t*(b=Math.pow(2,-s))<1)s--,b*=2;if(s+g>=1)t+=S/b;else t+=S*Math.pow(2,1-g);if(t*b>=2)s++,b/=2;if(s+g>=_)h=0,s=_;else if(s+g>=1)h=(t*b-1)*Math.pow(2,n),s=s+g;else h=t*Math.pow(2,g-1)*Math.pow(2,n),s=0}for(;n>=8;e[r+x]=h&255,x+=M,h/=256,n-=8);s=s<<n|h,v+=n;for(;v>0;e[r+x]=s&255,x+=M,s/=256,v-=8);e[r+x-M]|=I*128}function ni(e){if(e>ga)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,fe.prototype),t}function nm(e,t,r){return class extends r{constructor(){super();Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function fe(e,t,r){if(typeof e==="number"){if(typeof t==="string")throw TypeError('The "string" argument must be of type string. Received type number');return im(e)}return h1(e,t,r)}function h1(e,t,r){if(typeof e==="string")return xI(e,t);if(ArrayBuffer.isView(e))return kI(e);if(e==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Wn(e,ArrayBuffer)||e&&Wn(e.buffer,ArrayBuffer))return tm(e,t,r);if(typeof SharedArrayBuffer<"u"&&(Wn(e,SharedArrayBuffer)||e&&Wn(e.buffer,SharedArrayBuffer)))return tm(e,t,r);if(typeof e==="number")throw TypeError('The "value" argument must not be of type number. Received type number');let i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return fe.from(i,t,r);let n=MI(e);if(n)return n;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==="function")return fe.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function p1(e){if(typeof e!=="number")throw TypeError('"size" argument must be of type number');else if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function SI(e,t,r){if(p1(e),e<=0)return ni(e);if(t!==void 0)return typeof r==="string"?ni(e).fill(t,r):ni(e).fill(t);return ni(e)}function im(e){return p1(e),ni(e<0?0:om(e)|0)}function xI(e,t){if(typeof t!=="string"||t==="")t="utf8";if(!fe.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=m1(e,t)|0,i=ni(r),n=i.write(e,t);if(n!==r)i=i.slice(0,n);return i}function em(e){let t=e.length<0?0:om(e.length)|0,r=ni(t);for(let i=0;i<t;i+=1)r[i]=e[i]&255;return r}function kI(e){if(Wn(e,Uint8Array)){let t=new Uint8Array(e);return tm(t.buffer,t.byteOffset,t.byteLength)}return em(e)}function tm(e,t,r){if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');let i;if(t===void 0&&r===void 0)i=new Uint8Array(e);else if(r===void 0)i=new Uint8Array(e,t);else i=new Uint8Array(e,t,r);return Object.setPrototypeOf(i,fe.prototype),i}function MI(e){if(fe.isBuffer(e)){let t=om(e.length)|0,r=ni(t);if(r.length===0)return r;return e.copy(r,0,0,t),r}if(e.length!==void 0){if(typeof e.length!=="number"||Number.isNaN(e.length))return ni(0);return em(e)}if(e.type==="Buffer"&&Array.isArray(e.data))return em(e.data)}function om(e){if(e>=ga)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ga.toString(16)+" bytes");return e|0}function m1(e,t){if(fe.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Wn(e,ArrayBuffer))return e.byteLength;if(typeof e!=="string")throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&r===0)return 0;let n=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return rm(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return k1(e).length;default:if(n)return i?-1:rm(e).length;t=(""+t).toLowerCase(),n=!0}}function EI(e,t,r){let i=!1;if(t===void 0||t<0)t=0;if(t>this.length)return"";if(r===void 0||r>this.length)r=this.length;if(r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";if(!e)e="utf8";while(!0)switch(e){case"hex":return DI(this,t,r);case"utf8":case"utf-8":return y1(this,t,r);case"ascii":return OI(this,t,r);case"latin1":case"binary":return NI(this,t,r);case"base64":return RI(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zI(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function lo(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}function g1(e,t,r,i,n){if(e.length===0)return-1;if(typeof r==="string")i=r,r=0;else if(r>2147483647)r=2147483647;else if(r<-2147483648)r=-2147483648;if(r=+r,Number.isNaN(r))r=n?0:e.length-1;if(r<0)r=e.length+r;if(r>=e.length)if(n)return-1;else r=e.length-1;else if(r<0)if(n)r=0;else return-1;if(typeof t==="string")t=fe.from(t,i);if(fe.isBuffer(t)){if(t.length===0)return-1;return a1(e,t,r,i,n)}else if(typeof t==="number"){if(t=t&255,typeof Uint8Array.prototype.indexOf==="function")if(n)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return a1(e,[t],r,i,n)}throw TypeError("val must be string, number or Buffer")}function a1(e,t,r,i,n){let o=1,s=e.length,h=t.length;if(i!==void 0){if(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le"){if(e.length<2||t.length<2)return-1;o=2,s/=2,h/=2,r/=2}}function b(_,g){if(o===1)return _[g];else return _.readUInt16BE(g*o)}let v;if(n){let _=-1;for(v=r;v<s;v++)if(b(e,v)===b(t,_===-1?0:v-_)){if(_===-1)_=v;if(v-_+1===h)return _*o}else{if(_!==-1)v-=v-_;_=-1}}else{if(r+h>s)r=s-h;for(v=r;v>=0;v--){let _=!0;for(let g=0;g<h;g++)if(b(e,v+g)!==b(t,g)){_=!1;break}if(_)return v}}return-1}function II(e,t,r,i){r=Number(r)||0;let n=e.length-r;if(!i)i=n;else if(i=Number(i),i>n)i=n;let o=t.length;if(i>o/2)i=o/2;let s;for(s=0;s<i;++s){let h=parseInt(t.substr(s*2,2),16);if(Number.isNaN(h))return s;e[r+s]=h}return s}function TI(e,t,r,i){return Ec(rm(t,e.length-r),e,r,i)}function $I(e,t,r,i){return Ec(qI(t),e,r,i)}function PI(e,t,r,i){return Ec(k1(t),e,r,i)}function AI(e,t,r,i){return Ec(FI(t,e.length-r),e,r,i)}function RI(e,t,r){if(t===0&&r===e.length)return o1(e);else return o1(e.slice(t,r))}function y1(e,t,r){r=Math.min(e.length,r);let i=[],n=t;while(n<r){let o=e[n],s=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=r){let b,v,_,g;switch(h){case 1:if(o<128)s=o;break;case 2:if(b=e[n+1],(b&192)===128){if(g=(o&31)<<6|b&63,g>127)s=g}break;case 3:if(b=e[n+1],v=e[n+2],(b&192)===128&&(v&192)===128){if(g=(o&15)<<12|(b&63)<<6|v&63,g>2047&&(g<55296||g>57343))s=g}break;case 4:if(b=e[n+1],v=e[n+2],_=e[n+3],(b&192)===128&&(v&192)===128&&(_&192)===128){if(g=(o&15)<<18|(b&63)<<12|(v&63)<<6|_&63,g>65535&&g<1114112)s=g}}}if(s===null)s=65533,h=1;else if(s>65535)s-=65536,i.push(s>>>10&1023|55296),s=56320|s&1023;i.push(s),n+=h}return CI(i)}function CI(e){let t=e.length;if(t<=u1)return String.fromCharCode.apply(String,e);let r="",i=0;while(i<t)r+=String.fromCharCode.apply(String,e.slice(i,i+=u1));return r}function OI(e,t,r){let i="";r=Math.min(e.length,r);for(let n=t;n<r;++n)i+=String.fromCharCode(e[n]&127);return i}function NI(e,t,r){let i="";r=Math.min(e.length,r);for(let n=t;n<r;++n)i+=String.fromCharCode(e[n]);return i}function DI(e,t,r){let i=e.length;if(!t||t<0)t=0;if(!r||r<0||r>i)r=i;let n="";for(let o=t;o<r;++o)n+=BI[e[o]];return n}function zI(e,t,r){let i=e.slice(t,r),n="";for(let o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}function Mr(e,t,r){if(e%1!==0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function Jr(e,t,r,i,n,o){if(!fe.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<o)throw RangeError('"value" argument is out of bounds');if(r+i>e.length)throw RangeError("Index out of range")}function v1(e,t,r,i,n){x1(t,i,n,e,r,7);let o=Number(t&BigInt(4294967295));e[r++]=o,o=o>>8,e[r++]=o,o=o>>8,e[r++]=o,o=o>>8,e[r++]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=s,s=s>>8,e[r++]=s,s=s>>8,e[r++]=s,s=s>>8,e[r++]=s,r}function b1(e,t,r,i,n){x1(t,i,n,e,r,7);let o=Number(t&BigInt(4294967295));e[r+7]=o,o=o>>8,e[r+6]=o,o=o>>8,e[r+5]=o,o=o>>8,e[r+4]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=s,s=s>>8,e[r+2]=s,s=s>>8,e[r+1]=s,s=s>>8,e[r]=s,r+8}function _1(e,t,r,i,n,o){if(r+i>e.length)throw RangeError("Index out of range");if(r<0)throw RangeError("Index out of range")}function w1(e,t,r,i,n){if(t=+t,r=r>>>0,!n)_1(e,t,r,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return c1(e,t,r,i,23,4),r+4}function S1(e,t,r,i,n){if(t=+t,r=r>>>0,!n)_1(e,t,r,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return c1(e,t,r,i,52,8),r+8}function l1(e){let t="",r=e.length,i=e[0]==="-"?1:0;for(;r>=i+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function jI(e,t,r){if(ts(t,"offset"),e[t]===void 0||e[t+r]===void 0)ya(t,e.length-(r+1))}function x1(e,t,r,i,n,o){if(e>r||e<t){let s=typeof t==="bigint"?"n":"",h;if(o>3)if(t===0||t===BigInt(0))h=`>= 0${s} and < 2${s} ** ${(o+1)*8}${s}`;else h=`>= -(2${s} ** ${(o+1)*8-1}${s}) and < 2 ** ${(o+1)*8-1}${s}`;else h=`>= ${t}${s} and <= ${r}${s}`;throw new Qp("value",h,e)}jI(i,n,o)}function ts(e,t){if(typeof e!=="number")throw new wI(t,"number",e)}function ya(e,t,r){if(Math.floor(e)!==e)throw ts(e,r),new Qp(r||"offset","an integer",e);if(t<0)throw new _I;throw new Qp(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}function LI(e){if(e=e.split("=")[0],e=e.trim().replace(UI,""),e.length<2)return"";while(e.length%4!==0)e=e+"=";return e}function rm(e,t){t=t||1/0;let r,i=e.length,n=null,o=[];for(let s=0;s<i;++s){if(r=e.charCodeAt(s),r>55295&&r<57344){if(!n){if(r>56319){if((t-=3)>-1)o.push(239,191,189);continue}else if(s+1===i){if((t-=3)>-1)o.push(239,191,189);continue}n=r;continue}if(r<56320){if((t-=3)>-1)o.push(239,191,189);n=r;continue}r=(n-55296<<10|r-56320)+65536}else if(n){if((t-=3)>-1)o.push(239,191,189)}if(n=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw Error("Invalid code point")}return o}function qI(e){let t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function FI(e,t){let r,i,n,o=[];for(let s=0;s<e.length;++s){if((t-=2)<0)break;r=e.charCodeAt(s),i=r>>8,n=r%256,o.push(n),o.push(i)}return o}function k1(e){return fI(LI(e))}function Ec(e,t,r,i){let n;for(n=0;n<i;++n){if(n+r>=t.length||n>=e.length)break;t[n+r]=e[n]}return n}function Wn(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Pi(e){return typeof BigInt>"u"?HI:e}function HI(){throw Error("BigInt not supported")}function sm(e){return()=>{throw Error(e+" is not implemented for node:buffer browser polyfill")}}var Vn,_n,Yp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",uo,i1,s1,d1=50,ga=2147483647,f1=536870888,mI,gI,yI,vI,bI,_I,wI,Qp,u1=4096,UI,BI,ZI,KI,VI=(e)=>{for(let t of e)if(t.charCodeAt(0)>127)return!1;return!0},WI,GI;var Ir=ha(()=>{Vn=[],_n=[];for(uo=0,i1=Yp.length;uo<i1;++uo)Vn[uo]=Yp[uo],_n[Yp.charCodeAt(uo)]=uo;_n[45]=62;_n[95]=63;s1=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,mI=globalThis.btoa,gI=globalThis.atob,yI=globalThis.File,vI=globalThis.Blob,bI={MAX_LENGTH:ga,MAX_STRING_LENGTH:f1};_I=nm("ERR_BUFFER_OUT_OF_BOUNDS",function(e){if(e)return`${e} is outside of buffer bounds`;return"Attempt to access memory outside buffer bounds"},RangeError),wI=nm("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),Qp=nm("ERR_OUT_OF_RANGE",function(e,t,r){let i=`The value of "${e}" is out of range.`,n=r;if(Number.isInteger(r)&&Math.abs(r)>4294967296)n=l1(String(r));else if(typeof r==="bigint"){if(n=String(r),r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))n=l1(n);n+="n"}return i+=` It must be ${t}. Received ${n}`,i},RangeError);Object.defineProperty(fe.prototype,"parent",{enumerable:!0,get:function(){if(!fe.isBuffer(this))return;return this.buffer}});Object.defineProperty(fe.prototype,"offset",{enumerable:!0,get:function(){if(!fe.isBuffer(this))return;return this.byteOffset}});fe.poolSize=8192;fe.from=function(e,t,r){return h1(e,t,r)};Object.setPrototypeOf(fe.prototype,Uint8Array.prototype);Object.setPrototypeOf(fe,Uint8Array);fe.alloc=function(e,t,r){return SI(e,t,r)};fe.allocUnsafe=function(e){return im(e)};fe.allocUnsafeSlow=function(e){return im(e)};fe.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==fe.prototype};fe.compare=function(e,t){if(Wn(e,Uint8Array))e=fe.from(e,e.offset,e.byteLength);if(Wn(t,Uint8Array))t=fe.from(t,t.offset,t.byteLength);if(!fe.isBuffer(e)||!fe.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,i=t.length;for(let n=0,o=Math.min(r,i);n<o;++n)if(e[n]!==t[n]){r=e[n],i=t[n];break}if(r<i)return-1;if(i<r)return 1;return 0};fe.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};fe.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return fe.alloc(0);let r;if(t===void 0){t=0;for(r=0;r<e.length;++r)t+=e[r].length}let i=fe.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){let o=e[r];if(Wn(o,Uint8Array))if(n+o.length>i.length){if(!fe.isBuffer(o))o=fe.from(o);o.copy(i,n)}else Uint8Array.prototype.set.call(i,o,n);else if(!fe.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');else o.copy(i,n);n+=o.length}return i};fe.byteLength=m1;fe.prototype._isBuffer=!0;fe.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)lo(this,t,t+1);return this};fe.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)lo(this,t,t+3),lo(this,t+1,t+2);return this};fe.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)lo(this,t,t+7),lo(this,t+1,t+6),lo(this,t+2,t+5),lo(this,t+3,t+4);return this};fe.prototype.toString=function(){let e=this.length;if(e===0)return"";if(arguments.length===0)return y1(this,0,e);return EI.apply(this,arguments)};fe.prototype.toLocaleString=fe.prototype.toString;fe.prototype.equals=function(e){if(!fe.isBuffer(e))throw TypeError("Argument must be a Buffer");if(this===e)return!0;return fe.compare(this,e)===0};fe.prototype.inspect=function(){let e="",t=d1;if(e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t)e+=" ... ";return"<Buffer "+e+">"};if(s1)fe.prototype[s1]=fe.prototype.inspect;fe.prototype.compare=function(e,t,r,i,n){if(Wn(e,Uint8Array))e=fe.from(e,e.offset,e.byteLength);if(!fe.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0)t=0;if(r===void 0)r=e?e.length:0;if(i===void 0)i=0;if(n===void 0)n=this.length;if(t<0||r>e.length||i<0||n>this.length)throw RangeError("out of range index");if(i>=n&&t>=r)return 0;if(i>=n)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,i>>>=0,n>>>=0,this===e)return 0;let o=n-i,s=r-t,h=Math.min(o,s),b=this.slice(i,n),v=e.slice(t,r);for(let _=0;_<h;++_)if(b[_]!==v[_]){o=b[_],s=v[_];break}if(o<s)return-1;if(s<o)return 1;return 0};fe.prototype.includes=function(e,t,r){return this.indexOf(e,t,r)!==-1};fe.prototype.indexOf=function(e,t,r){return g1(this,e,t,r,!0)};fe.prototype.lastIndexOf=function(e,t,r){return g1(this,e,t,r,!1)};fe.prototype.write=function(e,t,r,i){if(t===void 0)i="utf8",r=this.length,t=0;else if(r===void 0&&typeof t==="string")i=t,r=this.length,t=0;else if(isFinite(t))if(t=t>>>0,isFinite(r)){if(r=r>>>0,i===void 0)i="utf8"}else i=r,r=void 0;else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let n=this.length-t;if(r===void 0||r>n)r=n;if(e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");if(!i)i="utf8";let o=!1;for(;;)switch(i){case"hex":return II(this,e,t,r);case"utf8":case"utf-8":return TI(this,e,t,r);case"ascii":case"latin1":case"binary":return $I(this,e,t,r);case"base64":return PI(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return AI(this,e,t,r);default:if(o)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};fe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};fe.prototype.slice=function(e,t){let r=this.length;if(e=~~e,t=t===void 0?r:~~t,e<0){if(e+=r,e<0)e=0}else if(e>r)e=r;if(t<0){if(t+=r,t<0)t=0}else if(t>r)t=r;if(t<e)t=e;let i=this.subarray(e,t);return Object.setPrototypeOf(i,fe.prototype),i};fe.prototype.readUintLE=fe.prototype.readUIntLE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Mr(e,t,this.length);let i=this[e],n=1,o=0;while(++o<t&&(n*=256))i+=this[e+o]*n;return i};fe.prototype.readUintBE=fe.prototype.readUIntBE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Mr(e,t,this.length);let i=this[e+--t],n=1;while(t>0&&(n*=256))i+=this[e+--t]*n;return i};fe.prototype.readUint8=fe.prototype.readUInt8=function(e,t){if(e=e>>>0,!t)Mr(e,1,this.length);return this[e]};fe.prototype.readUint16LE=fe.prototype.readUInt16LE=function(e,t){if(e=e>>>0,!t)Mr(e,2,this.length);return this[e]|this[e+1]<<8};fe.prototype.readUint16BE=fe.prototype.readUInt16BE=function(e,t){if(e=e>>>0,!t)Mr(e,2,this.length);return this[e]<<8|this[e+1]};fe.prototype.readUint32LE=fe.prototype.readUInt32LE=function(e,t){if(e=e>>>0,!t)Mr(e,4,this.length);return(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};fe.prototype.readUint32BE=fe.prototype.readUInt32BE=function(e,t){if(e=e>>>0,!t)Mr(e,4,this.length);return this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};fe.prototype.readBigUInt64LE=Pi(function(e){e=e>>>0,ts(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)ya(e,this.length-8);let i=t+this[++e]*256+this[++e]*65536+this[++e]*16777216,n=this[++e]+this[++e]*256+this[++e]*65536+r*16777216;return BigInt(i)+(BigInt(n)<<BigInt(32))});fe.prototype.readBigUInt64BE=Pi(function(e){e=e>>>0,ts(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)ya(e,this.length-8);let i=t*16777216+this[++e]*65536+this[++e]*256+this[++e],n=this[++e]*16777216+this[++e]*65536+this[++e]*256+r;return(BigInt(i)<<BigInt(32))+BigInt(n)});fe.prototype.readIntLE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Mr(e,t,this.length);let i=this[e],n=1,o=0;while(++o<t&&(n*=256))i+=this[e+o]*n;if(n*=128,i>=n)i-=Math.pow(2,8*t);return i};fe.prototype.readIntBE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Mr(e,t,this.length);let i=t,n=1,o=this[e+--i];while(i>0&&(n*=256))o+=this[e+--i]*n;if(n*=128,o>=n)o-=Math.pow(2,8*t);return o};fe.prototype.readInt8=function(e,t){if(e=e>>>0,!t)Mr(e,1,this.length);if(!(this[e]&128))return this[e];return(255-this[e]+1)*-1};fe.prototype.readInt16LE=function(e,t){if(e=e>>>0,!t)Mr(e,2,this.length);let r=this[e]|this[e+1]<<8;return r&32768?r|4294901760:r};fe.prototype.readInt16BE=function(e,t){if(e=e>>>0,!t)Mr(e,2,this.length);let r=this[e+1]|this[e]<<8;return r&32768?r|4294901760:r};fe.prototype.readInt32LE=function(e,t){if(e=e>>>0,!t)Mr(e,4,this.length);return this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};fe.prototype.readInt32BE=function(e,t){if(e=e>>>0,!t)Mr(e,4,this.length);return this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};fe.prototype.readBigInt64LE=Pi(function(e){e=e>>>0,ts(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)ya(e,this.length-8);let i=this[e+4]+this[e+5]*256+this[e+6]*65536+(r<<24);return(BigInt(i)<<BigInt(32))+BigInt(t+this[++e]*256+this[++e]*65536+this[++e]*16777216)});fe.prototype.readBigInt64BE=Pi(function(e){e=e>>>0,ts(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)ya(e,this.length-8);let i=(t<<24)+this[++e]*65536+this[++e]*256+this[++e];return(BigInt(i)<<BigInt(32))+BigInt(this[++e]*16777216+this[++e]*65536+this[++e]*256+r)});fe.prototype.readFloatLE=function(e,t){if(e=e>>>0,!t)Mr(e,4,this.length);return Mc(this,e,!0,23,4)};fe.prototype.readFloatBE=function(e,t){if(e=e>>>0,!t)Mr(e,4,this.length);return Mc(this,e,!1,23,4)};fe.prototype.readDoubleLE=function(e,t){if(e=e>>>0,!t)Mr(e,8,this.length);return Mc(this,e,!0,52,8)};fe.prototype.readDoubleBE=function(e,t){if(e=e>>>0,!t)Mr(e,8,this.length);return Mc(this,e,!1,52,8)};fe.prototype.writeUintLE=fe.prototype.writeUIntLE=function(e,t,r,i){if(e=+e,t=t>>>0,r=r>>>0,!i){let s=Math.pow(2,8*r)-1;Jr(this,e,t,r,s,0)}let n=1,o=0;this[t]=e&255;while(++o<r&&(n*=256))this[t+o]=e/n&255;return t+r};fe.prototype.writeUintBE=fe.prototype.writeUIntBE=function(e,t,r,i){if(e=+e,t=t>>>0,r=r>>>0,!i){let s=Math.pow(2,8*r)-1;Jr(this,e,t,r,s,0)}let n=r-1,o=1;this[t+n]=e&255;while(--n>=0&&(o*=256))this[t+n]=e/o&255;return t+r};fe.prototype.writeUint8=fe.prototype.writeUInt8=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,1,255,0);return this[t]=e&255,t+1};fe.prototype.writeUint16LE=fe.prototype.writeUInt16LE=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,2,65535,0);return this[t]=e&255,this[t+1]=e>>>8,t+2};fe.prototype.writeUint16BE=fe.prototype.writeUInt16BE=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,2,65535,0);return this[t]=e>>>8,this[t+1]=e&255,t+2};fe.prototype.writeUint32LE=fe.prototype.writeUInt32LE=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,4,4294967295,0);return this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};fe.prototype.writeUint32BE=fe.prototype.writeUInt32BE=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,4,4294967295,0);return this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};fe.prototype.writeBigUInt64LE=Pi(function(e,t=0){return v1(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});fe.prototype.writeBigUInt64BE=Pi(function(e,t=0){return b1(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});fe.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t=t>>>0,!i){let h=Math.pow(2,8*r-1);Jr(this,e,t,r,h-1,-h)}let n=0,o=1,s=0;this[t]=e&255;while(++n<r&&(o*=256)){if(e<0&&s===0&&this[t+n-1]!==0)s=1;this[t+n]=(e/o>>0)-s&255}return t+r};fe.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t=t>>>0,!i){let h=Math.pow(2,8*r-1);Jr(this,e,t,r,h-1,-h)}let n=r-1,o=1,s=0;this[t+n]=e&255;while(--n>=0&&(o*=256)){if(e<0&&s===0&&this[t+n+1]!==0)s=1;this[t+n]=(e/o>>0)-s&255}return t+r};fe.prototype.writeInt8=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,1,127,-128);if(e<0)e=255+e+1;return this[t]=e&255,t+1};fe.prototype.writeInt16LE=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,2,32767,-32768);return this[t]=e&255,this[t+1]=e>>>8,t+2};fe.prototype.writeInt16BE=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,2,32767,-32768);return this[t]=e>>>8,this[t+1]=e&255,t+2};fe.prototype.writeInt32LE=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,4,2147483647,-2147483648);return this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};fe.prototype.writeInt32BE=function(e,t,r){if(e=+e,t=t>>>0,!r)Jr(this,e,t,4,2147483647,-2147483648);if(e<0)e=4294967295+e+1;return this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};fe.prototype.writeBigInt64LE=Pi(function(e,t=0){return v1(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});fe.prototype.writeBigInt64BE=Pi(function(e,t=0){return b1(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});fe.prototype.writeFloatLE=function(e,t,r){return w1(this,e,t,!0,r)};fe.prototype.writeFloatBE=function(e,t,r){return w1(this,e,t,!1,r)};fe.prototype.writeDoubleLE=function(e,t,r){return S1(this,e,t,!0,r)};fe.prototype.writeDoubleBE=function(e,t,r){return S1(this,e,t,!1,r)};fe.prototype.copy=function(e,t,r,i){if(!fe.isBuffer(e))throw TypeError("argument should be a Buffer");if(!r)r=0;if(!i&&i!==0)i=this.length;if(t>=e.length)t=e.length;if(!t)t=0;if(i>0&&i<r)i=r;if(i===r)return 0;if(e.length===0||this.length===0)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");if(i>this.length)i=this.length;if(e.length-t<i-r)i=e.length-t+r;let n=i-r;if(this===e&&typeof Uint8Array.prototype.copyWithin==="function")this.copyWithin(t,r,i);else Uint8Array.prototype.set.call(e,this.subarray(r,i),t);return n};fe.prototype.fill=function(e,t,r,i){if(typeof e==="string"){if(typeof t==="string")i=t,t=0,r=this.length;else if(typeof r==="string")i=r,r=this.length;if(i!==void 0&&typeof i!=="string")throw TypeError("encoding must be a string");if(typeof i==="string"&&!fe.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(e.length===1){let o=e.charCodeAt(0);if(i==="utf8"&&o<128||i==="latin1")e=o}}else if(typeof e==="number")e=e&255;else if(typeof e==="boolean")e=Number(e);if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t=t>>>0,r=r===void 0?this.length:r>>>0,!e)e=0;let n;if(typeof e==="number")for(n=t;n<r;++n)this[n]=e;else{let o=fe.isBuffer(e)?e:fe.from(e,i),s=o.length;if(s===0)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<r-t;++n)this[n+t]=o[n%s]}return this};UI=/[^+/0-9A-Za-z-_]/g;BI=function(){let e=Array(256);for(let t=0;t<16;++t){let r=t*16;for(let i=0;i<16;++i)e[r+i]="0123456789abcdef"[t]+"0123456789abcdef"[i]}return e}();ZI=sm("resolveObjectURL"),KI=sm("isUtf8"),WI=sm("transcode"),GI=fe});var O1={};vn(O1,{types:()=>oT,promisify:()=>P1,log:()=>I1,isUndefined:()=>rs,isSymbol:()=>aT,isString:()=>Rc,isRegExp:()=>Ic,isPrimitive:()=>uT,isObject:()=>ns,isNumber:()=>E1,isNullOrUndefined:()=>sT,isNull:()=>Ac,isFunction:()=>$c,isError:()=>Tc,isDate:()=>cm,isBuffer:()=>lT,isBoolean:()=>fm,isArray:()=>M1,inspect:()=>co,inherits:()=>T1,format:()=>dm,deprecate:()=>XI,default:()=>fT,debuglog:()=>YI,callbackifyOnRejected:()=>mm,callbackify:()=>A1,_extend:()=>pm,TextEncoder:()=>R1,TextDecoder:()=>C1});function dm(e,...t){if(!Rc(e)){var r=[e];for(var i=0;i<t.length;i++)r.push(co(t[i]));return r.join(" ")}var i=0,n=t.length,o=String(e).replace(JI,function(h){if(h==="%%")return"%";if(i>=n)return h;switch(h){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(b){return"[Circular]"}default:return h}});for(var s=t[i];i<n;s=t[++i])if(Ac(s)||!ns(s))o+=" "+s;else o+=" "+co(s);return o}function XI(e,t){if(typeof process>"u"||process?.noDeprecation===!0)return e;var r=!1;function i(...n){if(!r){if(process.throwDeprecation)throw Error(t);else if(process.traceDeprecation)console.trace(t);else console.error(t);r=!0}return e.apply(this,...n)}return i}function QI(e,t){var r=co.styles[t];if(r)return"\x1B["+co.colors[r][0]+"m"+e+"\x1B["+co.colors[r][1]+"m";else return e}function eT(e,t){return e}function tT(e){var t={};return e.forEach(function(r,i){t[r]=!0}),t}function Pc(e,t,r){if(e.customInspect&&t&&$c(t.inspect)&&t.inspect!==co&&!(t.constructor&&t.constructor.prototype===t)){var i=t.inspect(r,e);if(!Rc(i))i=Pc(e,i,r);return i}var n=rT(e,t);if(n)return n;var o=Object.keys(t),s=tT(o);if(e.showHidden)o=Object.getOwnPropertyNames(t);if(Tc(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return am(t);if(o.length===0){if($c(t)){var h=t.name?": "+t.name:"";return e.stylize("[Function"+h+"]","special")}if(Ic(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(cm(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Tc(t))return am(t)}var b="",v=!1,_=["{","}"];if(M1(t))v=!0,_=["[","]"];if($c(t)){var g=t.name?": "+t.name:"";b=" [Function"+g+"]"}if(Ic(t))b=" "+RegExp.prototype.toString.call(t);if(cm(t))b=" "+Date.prototype.toUTCString.call(t);if(Tc(t))b=" "+am(t);if(o.length===0&&(!v||t.length==0))return _[0]+b+_[1];if(r<0)if(Ic(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");else return e.stylize("[Object]","special");e.seen.push(t);var S;if(v)S=nT(e,t,r,s,o);else S=o.map(function(x){return lm(e,t,r,s,x,v)});return e.seen.pop(),iT(S,b,_)}function rT(e,t){if(rs(t))return e.stylize("undefined","undefined");if(Rc(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(E1(t))return e.stylize(""+t,"number");if(fm(t))return e.stylize(""+t,"boolean");if(Ac(t))return e.stylize("null","null")}function am(e){return"["+Error.prototype.toString.call(e)+"]"}function nT(e,t,r,i,n){var o=[];for(var s=0,h=t.length;s<h;++s)if($1(t,String(s)))o.push(lm(e,t,r,i,String(s),!0));else o.push("");return n.forEach(function(b){if(!b.match(/^\d+$/))o.push(lm(e,t,r,i,b,!0))}),o}function lm(e,t,r,i,n,o){var s,h,b;if(b=Object.getOwnPropertyDescriptor(t,n)||{value:t[n]},b.get)if(b.set)h=e.stylize("[Getter/Setter]","special");else h=e.stylize("[Getter]","special");else if(b.set)h=e.stylize("[Setter]","special");if(!$1(i,n))s="["+n+"]";if(!h)if(e.seen.indexOf(b.value)<0){if(Ac(r))h=Pc(e,b.value,null);else h=Pc(e,b.value,r-1);if(h.indexOf(`
5
5
  `)>-1)if(o)h=h.split(`
6
6
  `).map(function(v){return" "+v}).join(`
package/manifest.json CHANGED
@@ -1,47 +1,47 @@
1
1
  {
2
- "version": "2.1.187",
3
- "commit": "6a53320fad5541a68d79e4b6c53677df77b98e33",
4
- "buildDate": "2026-06-23T17:07:42Z",
2
+ "version": "2.1.190",
3
+ "commit": "c1e566ee5380a4c29ddd0fd0a742361e013cebd0",
4
+ "buildDate": "2026-06-24T02:29:57Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "a59a16ba4922adab7a145728f215d042184d349f5f7e72cddb7fc114250a4ce3",
9
- "size": 215994048
8
+ "checksum": "1fa59529c233914fdd9d42816a74ecf300eefa14c3d118d4ecba2f0f16fc5741",
9
+ "size": 217273568
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "7f57b6935b4246d03cb7acee90dc22153083483a267da589c5c920dd04744c36",
13
+ "checksum": "4eca48431a43c5540c53657964be604f301d38c02b244ca7c05da18f84bb5c85",
14
14
  "size": 224795776
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "b49be8a5e565bf2d45b50d2de62017b25462131acc9425d2fdb98b8f29c9dce2",
18
+ "checksum": "e7305203e7d78a6bfecb94f7973b0ee4a71a3ba67c8028c98b293cf571900b68",
19
19
  "size": 232240864
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "bb02fcb33626f8c599d10d8bee38585d4cf8d4225c3b497869dee7454e7bf361",
24
- "size": 234874664
23
+ "checksum": "0684e28517cc785ab8d19feb5dad3381eab4abc97bf6fce07bc534dc88040b27",
24
+ "size": 234891048
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "972fc2e0bc8104edb593ce7723d4414c0ed8e4df6d90ad26ae48097b1d910478",
28
+ "checksum": "38f7dd672896ca7be1ff83872f5e67e79651f97ebd0624007a16b73597825bd6",
29
29
  "size": 225620168
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "c5a783d13aac71d42324f2e9dcd395c266bd5774951faf0d94855c737024bee3",
34
- "size": 229858704
33
+ "checksum": "76a59ca11bde54ff828489bbe83c9d541872cb68f446412d067d49750edbc490",
34
+ "size": 229875088
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "24964d08c5100bac6071352e5837101b333de1c1afefd2b8b0e7a60db6c0ef5c",
39
- "size": 226329760
38
+ "checksum": "2715d8add61657a7e9465421fc3390b1a56af6e7781099126c0342c774b00828",
39
+ "size": 226344608
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "04124c0ba09ece85a856de652e84386094c372f002ff767a94d4a43ecf776f96",
44
- "size": 220992160
43
+ "checksum": "7e107609f94dca0275598f7c8fb8c2b79ef1db548c921e1edfb30697cf824b6e",
44
+ "size": 221007008
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.187",
3
- "commit": "6a53320fad5541a68d79e4b6c53677df77b98e33",
4
- "buildDate": "2026-06-23T17:09:24Z",
2
+ "version": "2.1.190",
3
+ "commit": "c1e566ee5380a4c29ddd0fd0a742361e013cebd0",
4
+ "buildDate": "2026-06-24T02:31:40Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "658417c6e9f5d76f407ee1bb04220fa6dd02333b1f8ce50bf1a7340efec64f61",
9
- "size": 44489766,
8
+ "checksum": "daf8061021101f2d81ccbb57c44556fb02b7a48105adf2b9d2a419aabd53e57b",
9
+ "size": 45731117,
10
10
  "bundle": {
11
- "checksum": "2c83be71c9f40ed86a806574ae5ef3aa99aff9735a8aaec65922d495e1e148d7",
12
- "size": 44493483
11
+ "checksum": "1fadf1be20b09739c8e2a0c30d5e036361b43fabc55ab74d08788ccb82ab4ce6",
12
+ "size": 45728695
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "9d52d2b3c1c85c83dbb9fc81be4c73f2bd2d1c09b44e5c8924c9233f4a16b3e0",
18
- "size": 48636051,
17
+ "checksum": "8aae6405ae19b6622b481de1e5ee6fcdfd37997d8321576788c8f77b008e158d",
18
+ "size": 48642410,
19
19
  "bundle": {
20
- "checksum": "43f31b4d6b04a5bf8fbe8a9b200cbf592e5e8f74616d86dd2bb3cf94dd7b1fe4",
21
- "size": 48631278
20
+ "checksum": "092941c56a1ead86ff72b6315cc74db8631e88792109026777dfc3c0fae23a49",
21
+ "size": 48652589
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "dc5f7e6752374a06fb74fb222ad76d02af72acfe40c53365440b4a4b936ab890",
27
- "size": 53511490
26
+ "checksum": "b5a82bdc324721343f7a697803e932f18a8777af90110374fe4443d0bea65139",
27
+ "size": 53516004
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "a209a9ed0af46b40691c271eceb69a7a8ba1d6e97e6899dc6cc93977751bcf86",
32
- "size": 54745022
31
+ "checksum": "8e5815b87bda8bbdb9e0d6d77a1939d94c7e6858c19acbab45db39b8b06b330b",
32
+ "size": 54736635
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "7a9e8659ab4edace5b364c102a5bfc0ddd4fc2ba48b83e30b5564d77c0b93da1",
37
- "size": 52225691
36
+ "checksum": "ac6554156b0d45278140034ba409cda565f66c3ea977889aaf5b119296eb6a16",
37
+ "size": 52223186
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "5ee81053b67a0418a6035b814b689cc6158054757e503643d182892ac64d2920",
42
- "size": 53549455
41
+ "checksum": "64e702669c37658c70f26117f7e552850d09b91b90f5aee05df8650b2c948119",
42
+ "size": 53551935
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "d3574e6f0e5d901724d3843e1d6dc0f1c6ddc1e14dbd30e733a582fc03698c43",
47
- "size": 54983558
46
+ "checksum": "a471d89eba0f86f2ad4dcc389d998e69b2214aab99d6b0e30e1e36407c8403c3",
47
+ "size": 54984529
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "81830e155993db5f756f6f29f58bad01c6b72473033534f43941739d2527fbe5",
52
- "size": 53030291
51
+ "checksum": "701d5bd268e223b5be4a30c139870b59d681540754c19aab51e70f089186e5d0",
52
+ "size": 53017556
53
53
  }
54
54
  }
55
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.187",
3
+ "version": "0.3.190",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "exports": {
@@ -57,14 +57,14 @@
57
57
  "zod": "^4.0.0"
58
58
  },
59
59
  "optionalDependencies": {
60
- "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.187",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.187",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.187",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.187",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.187",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.187",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.187",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.187"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.190",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.190",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.190",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.190",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.190",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.190",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.190",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.190"
68
68
  },
69
69
  "files": [
70
70
  "sdk.mjs",
@@ -80,5 +80,5 @@
80
80
  "manifest.json",
81
81
  "manifest.zst.json"
82
82
  ],
83
- "claudeCodeVersion": "2.1.187"
83
+ "claudeCodeVersion": "2.1.190"
84
84
  }
package/sdk.d.ts CHANGED
@@ -3075,6 +3075,17 @@ export declare type SDKControlGetUsageResponse = {
3075
3075
  */
3076
3076
  resets_at: string | null;
3077
3077
  } | null;
3078
+ /**
3079
+ * Per-model weekly windows from the server limits[] array, filtered by the overage-included-models allowlist. Additive — present only when the server emits them.
3080
+ */
3081
+ model_scoped?: {
3082
+ /**
3083
+ * Server-supplied label for the model bucket (e.g. 'Fable').
3084
+ */
3085
+ display_name: string;
3086
+ utilization: number | null;
3087
+ resets_at: string | null;
3088
+ }[];
3078
3089
  extra_usage?: {
3079
3090
  is_enabled: boolean;
3080
3091
  monthly_limit: number | null;
@@ -3882,7 +3893,7 @@ export declare type SDKRateLimitEvent = {
3882
3893
  export declare type SDKRateLimitInfo = {
3883
3894
  status: 'allowed' | 'allowed_warning' | 'rejected';
3884
3895
  resetsAt?: number;
3885
- rateLimitType?: 'five_hour' | 'seven_day' | 'seven_day_opus' | 'seven_day_sonnet' | 'overage';
3896
+ rateLimitType?: 'five_hour' | 'seven_day' | 'seven_day_opus' | 'seven_day_sonnet' | 'seven_day_overage_included' | 'overage';
3886
3897
  utilization?: number;
3887
3898
  overageStatus?: 'allowed' | 'allowed_warning' | 'rejected';
3888
3899
  overageResetsAt?: number;