@anthropic-ai/claude-agent-sdk 0.3.251 → 0.3.252

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.251
3
+ // Version: 0.3.252
4
4
  var z$=Object.create;var{getPrototypeOf:U$,defineProperty:Lu,getOwnPropertyNames:Xx,getOwnPropertyDescriptor:j$}=Object,Qx=Object.prototype.hasOwnProperty;function ek(e){return this[e]}var F$,B$,j0=(e,t,r)=>{var i=e!=null&&typeof e==="object";if(i){var n=t?F$??=new WeakMap:B$??=new WeakMap,o=n.get(e);if(o)return o}r=e!=null?z$(U$(e)):{};let s=t||!e||!e.__esModule?Lu(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let d of Xx(e))if(!Qx.call(s,d))Lu(s,d,{get:ek.bind(e,d),enumerable:!0})}if(i)n.set(e,s);return s},At=(e)=>{var t=(Yx??=new WeakMap).get(e),r;if(t)return t;if(t=Lu({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var i of Xx(e))if(!Qx.call(t,i))Lu(t,i,{get:ek.bind(e,i),enumerable:!(r=j$(e,i))||r.enumerable})}return Yx.set(e,t),t},Yx,Ye=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var q$=(e)=>e;function H$(e,t){this[e]=q$.bind(null,t)}var on=(e,t)=>{for(var r in t)Lu(e,r,{get:t[r],enumerable:!0,configurable:!0,set:H$.bind(t,r)})};var is=(e,t)=>()=>(e&&(t=e(e=0)),t);var W$=((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')}),K$=Symbol.dispose||Symbol.for("Symbol.dispose"),Z$=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[Z$];if(i===void 0)i=t[K$];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,g){return g=Error(m),g.name="SuppressedError",g.error=s,g.suppressed=d,g},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:()=>VO,Buffer:()=>pe,File:()=>ZO,INSPECT_MAX_BYTES:()=>Lk,atob:()=>KO,btoa:()=>WO,constants:()=>GO,default:()=>M9,isAscii:()=>x9,isUtf8:()=>w9,kMaxLength:()=>ju,kStringMaxLength:()=>zk,resolveObjectURL:()=>S9,transcode:()=>k9});function jO(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 FO(e,t){return(e+t)*3/4-t}function BO(e){var t,r=jO(e),i=r[0],n=r[1],o=new Uint8Array(FO(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 qO(e){return Ei[e>>18&63]+Ei[e>>12&63]+Ei[e>>6&63]+Ei[e&63]}function HO(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(qO(i));return n.join("")}function Ik(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(HO(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 Mf(e,t,r,i,n){var o,s,d=n*8-i-1,m=(1<<d)-1,g=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-g;else if(o===m)return s?NaN:(x?-1:1)*(1/0);else s=s+Math.pow(2,i),o=o-g;return(x?-1:1)*s*Math.pow(2,o-i)}function Nk(e,t,r,i,n,o){var s,d,m,g=o*8-n-1,v=(1<<g)-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,g+=n;for(;g>0;e[r+x]=s&255,x+=k,s/=256,g-=8);e[r+x-k]|=E*128}function ji(e){if(e>ju)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,pe.prototype),t}function oy(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 sy(e)}return Uk(e,t,r)}function Uk(e,t,r){if(typeof e==="string")return QO(e,t);if(ArrayBuffer.isView(e))return e9(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 ny(e,t,r);if(typeof SharedArrayBuffer<"u"&&(Ai(e,SharedArrayBuffer)||e&&Ai(e.buffer,SharedArrayBuffer)))return ny(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=t9(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 jk(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 XO(e,t,r){if(jk(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 sy(e){return jk(e),ji(e<0?0:ay(e)|0)}function QO(e,t){if(typeof t!=="string"||t==="")t="utf8";if(!pe.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=Fk(e,t)|0,i=ji(r),n=i.write(e,t);if(n!==r)i=i.slice(0,n);return i}function ry(e){let t=e.length<0?0:ay(e.length)|0,r=ji(t);for(let i=0;i<t;i+=1)r[i]=e[i]&255;return r}function e9(e){if(Ai(e,Uint8Array)){let t=new Uint8Array(e);return ny(t.buffer,t.byteOffset,t.byteLength)}return ry(e)}function ny(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 t9(e){if(pe.isBuffer(e)){let t=ay(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 ry(e)}if(e.type==="Buffer"&&Array.isArray(e.data))return ry(e.data)}function ay(e){if(e>=ju)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ju.toString(16)+" bytes");return e|0}function Fk(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 iy(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Jk(e).length;default:if(n)return i?-1:iy(e).length;t=(""+t).toLowerCase(),n=!0}}function r9(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 f9(this,t,r);case"utf8":case"utf-8":return qk(this,t,r);case"ascii":return c9(this,t,r);case"latin1":case"binary":return d9(this,t,r);case"base64":return u9(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h9(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function as(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}function Bk(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 $k(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 $k(e,[t],r,i,n)}throw TypeError("val must be string, number or Buffer")}function $k(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 g;if(n){let v=-1;for(g=r;g<s;g++)if(m(e,g)===m(t,v===-1?0:g-v)){if(v===-1)v=g;if(g-v+1===d)return v*o}else{if(v!==-1)g-=g-v;v=-1}}else{if(r+d>s)r=s-d;for(g=r;g>=0;g--){let v=!0;for(let p=0;p<d;p++)if(m(e,g+p)!==m(t,p)){v=!1;break}if(v)return g}}return-1}function n9(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 i9(e,t,r,i){return Ef(iy(t,e.length-r),e,r,i)}function o9(e,t,r,i){return Ef(y9(t),e,r,i)}function s9(e,t,r,i){return Ef(Jk(t),e,r,i)}function a9(e,t,r,i){return Ef(b9(t,e.length-r),e,r,i)}function u9(e,t,r){if(t===0&&r===e.length)return Ik(e);else return Ik(e.slice(t,r))}function qk(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,g,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],g=e[n+2],(m&192)===128&&(g&192)===128){if(p=(o&15)<<12|(m&63)<<6|g&63,p>2047&&(p<55296||p>57343))s=p}break;case 4:if(m=e[n+1],g=e[n+2],v=e[n+3],(m&192)===128&&(g&192)===128&&(v&192)===128){if(p=(o&15)<<18|(m&63)<<12|(g&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 l9(i)}function l9(e){let t=e.length;if(t<=Ok)return String.fromCharCode.apply(String,e);let r="",i=0;while(i<t)r+=String.fromCharCode.apply(String,e.slice(i,i+=Ok));return r}function c9(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 d9(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 f9(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+=v9[e[o]];return n}function h9(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 Hk(e,t,r,i,n){Gk(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 Wk(e,t,r,i,n){Gk(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 Kk(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 Zk(e,t,r,i,n){if(t=+t,r=r>>>0,!n)Kk(e,t,r,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return Nk(e,t,r,i,23,4),r+4}function Vk(e,t,r,i,n){if(t=+t,r=r>>>0,!n)Kk(e,t,r,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return Nk(e,t,r,i,52,8),r+8}function Dk(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 p9(e,t,r){if(Qs(t,"offset"),e[t]===void 0||e[t+r]===void 0)Fu(t,e.length-(r+1))}function Gk(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 ty("value",d,e)}p9(i,n,o)}function Qs(e,t){if(typeof e!=="number")throw new YO(t,"number",e)}function Fu(e,t,r){if(Math.floor(e)!==e)throw Qs(e,r),new ty(r||"offset","an integer",e);if(t<0)throw new JO;throw new ty(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}function g9(e){if(e=e.split("=")[0],e=e.trim().replace(m9,""),e.length<2)return"";while(e.length%4!==0)e=e+"=";return e}function iy(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 y9(e){let t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function b9(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 Jk(e){return BO(g9(e))}function Ef(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 po(e){return typeof BigInt>"u"?_9:e}function _9(){throw Error("BigInt not supported")}function uy(e){return()=>{throw Error(e+" is not implemented for node:buffer browser polyfill")}}var Ei,Bn,ey="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ss,Rk,Ck,Lk=50,ju=2147483647,zk=536870888,WO,KO,ZO,VO,GO,JO,YO,ty,Ok=4096,m9,v9,S9,w9,x9=(e)=>{for(let t of e)if(t.charCodeAt(0)>127)return!1;return!0},k9,M9;var Or=is(()=>{Ei=[],Bn=[];for(ss=0,Rk=ey.length;ss<Rk;++ss)Ei[ss]=ey[ss],Bn[ey.charCodeAt(ss)]=ss;Bn[45]=62;Bn[95]=63;Ck=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,WO=globalThis.btoa,KO=globalThis.atob,ZO=globalThis.File,VO=globalThis.Blob,GO={MAX_LENGTH:ju,MAX_STRING_LENGTH:zk};JO=oy("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),YO=oy("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),ty=oy("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=Dk(String(r));else if(typeof r==="bigint"){if(n=String(r),r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))n=Dk(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 Uk(e,t,r)};Object.setPrototypeOf(pe.prototype,Uint8Array.prototype);Object.setPrototypeOf(pe,Uint8Array);pe.alloc=function(e,t,r){return XO(e,t,r)};pe.allocUnsafe=function(e){return sy(e)};pe.allocUnsafeSlow=function(e){return sy(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=Fk;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)as(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)as(this,t,t+3),as(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)as(this,t,t+7),as(this,t+1,t+6),as(this,t+2,t+5),as(this,t+3,t+4);return this};pe.prototype.toString=function(){let e=this.length;if(e===0)return"";if(arguments.length===0)return qk(this,0,e);return r9.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=Lk;if(e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t)e+=" ... ";return"<Buffer "+e+">"};if(Ck)pe.prototype[Ck]=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),g=e.slice(t,r);for(let v=0;v<d;++v)if(m[v]!==g[v]){o=m[v],s=g[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 Bk(this,e,t,r,!0)};pe.prototype.lastIndexOf=function(e,t,r){return Bk(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 n9(this,e,t,r);case"utf8":case"utf-8":return i9(this,e,t,r);case"ascii":case"latin1":case"binary":return o9(this,e,t,r);case"base64":return s9(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a9(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=po(function(e){e=e>>>0,Qs(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)Fu(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=po(function(e){e=e>>>0,Qs(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)Fu(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=po(function(e){e=e>>>0,Qs(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)Fu(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=po(function(e){e=e>>>0,Qs(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)Fu(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 Mf(this,e,!0,23,4)};pe.prototype.readFloatBE=function(e,t){if(e=e>>>0,!t)Cr(e,4,this.length);return Mf(this,e,!1,23,4)};pe.prototype.readDoubleLE=function(e,t){if(e=e>>>0,!t)Cr(e,8,this.length);return Mf(this,e,!0,52,8)};pe.prototype.readDoubleBE=function(e,t){if(e=e>>>0,!t)Cr(e,8,this.length);return Mf(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=po(function(e,t=0){return Hk(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});pe.prototype.writeBigUInt64BE=po(function(e,t=0){return Wk(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=po(function(e,t=0){return Hk(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});pe.prototype.writeBigInt64BE=po(function(e,t=0){return Wk(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});pe.prototype.writeFloatLE=function(e,t,r){return Zk(this,e,t,!0,r)};pe.prototype.writeFloatBE=function(e,t,r){return Zk(this,e,t,!1,r)};pe.prototype.writeDoubleLE=function(e,t,r){return Vk(this,e,t,!0,r)};pe.prototype.writeDoubleBE=function(e,t,r){return Vk(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};m9=/[^+/0-9A-Za-z-_]/g;v9=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}();S9=uy("resolveObjectURL"),w9=uy("isUtf8"),k9=uy("transcode"),M9=pe});var s2={};on(s2,{TextDecoder:()=>o2,TextEncoder:()=>i2,_extend:()=>gy,callbackify:()=>n2,callbackifyOnRejected:()=>yy,debuglog:()=>T9,default:()=>B9,deprecate:()=>A9,format:()=>hy,inherits:()=>e2,inspect:()=>us,isArray:()=>Yk,isBoolean:()=>py,isBuffer:()=>U9,isDate:()=>fy,isError:()=>Tf,isFunction:()=>Pf,isNull:()=>If,isNullOrUndefined:()=>N9,isNumber:()=>Xk,isObject:()=>ta,isPrimitive:()=>z9,isRegExp:()=>Af,isString:()=>Cf,isSymbol:()=>L9,isUndefined:()=>ea,log:()=>Qk,promisify:()=>r2,types:()=>D9});function hy(e,...t){if(!Cf(e)){var r=[e];for(var i=0;i<t.length;i++)r.push(us(t[i]));return r.join(" ")}var i=0,n=t.length,o=String(e).replace(E9,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(If(s)||!ta(s))o+=" "+s;else o+=" "+us(s);return o}function A9(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 P9(e,t){var r=us.styles[t];if(r)return"\x1B["+us.colors[r][0]+"m"+e+"\x1B["+us.colors[r][1]+"m";else return e}function R9(e,t){return e}function I9(e){var t={};return e.forEach(function(r,i){t[r]=!0}),t}function Rf(e,t,r){if(e.customInspect&&t&&Pf(t.inspect)&&t.inspect!==us&&!(t.constructor&&t.constructor.prototype===t)){var i=t.inspect(r,e);if(!Cf(i))i=Rf(e,i,r);return i}var n=C9(e,t);if(n)return n;var o=Object.keys(t),s=I9(o);if(e.showHidden)o=Object.getOwnPropertyNames(t);if(Tf(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return ly(t);if(o.length===0){if(Pf(t)){var d=t.name?": "+t.name:"";return e.stylize("[Function"+d+"]","special")}if(Af(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(fy(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Tf(t))return ly(t)}var m="",g=!1,v=["{","}"];if(Yk(t))g=!0,v=["[","]"];if(Pf(t)){var p=t.name?": "+t.name:"";m=" [Function"+p+"]"}if(Af(t))m=" "+RegExp.prototype.toString.call(t);if(fy(t))m=" "+Date.prototype.toUTCString.call(t);if(Tf(t))m=" "+ly(t);if(o.length===0&&(!g||t.length==0))return v[0]+m+v[1];if(r<0)if(Af(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");else return e.stylize("[Object]","special");e.seen.push(t);var S;if(g)S=$9(e,t,r,s,o);else S=o.map(function(x){return dy(e,t,r,s,x,g)});return e.seen.pop(),O9(S,m,v)}function C9(e,t){if(ea(t))return e.stylize("undefined","undefined");if(Cf(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(Xk(t))return e.stylize(""+t,"number");if(py(t))return e.stylize(""+t,"boolean");if(If(t))return e.stylize("null","null")}function ly(e){return"["+Error.prototype.toString.call(e)+"]"}function $9(e,t,r,i,n){var o=[];for(var s=0,d=t.length;s<d;++s)if(t2(t,String(s)))o.push(dy(e,t,r,i,String(s),!0));else o.push("");return n.forEach(function(m){if(!m.match(/^\d+$/))o.push(dy(e,t,r,i,m,!0))}),o}function dy(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(!t2(i,n))s="["+n+"]";if(!d)if(e.seen.indexOf(m.value)<0){if(If(r))d=Rf(e,m.value,null);else d=Rf(e,m.value,r-1);if(d.indexOf(`
5
5
  `)>-1)if(o)d=d.split(`
6
6
  `).map(function(g){return" "+g}).join(`
package/manifest.json CHANGED
@@ -1,54 +1,51 @@
1
1
  {
2
- "version": "2.1.251",
3
- "commit": "37534ac596d80cefb02d272f036adba4ba055d2c",
4
- "buildDate": "2026-08-28T15:09:02Z",
2
+ "version": "2.1.252",
3
+ "commit": "c0778c45886d8f1ed8bd5e7c972b8507d299a548",
4
+ "buildDate": "2026-08-31T16:11:11Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "625869b01e0050f260b2980fac248fd9cef9e462612bded4ec9d3d49ff8969a5",
9
- "size": 197171680
8
+ "checksum": "b661c6a094fcc32656bf7c0071c5b45bf900b34d4f0a1ab3d78fd59aeba2c2c7",
9
+ "size": 197220928
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "44221d72a3f35772faa85ad9a36a678084a516f720e64b45e26eb9015315500b",
14
- "size": 205778256
13
+ "checksum": "cbd43893229d397ba09f5a5d71e39b45832b2b86b61a3e9a32bb79e9b4901878",
14
+ "size": 205827792
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "65445bd4dd042079cc3fa43791b561370a05c8599e8ec47580e25a81050abbdd",
19
- "size": 213835016
18
+ "checksum": "6c0b32eaa936954a0f4d4ad2595f8416af288d9b3cbaf19e3cdd9a95d7c8853e",
19
+ "size": 213900552
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "fd5f10ff0eb58daec04900466b143ea98aab50abf208a422bc008eaec13f61f7",
24
- "size": 214326616
23
+ "checksum": "a715a45105e593fc9808d035d77781f88480b9897975a9df41837f0c591bd4b3",
24
+ "size": 214371672
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "165f6236abf5b0c42892b164c2299c82023421805e0c3eaddf925a3195513f84",
29
- "size": 206648896
28
+ "checksum": "31b2cca3523c66324137367e12bb61f3be94417e8d7e3f22b7dd2c8cbf0597dd",
29
+ "size": 206714432
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "5056970c13f46dd2bff2c44dd2a7f766553a63392615412d5711278264730e07",
34
- "size": 208301944
33
+ "checksum": "768da329298969cbb32c8f6c8d4205e0e9f3b1200e391bf662ea485a7da7f71a",
34
+ "size": 208347000
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "8d1229a281281b98fd2dee72b3253a704be4fce4d45207200cd32a9bb5a6c909",
39
- "size": 217360032
38
+ "checksum": "fe688ecde90d65fff0b2dd097597439774116077d80a3c1e131a7e47db307b1a",
39
+ "size": 217406624
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "89e91fed2dc6f6278fa1e179e6401c0a1c252fe80c57ee47f17f10f7f7b4e99c",
44
- "size": 208465056
43
+ "checksum": "474703dbb0c2447931c8d3630ea78d881edb723c183333bf9642e003e91e7c66",
44
+ "size": 208511648
45
45
  }
46
46
  },
47
47
  "sdkCompat": {
48
48
  "testedWrapperVersions": [
49
- "0.3.212",
50
- "0.3.214",
51
- "0.3.215",
52
49
  "0.3.216",
53
50
  "0.3.217",
54
51
  "0.3.218",
package/manifest.zst.json CHANGED
@@ -1,62 +1,59 @@
1
1
  {
2
- "version": "2.1.251",
3
- "commit": "37534ac596d80cefb02d272f036adba4ba055d2c",
4
- "buildDate": "2026-08-28T15:10:11Z",
2
+ "version": "2.1.252",
3
+ "commit": "c0778c45886d8f1ed8bd5e7c972b8507d299a548",
4
+ "buildDate": "2026-08-31T16:12:23Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "210734be9179176b23affc9c73e052c05ca592b953cc6e010e3e0e2902050b51",
9
- "size": 64283955,
8
+ "checksum": "53476b25cd9916c2f160d8ac6f48161b86b3308fa665a114337f6ee5578276ae",
9
+ "size": 64300730,
10
10
  "bundle": {
11
- "checksum": "5876dfd928b5a79fe88ec57f83b7d4570f45e2f53d350b92d5b0486589682eff",
12
- "size": 64288372
11
+ "checksum": "303daadb7cf34455c8bc8af252b9f5004fc5ea01bb64ae1482f24045af079e51",
12
+ "size": 64299363
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "963c354c27be8b26cf79002cb3ae3047c5845ac606ca5200e942c51fc334319d",
18
- "size": 68304834,
17
+ "checksum": "395526e6fe4c1b97fa08dff9a7013675262f6fe00733f625bbe71c18b68c7b6f",
18
+ "size": 68321275,
19
19
  "bundle": {
20
- "checksum": "b2561617e3aac9cd17c91b63dea9491739ec0b285bdff645c2d65f96d754532d",
21
- "size": 68308558
20
+ "checksum": "a492c91914d04f8da66b5eb7f74e070d6a23f7cd101294016d849d9d40ab1d82",
21
+ "size": 68323136
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "f346c1c7928584f276d6c9d55a5c03271b9c10b19039fc5758902038188056ff",
27
- "size": 73724308
26
+ "checksum": "e552998b7324dd382ad5634d28071de6de1e51ffa8e6a6b92c7001d37806e84d",
27
+ "size": 73736040
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "dd621ed8ba147167e710b4aa365f63c3b88e9558883a2fa5871b5e2a9d03606d",
32
- "size": 74367641
31
+ "checksum": "7b57ceaca9f1c7f79f5b197ea06d555f0d6cc09b1b30fb2d9d9f2c1232ef5cbc",
32
+ "size": 74368021
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "f30748ee286e154fbdb96810481fd1cfe37e424cb0f1d8a839322a6ef28d9467",
37
- "size": 72202451
36
+ "checksum": "c366c4eb4ce682167345a7b0f7f4d53361b4a09a81c188b99362a01fff874a06",
37
+ "size": 72215510
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "44ce287c5c05a3f01b13c88b2fe591ada447db025ffd1a5bfb9b6000ca53175a",
42
- "size": 72859628
41
+ "checksum": "122b2ae818d6a93c77b8452c7e7331fdcea58b8551b7219308a8f8764d2b81ab",
42
+ "size": 72880945
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "af850d03d36de22b414ff4ccc314b37c58fc95c13ea2975051e42f14dcf62832",
47
- "size": 76778696
46
+ "checksum": "23b4a70b5c3261e8f8d52274846b8cf48d839b9ef9457490b9dd795f333e1fc0",
47
+ "size": 76787430
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "411b5bf888a6bd75293a58c88edffa2f45f85b1d8aedd73054b90b697d653f66",
52
- "size": 73553174
51
+ "checksum": "069a0eef1fda76371dbe149c05138f41f59aa25d65888e40c8af127d5f3ae887",
52
+ "size": 73564585
53
53
  }
54
54
  },
55
55
  "sdkCompat": {
56
56
  "testedWrapperVersions": [
57
- "0.3.212",
58
- "0.3.214",
59
- "0.3.215",
60
57
  "0.3.216",
61
58
  "0.3.217",
62
59
  "0.3.218",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.251",
3
+ "version": "0.3.252",
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.251",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.251",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.251",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.251",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.251",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.251",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.251",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.251"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.252",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.252",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.252",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.252",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.252",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.252",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.252",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.252"
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.251"
83
+ "claudeCodeVersion": "2.1.252"
84
84
  }