@anthropic-ai/claude-agent-sdk 0.3.248 → 0.3.250

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.248
3
+ // Version: 0.3.250
4
4
  var D$=Object.create;var{getPrototypeOf:N$,defineProperty:Du,getOwnPropertyNames:Vx,getOwnPropertyDescriptor:L$}=Object,Gx=Object.prototype.hasOwnProperty;function Jx(e){return this[e]}var z$,U$,L0=(e,t,r)=>{var i=e!=null&&typeof e==="object";if(i){var n=t?z$??=new WeakMap:U$??=new WeakMap,o=n.get(e);if(o)return o}r=e!=null?D$(N$(e)):{};let s=t||!e||!e.__esModule?Du(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let d of Vx(e))if(!Gx.call(s,d))Du(s,d,{get:Jx.bind(e,d),enumerable:!0})}if(i)n.set(e,s);return s},At=(e)=>{var t=(Zx??=new WeakMap).get(e),r;if(t)return t;if(t=Du({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var i of Vx(e))if(!Gx.call(t,i))Du(t,i,{get:Jx.bind(e,i),enumerable:!(r=L$(e,i))||r.enumerable})}return Zx.set(e,t),t},Zx,Ye=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var j$=(e)=>e;function F$(e,t){this[e]=j$.bind(null,t)}var on=(e,t)=>{for(var r in t)Du(e,r,{get:t[r],enumerable:!0,configurable:!0,set:F$.bind(t,r)})};var ns=(e,t)=>()=>(e&&(t=e(e=0)),t);var B$=((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')}),q$=Symbol.dispose||Symbol.for("Symbol.dispose"),H$=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),Ur=(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[H$];if(i===void 0)i=t[q$];if(typeof i!=="function")throw TypeError("Object not disposable");e.push([r,i,t])}else if(r)e.push([r]);return t},jr=(e,t,r)=>{var i=typeof SuppressedError==="function"?SuppressedError:function(s,d,m,y){return y=Error(m),y.name="SuppressedError",y.error=s,y.suppressed=d,y},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 d=s[1]&&s[1].call(s[2]);if(s[0])return Promise.resolve(d).then(o,(m)=>(n(m),o()))}catch(m){n(m)}if(r)throw t};return o()};var $r={};on($r,{Blob:()=>KO,Buffer:()=>pe,File:()=>HO,INSPECT_MAX_BYTES:()=>$k,atob:()=>qO,btoa:()=>BO,constants:()=>WO,default:()=>w9,isAscii:()=>_9,isUtf8:()=>v9,kMaxLength:()=>Uu,kStringMaxLength:()=>Ok,resolveObjectURL:()=>b9,transcode:()=>S9});function LO(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 zO(e,t){return(e+t)*3/4-t}function UO(e){var t,r=LO(e),i=r[0],n=r[1],o=new Uint8Array(zO(i,n)),s=0,d=n>0?i-4:i,m;for(m=0;m<d;m+=4)t=Bn[e.charCodeAt(m)]<<18|Bn[e.charCodeAt(m+1)]<<12|Bn[e.charCodeAt(m+2)]<<6|Bn[e.charCodeAt(m+3)],o[s++]=t>>16&255,o[s++]=t>>8&255,o[s++]=t&255;if(n===2)t=Bn[e.charCodeAt(m)]<<2|Bn[e.charCodeAt(m+1)]>>4,o[s++]=t&255;if(n===1)t=Bn[e.charCodeAt(m)]<<10|Bn[e.charCodeAt(m+1)]<<4|Bn[e.charCodeAt(m+2)]>>2,o[s++]=t>>8&255,o[s++]=t&255;return o}function jO(e){return Ei[e>>18&63]+Ei[e>>12&63]+Ei[e>>6&63]+Ei[e&63]}function FO(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(jO(i));return n.join("")}function Ak(e){var t,r=e.length,i=r%3,n=[],o=16383;for(var s=0,d=r-i;s<d;s+=o)n.push(FO(e,s,s+o>d?d:s+o));if(i===1)t=e[r-1],n.push(Ei[t>>2]+Ei[t<<4&63]+"==");else if(i===2)t=(e[r-2]<<8)+e[r-1],n.push(Ei[t>>10]+Ei[t>>4&63]+Ei[t<<2&63]+"=");return n.join("")}function kf(e,t,r,i,n){var o,s,d=n*8-i-1,m=(1<<d)-1,y=m>>1,v=-7,p=r?n-1:0,S=r?-1:1,x=e[t+p];p+=S,o=x&(1<<-v)-1,x>>=-v,v+=d;for(;v>0;o=o*256+e[t+p],p+=S,v-=8);s=o&(1<<-v)-1,o>>=-v,v+=i;for(;v>0;s=s*256+e[t+p],p+=S,v-=8);if(o===0)o=1-y;else if(o===m)return s?NaN:(x?-1:1)*(1/0);else s=s+Math.pow(2,i),o=o-y;return(x?-1:1)*s*Math.pow(2,o-i)}function Ck(e,t,r,i,n,o){var s,d,m,y=o*8-n-1,v=(1<<y)-1,p=v>>1,S=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,k=i?1:-1,E=t<0||t===0&&1/t<0?1:0;if(t=Math.abs(t),isNaN(t)||t===1/0)d=isNaN(t)?1:0,s=v;else{if(s=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-s))<1)s--,m*=2;if(s+p>=1)t+=S/m;else t+=S*Math.pow(2,1-p);if(t*m>=2)s++,m/=2;if(s+p>=v)d=0,s=v;else if(s+p>=1)d=(t*m-1)*Math.pow(2,n),s=s+p;else d=t*Math.pow(2,p-1)*Math.pow(2,n),s=0}for(;n>=8;e[r+x]=d&255,x+=k,d/=256,n-=8);s=s<<n|d,y+=n;for(;y>0;e[r+x]=s&255,x+=k,s/=256,y-=8);e[r+x-k]|=E*128}function ji(e){if(e>Uu)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,pe.prototype),t}function ry(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 pe(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 ny(e)}return Dk(e,t,r)}function Dk(e,t,r){if(typeof e==="string")return JO(e,t);if(ArrayBuffer.isView(e))return YO(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(Ai(e,ArrayBuffer)||e&&Ai(e.buffer,ArrayBuffer))return ey(e,t,r);if(typeof SharedArrayBuffer<"u"&&(Ai(e,SharedArrayBuffer)||e&&Ai(e.buffer,SharedArrayBuffer)))return ey(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 pe.from(i,t,r);let n=XO(e);if(n)return n;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==="function")return pe.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 Nk(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 GO(e,t,r){if(Nk(e),e<=0)return ji(e);if(t!==void 0)return typeof r==="string"?ji(e).fill(t,r):ji(e).fill(t);return ji(e)}function ny(e){return Nk(e),ji(e<0?0:iy(e)|0)}function JO(e,t){if(typeof t!=="string"||t==="")t="utf8";if(!pe.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=Lk(e,t)|0,i=ji(r),n=i.write(e,t);if(n!==r)i=i.slice(0,n);return i}function Q0(e){let t=e.length<0?0:iy(e.length)|0,r=ji(t);for(let i=0;i<t;i+=1)r[i]=e[i]&255;return r}function YO(e){if(Ai(e,Uint8Array)){let t=new Uint8Array(e);return ey(t.buffer,t.byteOffset,t.byteLength)}return Q0(e)}function ey(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,pe.prototype),i}function XO(e){if(pe.isBuffer(e)){let t=iy(e.length)|0,r=ji(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 ji(0);return Q0(e)}if(e.type==="Buffer"&&Array.isArray(e.data))return Q0(e.data)}function iy(e){if(e>=Uu)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Uu.toString(16)+" bytes");return e|0}function Lk(e,t){if(pe.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ai(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 ty(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Wk(e).length;default:if(n)return i?-1:ty(e).length;t=(""+t).toLowerCase(),n=!0}}function QO(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 l9(this,t,r);case"utf8":case"utf-8":return Uk(this,t,r);case"ascii":return a9(this,t,r);case"latin1":case"binary":return u9(this,t,r);case"base64":return o9(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c9(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function ss(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}function zk(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=pe.from(t,i);if(pe.isBuffer(t)){if(t.length===0)return-1;return Pk(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 Pk(e,[t],r,i,n)}throw TypeError("val must be string, number or Buffer")}function Pk(e,t,r,i,n){let o=1,s=e.length,d=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,d/=2,r/=2}}function m(v,p){if(o===1)return v[p];else return v.readUInt16BE(p*o)}let y;if(n){let v=-1;for(y=r;y<s;y++)if(m(e,y)===m(t,v===-1?0:y-v)){if(v===-1)v=y;if(y-v+1===d)return v*o}else{if(v!==-1)y-=y-v;v=-1}}else{if(r+d>s)r=s-d;for(y=r;y>=0;y--){let v=!0;for(let p=0;p<d;p++)if(m(e,y+p)!==m(t,p)){v=!1;break}if(v)return y}}return-1}function e9(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 d=parseInt(t.substr(s*2,2),16);if(Number.isNaN(d))return s;e[r+s]=d}return s}function t9(e,t,r,i){return Mf(ty(t,e.length-r),e,r,i)}function r9(e,t,r,i){return Mf(p9(t),e,r,i)}function n9(e,t,r,i){return Mf(Wk(t),e,r,i)}function i9(e,t,r,i){return Mf(m9(t,e.length-r),e,r,i)}function o9(e,t,r){if(t===0&&r===e.length)return Ak(e);else return Ak(e.slice(t,r))}function Uk(e,t,r){r=Math.min(e.length,r);let i=[],n=t;while(n<r){let o=e[n],s=null,d=o>239?4:o>223?3:o>191?2:1;if(n+d<=r){let m,y,v,p;switch(d){case 1:if(o<128)s=o;break;case 2:if(m=e[n+1],(m&192)===128){if(p=(o&31)<<6|m&63,p>127)s=p}break;case 3:if(m=e[n+1],y=e[n+2],(m&192)===128&&(y&192)===128){if(p=(o&15)<<12|(m&63)<<6|y&63,p>2047&&(p<55296||p>57343))s=p}break;case 4:if(m=e[n+1],y=e[n+2],v=e[n+3],(m&192)===128&&(y&192)===128&&(v&192)===128){if(p=(o&15)<<18|(m&63)<<12|(y&63)<<6|v&63,p>65535&&p<1114112)s=p}}}if(s===null)s=65533,d=1;else if(s>65535)s-=65536,i.push(s>>>10&1023|55296),s=56320|s&1023;i.push(s),n+=d}return s9(i)}function s9(e){let t=e.length;if(t<=Rk)return String.fromCharCode.apply(String,e);let r="",i=0;while(i<t)r+=String.fromCharCode.apply(String,e.slice(i,i+=Rk));return r}function a9(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 u9(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 l9(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+=g9[e[o]];return n}function c9(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 Cr(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 mn(e,t,r,i,n,o){if(!pe.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 jk(e,t,r,i,n){Kk(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 Fk(e,t,r,i,n){Kk(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 Bk(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 qk(e,t,r,i,n){if(t=+t,r=r>>>0,!n)Bk(e,t,r,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return Ck(e,t,r,i,23,4),r+4}function Hk(e,t,r,i,n){if(t=+t,r=r>>>0,!n)Bk(e,t,r,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return Ck(e,t,r,i,52,8),r+8}function Ik(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 d9(e,t,r){if(Ys(t,"offset"),e[t]===void 0||e[t+r]===void 0)ju(t,e.length-(r+1))}function Kk(e,t,r,i,n,o){if(e>r||e<t){let s=typeof t==="bigint"?"n":"",d;if(o>3)if(t===0||t===BigInt(0))d=`>= 0${s} and < 2${s} ** ${(o+1)*8}${s}`;else d=`>= -(2${s} ** ${(o+1)*8-1}${s}) and < 2 ** ${(o+1)*8-1}${s}`;else d=`>= ${t}${s} and <= ${r}${s}`;throw new X0("value",d,e)}d9(i,n,o)}function Ys(e,t){if(typeof e!=="number")throw new VO(t,"number",e)}function ju(e,t,r){if(Math.floor(e)!==e)throw Ys(e,r),new X0(r||"offset","an integer",e);if(t<0)throw new ZO;throw new X0(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}function h9(e){if(e=e.split("=")[0],e=e.trim().replace(f9,""),e.length<2)return"";while(e.length%4!==0)e=e+"=";return e}function ty(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 p9(e){let t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function m9(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 Wk(e){return UO(h9(e))}function Mf(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 Ai(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function ho(e){return typeof BigInt>"u"?y9:e}function y9(){throw Error("BigInt not supported")}function oy(e){return()=>{throw Error(e+" is not implemented for node:buffer browser polyfill")}}var Ei,Bn,Y0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",os,Ek,Tk,$k=50,Uu=2147483647,Ok=536870888,BO,qO,HO,KO,WO,ZO,VO,X0,Rk=4096,f9,g9,b9,v9,_9=(e)=>{for(let t of e)if(t.charCodeAt(0)>127)return!1;return!0},S9,w9;var Or=ns(()=>{Ei=[],Bn=[];for(os=0,Ek=Y0.length;os<Ek;++os)Ei[os]=Y0[os],Bn[Y0.charCodeAt(os)]=os;Bn[45]=62;Bn[95]=63;Tk=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,BO=globalThis.btoa,qO=globalThis.atob,HO=globalThis.File,KO=globalThis.Blob,WO={MAX_LENGTH:Uu,MAX_STRING_LENGTH:Ok};ZO=ry("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),VO=ry("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),X0=ry("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=Ik(String(r));else if(typeof r==="bigint"){if(n=String(r),r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))n=Ik(n);n+="n"}return i+=` It must be ${t}. Received ${n}`,i},RangeError);Object.defineProperty(pe.prototype,"parent",{enumerable:!0,get:function(){if(!pe.isBuffer(this))return;return this.buffer}});Object.defineProperty(pe.prototype,"offset",{enumerable:!0,get:function(){if(!pe.isBuffer(this))return;return this.byteOffset}});pe.poolSize=8192;pe.from=function(e,t,r){return Dk(e,t,r)};Object.setPrototypeOf(pe.prototype,Uint8Array.prototype);Object.setPrototypeOf(pe,Uint8Array);pe.alloc=function(e,t,r){return GO(e,t,r)};pe.allocUnsafe=function(e){return ny(e)};pe.allocUnsafeSlow=function(e){return ny(e)};pe.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==pe.prototype};pe.compare=function(e,t){if(Ai(e,Uint8Array))e=pe.from(e,e.offset,e.byteLength);if(Ai(t,Uint8Array))t=pe.from(t,t.offset,t.byteLength);if(!pe.isBuffer(e)||!pe.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};pe.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}};pe.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return pe.alloc(0);let r;if(t===void 0){t=0;for(r=0;r<e.length;++r)t+=e[r].length}let i=pe.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){let o=e[r];if(Ai(o,Uint8Array))if(n+o.length>i.length){if(!pe.isBuffer(o))o=pe.from(o);o.copy(i,n)}else Uint8Array.prototype.set.call(i,o,n);else if(!pe.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');else o.copy(i,n);n+=o.length}return i};pe.byteLength=Lk;pe.prototype._isBuffer=!0;pe.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)ss(this,t,t+1);return this};pe.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)ss(this,t,t+3),ss(this,t+1,t+2);return this};pe.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)ss(this,t,t+7),ss(this,t+1,t+6),ss(this,t+2,t+5),ss(this,t+3,t+4);return this};pe.prototype.toString=function(){let e=this.length;if(e===0)return"";if(arguments.length===0)return Uk(this,0,e);return QO.apply(this,arguments)};pe.prototype.toLocaleString=pe.prototype.toString;pe.prototype.equals=function(e){if(!pe.isBuffer(e))throw TypeError("Argument must be a Buffer");if(this===e)return!0;return pe.compare(this,e)===0};pe.prototype.inspect=function(){let e="",t=$k;if(e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t)e+=" ... ";return"<Buffer "+e+">"};if(Tk)pe.prototype[Tk]=pe.prototype.inspect;pe.prototype.compare=function(e,t,r,i,n){if(Ai(e,Uint8Array))e=pe.from(e,e.offset,e.byteLength);if(!pe.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,d=Math.min(o,s),m=this.slice(i,n),y=e.slice(t,r);for(let v=0;v<d;++v)if(m[v]!==y[v]){o=m[v],s=y[v];break}if(o<s)return-1;if(s<o)return 1;return 0};pe.prototype.includes=function(e,t,r){return this.indexOf(e,t,r)!==-1};pe.prototype.indexOf=function(e,t,r){return zk(this,e,t,r,!0)};pe.prototype.lastIndexOf=function(e,t,r){return zk(this,e,t,r,!1)};pe.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 e9(this,e,t,r);case"utf8":case"utf-8":return t9(this,e,t,r);case"ascii":case"latin1":case"binary":return r9(this,e,t,r);case"base64":return n9(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i9(this,e,t,r);default:if(o)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};pe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};pe.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,pe.prototype),i};pe.prototype.readUintLE=pe.prototype.readUIntLE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Cr(e,t,this.length);let i=this[e],n=1,o=0;while(++o<t&&(n*=256))i+=this[e+o]*n;return i};pe.prototype.readUintBE=pe.prototype.readUIntBE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Cr(e,t,this.length);let i=this[e+--t],n=1;while(t>0&&(n*=256))i+=this[e+--t]*n;return i};pe.prototype.readUint8=pe.prototype.readUInt8=function(e,t){if(e=e>>>0,!t)Cr(e,1,this.length);return this[e]};pe.prototype.readUint16LE=pe.prototype.readUInt16LE=function(e,t){if(e=e>>>0,!t)Cr(e,2,this.length);return this[e]|this[e+1]<<8};pe.prototype.readUint16BE=pe.prototype.readUInt16BE=function(e,t){if(e=e>>>0,!t)Cr(e,2,this.length);return this[e]<<8|this[e+1]};pe.prototype.readUint32LE=pe.prototype.readUInt32LE=function(e,t){if(e=e>>>0,!t)Cr(e,4,this.length);return(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};pe.prototype.readUint32BE=pe.prototype.readUInt32BE=function(e,t){if(e=e>>>0,!t)Cr(e,4,this.length);return this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};pe.prototype.readBigUInt64LE=ho(function(e){e=e>>>0,Ys(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)ju(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))});pe.prototype.readBigUInt64BE=ho(function(e){e=e>>>0,Ys(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)ju(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)});pe.prototype.readIntLE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Cr(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};pe.prototype.readIntBE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Cr(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};pe.prototype.readInt8=function(e,t){if(e=e>>>0,!t)Cr(e,1,this.length);if(!(this[e]&128))return this[e];return(255-this[e]+1)*-1};pe.prototype.readInt16LE=function(e,t){if(e=e>>>0,!t)Cr(e,2,this.length);let r=this[e]|this[e+1]<<8;return r&32768?r|4294901760:r};pe.prototype.readInt16BE=function(e,t){if(e=e>>>0,!t)Cr(e,2,this.length);let r=this[e+1]|this[e]<<8;return r&32768?r|4294901760:r};pe.prototype.readInt32LE=function(e,t){if(e=e>>>0,!t)Cr(e,4,this.length);return this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};pe.prototype.readInt32BE=function(e,t){if(e=e>>>0,!t)Cr(e,4,this.length);return this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};pe.prototype.readBigInt64LE=ho(function(e){e=e>>>0,Ys(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)ju(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)});pe.prototype.readBigInt64BE=ho(function(e){e=e>>>0,Ys(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)ju(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)});pe.prototype.readFloatLE=function(e,t){if(e=e>>>0,!t)Cr(e,4,this.length);return kf(this,e,!0,23,4)};pe.prototype.readFloatBE=function(e,t){if(e=e>>>0,!t)Cr(e,4,this.length);return kf(this,e,!1,23,4)};pe.prototype.readDoubleLE=function(e,t){if(e=e>>>0,!t)Cr(e,8,this.length);return kf(this,e,!0,52,8)};pe.prototype.readDoubleBE=function(e,t){if(e=e>>>0,!t)Cr(e,8,this.length);return kf(this,e,!1,52,8)};pe.prototype.writeUintLE=pe.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;mn(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};pe.prototype.writeUintBE=pe.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;mn(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};pe.prototype.writeUint8=pe.prototype.writeUInt8=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(this,e,t,1,255,0);return this[t]=e&255,t+1};pe.prototype.writeUint16LE=pe.prototype.writeUInt16LE=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(this,e,t,2,65535,0);return this[t]=e&255,this[t+1]=e>>>8,t+2};pe.prototype.writeUint16BE=pe.prototype.writeUInt16BE=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(this,e,t,2,65535,0);return this[t]=e>>>8,this[t+1]=e&255,t+2};pe.prototype.writeUint32LE=pe.prototype.writeUInt32LE=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(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};pe.prototype.writeUint32BE=pe.prototype.writeUInt32BE=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(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};pe.prototype.writeBigUInt64LE=ho(function(e,t=0){return jk(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});pe.prototype.writeBigUInt64BE=ho(function(e,t=0){return Fk(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});pe.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t=t>>>0,!i){let d=Math.pow(2,8*r-1);mn(this,e,t,r,d-1,-d)}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};pe.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t=t>>>0,!i){let d=Math.pow(2,8*r-1);mn(this,e,t,r,d-1,-d)}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};pe.prototype.writeInt8=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(this,e,t,1,127,-128);if(e<0)e=255+e+1;return this[t]=e&255,t+1};pe.prototype.writeInt16LE=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(this,e,t,2,32767,-32768);return this[t]=e&255,this[t+1]=e>>>8,t+2};pe.prototype.writeInt16BE=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(this,e,t,2,32767,-32768);return this[t]=e>>>8,this[t+1]=e&255,t+2};pe.prototype.writeInt32LE=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(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};pe.prototype.writeInt32BE=function(e,t,r){if(e=+e,t=t>>>0,!r)mn(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};pe.prototype.writeBigInt64LE=ho(function(e,t=0){return jk(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});pe.prototype.writeBigInt64BE=ho(function(e,t=0){return Fk(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});pe.prototype.writeFloatLE=function(e,t,r){return qk(this,e,t,!0,r)};pe.prototype.writeFloatBE=function(e,t,r){return qk(this,e,t,!1,r)};pe.prototype.writeDoubleLE=function(e,t,r){return Hk(this,e,t,!0,r)};pe.prototype.writeDoubleBE=function(e,t,r){return Hk(this,e,t,!1,r)};pe.prototype.copy=function(e,t,r,i){if(!pe.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};pe.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"&&!pe.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=pe.isBuffer(e)?e:pe.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};f9=/[^+/0-9A-Za-z-_]/g;g9=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}();b9=oy("resolveObjectURL"),v9=oy("isUtf8"),S9=oy("transcode"),w9=pe});var r2={};on(r2,{TextDecoder:()=>t2,TextEncoder:()=>e2,_extend:()=>hy,callbackify:()=>Qk,callbackifyOnRejected:()=>py,debuglog:()=>M9,default:()=>U9,deprecate:()=>k9,format:()=>cy,inherits:()=>Jk,inspect:()=>as,isArray:()=>Zk,isBoolean:()=>dy,isBuffer:()=>N9,isDate:()=>ly,isError:()=>Af,isFunction:()=>Tf,isNull:()=>Rf,isNullOrUndefined:()=>$9,isNumber:()=>Vk,isObject:()=>Qs,isPrimitive:()=>D9,isRegExp:()=>Ef,isString:()=>If,isSymbol:()=>O9,isUndefined:()=>Xs,log:()=>Gk,promisify:()=>Xk,types:()=>C9});function cy(e,...t){if(!If(e)){var r=[e];for(var i=0;i<t.length;i++)r.push(as(t[i]));return r.join(" ")}var i=0,n=t.length,o=String(e).replace(x9,function(d){if(d==="%%")return"%";if(i>=n)return d;switch(d){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(m){return"[Circular]"}default:return d}});for(var s=t[i];i<n;s=t[++i])if(Rf(s)||!Qs(s))o+=" "+s;else o+=" "+as(s);return o}function k9(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 E9(e,t){var r=as.styles[t];if(r)return"\x1B["+as.colors[r][0]+"m"+e+"\x1B["+as.colors[r][1]+"m";else return e}function A9(e,t){return e}function T9(e){var t={};return e.forEach(function(r,i){t[r]=!0}),t}function Pf(e,t,r){if(e.customInspect&&t&&Tf(t.inspect)&&t.inspect!==as&&!(t.constructor&&t.constructor.prototype===t)){var i=t.inspect(r,e);if(!If(i))i=Pf(e,i,r);return i}var n=P9(e,t);if(n)return n;var o=Object.keys(t),s=T9(o);if(e.showHidden)o=Object.getOwnPropertyNames(t);if(Af(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return sy(t);if(o.length===0){if(Tf(t)){var d=t.name?": "+t.name:"";return e.stylize("[Function"+d+"]","special")}if(Ef(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(ly(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Af(t))return sy(t)}var m="",y=!1,v=["{","}"];if(Zk(t))y=!0,v=["[","]"];if(Tf(t)){var p=t.name?": "+t.name:"";m=" [Function"+p+"]"}if(Ef(t))m=" "+RegExp.prototype.toString.call(t);if(ly(t))m=" "+Date.prototype.toUTCString.call(t);if(Af(t))m=" "+sy(t);if(o.length===0&&(!y||t.length==0))return v[0]+m+v[1];if(r<0)if(Ef(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");else return e.stylize("[Object]","special");e.seen.push(t);var S;if(y)S=R9(e,t,r,s,o);else S=o.map(function(x){return uy(e,t,r,s,x,y)});return e.seen.pop(),I9(S,m,v)}function P9(e,t){if(Xs(t))return e.stylize("undefined","undefined");if(If(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(Vk(t))return e.stylize(""+t,"number");if(dy(t))return e.stylize(""+t,"boolean");if(Rf(t))return e.stylize("null","null")}function sy(e){return"["+Error.prototype.toString.call(e)+"]"}function R9(e,t,r,i,n){var o=[];for(var s=0,d=t.length;s<d;++s)if(Yk(t,String(s)))o.push(uy(e,t,r,i,String(s),!0));else o.push("");return n.forEach(function(m){if(!m.match(/^\d+$/))o.push(uy(e,t,r,i,m,!0))}),o}function uy(e,t,r,i,n,o){var s,d,m;if(m=Object.getOwnPropertyDescriptor(t,n)||{value:t[n]},m.get)if(m.set)d=e.stylize("[Getter/Setter]","special");else d=e.stylize("[Getter]","special");else if(m.set)d=e.stylize("[Setter]","special");if(!Yk(i,n))s="["+n+"]";if(!d)if(e.seen.indexOf(m.value)<0){if(Rf(r))d=Pf(e,m.value,null);else d=Pf(e,m.value,r-1);if(d.indexOf(`
5
5
  `)>-1)if(o)d=d.split(`
6
6
  `).map(function(y){return" "+y}).join(`
package/manifest.json CHANGED
@@ -1,47 +1,47 @@
1
1
  {
2
- "version": "2.1.248",
3
- "commit": "8c9482ad0510ad5e3c88f0ebe6f035ec148f73e2",
4
- "buildDate": "2026-08-27T19:38:50Z",
2
+ "version": "2.1.250",
3
+ "commit": "2f71b9f41af67bfcea88aef7a9f8a0d406825b99",
4
+ "buildDate": "2026-08-27T21:33:53Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "a3f276daa51919f378bcd797d44f8e3d09653c2858123157d272de38952efeef",
9
- "size": 206463136
8
+ "checksum": "506d7362a9c625306044879a9d91d8f33bd2eef963681b56be3295db5fe3e34b",
9
+ "size": 206479552
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "35c21b09d049a4d040c511cd9f73de01df83aa1d4b35a43ae1353bde413b42bc",
14
- "size": 215124048
13
+ "checksum": "c247e9bf78fca8a081c8a746811d9641f4c38e727c341d253f359ddab6870f45",
14
+ "size": 215140560
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "76655a3731274f36236632b9acbcb9bef7055de20041c411b761856043fbc0df",
18
+ "checksum": "0f4ff542f895526499ce23d8752c64cbb2ceb05a32cf6a1c0d1e31d82b20643d",
19
19
  "size": 223141128
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "3edee3cb054bd6823674fd60d5c0e442825b28ee8fbf815af2d16bf0de072e16",
24
- "size": 223599960
23
+ "checksum": "2be252a00ac56e704d7fbf7e5e9ef1243584093334a861945238a0c27e84bdac",
24
+ "size": 223604056
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "ca9cabd7c636889de73c399d31be4f115fd2737c64482ada7bf4b1c0d51448f3",
29
- "size": 215889472
28
+ "checksum": "7f2817dd6fc114dcd86a13706ecb290bf8985bc95dc1c079ee7836a1e3bea1d3",
29
+ "size": 215955008
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "155e1aa56d0c7e2aaae92788c414e7c43315220289bbd38f7a89ba33d07ff48f",
34
- "size": 217575288
33
+ "checksum": "03d0022c591844a6c03f2acdb2015e8070aa68bb920d6a707d99e08dd726ccda",
34
+ "size": 217583480
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "c322169422b45ec4bbfeae3aae6cfd6367a622b0d12f06ba9766e18bb8eca2af",
39
- "size": 226708128
38
+ "checksum": "63403e009e779b0788d1b46be8436e734075514e280bb1ee8e06e4126ba63f29",
39
+ "size": 226715296
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "d3ee9756700a4e7642216e04f1a57baba9633732de9d85a4b7918c4731e4b572",
44
- "size": 217812640
43
+ "checksum": "fca724738701840b662e6af20401ccae9d37986593cee7810dccd4adcc482677",
44
+ "size": 217819296
45
45
  }
46
46
  },
47
47
  "sdkCompat": {
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.248",
3
- "commit": "8c9482ad0510ad5e3c88f0ebe6f035ec148f73e2",
4
- "buildDate": "2026-08-27T19:40:05Z",
2
+ "version": "2.1.250",
3
+ "commit": "2f71b9f41af67bfcea88aef7a9f8a0d406825b99",
4
+ "buildDate": "2026-08-27T21:35:06Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "b29c2c80dd0e93a692fdfd910204b04b61cc98983634bfb7d7ee3882809b4568",
9
- "size": 63732872,
8
+ "checksum": "562cda7c68cbe37e39d86b16e54012895e2be4d0db0308b1d2ce6a75f9589885",
9
+ "size": 63732969,
10
10
  "bundle": {
11
- "checksum": "19cdcfee1314ed0958a7805ce4dd000b4651d0cecca5f6bbcd9ef68976628a32",
12
- "size": 63735676
11
+ "checksum": "36aca44dd2faca5fd3eaf32c3fb3461be2f602a4d2eff951edde61108e8ac9c1",
12
+ "size": 63734782
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "bb04d8fa542d01b96b6ddee76560667c50eeefb4cfb3b7ad5b9dc58d36dbfa5f",
18
- "size": 67819333,
17
+ "checksum": "3dfc1039d445907c8106a852b6f9a1b3cf9490c56c04611cae9c323570e39863",
18
+ "size": 67819608,
19
19
  "bundle": {
20
- "checksum": "2db3fd3b76a70a421703ebfc23afee17cb40dfbf8b0bd46a5288dc041723e3d6",
21
- "size": 67817366
20
+ "checksum": "3ceef9620d4df7f2683424ecdd2dacb12b10b879e42947b9654223329e5f433e",
21
+ "size": 67819636
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "eb1343b9092ddfbaf39bc44afeaf596e0d62516aadcf00c32626753c267cd90d",
27
- "size": 73072310
26
+ "checksum": "aa69ea1c3cf29ce6b27e8ba8a752563e86ed338b7b2b10083ccc3bcf80329012",
27
+ "size": 73075712
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "c6e7e88189b5c8319e32b92ea53813eec683dcdfe187257d502b7e57d8e0f33a",
32
- "size": 73704780
31
+ "checksum": "f8165fafbf5785a3aff4a2b5a0480d08be601b2803d46601a755578be2994588",
32
+ "size": 73705450
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "68ef3296006335ab24a0eca03332e97d2e0e92909773c6629b559f2bb5d04503",
37
- "size": 71555622
36
+ "checksum": "d8255827f5c8f0add91d3ba287756086ac34e01022ffcec3b261a0920d8b6b6c",
37
+ "size": 71557543
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "28dee5aabacf56bd7d0a984c89da642fae2e37e6782951efadcebe160fba00e5",
42
- "size": 72211859
41
+ "checksum": "473252017845f40445efcb88521ec2e77d257ddc684ebe1da5687150dc304626",
42
+ "size": 72214104
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "efd339adce351a3406b9583c1ce1c2cace7c2745000d8adcb420477459edfc83",
47
- "size": 76106262
46
+ "checksum": "b6a0dc1a1a5b424d58066955313d4788d21715f72853d43a0dca185f7ab5b39a",
47
+ "size": 76114795
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "d11e5d07414acaa8afd744bcc042da56406091a1b6ed9783591abeddd9f32272",
52
- "size": 72889557
51
+ "checksum": "6c722d2177d95e07bed4c2a1ad45921e8571f26da23340afc7e785eaaf9b0d39",
52
+ "size": 72888246
53
53
  }
54
54
  },
55
55
  "sdkCompat": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.248",
3
+ "version": "0.3.250",
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.248",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.248",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.248",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.248",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.248",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.248",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.248",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.248"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.250",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.250",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.250",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.250",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.250",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.250",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.250",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.250"
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.248"
83
+ "claudeCodeVersion": "2.1.250"
84
84
  }