@anthropic-ai/claude-agent-sdk 0.3.239 → 0.3.241

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.239
3
+ // Version: 0.3.241
4
4
  var E$=Object.create;var{getPrototypeOf:A$,defineProperty:$u,getOwnPropertyNames:jx,getOwnPropertyDescriptor:T$}=Object,Ux=Object.prototype.hasOwnProperty;function Fx(e){return this[e]}var P$,I$,C0=(e,t,r)=>{var i=e!=null&&typeof e==="object";if(i){var n=t?P$??=new WeakMap:I$??=new WeakMap,o=n.get(e);if(o)return o}r=e!=null?E$(A$(e)):{};let s=t||!e||!e.__esModule?$u(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let d of jx(e))if(!Ux.call(s,d))$u(s,d,{get:Fx.bind(e,d),enumerable:!0})}if(i)n.set(e,s);return s},Pt=(e)=>{var t=(zx??=new WeakMap).get(e),r;if(t)return t;if(t=$u({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var i of jx(e))if(!Ux.call(t,i))$u(t,i,{get:Fx.bind(e,i),enumerable:!(r=T$(e,i))||r.enumerable})}return zx.set(e,t),t},zx,Xe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var R$=(e)=>e;function C$(e,t){this[e]=R$.bind(null,t)}var on=(e,t)=>{for(var r in t)$u(e,r,{get:t[r],enumerable:!0,configurable:!0,set:C$.bind(t,r)})};var ts=(e,t)=>()=>(e&&(t=e(e=0)),t);var lo=((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')}),$$=Symbol.dispose||Symbol.for("Symbol.dispose"),O$=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),jr=(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[O$];if(i===void 0)i=t[$$];if(typeof i!=="function")throw TypeError("Object not disposable");e.push([r,i,t])}else if(r)e.push([r]);return t},Ur=(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:()=>D5,Buffer:()=>pe,File:()=>O5,INSPECT_MAX_BYTES:()=>kk,atob:()=>$5,btoa:()=>C5,constants:()=>N5,default:()=>f9,isAscii:()=>c9,isUtf8:()=>l9,kMaxLength:()=>Lu,kStringMaxLength:()=>Mk,resolveObjectURL:()=>u9,transcode:()=>d9});function A5(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 T5(e,t){return(e+t)*3/4-t}function P5(e){var t,r=A5(e),i=r[0],n=r[1],o=new Uint8Array(T5(i,n)),s=0,d=n>0?i-4:i,m;for(m=0;m<d;m+=4)t=jn[e.charCodeAt(m)]<<18|jn[e.charCodeAt(m+1)]<<12|jn[e.charCodeAt(m+2)]<<6|jn[e.charCodeAt(m+3)],o[s++]=t>>16&255,o[s++]=t>>8&255,o[s++]=t&255;if(n===2)t=jn[e.charCodeAt(m)]<<2|jn[e.charCodeAt(m+1)]>>4,o[s++]=t&255;if(n===1)t=jn[e.charCodeAt(m)]<<10|jn[e.charCodeAt(m+1)]<<4|jn[e.charCodeAt(m+2)]>>2,o[s++]=t>>8&255,o[s++]=t&255;return o}function I5(e){return ki[e>>18&63]+ki[e>>12&63]+ki[e>>6&63]+ki[e&63]}function R5(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(I5(i));return n.join("")}function vk(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(R5(e,s,s+o>d?d:s+o));if(i===1)t=e[r-1],n.push(ki[t>>2]+ki[t<<4&63]+"==");else if(i===2)t=(e[r-2]<<8)+e[r-1],n.push(ki[t>>10]+ki[t>>4&63]+ki[t<<2&63]+"=");return n.join("")}function _f(e,t,r,i,n){var o,s,d=n*8-i-1,m=(1<<d)-1,y=m>>1,b=-7,p=r?n-1:0,S=r?-1:1,x=e[t+p];p+=S,o=x&(1<<-b)-1,x>>=-b,b+=d;for(;b>0;o=o*256+e[t+p],p+=S,b-=8);s=o&(1<<-b)-1,o>>=-b,b+=i;for(;b>0;s=s*256+e[t+p],p+=S,b-=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 xk(e,t,r,i,n,o){var s,d,m,y=o*8-n-1,b=(1<<y)-1,p=b>>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=b;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>=b)d=0,s=b;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 zi(e){if(e>Lu)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,pe.prototype),t}function Y0(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 X0(e)}return Ek(e,t,r)}function Ek(e,t,r){if(typeof e==="string")return U5(e,t);if(ArrayBuffer.isView(e))return F5(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(Mi(e,ArrayBuffer)||e&&Mi(e.buffer,ArrayBuffer))return G0(e,t,r);if(typeof SharedArrayBuffer<"u"&&(Mi(e,SharedArrayBuffer)||e&&Mi(e.buffer,SharedArrayBuffer)))return G0(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=B5(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 Ak(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 j5(e,t,r){if(Ak(e),e<=0)return zi(e);if(t!==void 0)return typeof r==="string"?zi(e).fill(t,r):zi(e).fill(t);return zi(e)}function X0(e){return Ak(e),zi(e<0?0:Q0(e)|0)}function U5(e,t){if(typeof t!=="string"||t==="")t="utf8";if(!pe.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=Tk(e,t)|0,i=zi(r),n=i.write(e,t);if(n!==r)i=i.slice(0,n);return i}function V0(e){let t=e.length<0?0:Q0(e.length)|0,r=zi(t);for(let i=0;i<t;i+=1)r[i]=e[i]&255;return r}function F5(e){if(Mi(e,Uint8Array)){let t=new Uint8Array(e);return G0(t.buffer,t.byteOffset,t.byteLength)}return V0(e)}function G0(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 B5(e){if(pe.isBuffer(e)){let t=Q0(e.length)|0,r=zi(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 zi(0);return V0(e)}if(e.type==="Buffer"&&Array.isArray(e.data))return V0(e.data)}function Q0(e){if(e>=Lu)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Lu.toString(16)+" bytes");return e|0}function Tk(e,t){if(pe.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Mi(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 J0(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Lk(e).length;default:if(n)return i?-1:J0(e).length;t=(""+t).toLowerCase(),n=!0}}function q5(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 Q5(this,t,r);case"utf8":case"utf-8":return Ik(this,t,r);case"ascii":return Y5(this,t,r);case"latin1":case"binary":return X5(this,t,r);case"base64":return G5(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e9(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function is(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}function Pk(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(b,p){if(o===1)return b[p];else return b.readUInt16BE(p*o)}let y;if(n){let b=-1;for(y=r;y<s;y++)if(m(e,y)===m(t,b===-1?0:y-b)){if(b===-1)b=y;if(y-b+1===d)return b*o}else{if(b!==-1)y-=y-b;b=-1}}else{if(r+d>s)r=s-d;for(y=r;y>=0;y--){let b=!0;for(let p=0;p<d;p++)if(m(e,y+p)!==m(t,p)){b=!1;break}if(b)return y}}return-1}function H5(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 W5(e,t,r,i){return Sf(J0(t,e.length-r),e,r,i)}function Z5(e,t,r,i){return Sf(i9(t),e,r,i)}function K5(e,t,r,i){return Sf(Lk(t),e,r,i)}function V5(e,t,r,i){return Sf(o9(t,e.length-r),e,r,i)}function G5(e,t,r){if(t===0&&r===e.length)return vk(e);else return vk(e.slice(t,r))}function Ik(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,b,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],b=e[n+3],(m&192)===128&&(y&192)===128&&(b&192)===128){if(p=(o&15)<<18|(m&63)<<12|(y&63)<<6|b&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 J5(i)}function J5(e){let t=e.length;if(t<=Sk)return String.fromCharCode.apply(String,e);let r="",i=0;while(i<t)r+=String.fromCharCode.apply(String,e.slice(i,i+=Sk));return r}function Y5(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 X5(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 Q5(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+=s9[e[o]];return n}function e9(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 pn(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 Rk(e,t,r,i,n){Nk(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 Ck(e,t,r,i,n){Nk(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 $k(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 Ok(e,t,r,i,n){if(t=+t,r=r>>>0,!n)$k(e,t,r,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return xk(e,t,r,i,23,4),r+4}function Dk(e,t,r,i,n){if(t=+t,r=r>>>0,!n)$k(e,t,r,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return xk(e,t,r,i,52,8),r+8}function wk(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 t9(e,t,r){if(Gs(t,"offset"),e[t]===void 0||e[t+r]===void 0)zu(t,e.length-(r+1))}function Nk(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 K0("value",d,e)}t9(i,n,o)}function Gs(e,t){if(typeof e!=="number")throw new z5(t,"number",e)}function zu(e,t,r){if(Math.floor(e)!==e)throw Gs(e,r),new K0(r||"offset","an integer",e);if(t<0)throw new L5;throw new K0(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}function n9(e){if(e=e.split("=")[0],e=e.trim().replace(r9,""),e.length<2)return"";while(e.length%4!==0)e=e+"=";return e}function J0(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 i9(e){let t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function o9(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 Lk(e){return P5(n9(e))}function Sf(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 Mi(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function fo(e){return typeof BigInt>"u"?a9:e}function a9(){throw Error("BigInt not supported")}function ey(e){return()=>{throw Error(e+" is not implemented for node:buffer browser polyfill")}}var ki,jn,Z0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ns,yk,bk,kk=50,Lu=2147483647,Mk=536870888,C5,$5,O5,D5,N5,L5,z5,K0,Sk=4096,r9,s9,u9,l9,c9=(e)=>{for(let t of e)if(t.charCodeAt(0)>127)return!1;return!0},d9,f9;var Or=ts(()=>{ki=[],jn=[];for(ns=0,yk=Z0.length;ns<yk;++ns)ki[ns]=Z0[ns],jn[Z0.charCodeAt(ns)]=ns;jn[45]=62;jn[95]=63;bk=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,C5=globalThis.btoa,$5=globalThis.atob,O5=globalThis.File,D5=globalThis.Blob,N5={MAX_LENGTH:Lu,MAX_STRING_LENGTH:Mk};L5=Y0("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),z5=Y0("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),K0=Y0("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=wk(String(r));else if(typeof r==="bigint"){if(n=String(r),r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))n=wk(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 Ek(e,t,r)};Object.setPrototypeOf(pe.prototype,Uint8Array.prototype);Object.setPrototypeOf(pe,Uint8Array);pe.alloc=function(e,t,r){return j5(e,t,r)};pe.allocUnsafe=function(e){return X0(e)};pe.allocUnsafeSlow=function(e){return X0(e)};pe.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==pe.prototype};pe.compare=function(e,t){if(Mi(e,Uint8Array))e=pe.from(e,e.offset,e.byteLength);if(Mi(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(Mi(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=Tk;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)is(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)is(this,t,t+3),is(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)is(this,t,t+7),is(this,t+1,t+6),is(this,t+2,t+5),is(this,t+3,t+4);return this};pe.prototype.toString=function(){let e=this.length;if(e===0)return"";if(arguments.length===0)return Ik(this,0,e);return q5.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=kk;if(e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t)e+=" ... ";return"<Buffer "+e+">"};if(bk)pe.prototype[bk]=pe.prototype.inspect;pe.prototype.compare=function(e,t,r,i,n){if(Mi(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 b=0;b<d;++b)if(m[b]!==y[b]){o=m[b],s=y[b];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 Pk(this,e,t,r,!0)};pe.prototype.lastIndexOf=function(e,t,r){return Pk(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 H5(this,e,t,r);case"utf8":case"utf-8":return W5(this,e,t,r);case"ascii":case"latin1":case"binary":return Z5(this,e,t,r);case"base64":return K5(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V5(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=fo(function(e){e=e>>>0,Gs(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)zu(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=fo(function(e){e=e>>>0,Gs(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)zu(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=fo(function(e){e=e>>>0,Gs(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)zu(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=fo(function(e){e=e>>>0,Gs(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)zu(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 _f(this,e,!0,23,4)};pe.prototype.readFloatBE=function(e,t){if(e=e>>>0,!t)Cr(e,4,this.length);return _f(this,e,!1,23,4)};pe.prototype.readDoubleLE=function(e,t){if(e=e>>>0,!t)Cr(e,8,this.length);return _f(this,e,!0,52,8)};pe.prototype.readDoubleBE=function(e,t){if(e=e>>>0,!t)Cr(e,8,this.length);return _f(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;pn(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;pn(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)pn(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)pn(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)pn(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)pn(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)pn(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=fo(function(e,t=0){return Rk(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});pe.prototype.writeBigUInt64BE=fo(function(e,t=0){return Ck(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);pn(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);pn(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)pn(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)pn(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)pn(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)pn(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)pn(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=fo(function(e,t=0){return Rk(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});pe.prototype.writeBigInt64BE=fo(function(e,t=0){return Ck(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});pe.prototype.writeFloatLE=function(e,t,r){return Ok(this,e,t,!0,r)};pe.prototype.writeFloatBE=function(e,t,r){return Ok(this,e,t,!1,r)};pe.prototype.writeDoubleLE=function(e,t,r){return Dk(this,e,t,!0,r)};pe.prototype.writeDoubleBE=function(e,t,r){return Dk(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};r9=/[^+/0-9A-Za-z-_]/g;s9=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}();u9=ey("resolveObjectURL"),l9=ey("isUtf8"),d9=ey("transcode"),f9=pe});var Kk={};on(Kk,{TextDecoder:()=>Zk,TextEncoder:()=>Wk,_extend:()=>uy,callbackify:()=>Hk,callbackifyOnRejected:()=>ly,debuglog:()=>m9,default:()=>P9,deprecate:()=>p9,format:()=>oy,inherits:()=>Fk,inspect:()=>os,isArray:()=>zk,isBoolean:()=>sy,isBuffer:()=>E9,isDate:()=>iy,isError:()=>xf,isFunction:()=>kf,isNull:()=>Ef,isNullOrUndefined:()=>x9,isNumber:()=>jk,isObject:()=>Ys,isPrimitive:()=>M9,isRegExp:()=>wf,isString:()=>Af,isSymbol:()=>k9,isUndefined:()=>Js,log:()=>Uk,promisify:()=>qk,types:()=>w9});function oy(e,...t){if(!Af(e)){var r=[e];for(var i=0;i<t.length;i++)r.push(os(t[i]));return r.join(" ")}var i=0,n=t.length,o=String(e).replace(h9,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(Ef(s)||!Ys(s))o+=" "+s;else o+=" "+os(s);return o}function p9(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 g9(e,t){var r=os.styles[t];if(r)return"\x1B["+os.colors[r][0]+"m"+e+"\x1B["+os.colors[r][1]+"m";else return e}function y9(e,t){return e}function v9(e){var t={};return e.forEach(function(r,i){t[r]=!0}),t}function Mf(e,t,r){if(e.customInspect&&t&&kf(t.inspect)&&t.inspect!==os&&!(t.constructor&&t.constructor.prototype===t)){var i=t.inspect(r,e);if(!Af(i))i=Mf(e,i,r);return i}var n=b9(e,t);if(n)return n;var o=Object.keys(t),s=v9(o);if(e.showHidden)o=Object.getOwnPropertyNames(t);if(xf(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return ty(t);if(o.length===0){if(kf(t)){var d=t.name?": "+t.name:"";return e.stylize("[Function"+d+"]","special")}if(wf(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(iy(t))return e.stylize(Date.prototype.toString.call(t),"date");if(xf(t))return ty(t)}var m="",y=!1,b=["{","}"];if(zk(t))y=!0,b=["[","]"];if(kf(t)){var p=t.name?": "+t.name:"";m=" [Function"+p+"]"}if(wf(t))m=" "+RegExp.prototype.toString.call(t);if(iy(t))m=" "+Date.prototype.toUTCString.call(t);if(xf(t))m=" "+ty(t);if(o.length===0&&(!y||t.length==0))return b[0]+m+b[1];if(r<0)if(wf(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=_9(e,t,r,s,o);else S=o.map(function(x){return ny(e,t,r,s,x,y)});return e.seen.pop(),S9(S,m,b)}function b9(e,t){if(Js(t))return e.stylize("undefined","undefined");if(Af(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(jk(t))return e.stylize(""+t,"number");if(sy(t))return e.stylize(""+t,"boolean");if(Ef(t))return e.stylize("null","null")}function ty(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(Bk(t,String(s)))o.push(ny(e,t,r,i,String(s),!0));else o.push("");return n.forEach(function(m){if(!m.match(/^\d+$/))o.push(ny(e,t,r,i,m,!0))}),o}function ny(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(!Bk(i,n))s="["+n+"]";if(!d)if(e.seen.indexOf(m.value)<0){if(Ef(r))d=Mf(e,m.value,null);else d=Mf(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,53 +1,51 @@
1
1
  {
2
- "version": "2.1.239",
3
- "commit": "9bf8e9521fe06414183309865310e27c9b8db3dd",
4
- "buildDate": "2026-08-21T04:55:13Z",
2
+ "version": "2.1.241",
3
+ "commit": "c87e2742fc9ad269ec8920460d00a091b1e410f0",
4
+ "buildDate": "2026-08-22T23:04:33Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "2b4f7aafdaa65bcc2335f56a4b276317837203f2c5587b1f2a17ca78ad14e36f",
9
- "size": 324973552
8
+ "checksum": "1495eb7c42d3b4451f5f1cd38b6d498d22a4a38c802bc2be5c1cf1795e64820d",
9
+ "size": 325055632
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "17426fd63e66cb0dfaeae34763e1836855a444850f1256c4e94ae7d6d2280ba7",
14
- "size": 333702256
13
+ "checksum": "cf01b8cace66485ef5b476f14d96f69af61194a38c3df8412a80eb8f1316c10d",
14
+ "size": 333784816
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "66f202c9b52a13318aa7d55e180130fb95ced04af6dc46fd1ea823b598f35556",
19
- "size": 339728616
18
+ "checksum": "2db0cb893ebed8ef8aee46656da45bc6801fa2586293dae64abfa3ade894a2fe",
19
+ "size": 339794152
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "7de1b1576e2e0be73ce91c2b4dedf16a41058ea633b957a36fdc6044ddfc0f3c",
24
- "size": 342563120
23
+ "checksum": "0771bd866cff82b76581fc0499f6529e1a36845078f144f8c81dccb3bc7037b8",
24
+ "size": 342636848
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "6be858d6b2132926f19558bcbb9cf2e4d9dbeb9d9e40dc541860e5149d6dc530",
29
- "size": 332807960
28
+ "checksum": "e12c773a5173319f99ceb2b00445d30216e3529e1fd1fe12b4bfced1fc3f8b04",
29
+ "size": 332939032
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "b4607cac5257d9a9dbe29250ec743858f7a7cc6c0540cbae15338824aab865f2",
34
- "size": 336678880
33
+ "checksum": "820351f6b5fd78314240c21c6f20077c77091e5ffbcd7cd246e969ec417ffb2c",
34
+ "size": 336756704
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "0bc1304c7847c317cc550007e7561f9bf270eaa68a0e85a3f381afb18ee20a2b",
39
- "size": 337672352
38
+ "checksum": "c49a05922a787c33478067a5164002932235f6611948523b55ae1fbdb303ac1f",
39
+ "size": 337745056
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "4c100525eedab5610ff0fdcfa130b4d6dc3d66109d08738497655c3670af829c",
44
- "size": 325572768
43
+ "checksum": "540f12dd4031fa964cd8f05c7e37d43c13677800faf4cad2fec553bd7bb7833a",
44
+ "size": 325645472
45
45
  }
46
46
  },
47
47
  "sdkCompat": {
48
48
  "testedWrapperVersions": [
49
- "0.3.201",
50
- "0.3.202",
51
49
  "0.3.204",
52
50
  "0.3.205",
53
51
  "0.3.206",
@@ -67,6 +65,7 @@
67
65
  "0.3.221",
68
66
  "0.3.222",
69
67
  "0.3.223",
68
+ "0.3.224",
70
69
  "0.3.226",
71
70
  "0.3.227"
72
71
  ],
package/manifest.zst.json CHANGED
@@ -1,61 +1,59 @@
1
1
  {
2
- "version": "2.1.239",
3
- "commit": "9bf8e9521fe06414183309865310e27c9b8db3dd",
4
- "buildDate": "2026-08-21T04:57:14Z",
2
+ "version": "2.1.241",
3
+ "commit": "c87e2742fc9ad269ec8920460d00a091b1e410f0",
4
+ "buildDate": "2026-08-22T23:07:04Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "d3090d127a595ad8704df2a5b68b3d33cd86b5eab4d45ad33f64b891257827be",
9
- "size": 64473053,
8
+ "checksum": "239155f84019476e9624d864769cf6946f94f7a707c33d57246e1e74ab94f817",
9
+ "size": 64578859,
10
10
  "bundle": {
11
- "checksum": "97f21123eb40e6a87b0606af13a47a08aff861ff64c3dcc1fdbbe6624d52c181",
12
- "size": 64480537
11
+ "checksum": "a01fb958a662a9a896faaef18a878f1885b7c3b8c81d16b01a7090f57ad879cd",
12
+ "size": 64579256
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "39f97063e5d6c139ac4286d63c2137260a1b7a57f05c6ca7e1ee86ce894a4800",
18
- "size": 69220369,
17
+ "checksum": "0aaf39f605514391192973c7c97e6c8ae6d432f05e7d91e914dcc5f582cab2b8",
18
+ "size": 69188990,
19
19
  "bundle": {
20
- "checksum": "eecc46bee632146a7dc758220803ba829aa9facbe11e91a8af4501b1d67bac61",
21
- "size": 69216800
20
+ "checksum": "573ae01fea364f9e29a5d5c0ceba8310854556d237b5974d3c8264d5caebf76d",
21
+ "size": 69175655
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "bcf163513dc0ebe9d632f560a8f9534319e537e112c82d87d993f49b201731f0",
27
- "size": 73377156
26
+ "checksum": "af0c1a3e5392c6852f9fc59a337920c8e6efcc9886b87770c9694f460a60dab8",
27
+ "size": 73495746
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "5b41b8752481ead2ab8183d91e53d6599dd725029519635684db77d65c7a1422",
32
- "size": 74590556
31
+ "checksum": "947ceafc4e7593baa87120fdd9bf0859a08d6fc35ce8ceb65e0194a8acce66c3",
32
+ "size": 74487570
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "12fa97ae3c55f0a4c8b65c69c3d004feea537c4c360d0bb7e0bd37c727ea7b03",
37
- "size": 71938593
36
+ "checksum": "e5c998409e79245dd3d737284a0e2b676e50e1f90bfa9f0b2ec69767509ee344",
37
+ "size": 72016241
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "44b0272ca617fef8db2633a3f21f453616b73338cee5bbea84fec1f44f8f4caa",
42
- "size": 73078168
41
+ "checksum": "84d6488d6fe327fcd4f9344725f01bf38831769ce0777e8ca99ba1a763e7d689",
42
+ "size": 73100955
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "d834fbec6d842a6601931456a9f1eb6788964a527a22ed75926060e645e9b21c",
47
- "size": 76852332
46
+ "checksum": "df55188ea12a03b35a3db7481bd726615dc982eca0b8d0b55fe5c432304384a7",
47
+ "size": 76706997
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "2572463b107c1aa6d68e9749b79f74c8cab0eba2ecdb4a37bd97bc0adb82d644",
52
- "size": 73118106
51
+ "checksum": "389f2ec9a83a0f8bb90d3a766f3861ef40250aaeb20e5a3404eecd30d0b08178",
52
+ "size": 73204306
53
53
  }
54
54
  },
55
55
  "sdkCompat": {
56
56
  "testedWrapperVersions": [
57
- "0.3.201",
58
- "0.3.202",
59
57
  "0.3.204",
60
58
  "0.3.205",
61
59
  "0.3.206",
@@ -75,6 +73,7 @@
75
73
  "0.3.221",
76
74
  "0.3.222",
77
75
  "0.3.223",
76
+ "0.3.224",
78
77
  "0.3.226",
79
78
  "0.3.227"
80
79
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.239",
3
+ "version": "0.3.241",
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.239",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.239",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.239",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.239",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.239",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.239",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.239",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.239"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.241",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.241",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.241",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.241",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.241",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.241",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.241",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.241"
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.239"
83
+ "claudeCodeVersion": "2.1.241"
84
84
  }
package/sdk.d.ts CHANGED
@@ -2449,11 +2449,11 @@ export declare interface Query extends AsyncGenerator<SDKMessage, void> {
2449
2449
  *
2450
2450
  * @param maxThinkingTokens - Maximum tokens for thinking, or null to clear the limit
2451
2451
  * @param thinkingDisplay - Optional thinking display mode for the rest of
2452
- * the session: a value replaces the session display mode, `null` clears it
2453
- * back to the API default, and when omitted the display mode from session
2454
- * start (`thinking.display` / `--thinking-display`) is kept note a
2455
- * session started with thinking disabled has none, so re-enabling thinking
2456
- * without this param yields the API's default display.
2452
+ * the session: a value replaces the session display mode, `null` clears
2453
+ * that override so Claude Code's default display handling applies again,
2454
+ * and when omitted the display mode from session start (`thinking.display`
2455
+ * / `--thinking-display`) is kept a session started with thinking
2456
+ * disabled has none, so re-enabling without this param gets that default.
2457
2457
  */
2458
2458
  setMaxThinkingTokens(maxThinkingTokens: number | null, thinkingDisplay?: 'summarized' | 'omitted' | null): Promise<void>;
2459
2459
  /**
@@ -4102,7 +4102,7 @@ declare type SDKControlSetColorRequest = {
4102
4102
  };
4103
4103
 
4104
4104
  /**
4105
- * Sets the maximum number of thinking tokens for extended thinking. When max_thinking_tokens is omitted or null, thinking resets to the session default: any mid-session budget override is cleared (back to the spawn-time budget, if one was set), and thinking stays off for sessions that have it disabled. thinking_display optionally sets the thinking display mode for the rest of the session: a value replaces the session display mode, null clears it back to the API default, and when omitted the display mode from session start (--thinking-display) is kept.
4105
+ * Sets the maximum number of thinking tokens for extended thinking. When max_thinking_tokens is omitted or null, thinking resets to the session default: any mid-session budget override is cleared (back to the spawn-time budget, if one was set), and thinking stays off for sessions that have it disabled. thinking_display optionally sets the thinking display mode for the rest of the session: a value replaces the session display mode, null clears that override so Claude Code's default display handling applies again, and when omitted the display mode from session start (--thinking-display) is kept.
4106
4106
  */
4107
4107
  declare type SDKControlSetMaxThinkingTokensRequest = {
4108
4108
  subtype: 'set_max_thinking_tokens';