@nuvin/agent-core 0.2.0-rc.6 → 0.2.0-rc.7

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.
@@ -1 +1 @@
1
- (function(_0x317438,_0x1b25ac){const _0x5b9c0e={_0x37eff3:0x385,_0x3e566f:0x380,_0x9001cf:0x37b,_0xb7e884:0x391,_0x2aef8a:0x38b,_0x5bc8ad:0x2d2,_0x1fe05f:0x2de,_0xdbcdb:0x2e5,_0x67107f:0x2db,_0x25daf5:0x2de,_0x17cbc1:0x2d3,_0x53524d:0x2d7,_0x36d99e:0x2c5,_0x347675:0x389,_0x4f5f80:0x371,_0x4611ba:0x2e0},_0x3a72b9={_0x58da5f:0x2f0};function _0x2eed58(_0x54702f,_0x5f5697,_0x61da23,_0x39411f){return _0xeee3(_0x5f5697-_0x3a72b9._0x58da5f,_0x39411f);}function _0x5c1ccb(_0xe046e8,_0x5e1c57,_0x305515,_0x2d7341){return _0xeee3(_0x2d7341- -0x36c,_0x5e1c57);}const _0x3139e6=_0x317438();while(!![]){try{const _0x33589e=parseInt(_0x2eed58(_0x5b9c0e._0x37eff3,0x37d,_0x5b9c0e._0x3e566f,_0x5b9c0e._0x9001cf))/0x1*(parseInt(_0x2eed58(_0x5b9c0e._0xb7e884,_0x5b9c0e._0x2aef8a,_0x5b9c0e._0x2aef8a,0x393))/0x2)+parseInt(_0x5c1ccb(-0x2db,-_0x5b9c0e._0x5bc8ad,-_0x5b9c0e._0x1fe05f,-0x2d6))/0x3+parseInt(_0x5c1ccb(-0x2da,-_0x5b9c0e._0xdbcdb,-0x2de,-_0x5b9c0e._0x67107f))/0x4+parseInt(_0x5c1ccb(-_0x5b9c0e._0x5bc8ad,-_0x5b9c0e._0x5bc8ad,-_0x5b9c0e._0x25daf5,-0x2d8))/0x5+parseInt(_0x5c1ccb(-0x2e1,-_0x5b9c0e._0x1fe05f,-_0x5b9c0e._0x17cbc1,-_0x5b9c0e._0x53524d))/0x6*(-parseInt(_0x5c1ccb(-_0x5b9c0e._0x5bc8ad,-_0x5b9c0e._0x36d99e,-0x2d5,-0x2cf))/0x7)+parseInt(_0x2eed58(0x379,0x383,0x38a,_0x5b9c0e._0x347675))/0x8*(parseInt(_0x2eed58(0x380,0x37a,_0x5b9c0e._0x4f5f80,0x380))/0x9)+-parseInt(_0x5c1ccb(-0x2eb,-0x2e5,-0x2e0,-_0x5b9c0e._0x4611ba))/0xa;if(_0x33589e===_0x1b25ac)break;else _0x3139e6['push'](_0x3139e6['shift']());}catch(_0xcbbf65){_0x3139e6['push'](_0x3139e6['shift']());}}}(_0x2f97,0xd96a1));import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';import{TurnFailedError}from'../chunk-FFIZ6TKW.js';function _0xeee3(_0x259eab,_0x33531b){_0x259eab=_0x259eab-0x88;const _0x2f97ac=_0x2f97();let _0xeee3bb=_0x2f97ac[_0x259eab];if(_0xeee3['CAvcji']===undefined){var _0x2b98d6=function(_0x32a33b){const _0x9a9871='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x13dd01='',_0x186adb='';for(let _0xc04370=0x0,_0x252330,_0x68f2ec,_0x5d1cb3=0x0;_0x68f2ec=_0x32a33b['charAt'](_0x5d1cb3++);~_0x68f2ec&&(_0x252330=_0xc04370%0x4?_0x252330*0x40+_0x68f2ec:_0x68f2ec,_0xc04370++%0x4)?_0x13dd01+=String['fromCharCode'](0xff&_0x252330>>(-0x2*_0xc04370&0x6)):0x0){_0x68f2ec=_0x9a9871['indexOf'](_0x68f2ec);}for(let _0x530fb3=0x0,_0x4103c1=_0x13dd01['length'];_0x530fb3<_0x4103c1;_0x530fb3++){_0x186adb+='%'+('00'+_0x13dd01['charCodeAt'](_0x530fb3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x186adb);};_0xeee3['fNgpBw']=_0x2b98d6,_0xeee3['nzpYcT']={},_0xeee3['CAvcji']=!![];}const _0x3a3070=_0x2f97ac[0x0],_0x3885fc=_0x259eab+_0x3a3070,_0x5e7798=_0xeee3['nzpYcT'][_0x3885fc];return!_0x5e7798?(_0xeee3bb=_0xeee3['fNgpBw'](_0xeee3bb),_0xeee3['nzpYcT'][_0x3885fc]=_0xeee3bb):_0xeee3bb=_0x5e7798,_0xeee3bb;}function _0x2f97(){const _0x415384=['mZu0ndm4otbeDMP3u24','nZu0otaYEfrtDuPv','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','ywjVCNrLza','CMvTB3zLqwjVCNrmAxn0zw5LCG','mZe0nZKYng5Rtg5ezG','AxngAw5PDgu','mti5ndi1mJHXuNPzvKi','ndK4mdmXmhzgyMT3wa','nZHqAvnqvfq','nduWmdm5meDOrNbXtG','BgvUz3rO','C2HPzNq','Aw5KzxHpzG','CMvHC29U','mNHJs0nVuG','CMvZB2X2zq','nJu3ndq3D3v2q0ny','CMvQzwn0','y2fUy2vSBgvK','oxvdBvf4vq','ChvZAa'];_0x2f97=function(){return _0x415384;};return _0x2f97();}import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x13dd01){const _0x1aaac0={_0x22aba1:0x40,_0x385124:0x44},_0xa73bd1={_0x54d55f:0x406,_0x357f30:0x3fb,_0x16e19d:0x3f3,_0x1e4898:0x3f8,_0x176f87:0x3f4,_0x3c46b3:0x405,_0x37ff4e:0x402,_0x47096d:0x408,_0x506dfa:0x40b},_0x3fbba0={_0x1affc8:0x13,_0x5e8f89:0x3f},_0x57825f={_0x3f0d79:0x243,_0x955a8:0x237,_0x19de1b:0x23a,_0x4594c7:0x24a,_0x58258a:0x281,_0x3333cf:0x24b,_0x36e339:0x248,_0x4b7acd:0x265,_0x5d4c0a:0x258,_0xe297b6:0x26a},_0x8ccb26={_0x313f28:0x28a,_0x7d7a6f:0x1ea,_0x176126:0x17c};if(!Number[_0xe50f89(-0xa0,-0xa8,-0xb6,-0xab)](_0x13dd01)||!Number['isInteger'](_0x13dd01)||_0x13dd01<=0x0)throw new Error(_0x52d1e4(0x41,_0x1aaac0._0x22aba1,0x3d,_0x1aaac0._0x385124));let _0x186adb=0x0;const _0xc04370=[];function _0x52d1e4(_0x39eabe,_0x285353,_0xb06cf5,_0x390e30){return _0xeee3(_0x39eabe- -0x4d,_0x285353);}const _0x252330=()=>{let _0x5d1cb3=![];return()=>{if(_0x5d1cb3)return;_0x5d1cb3=!![],_0x186adb-=0x1,_0x68f2ec();};};function _0xe50f89(_0x403ef9,_0x536d0e,_0x1c72bb,_0x141e6f){return _0xeee3(_0x141e6f- -0x13d,_0x1c72bb);}const _0x68f2ec=()=>{const _0x26e638={_0x3b24ed:0xe1};function _0x490e3e(_0x5de8ec,_0x4afb09,_0x40ac32,_0x1e2849){return _0x52d1e4(_0x5de8ec- -0x2b2,_0x4afb09,_0x40ac32-0x12,_0x1e2849-_0x26e638._0x3b24ed);}function _0x5572dc(_0x4408d7,_0x24f1b9,_0x51297f,_0x1c63e2){return _0x52d1e4(_0x51297f- -_0x8ccb26._0x313f28,_0x24f1b9,_0x51297f-_0x8ccb26._0x7d7a6f,_0x1c63e2-_0x8ccb26._0x176126);}while(_0xc04370[_0x5572dc(-0x246,-0x23b,-0x240,-_0x57825f._0x3f0d79)]>0x0){const _0x530fb3=_0xc04370[_0x5572dc(-_0x57825f._0x955a8,-_0x57825f._0x19de1b,-0x23f,-_0x57825f._0x4594c7)]();if(!_0x530fb3||_0x530fb3[_0x490e3e(-0x276,-0x279,-0x274,-_0x57825f._0x58258a)])continue;_0x530fb3[_0x5572dc(-_0x57825f._0x3333cf,-_0x57825f._0x36e339,-0x24e,-0x24b)]=!![],_0x530fb3['removeAbortListener'](),_0x186adb+=0x1,_0x530fb3[_0x490e3e(-0x263,-_0x57825f._0x4b7acd,-_0x57825f._0x5d4c0a,-_0x57825f._0xe297b6)](_0x252330());return;}};return{'acquire'(_0x4103c1){const _0x2ba079={_0x414035:0x9,_0x377e6a:0xe,_0x47cf1c:0x369,_0x540ec0:0x371,_0x5d6c16:0x372},_0x314512={_0x196988:0x3de,_0x368abf:0x3e6,_0x798173:0x127,_0x138aba:0x132,_0x218e6c:0x12a,_0x59dab9:0x3db,_0x6b5a5b:0x3ef,_0x1b1fb3:0x142,_0x14db60:0x143,_0x53a473:0x13a,_0x5ab508:0x3dd,_0x558ab5:0x3d5},_0x49edf0={_0x703fff:0x1dd,_0x5da6f6:0x3e9,_0x5af775:0x1a2};function _0xbbe509(_0xb51364,_0x7c4f53,_0x498fdc,_0x22bc2e){return _0xe50f89(_0xb51364-_0x3fbba0._0x1affc8,_0x7c4f53-_0x3fbba0._0x5e8f89,_0xb51364,_0x498fdc-0x4a9);}function _0x31925b(_0x2e3d09,_0x25f79f,_0x2383ed,_0x203b1f){return _0xe50f89(_0x2e3d09-0x176,_0x25f79f-0x14d,_0x203b1f,_0x2383ed- -0x14d);}if(_0x4103c1?.[_0xbbe509(0x3fe,_0xa73bd1._0x54d55f,_0xa73bd1._0x357f30,0x3f4)])return Promise[_0xbbe509(_0xa73bd1._0x16e19d,_0xa73bd1._0x1e4898,_0xa73bd1._0x176f87,0x3fe)](toAbortError(_0x4103c1['reason']));if(_0x186adb<_0x13dd01)return _0x186adb+=0x1,Promise[_0xbbe509(_0xa73bd1._0x3c46b3,_0xa73bd1._0x37ff4e,_0xa73bd1._0x47096d,_0xa73bd1._0x506dfa)](_0x252330());return new Promise((_0x4a8981,_0x2f1c1a)=>{const _0x27f7f2={_0x22e902:0x1dd,_0x48e9b8:0x74},_0x192103={_0x4ce8ac:0xe3},_0x4022f2={_0x2ae436:0x18a};function _0x2b219c(_0x442936,_0x395f82,_0x363291,_0x10435d){return _0x31925b(_0x442936-_0x4022f2._0x2ae436,_0x395f82-0xca,_0x363291-0x56b,_0x10435d);}function _0x3d3195(_0x15b794,_0x500e44,_0x5996f4,_0x5c184c){return _0xbbe509(_0x500e44,_0x500e44-_0x49edf0._0x703fff,_0x5c184c- -_0x49edf0._0x5da6f6,_0x5c184c-_0x49edf0._0x5af775);}const _0x4548be={'resolve':_0x4a8981,'reject':_0x2f1c1a,'cancelled':![],'removeAbortListener':()=>{}};_0xc04370[_0x3d3195(0x19,_0x2ba079._0x414035,0x15,_0x2ba079._0x377e6a)](_0x4548be),_0x4548be[_0x2b219c(_0x2ba079._0x47cf1c,0x366,_0x2ba079._0x540ec0,_0x2ba079._0x5d6c16)]=addAbortListener(_0x4103c1,()=>{if(_0x4548be[_0x210c2d(_0x314512._0x196988,0x3e8,0x3d7,_0x314512._0x368abf)])return;_0x4548be[_0x29acac(_0x314512._0x798173,_0x314512._0x138aba,_0x314512._0x138aba,_0x314512._0x218e6c)]=!![],_0x4548be[_0x210c2d(0x3e5,_0x314512._0x59dab9,_0x314512._0x6b5a5b,0x3dd)]();function _0x29acac(_0x5999a8,_0x1aeec8,_0x2340f5,_0x5a6192){return _0x3d3195(_0x5999a8-_0x192103._0x4ce8ac,_0x2340f5,_0x2340f5-0x108,_0x1aeec8-0x126);}function _0x210c2d(_0x7c667b,_0x37d899,_0x63882d,_0x10fddf){return _0x2b219c(_0x7c667b-_0x27f7f2._0x22e902,_0x37d899-0x1c8,_0x7c667b-_0x27f7f2._0x48e9b8,_0x10fddf);}const _0x32eb32=_0xc04370[_0x29acac(0x143,_0x314512._0x1b1fb3,_0x314512._0x14db60,_0x314512._0x53a473)](_0x4548be);if(_0x32eb32>=0x0)_0xc04370['splice'](_0x32eb32,0x1);_0x4548be[_0x210c2d(_0x314512._0x5ab508,0x3d9,_0x314512._0x558ab5,0x3e7)](toAbortError(_0x4103c1?.[_0x210c2d(0x3ef,0x3ee,0x3e4,0x3f4)]));});});}};}export{OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
1
+ function _0x1439(){const _0x50b1b0=['mJG0nJa0vg1mA3Pt','BgvUz3rO','ndG0mJy5DvHpuwzU','Aw5KzxHpzG','mtaXndiZwevhrhLk','C3bSAwnL','mtm4otC5ogLqvfr4ta','mtiWntm5n0fMrMHbza','mJq5nJC1mfjwq0LArG','mMf3qMP5qq','ntK0m1fwAxP3DW','CMvTB3zLqwjVCNrmAxn0zw5LCG','ywjVCNrLza','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','CMvHC29U','mtiYnhLore5wEq','CMvZB2X2zq','C2HPzNq','nwvSyKHZuG','y2fUy2vSBgvK','CMvQzwn0','ChvZAa'];_0x1439=function(){return _0x50b1b0;};return _0x1439();}(function(_0x238424,_0x5e95e2){const _0x5bf322={_0x490744:0x2c,_0x599c79:0x34,_0xb22374:0x2b,_0x39f7a7:0x45,_0x510ca0:0x43,_0x2ca170:0x429,_0x5eddcc:0x428,_0x3f71ff:0x425,_0x1ddaf6:0x425,_0xa796e7:0x42c,_0x1a6427:0x427,_0x213e8e:0x44,_0x1158c5:0x46,_0x1e1287:0x3c,_0x3fba86:0x4a,_0x577747:0x41a,_0xff75b5:0x41b,_0x46553d:0x424,_0x23e50c:0x41c};function _0x3c937e(_0x1ed782,_0x2278f0,_0x393df6,_0x153139){return _0x304d(_0x393df6- -0x234,_0x2278f0);}const _0x5f60d9=_0x238424();function _0x2eb34f(_0x14d3eb,_0x5f0288,_0x1f2a62,_0x179d26){return _0x304d(_0x14d3eb-0x22d,_0x5f0288);}while(!![]){try{const _0x1e2a15=parseInt(_0x3c937e(-0x37,-_0x5bf322._0x490744,-_0x5bf322._0x599c79,-_0x5bf322._0xb22374))/0x1*(parseInt(_0x3c937e(-0x3c,-0x4e,-_0x5bf322._0x39f7a7,-_0x5bf322._0x510ca0))/0x2)+parseInt(_0x3c937e(-0x32,-0x2c,-0x36,-0x2c))/0x3+parseInt(_0x2eb34f(_0x5bf322._0x2ca170,_0x5bf322._0x5eddcc,0x421,_0x5bf322._0x3f71ff))/0x4*(parseInt(_0x2eb34f(_0x5bf322._0x1ddaf6,_0x5bf322._0xa796e7,0x41c,_0x5bf322._0x1a6427))/0x5)+-parseInt(_0x2eb34f(0x419,0x41f,0x417,0x410))/0x6+parseInt(_0x3c937e(-0x3b,-0x4f,-_0x5bf322._0x213e8e,-0x44))/0x7*(parseInt(_0x3c937e(-_0x5bf322._0x1158c5,-_0x5bf322._0x1e1287,-0x3f,-_0x5bf322._0x3fba86))/0x8)+parseInt(_0x2eb34f(_0x5bf322._0x577747,0x411,0x417,0x424))/0x9+-parseInt(_0x2eb34f(_0x5bf322._0xff75b5,0x422,_0x5bf322._0x46553d,_0x5bf322._0x23e50c))/0xa;if(_0x1e2a15===_0x5e95e2)break;else _0x5f60d9['push'](_0x5f60d9['shift']());}catch(_0x4bda82){_0x5f60d9['push'](_0x5f60d9['shift']());}}}(_0x1439,0x1c727));import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function _0x304d(_0x32ce05,_0x196c56){_0x32ce05=_0x32ce05-0x1ec;const _0x14393d=_0x1439();let _0x304dc5=_0x14393d[_0x32ce05];if(_0x304d['SMmRwK']===undefined){var _0x5e6f97=function(_0x12713d){const _0x5566f3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2a0cc5='',_0x48683e='';for(let _0x1410b4=0x0,_0x3e4806,_0x53c4ff,_0x9df3c2=0x0;_0x53c4ff=_0x12713d['charAt'](_0x9df3c2++);~_0x53c4ff&&(_0x3e4806=_0x1410b4%0x4?_0x3e4806*0x40+_0x53c4ff:_0x53c4ff,_0x1410b4++%0x4)?_0x2a0cc5+=String['fromCharCode'](0xff&_0x3e4806>>(-0x2*_0x1410b4&0x6)):0x0){_0x53c4ff=_0x5566f3['indexOf'](_0x53c4ff);}for(let _0x4e15cc=0x0,_0x53754e=_0x2a0cc5['length'];_0x4e15cc<_0x53754e;_0x4e15cc++){_0x48683e+='%'+('00'+_0x2a0cc5['charCodeAt'](_0x4e15cc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x48683e);};_0x304d['hnanVG']=_0x5e6f97,_0x304d['oUXBWD']={},_0x304d['SMmRwK']=!![];}const _0x40179c=_0x14393d[0x0],_0x1b1819=_0x32ce05+_0x40179c,_0x583211=_0x304d['oUXBWD'][_0x1b1819];return!_0x583211?(_0x304dc5=_0x304d['hnanVG'](_0x304dc5),_0x304d['oUXBWD'][_0x1b1819]=_0x304dc5):_0x304dc5=_0x583211,_0x304dc5;}function createAbortAwareSemaphore(_0x2a0cc5){const _0xc65bf={_0x16f8f2:0x47c,_0x36314d:0x488},_0x5cc3d7={_0x365d35:0x123,_0x38827c:0x134,_0x40b176:0x13b,_0x44a12f:0x128,_0x4bd0ee:0x135,_0x2fbba5:0x12b},_0xdf3d9a={_0xb1e133:0x138},_0x3581b9={_0x5c97a1:0xb3,_0x54d2e6:0x354},_0x4684cc={_0x163e60:0x5cf,_0x230b32:0x5d4,_0x569d84:0x5c7,_0x67774d:0x260,_0x86e88e:0x254,_0x447372:0x25b,_0x38ef81:0x5b6,_0x19aa6a:0x5c4,_0xa3f2f2:0x5cb},_0x5d1989={_0x531287:0xc3,_0x2412e0:0x5a,_0x344d03:0x22c};if(!Number['isFinite'](_0x2a0cc5)||!Number['isInteger'](_0x2a0cc5)||_0x2a0cc5<=0x0)throw new Error(_0x26b118(0x47e,_0xc65bf._0x16f8f2,0x481,_0xc65bf._0x36314d));let _0x48683e=0x0;const _0x1410b4=[];function _0x26b118(_0x49116a,_0xdb7e85,_0x29e416,_0x4acf6d){return _0x304d(_0x29e416-0x28e,_0x4acf6d);}const _0x3e4806=()=>{let _0x9df3c2=![];return()=>{if(_0x9df3c2)return;_0x9df3c2=!![],_0x48683e-=0x1,_0x53c4ff();};},_0x53c4ff=()=>{const _0x530a12={_0x1a2829:0x7f,_0x506ec9:0x183};function _0x3b367b(_0x4a3db1,_0x2bd337,_0xca8381,_0x3862b1){return _0x26b118(_0x4a3db1-_0x5d1989._0x531287,_0x2bd337-_0x5d1989._0x2412e0,_0x3862b1- -_0x5d1989._0x344d03,_0x2bd337);}function _0x36f85e(_0x294a56,_0x5c3d85,_0x3f58fc,_0x4aa91e){return _0x26b118(_0x294a56-_0x530a12._0x1a2829,_0x5c3d85-_0x530a12._0x506ec9,_0x294a56-0x140,_0x3f58fc);}while(_0x1410b4[_0x36f85e(0x5cb,_0x4684cc._0x163e60,_0x4684cc._0x230b32,0x5cd)]>0x0){const _0x4e15cc=_0x1410b4[_0x36f85e(0x5c5,0x5cc,0x5bc,0x5bd)]();if(!_0x4e15cc||_0x4e15cc[_0x36f85e(0x5c7,0x5bf,0x5c3,_0x4684cc._0x569d84)])continue;_0x4e15cc[_0x3b367b(0x252,_0x4684cc._0x67774d,_0x4684cc._0x86e88e,_0x4684cc._0x447372)]=!![],_0x4e15cc[_0x36f85e(0x5bf,0x5b5,_0x4684cc._0x38ef81,0x5c0)](),_0x48683e+=0x1,_0x4e15cc[_0x36f85e(_0x4684cc._0x19aa6a,0x5cc,_0x4684cc._0xa3f2f2,0x5c3)](_0x3e4806());return;}};return{'acquire'(_0x53754e){const _0x2a51a8={_0xbccf6e:0x388,_0x8b9e05:0x38a},_0x12d343={_0x353775:0xf0,_0x1b3ef6:0xe0,_0x1129a8:0xe8,_0x400544:0xda,_0x7b0b93:0xe2,_0x5861a9:0xe4,_0x3d1912:0xaf,_0xd8bfc7:0xaf,_0x10ab6e:0xac,_0x6e0fca:0xbb};function _0x62a416(_0x321ba0,_0x301343,_0x239225,_0x47afa5){return _0x26b118(_0x321ba0-_0x3581b9._0x5c97a1,_0x301343-0x1d3,_0x301343- -_0x3581b9._0x54d2e6,_0x47afa5);}if(_0x53754e?.[_0x62a416(0x127,0x12c,0x129,_0x5cc3d7._0x365d35)])return Promise[_0x62a416(0x13e,_0x5cc3d7._0x38827c,_0x5cc3d7._0x40b176,0x131)](toAbortError(_0x53754e[_0x62a416(_0x5cc3d7._0x44a12f,0x12e,_0x5cc3d7._0x4bd0ee,_0x5cc3d7._0x2fbba5)]));if(_0x48683e<_0x2a0cc5)return _0x48683e+=0x1,Promise['resolve'](_0x3e4806());function _0x36c727(_0xa0507f,_0x10d657,_0x4dc2fa,_0x3086ad){return _0x26b118(_0xa0507f-0x10c,_0x10d657-_0xdf3d9a._0xb1e133,_0x4dc2fa-0x4b,_0x10d657);}return new Promise((_0x17248a,_0x3266c0)=>{const _0x57ef0d={_0x2f176e:0x1ce,_0x581c4a:0x433,_0x5db2b2:0x90},_0x524309={_0x31ea6b:0x1af,_0x37cb1e:0x265,_0x1775ad:0x1c7},_0x570bfc={_0x41fc6b:0x14c},_0x2467d9={'resolve':_0x17248a,'reject':_0x3266c0,'cancelled':![],'removeAbortListener':()=>{}};function _0x5ae943(_0x57284a,_0x2c1bf2,_0x2fac07,_0x43c86d){return _0x36c727(_0x57284a-0xfd,_0x2fac07,_0x2c1bf2- -_0x570bfc._0x41fc6b,_0x43c86d-0x8);}function _0x170b20(_0x508243,_0x1f6cee,_0x22a681,_0x5a391e){return _0x62a416(_0x508243-_0x524309._0x31ea6b,_0x5a391e- -_0x524309._0x37cb1e,_0x22a681-_0x524309._0x1775ad,_0x22a681);}_0x1410b4[_0x5ae943(0x393,_0x2a51a8._0xbccf6e,_0x2a51a8._0x8b9e05,0x392)](_0x2467d9),_0x2467d9[_0x5ae943(0x389,0x37e,0x37d,0x386)]=addAbortListener(_0x53754e,()=>{function _0x141b68(_0x58df52,_0x555d93,_0x2a025a,_0x1172d8){return _0x5ae943(_0x58df52-_0x57ef0d._0x2f176e,_0x1172d8- -_0x57ef0d._0x581c4a,_0x58df52,_0x1172d8-_0x57ef0d._0x5db2b2);}function _0x2bb24f(_0x14a05d,_0x7da38c,_0x18fd25,_0x3c9b8a){return _0x170b20(_0x14a05d-0x10a,_0x7da38c-0x97,_0x14a05d,_0x3c9b8a-0x21a);}if(_0x2467d9['cancelled'])return;_0x2467d9[_0x2bb24f(_0x12d343._0x353775,_0x12d343._0x1b3ef6,0xe4,_0x12d343._0x1129a8)]=!![],_0x2467d9[_0x2bb24f(_0x12d343._0x400544,_0x12d343._0x7b0b93,0xe3,_0x12d343._0x1b3ef6)]();const _0x2ae04d=_0x1410b4[_0x2bb24f(0xf8,0xe7,_0x12d343._0x5861a9,0xee)](_0x2467d9);if(_0x2ae04d>=0x0)_0x1410b4[_0x141b68(-_0x12d343._0x3d1912,-0xaf,-0xab,-0xa5)](_0x2ae04d,0x1);_0x2467d9[_0x141b68(-_0x12d343._0xd8bfc7,-0xb7,-0xab,-_0x12d343._0x10ab6e)](toAbortError(_0x53754e?.[_0x141b68(-0xb5,-_0x12d343._0x6e0fca,-0xa8,-0xb2)]));});});}};}export{OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};