@anthropic-ai/claude-agent-sdk 0.3.214 → 0.3.215
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/bridge.mjs +39 -39
- package/browser-sdk.js +1 -1
- package/manifest.json +20 -19
- package/manifest.zst.json +24 -23
- package/package.json +10 -10
- package/sdk.mjs +31 -31
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.
|
|
3
|
+
// Version: 0.3.215
|
|
4
4
|
var l8=Object.create;var{getPrototypeOf:c8,defineProperty:ma,getOwnPropertyNames:N_,getOwnPropertyDescriptor:d8}=Object,z_=Object.prototype.hasOwnProperty;function j_(e){return this[e]}var f8,h8,U_=(e,t,r)=>{var i=e!=null&&typeof e==="object";if(i){var n=t?f8??=new WeakMap:h8??=new WeakMap,o=n.get(e);if(o)return o}r=e!=null?l8(c8(e)):{};let s=t||!e||!e.__esModule?ma(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let h of N_(e))if(!z_.call(s,h))ma(s,h,{get:j_.bind(e,h),enumerable:!0})}if(i)n.set(e,s);return s},kt=(e)=>{var t=(D_??=new WeakMap).get(e),r;if(t)return t;if(t=ma({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var i of N_(e))if(!z_.call(t,i))ma(t,i,{get:j_.bind(e,i),enumerable:!(r=d8(e,i))||r.enumerable})}return D_.set(e,t),t},D_,Xe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var p8=(e)=>e;function m8(e,t){this[e]=p8.bind(null,t)}var wn=(e,t)=>{for(var r in t)ma(e,r,{get:t[r],enumerable:!0,configurable:!0,set:m8.bind(t,r)})};var ga=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ti=((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')}),g8=Symbol.dispose||Symbol.for("Symbol.dispose"),y8=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),xr=(e,t,r)=>{if(t!=null){if(typeof t!=="object"&&typeof t!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var i;if(r)i=t[y8];if(i===void 0)i=t[g8];if(typeof i!=="function")throw TypeError("Object not disposable");e.push([r,i,t])}else if(r)e.push([r]);return t},kr=(e,t,r)=>{var i=typeof SuppressedError==="function"?SuppressedError:function(s,h,v,b){return b=Error(v),b.name="SuppressedError",b.error=s,b.suppressed=h,b},n=(s)=>t=r?new i(s,t,"An error was suppressed during disposal"):(r=!0,s),o=(s)=>{while(s=e.pop())try{var h=s[1]&&s[1].call(s[2]);if(s[0])return Promise.resolve(h).then(o,(v)=>(n(v),o()))}catch(v){n(v)}if(r)throw t};return o()};var Ir={};wn(Ir,{transcode:()=>hT,resolveObjectURL:()=>cT,kStringMaxLength:()=>E1,kMaxLength:()=>ba,isUtf8:()=>dT,isAscii:()=>fT,default:()=>pT,constants:()=>jI,btoa:()=>OI,atob:()=>DI,INSPECT_MAX_BYTES:()=>M1,File:()=>NI,Buffer:()=>fe,Blob:()=>zI});function PI(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 $I(e,t){return(e+t)*3/4-t}function AI(e){var t,r=PI(e),i=r[0],n=r[1],o=new Uint8Array($I(i,n)),s=0,h=n>0?i-4:i,v;for(v=0;v<h;v+=4)t=Sn[e.charCodeAt(v)]<<18|Sn[e.charCodeAt(v+1)]<<12|Sn[e.charCodeAt(v+2)]<<6|Sn[e.charCodeAt(v+3)],o[s++]=t>>16&255,o[s++]=t>>8&255,o[s++]=t&255;if(n===2)t=Sn[e.charCodeAt(v)]<<2|Sn[e.charCodeAt(v+1)]>>4,o[s++]=t&255;if(n===1)t=Sn[e.charCodeAt(v)]<<10|Sn[e.charCodeAt(v+1)]<<4|Sn[e.charCodeAt(v+2)]>>2,o[s++]=t>>8&255,o[s++]=t&255;return o}function RI(e){return Gn[e>>18&63]+Gn[e>>12&63]+Gn[e>>6&63]+Gn[e&63]}function CI(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(RI(i));return n.join("")}function b1(e){var t,r=e.length,i=r%3,n=[],o=16383;for(var s=0,h=r-i;s<h;s+=o)n.push(CI(e,s,s+o>h?h:s+o));if(i===1)t=e[r-1],n.push(Gn[t>>2]+Gn[t<<4&63]+"==");else if(i===2)t=(e[r-2]<<8)+e[r-1],n.push(Gn[t>>10]+Gn[t>>4&63]+Gn[t<<2&63]+"=");return n.join("")}function Ac(e,t,r,i,n){var o,s,h=n*8-i-1,v=(1<<h)-1,b=v>>1,_=-7,g=r?n-1:0,S=r?-1:1,x=e[t+g];g+=S,o=x&(1<<-_)-1,x>>=-_,_+=h;for(;_>0;o=o*256+e[t+g],g+=S,_-=8);s=o&(1<<-_)-1,o>>=-_,_+=i;for(;_>0;s=s*256+e[t+g],g+=S,_-=8);if(o===0)o=1-b;else if(o===v)return s?NaN:(x?-1:1)*(1/0);else s=s+Math.pow(2,i),o=o-b;return(x?-1:1)*s*Math.pow(2,o-i)}function k1(e,t,r,i,n,o){var s,h,v,b=o*8-n-1,_=(1<<b)-1,g=_>>1,S=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,M=i?1:-1,I=t<0||t===0&&1/t<0?1:0;if(t=Math.abs(t),isNaN(t)||t===1/0)h=isNaN(t)?1:0,s=_;else{if(s=Math.floor(Math.log(t)/Math.LN2),t*(v=Math.pow(2,-s))<1)s--,v*=2;if(s+g>=1)t+=S/v;else t+=S*Math.pow(2,1-g);if(t*v>=2)s++,v/=2;if(s+g>=_)h=0,s=_;else if(s+g>=1)h=(t*v-1)*Math.pow(2,n),s=s+g;else h=t*Math.pow(2,g-1)*Math.pow(2,n),s=0}for(;n>=8;e[r+x]=h&255,x+=M,h/=256,n-=8);s=s<<n|h,b+=n;for(;b>0;e[r+x]=s&255,x+=M,s/=256,b-=8);e[r+x-M]|=I*128}function ii(e){if(e>ba)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,fe.prototype),t}function dm(e,t,r){return class extends r{constructor(){super();Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function fe(e,t,r){if(typeof e==="number"){if(typeof t==="string")throw TypeError('The "string" argument must be of type string. Received type number');return fm(e)}return I1(e,t,r)}function I1(e,t,r){if(typeof e==="string")return qI(e,t);if(ArrayBuffer.isView(e))return BI(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(Jn(e,ArrayBuffer)||e&&Jn(e.buffer,ArrayBuffer))return lm(e,t,r);if(typeof SharedArrayBuffer<"u"&&(Jn(e,SharedArrayBuffer)||e&&Jn(e.buffer,SharedArrayBuffer)))return lm(e,t,r);if(typeof e==="number")throw TypeError('The "value" argument must not be of type number. Received type number');let i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return fe.from(i,t,r);let n=HI(e);if(n)return n;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==="function")return fe.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function T1(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 FI(e,t,r){if(T1(e),e<=0)return ii(e);if(t!==void 0)return typeof r==="string"?ii(e).fill(t,r):ii(e).fill(t);return ii(e)}function fm(e){return T1(e),ii(e<0?0:hm(e)|0)}function qI(e,t){if(typeof t!=="string"||t==="")t="utf8";if(!fe.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=P1(e,t)|0,i=ii(r),n=i.write(e,t);if(n!==r)i=i.slice(0,n);return i}function um(e){let t=e.length<0?0:hm(e.length)|0,r=ii(t);for(let i=0;i<t;i+=1)r[i]=e[i]&255;return r}function BI(e){if(Jn(e,Uint8Array)){let t=new Uint8Array(e);return lm(t.buffer,t.byteOffset,t.byteLength)}return um(e)}function lm(e,t,r){if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');let i;if(t===void 0&&r===void 0)i=new Uint8Array(e);else if(r===void 0)i=new Uint8Array(e,t);else i=new Uint8Array(e,t,r);return Object.setPrototypeOf(i,fe.prototype),i}function HI(e){if(fe.isBuffer(e)){let t=hm(e.length)|0,r=ii(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 ii(0);return um(e)}if(e.type==="Buffer"&&Array.isArray(e.data))return um(e.data)}function hm(e){if(e>=ba)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ba.toString(16)+" bytes");return e|0}function P1(e,t){if(fe.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Jn(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 cm(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return j1(e).length;default:if(n)return i?-1:cm(e).length;t=(""+t).toLowerCase(),n=!0}}function ZI(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 tT(this,t,r);case"utf8":case"utf-8":return A1(this,t,r);case"ascii":return QI(this,t,r);case"latin1":case"binary":return eT(this,t,r);case"base64":return XI(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rT(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function fo(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}function $1(e,t,r,i,n){if(e.length===0)return-1;if(typeof r==="string")i=r,r=0;else if(r>2147483647)r=2147483647;else if(r<-2147483648)r=-2147483648;if(r=+r,Number.isNaN(r))r=n?0:e.length-1;if(r<0)r=e.length+r;if(r>=e.length)if(n)return-1;else r=e.length-1;else if(r<0)if(n)r=0;else return-1;if(typeof t==="string")t=fe.from(t,i);if(fe.isBuffer(t)){if(t.length===0)return-1;return w1(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 w1(e,[t],r,i,n)}throw TypeError("val must be string, number or Buffer")}function w1(e,t,r,i,n){let o=1,s=e.length,h=t.length;if(i!==void 0){if(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le"){if(e.length<2||t.length<2)return-1;o=2,s/=2,h/=2,r/=2}}function v(_,g){if(o===1)return _[g];else return _.readUInt16BE(g*o)}let b;if(n){let _=-1;for(b=r;b<s;b++)if(v(e,b)===v(t,_===-1?0:b-_)){if(_===-1)_=b;if(b-_+1===h)return _*o}else{if(_!==-1)b-=b-_;_=-1}}else{if(r+h>s)r=s-h;for(b=r;b>=0;b--){let _=!0;for(let g=0;g<h;g++)if(v(e,b+g)!==v(t,g)){_=!1;break}if(_)return b}}return-1}function KI(e,t,r,i){r=Number(r)||0;let n=e.length-r;if(!i)i=n;else if(i=Number(i),i>n)i=n;let o=t.length;if(i>o/2)i=o/2;let s;for(s=0;s<i;++s){let h=parseInt(t.substr(s*2,2),16);if(Number.isNaN(h))return s;e[r+s]=h}return s}function VI(e,t,r,i){return Rc(cm(t,e.length-r),e,r,i)}function WI(e,t,r,i){return Rc(sT(t),e,r,i)}function GI(e,t,r,i){return Rc(j1(t),e,r,i)}function JI(e,t,r,i){return Rc(aT(t,e.length-r),e,r,i)}function XI(e,t,r){if(t===0&&r===e.length)return b1(e);else return b1(e.slice(t,r))}function A1(e,t,r){r=Math.min(e.length,r);let i=[],n=t;while(n<r){let o=e[n],s=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=r){let v,b,_,g;switch(h){case 1:if(o<128)s=o;break;case 2:if(v=e[n+1],(v&192)===128){if(g=(o&31)<<6|v&63,g>127)s=g}break;case 3:if(v=e[n+1],b=e[n+2],(v&192)===128&&(b&192)===128){if(g=(o&15)<<12|(v&63)<<6|b&63,g>2047&&(g<55296||g>57343))s=g}break;case 4:if(v=e[n+1],b=e[n+2],_=e[n+3],(v&192)===128&&(b&192)===128&&(_&192)===128){if(g=(o&15)<<18|(v&63)<<12|(b&63)<<6|_&63,g>65535&&g<1114112)s=g}}}if(s===null)s=65533,h=1;else if(s>65535)s-=65536,i.push(s>>>10&1023|55296),s=56320|s&1023;i.push(s),n+=h}return YI(i)}function YI(e){let t=e.length;if(t<=S1)return String.fromCharCode.apply(String,e);let r="",i=0;while(i<t)r+=String.fromCharCode.apply(String,e.slice(i,i+=S1));return r}function QI(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 eT(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 tT(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+=uT[e[o]];return n}function rT(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 Er(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 Yr(e,t,r,i,n,o){if(!fe.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<o)throw RangeError('"value" argument is out of bounds');if(r+i>e.length)throw RangeError("Index out of range")}function R1(e,t,r,i,n){z1(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 C1(e,t,r,i,n){z1(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 O1(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 D1(e,t,r,i,n){if(t=+t,r=r>>>0,!n)O1(e,t,r,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return k1(e,t,r,i,23,4),r+4}function N1(e,t,r,i,n){if(t=+t,r=r>>>0,!n)O1(e,t,r,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return k1(e,t,r,i,52,8),r+8}function x1(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 nT(e,t,r){if(ns(t,"offset"),e[t]===void 0||e[t+r]===void 0)_a(t,e.length-(r+1))}function z1(e,t,r,i,n,o){if(e>r||e<t){let s=typeof t==="bigint"?"n":"",h;if(o>3)if(t===0||t===BigInt(0))h=`>= 0${s} and < 2${s} ** ${(o+1)*8}${s}`;else h=`>= -(2${s} ** ${(o+1)*8-1}${s}) and < 2 ** ${(o+1)*8-1}${s}`;else h=`>= ${t}${s} and <= ${r}${s}`;throw new am("value",h,e)}nT(i,n,o)}function ns(e,t){if(typeof e!=="number")throw new LI(t,"number",e)}function _a(e,t,r){if(Math.floor(e)!==e)throw ns(e,r),new am(r||"offset","an integer",e);if(t<0)throw new UI;throw new am(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}function oT(e){if(e=e.split("=")[0],e=e.trim().replace(iT,""),e.length<2)return"";while(e.length%4!==0)e=e+"=";return e}function cm(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 sT(e){let t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function aT(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 j1(e){return AI(oT(e))}function Rc(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 Jn(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Ai(e){return typeof BigInt>"u"?lT:e}function lT(){throw Error("BigInt not supported")}function pm(e){return()=>{throw Error(e+" is not implemented for node:buffer browser polyfill")}}var Gn,Sn,sm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",co,v1,_1,M1=50,ba=2147483647,E1=536870888,OI,DI,NI,zI,jI,UI,LI,am,S1=4096,iT,uT,cT,dT,fT=(e)=>{for(let t of e)if(t.charCodeAt(0)>127)return!1;return!0},hT,pT;var Tr=ga(()=>{Gn=[],Sn=[];for(co=0,v1=sm.length;co<v1;++co)Gn[co]=sm[co],Sn[sm.charCodeAt(co)]=co;Sn[45]=62;Sn[95]=63;_1=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,OI=globalThis.btoa,DI=globalThis.atob,NI=globalThis.File,zI=globalThis.Blob,jI={MAX_LENGTH:ba,MAX_STRING_LENGTH:E1};UI=dm("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),LI=dm("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),am=dm("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=x1(String(r));else if(typeof r==="bigint"){if(n=String(r),r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))n=x1(n);n+="n"}return i+=` It must be ${t}. Received ${n}`,i},RangeError);Object.defineProperty(fe.prototype,"parent",{enumerable:!0,get:function(){if(!fe.isBuffer(this))return;return this.buffer}});Object.defineProperty(fe.prototype,"offset",{enumerable:!0,get:function(){if(!fe.isBuffer(this))return;return this.byteOffset}});fe.poolSize=8192;fe.from=function(e,t,r){return I1(e,t,r)};Object.setPrototypeOf(fe.prototype,Uint8Array.prototype);Object.setPrototypeOf(fe,Uint8Array);fe.alloc=function(e,t,r){return FI(e,t,r)};fe.allocUnsafe=function(e){return fm(e)};fe.allocUnsafeSlow=function(e){return fm(e)};fe.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==fe.prototype};fe.compare=function(e,t){if(Jn(e,Uint8Array))e=fe.from(e,e.offset,e.byteLength);if(Jn(t,Uint8Array))t=fe.from(t,t.offset,t.byteLength);if(!fe.isBuffer(e)||!fe.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,i=t.length;for(let n=0,o=Math.min(r,i);n<o;++n)if(e[n]!==t[n]){r=e[n],i=t[n];break}if(r<i)return-1;if(i<r)return 1;return 0};fe.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};fe.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return fe.alloc(0);let r;if(t===void 0){t=0;for(r=0;r<e.length;++r)t+=e[r].length}let i=fe.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){let o=e[r];if(Jn(o,Uint8Array))if(n+o.length>i.length){if(!fe.isBuffer(o))o=fe.from(o);o.copy(i,n)}else Uint8Array.prototype.set.call(i,o,n);else if(!fe.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');else o.copy(i,n);n+=o.length}return i};fe.byteLength=P1;fe.prototype._isBuffer=!0;fe.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)fo(this,t,t+1);return this};fe.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)fo(this,t,t+3),fo(this,t+1,t+2);return this};fe.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)fo(this,t,t+7),fo(this,t+1,t+6),fo(this,t+2,t+5),fo(this,t+3,t+4);return this};fe.prototype.toString=function(){let e=this.length;if(e===0)return"";if(arguments.length===0)return A1(this,0,e);return ZI.apply(this,arguments)};fe.prototype.toLocaleString=fe.prototype.toString;fe.prototype.equals=function(e){if(!fe.isBuffer(e))throw TypeError("Argument must be a Buffer");if(this===e)return!0;return fe.compare(this,e)===0};fe.prototype.inspect=function(){let e="",t=M1;if(e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t)e+=" ... ";return"<Buffer "+e+">"};if(_1)fe.prototype[_1]=fe.prototype.inspect;fe.prototype.compare=function(e,t,r,i,n){if(Jn(e,Uint8Array))e=fe.from(e,e.offset,e.byteLength);if(!fe.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0)t=0;if(r===void 0)r=e?e.length:0;if(i===void 0)i=0;if(n===void 0)n=this.length;if(t<0||r>e.length||i<0||n>this.length)throw RangeError("out of range index");if(i>=n&&t>=r)return 0;if(i>=n)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,i>>>=0,n>>>=0,this===e)return 0;let o=n-i,s=r-t,h=Math.min(o,s),v=this.slice(i,n),b=e.slice(t,r);for(let _=0;_<h;++_)if(v[_]!==b[_]){o=v[_],s=b[_];break}if(o<s)return-1;if(s<o)return 1;return 0};fe.prototype.includes=function(e,t,r){return this.indexOf(e,t,r)!==-1};fe.prototype.indexOf=function(e,t,r){return $1(this,e,t,r,!0)};fe.prototype.lastIndexOf=function(e,t,r){return $1(this,e,t,r,!1)};fe.prototype.write=function(e,t,r,i){if(t===void 0)i="utf8",r=this.length,t=0;else if(r===void 0&&typeof t==="string")i=t,r=this.length,t=0;else if(isFinite(t))if(t=t>>>0,isFinite(r)){if(r=r>>>0,i===void 0)i="utf8"}else i=r,r=void 0;else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let n=this.length-t;if(r===void 0||r>n)r=n;if(e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");if(!i)i="utf8";let o=!1;for(;;)switch(i){case"hex":return KI(this,e,t,r);case"utf8":case"utf-8":return VI(this,e,t,r);case"ascii":case"latin1":case"binary":return WI(this,e,t,r);case"base64":return GI(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return JI(this,e,t,r);default:if(o)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};fe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};fe.prototype.slice=function(e,t){let r=this.length;if(e=~~e,t=t===void 0?r:~~t,e<0){if(e+=r,e<0)e=0}else if(e>r)e=r;if(t<0){if(t+=r,t<0)t=0}else if(t>r)t=r;if(t<e)t=e;let i=this.subarray(e,t);return Object.setPrototypeOf(i,fe.prototype),i};fe.prototype.readUintLE=fe.prototype.readUIntLE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Er(e,t,this.length);let i=this[e],n=1,o=0;while(++o<t&&(n*=256))i+=this[e+o]*n;return i};fe.prototype.readUintBE=fe.prototype.readUIntBE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Er(e,t,this.length);let i=this[e+--t],n=1;while(t>0&&(n*=256))i+=this[e+--t]*n;return i};fe.prototype.readUint8=fe.prototype.readUInt8=function(e,t){if(e=e>>>0,!t)Er(e,1,this.length);return this[e]};fe.prototype.readUint16LE=fe.prototype.readUInt16LE=function(e,t){if(e=e>>>0,!t)Er(e,2,this.length);return this[e]|this[e+1]<<8};fe.prototype.readUint16BE=fe.prototype.readUInt16BE=function(e,t){if(e=e>>>0,!t)Er(e,2,this.length);return this[e]<<8|this[e+1]};fe.prototype.readUint32LE=fe.prototype.readUInt32LE=function(e,t){if(e=e>>>0,!t)Er(e,4,this.length);return(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};fe.prototype.readUint32BE=fe.prototype.readUInt32BE=function(e,t){if(e=e>>>0,!t)Er(e,4,this.length);return this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};fe.prototype.readBigUInt64LE=Ai(function(e){e=e>>>0,ns(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)_a(e,this.length-8);let i=t+this[++e]*256+this[++e]*65536+this[++e]*16777216,n=this[++e]+this[++e]*256+this[++e]*65536+r*16777216;return BigInt(i)+(BigInt(n)<<BigInt(32))});fe.prototype.readBigUInt64BE=Ai(function(e){e=e>>>0,ns(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)_a(e,this.length-8);let i=t*16777216+this[++e]*65536+this[++e]*256+this[++e],n=this[++e]*16777216+this[++e]*65536+this[++e]*256+r;return(BigInt(i)<<BigInt(32))+BigInt(n)});fe.prototype.readIntLE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Er(e,t,this.length);let i=this[e],n=1,o=0;while(++o<t&&(n*=256))i+=this[e+o]*n;if(n*=128,i>=n)i-=Math.pow(2,8*t);return i};fe.prototype.readIntBE=function(e,t,r){if(e=e>>>0,t=t>>>0,!r)Er(e,t,this.length);let i=t,n=1,o=this[e+--i];while(i>0&&(n*=256))o+=this[e+--i]*n;if(n*=128,o>=n)o-=Math.pow(2,8*t);return o};fe.prototype.readInt8=function(e,t){if(e=e>>>0,!t)Er(e,1,this.length);if(!(this[e]&128))return this[e];return(255-this[e]+1)*-1};fe.prototype.readInt16LE=function(e,t){if(e=e>>>0,!t)Er(e,2,this.length);let r=this[e]|this[e+1]<<8;return r&32768?r|4294901760:r};fe.prototype.readInt16BE=function(e,t){if(e=e>>>0,!t)Er(e,2,this.length);let r=this[e+1]|this[e]<<8;return r&32768?r|4294901760:r};fe.prototype.readInt32LE=function(e,t){if(e=e>>>0,!t)Er(e,4,this.length);return this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};fe.prototype.readInt32BE=function(e,t){if(e=e>>>0,!t)Er(e,4,this.length);return this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};fe.prototype.readBigInt64LE=Ai(function(e){e=e>>>0,ns(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)_a(e,this.length-8);let i=this[e+4]+this[e+5]*256+this[e+6]*65536+(r<<24);return(BigInt(i)<<BigInt(32))+BigInt(t+this[++e]*256+this[++e]*65536+this[++e]*16777216)});fe.prototype.readBigInt64BE=Ai(function(e){e=e>>>0,ns(e,"offset");let t=this[e],r=this[e+7];if(t===void 0||r===void 0)_a(e,this.length-8);let i=(t<<24)+this[++e]*65536+this[++e]*256+this[++e];return(BigInt(i)<<BigInt(32))+BigInt(this[++e]*16777216+this[++e]*65536+this[++e]*256+r)});fe.prototype.readFloatLE=function(e,t){if(e=e>>>0,!t)Er(e,4,this.length);return Ac(this,e,!0,23,4)};fe.prototype.readFloatBE=function(e,t){if(e=e>>>0,!t)Er(e,4,this.length);return Ac(this,e,!1,23,4)};fe.prototype.readDoubleLE=function(e,t){if(e=e>>>0,!t)Er(e,8,this.length);return Ac(this,e,!0,52,8)};fe.prototype.readDoubleBE=function(e,t){if(e=e>>>0,!t)Er(e,8,this.length);return Ac(this,e,!1,52,8)};fe.prototype.writeUintLE=fe.prototype.writeUIntLE=function(e,t,r,i){if(e=+e,t=t>>>0,r=r>>>0,!i){let s=Math.pow(2,8*r)-1;Yr(this,e,t,r,s,0)}let n=1,o=0;this[t]=e&255;while(++o<r&&(n*=256))this[t+o]=e/n&255;return t+r};fe.prototype.writeUintBE=fe.prototype.writeUIntBE=function(e,t,r,i){if(e=+e,t=t>>>0,r=r>>>0,!i){let s=Math.pow(2,8*r)-1;Yr(this,e,t,r,s,0)}let n=r-1,o=1;this[t+n]=e&255;while(--n>=0&&(o*=256))this[t+n]=e/o&255;return t+r};fe.prototype.writeUint8=fe.prototype.writeUInt8=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,1,255,0);return this[t]=e&255,t+1};fe.prototype.writeUint16LE=fe.prototype.writeUInt16LE=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,2,65535,0);return this[t]=e&255,this[t+1]=e>>>8,t+2};fe.prototype.writeUint16BE=fe.prototype.writeUInt16BE=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,2,65535,0);return this[t]=e>>>8,this[t+1]=e&255,t+2};fe.prototype.writeUint32LE=fe.prototype.writeUInt32LE=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,4,4294967295,0);return this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};fe.prototype.writeUint32BE=fe.prototype.writeUInt32BE=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,4,4294967295,0);return this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};fe.prototype.writeBigUInt64LE=Ai(function(e,t=0){return R1(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});fe.prototype.writeBigUInt64BE=Ai(function(e,t=0){return C1(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});fe.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t=t>>>0,!i){let h=Math.pow(2,8*r-1);Yr(this,e,t,r,h-1,-h)}let n=0,o=1,s=0;this[t]=e&255;while(++n<r&&(o*=256)){if(e<0&&s===0&&this[t+n-1]!==0)s=1;this[t+n]=(e/o>>0)-s&255}return t+r};fe.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t=t>>>0,!i){let h=Math.pow(2,8*r-1);Yr(this,e,t,r,h-1,-h)}let n=r-1,o=1,s=0;this[t+n]=e&255;while(--n>=0&&(o*=256)){if(e<0&&s===0&&this[t+n+1]!==0)s=1;this[t+n]=(e/o>>0)-s&255}return t+r};fe.prototype.writeInt8=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,1,127,-128);if(e<0)e=255+e+1;return this[t]=e&255,t+1};fe.prototype.writeInt16LE=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,2,32767,-32768);return this[t]=e&255,this[t+1]=e>>>8,t+2};fe.prototype.writeInt16BE=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,2,32767,-32768);return this[t]=e>>>8,this[t+1]=e&255,t+2};fe.prototype.writeInt32LE=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,4,2147483647,-2147483648);return this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};fe.prototype.writeInt32BE=function(e,t,r){if(e=+e,t=t>>>0,!r)Yr(this,e,t,4,2147483647,-2147483648);if(e<0)e=4294967295+e+1;return this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};fe.prototype.writeBigInt64LE=Ai(function(e,t=0){return R1(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});fe.prototype.writeBigInt64BE=Ai(function(e,t=0){return C1(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});fe.prototype.writeFloatLE=function(e,t,r){return D1(this,e,t,!0,r)};fe.prototype.writeFloatBE=function(e,t,r){return D1(this,e,t,!1,r)};fe.prototype.writeDoubleLE=function(e,t,r){return N1(this,e,t,!0,r)};fe.prototype.writeDoubleBE=function(e,t,r){return N1(this,e,t,!1,r)};fe.prototype.copy=function(e,t,r,i){if(!fe.isBuffer(e))throw TypeError("argument should be a Buffer");if(!r)r=0;if(!i&&i!==0)i=this.length;if(t>=e.length)t=e.length;if(!t)t=0;if(i>0&&i<r)i=r;if(i===r)return 0;if(e.length===0||this.length===0)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");if(i>this.length)i=this.length;if(e.length-t<i-r)i=e.length-t+r;let n=i-r;if(this===e&&typeof Uint8Array.prototype.copyWithin==="function")this.copyWithin(t,r,i);else Uint8Array.prototype.set.call(e,this.subarray(r,i),t);return n};fe.prototype.fill=function(e,t,r,i){if(typeof e==="string"){if(typeof t==="string")i=t,t=0,r=this.length;else if(typeof r==="string")i=r,r=this.length;if(i!==void 0&&typeof i!=="string")throw TypeError("encoding must be a string");if(typeof i==="string"&&!fe.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(e.length===1){let o=e.charCodeAt(0);if(i==="utf8"&&o<128||i==="latin1")e=o}}else if(typeof e==="number")e=e&255;else if(typeof e==="boolean")e=Number(e);if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t=t>>>0,r=r===void 0?this.length:r>>>0,!e)e=0;let n;if(typeof e==="number")for(n=t;n<r;++n)this[n]=e;else{let o=fe.isBuffer(e)?e:fe.from(e,i),s=o.length;if(s===0)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<r-t;++n)this[n+t]=o[n%s]}return this};iT=/[^+/0-9A-Za-z-_]/g;uT=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}();cT=pm("resolveObjectURL"),dT=pm("isUtf8"),hT=pm("transcode"),pT=fe});var W1={};wn(W1,{types:()=>kT,promisify:()=>H1,log:()=>F1,isUndefined:()=>is,isSymbol:()=>ET,isString:()=>jc,isRegExp:()=>Cc,isPrimitive:()=>IT,isObject:()=>os,isNumber:()=>L1,isNullOrUndefined:()=>MT,isNull:()=>zc,isFunction:()=>Dc,isError:()=>Oc,isDate:()=>vm,isBuffer:()=>TT,isBoolean:()=>_m,isArray:()=>U1,inspect:()=>ho,inherits:()=>q1,format:()=>bm,deprecate:()=>gT,default:()=>AT,debuglog:()=>yT,callbackifyOnRejected:()=>xm,callbackify:()=>Z1,_extend:()=>Sm,TextEncoder:()=>K1,TextDecoder:()=>V1});function bm(e,...t){if(!jc(e)){var r=[e];for(var i=0;i<t.length;i++)r.push(ho(t[i]));return r.join(" ")}var i=0,n=t.length,o=String(e).replace(mT,function(h){if(h==="%%")return"%";if(i>=n)return h;switch(h){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(v){return"[Circular]"}default:return h}});for(var s=t[i];i<n;s=t[++i])if(zc(s)||!os(s))o+=" "+s;else o+=" "+ho(s);return o}function gT(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 vT(e,t){var r=ho.styles[t];if(r)return"\x1B["+ho.colors[r][0]+"m"+e+"\x1B["+ho.colors[r][1]+"m";else return e}function bT(e,t){return e}function _T(e){var t={};return e.forEach(function(r,i){t[r]=!0}),t}function Nc(e,t,r){if(e.customInspect&&t&&Dc(t.inspect)&&t.inspect!==ho&&!(t.constructor&&t.constructor.prototype===t)){var i=t.inspect(r,e);if(!jc(i))i=Nc(e,i,r);return i}var n=wT(e,t);if(n)return n;var o=Object.keys(t),s=_T(o);if(e.showHidden)o=Object.getOwnPropertyNames(t);if(Oc(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return mm(t);if(o.length===0){if(Dc(t)){var h=t.name?": "+t.name:"";return e.stylize("[Function"+h+"]","special")}if(Cc(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(vm(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Oc(t))return mm(t)}var v="",b=!1,_=["{","}"];if(U1(t))b=!0,_=["[","]"];if(Dc(t)){var g=t.name?": "+t.name:"";v=" [Function"+g+"]"}if(Cc(t))v=" "+RegExp.prototype.toString.call(t);if(vm(t))v=" "+Date.prototype.toUTCString.call(t);if(Oc(t))v=" "+mm(t);if(o.length===0&&(!b||t.length==0))return _[0]+v+_[1];if(r<0)if(Cc(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");else return e.stylize("[Object]","special");e.seen.push(t);var S;if(b)S=ST(e,t,r,s,o);else S=o.map(function(x){return ym(e,t,r,s,x,b)});return e.seen.pop(),xT(S,v,_)}function wT(e,t){if(is(t))return e.stylize("undefined","undefined");if(jc(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(L1(t))return e.stylize(""+t,"number");if(_m(t))return e.stylize(""+t,"boolean");if(zc(t))return e.stylize("null","null")}function mm(e){return"["+Error.prototype.toString.call(e)+"]"}function ST(e,t,r,i,n){var o=[];for(var s=0,h=t.length;s<h;++s)if(B1(t,String(s)))o.push(ym(e,t,r,i,String(s),!0));else o.push("");return n.forEach(function(v){if(!v.match(/^\d+$/))o.push(ym(e,t,r,i,v,!0))}),o}function ym(e,t,r,i,n,o){var s,h,v;if(v=Object.getOwnPropertyDescriptor(t,n)||{value:t[n]},v.get)if(v.set)h=e.stylize("[Getter/Setter]","special");else h=e.stylize("[Getter]","special");else if(v.set)h=e.stylize("[Setter]","special");if(!B1(i,n))s="["+n+"]";if(!h)if(e.seen.indexOf(v.value)<0){if(zc(r))h=Nc(e,v.value,null);else h=Nc(e,v.value,r-1);if(h.indexOf(`
|
|
5
5
|
`)>-1)if(o)h=h.split(`
|
|
6
6
|
`).map(function(b){return" "+b}).join(`
|
package/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-07-
|
|
2
|
+
"version": "2.1.215",
|
|
3
|
+
"commit": "316ce99628e89900bf0b1328fed3b8fec0c0c92d",
|
|
4
|
+
"buildDate": "2026-07-19T00:11:19Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "90608b5c5ab504e96e77365cea6203d046e291d59b2bb42cf28dcb2ccdf9dd58",
|
|
9
|
+
"size": 247124336
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "1ef5f5e56ede9f7765a9bef654ece6045dba58f48b7f5b699765375953d52b6b",
|
|
14
|
+
"size": 256540048
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "2b43a3d5b0787217e5d7381fad42c7314292546fe9db9eb8b9b379de90509b30",
|
|
19
|
+
"size": 262060960
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "c1efffaaf370aa187cb6a09dd93d4e511c646899b0078476f83791b664bde7fe",
|
|
24
|
+
"size": 265239536
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "95f1bb89dd94ae099c7b5e53832f99624fdf82da8e0f11d81e1632b26e61973e",
|
|
29
|
+
"size": 255309160
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "3a14b862d102d0b6b88650a00b8489b1dfec7f84b367f8192ee62c8bdaeb9220",
|
|
34
|
+
"size": 259863120
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "f14452d1e199273795f2920c00fd7a7f818178ddf1f3efb4d005a7e3d4ec4eff",
|
|
39
|
+
"size": 256247968
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "0e976441467cb09e35b52c83e661ce8e148c5a8766e0899a4255d95c4b8110f6",
|
|
44
|
+
"size": 250623648
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"sdkCompat": {
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"0.3.196",
|
|
59
59
|
"0.3.197",
|
|
60
60
|
"0.3.198",
|
|
61
|
+
"0.3.199",
|
|
61
62
|
"0.3.200",
|
|
62
63
|
"0.3.201",
|
|
63
64
|
"0.3.202",
|
package/manifest.zst.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-07-
|
|
2
|
+
"version": "2.1.215",
|
|
3
|
+
"commit": "316ce99628e89900bf0b1328fed3b8fec0c0c92d",
|
|
4
|
+
"buildDate": "2026-07-19T00:13:19Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "ea977b83c55cd9997431293666c0836f88facd7eec5e833db40090a89e064e5f",
|
|
9
|
+
"size": 51058017,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "331d771edc83df2288c27e213a8c7e99fce4782c10778788d179b1ae57af7d98",
|
|
12
|
+
"size": 51055405
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "3a8da176472282548e7e05d4627e67b2307c48ba820d7597792c7f752bee97ed",
|
|
18
|
+
"size": 55527475,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "78e192d3afb4cff317050874cc6c09c63710ce70d390bad1517c3d29b4fb46d5",
|
|
21
|
+
"size": 55530080
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "37f4f0c778b592d1878d235008ba190bdcc7602d87cc17e2a4f65f1438ed93e8",
|
|
27
|
+
"size": 59821134
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "7ff9594e53cd89d1af9ceb3c18d3d70be1a5c6d27475e31ee2bed65d748f18c0",
|
|
32
|
+
"size": 61214933
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "5be2a8365515a6e62155ae0f612da1571164eff5605dd3ce7341e4351d6d23a4",
|
|
37
|
+
"size": 58629351
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "55c50d31f4145b6bb6d374a3f453bfee34ffa540f48ad64fe54cdf8cf3c023a7",
|
|
42
|
+
"size": 60067478
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "b26d3a56a5646912971973ee765011502d4887ca0ad2607daead8bc6a7e39714",
|
|
47
|
+
"size": 61282091
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "56e089a68b94f6e9507164da8632840e2a7422d9ef7a85f9e7e728775d278f56",
|
|
52
|
+
"size": 59507909
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"sdkCompat": {
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"0.3.196",
|
|
67
67
|
"0.3.197",
|
|
68
68
|
"0.3.198",
|
|
69
|
+
"0.3.199",
|
|
69
70
|
"0.3.200",
|
|
70
71
|
"0.3.201",
|
|
71
72
|
"0.3.202",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-agent-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.215",
|
|
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.
|
|
61
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
62
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
63
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
60
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.215",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.215",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.215",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.215",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.215",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.215",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.215",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.215"
|
|
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.
|
|
83
|
+
"claudeCodeVersion": "2.1.215"
|
|
84
84
|
}
|