@nuvin/agent-core 0.3.1-rc.0 → 0.3.1-rc.2

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 _0x50af(_0x3ce586,_0x3cd584){_0x3ce586=_0x3ce586-0x1f0;const _0x37c9e0=_0x37c9();let _0x50afa3=_0x37c9e0[_0x3ce586];if(_0x50af['hwDbWx']===undefined){var _0x4e80a0=function(_0x1c112d){const _0x415317='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2bd7a4='',_0x4e556d='';for(let _0xb6b8c1=0x0,_0x4f46f9,_0x128843,_0x12fed2=0x0;_0x128843=_0x1c112d['charAt'](_0x12fed2++);~_0x128843&&(_0x4f46f9=_0xb6b8c1%0x4?_0x4f46f9*0x40+_0x128843:_0x128843,_0xb6b8c1++%0x4)?_0x2bd7a4+=String['fromCharCode'](0xff&_0x4f46f9>>(-0x2*_0xb6b8c1&0x6)):0x0){_0x128843=_0x415317['indexOf'](_0x128843);}for(let _0x3c533f=0x0,_0x4ff21c=_0x2bd7a4['length'];_0x3c533f<_0x4ff21c;_0x3c533f++){_0x4e556d+='%'+('00'+_0x2bd7a4['charCodeAt'](_0x3c533f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4e556d);};_0x50af['EzJzjI']=_0x4e80a0,_0x50af['WFizVn']={},_0x50af['hwDbWx']=!![];}const _0x1d12b9=_0x37c9e0[0x0],_0x8c5491=_0x3ce586+_0x1d12b9,_0x86acf4=_0x50af['WFizVn'][_0x8c5491];return!_0x86acf4?(_0x50afa3=_0x50af['EzJzjI'](_0x50afa3),_0x50af['WFizVn'][_0x8c5491]=_0x50afa3):_0x50afa3=_0x86acf4,_0x50afa3;}(function(_0xae4d09,_0x148c44){const _0x13232c={_0x16dc76:0x1e0,_0x14b55c:0x1e9,_0x4ab514:0x1e6,_0x5ba978:0x1dc,_0x23ae68:0x402,_0x2efb31:0x3f1,_0x3545a3:0x3fe,_0xa13b8a:0x1e7,_0x234eb8:0x3f8,_0x4af472:0x3fc,_0x20da57:0x401,_0x597685:0x1e3,_0x1d1a39:0x1f9,_0x126096:0x1ef,_0x1118d7:0x1e3,_0x1159ae:0x1e5,_0x4bdf9c:0x1ee,_0x1891f8:0x1d8},_0x1e2224={_0x504d3f:0x204},_0x1ba525={_0x4c5f67:0x3e3};function _0x53bf5e(_0x3538ee,_0x47008e,_0x5ea175,_0x2cf421){return _0x50af(_0x5ea175- -_0x1ba525._0x4c5f67,_0x47008e);}const _0x127cc4=_0xae4d09();function _0x1c081d(_0x5978f3,_0x48c536,_0x16e769,_0x53674e){return _0x50af(_0x53674e-_0x1e2224._0x504d3f,_0x5978f3);}while(!![]){try{const _0x12770a=-parseInt(_0x53bf5e(-0x1eb,-_0x13232c._0x16dc76,-_0x13232c._0x14b55c,-0x1de))/0x1+-parseInt(_0x53bf5e(-_0x13232c._0x16dc76,-_0x13232c._0x4ab514,-_0x13232c._0x5ba978,-0x1db))/0x2+-parseInt(_0x1c081d(0x406,0x40d,0x401,_0x13232c._0x23ae68))/0x3*(-parseInt(_0x1c081d(0x3f4,_0x13232c._0x2efb31,_0x13232c._0x3545a3,0x3fa))/0x4)+parseInt(_0x53bf5e(-0x1db,-0x1e5,-_0x13232c._0xa13b8a,-0x1e6))/0x5*(parseInt(_0x53bf5e(-0x1dd,-0x1d5,-_0x13232c._0x16dc76,-0x1e6))/0x6)+-parseInt(_0x1c081d(_0x13232c._0x234eb8,_0x13232c._0x4af472,0x3fe,_0x13232c._0x20da57))/0x7+parseInt(_0x53bf5e(-_0x13232c._0x597685,-_0x13232c._0x1d1a39,-_0x13232c._0x126096,-_0x13232c._0x1118d7))/0x8+parseInt(_0x53bf5e(-_0x13232c._0x1159ae,-0x1e4,-_0x13232c._0x4bdf9c,-0x1e5))/0x9*(parseInt(_0x53bf5e(-0x1ea,-0x1ef,-0x1e4,-_0x13232c._0x1891f8))/0xa);if(_0x12770a===_0x148c44)break;else _0x127cc4['push'](_0x127cc4['shift']());}catch(_0x3537ca){_0x127cc4['push'](_0x127cc4['shift']());}}}(_0x37c9,0x7e798));function _0x42be2b(_0x33e59c,_0x40497f,_0x37d311,_0x1b37cb){const _0x32d2d8={_0x52fff9:0x307};return _0x50af(_0x40497f-_0x32d2d8._0x52fff9,_0x33e59c);}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 createAbortAwareSemaphore(_0x2bd7a4){const _0x16d53f={_0x2f46bf:0x278,_0x54e0b3:0x280,_0xcb4ae5:0x286},_0x3fea62={_0x3b44a4:0x12a,_0x4adab4:0x12e,_0x12ef14:0x123,_0x213733:0x4f6,_0x4b9cd5:0x4fe,_0x397195:0x504,_0x1949f8:0x509,_0xf694d1:0x503},_0x3440ee={_0x2ccfe9:0x2a9,_0x19d4ce:0x2a4,_0x458633:0x3e0,_0x39a70b:0x3cf},_0x33c625={_0x308ccd:0x93},_0x26b229={_0x2943d6:0x8e},_0x4b894e={_0x291f6c:0x173,_0x480786:0x16c,_0x11c5e3:0xfe,_0x5bad88:0xf6,_0x4419ab:0x178,_0x2c2fb8:0x177,_0x5291a6:0x17f,_0x4e9bf1:0x17a,_0x23ff4c:0x16d},_0x4bda25={_0x1f7362:0x11b,_0x57d80b:0x1a5,_0x46e1d8:0x91};if(!Number[_0x2d92e6(0x27e,0x275,_0x16d53f._0x2f46bf,_0x16d53f._0x54e0b3)](_0x2bd7a4)||!Number['isInteger'](_0x2bd7a4)||_0x2bd7a4<=0x0)throw new Error(_0x2d92e6(0x284,_0x16d53f._0xcb4ae5,0x287,0x289));let _0x4e556d=0x0;const _0xb6b8c1=[],_0x4f46f9=()=>{let _0x3c533f=![];return()=>{if(_0x3c533f)return;_0x3c533f=!![],_0x4e556d-=0x1,_0x128843();};},_0x128843=()=>{const _0x45f3d7={_0x2eb4bd:0x9f,_0x97ecf1:0x3ff};function _0x10d616(_0xcdf12d,_0x4c427d,_0x4386cb,_0x4d2f0f){return _0x2d92e6(_0xcdf12d-_0x45f3d7._0x2eb4bd,_0x4386cb,_0x4386cb-0x106,_0xcdf12d- -_0x45f3d7._0x97ecf1);}function _0x575852(_0x1543d0,_0x10e053,_0x1f18be,_0x18ace3){return _0x34a5ab(_0x1543d0- -_0x4bda25._0x1f7362,_0x10e053-_0x4bda25._0x57d80b,_0x1f18be-_0x4bda25._0x46e1d8,_0x10e053);}while(_0xb6b8c1['length']>0x0){const _0x4ff21c=_0xb6b8c1[_0x10d616(-0x170,-_0x4b894e._0x291f6c,-_0x4b894e._0x480786,-0x179)]();if(!_0x4ff21c||_0x4ff21c[_0x575852(0xfd,_0x4b894e._0x11c5e3,_0x4b894e._0x5bad88,0xfd)])continue;_0x4ff21c[_0x10d616(-_0x4b894e._0x4419ab,-0x17d,-_0x4b894e._0x2c2fb8,-_0x4b894e._0x5291a6)]=!![],_0x4ff21c['removeAbortListener'](),_0x4e556d+=0x1,_0x4ff21c[_0x10d616(-0x16f,-0x168,-_0x4b894e._0x4e9bf1,-_0x4b894e._0x23ff4c)](_0x4f46f9());return;}};function _0x2d92e6(_0x8f3115,_0x5994f9,_0x5a3720,_0x118382){return _0x50af(_0x118382-_0x26b229._0x2943d6,_0x5994f9);}const _0x12fed2=()=>{if(_0x4e556d>=_0x2bd7a4)return void 0x0;return _0x4e556d+=0x1,_0x4f46f9();};function _0x34a5ab(_0x71f690,_0x3ec9e7,_0x258629,_0x3ee03f){return _0x50af(_0x71f690-0x1f,_0x3ee03f);}return{'tryAcquire':_0x12fed2,'acquire'(_0x1452b2){const _0xabf86b={_0x345fe3:0x2e8};if(_0x1452b2?.[_0x3a9ad1(-_0x3fea62._0x3b44a4,-_0x3fea62._0x4adab4,-0x118,-_0x3fea62._0x12ef14)])return Promise['reject'](toAbortError(_0x1452b2[_0x404668(0x507,_0x3fea62._0x213733,_0x3fea62._0x4b9cd5,0x508)]));function _0x3a9ad1(_0x51a695,_0x395b71,_0xbb743d,_0x43aa2a){return _0x2d92e6(_0x51a695-0x23,_0xbb743d,_0xbb743d-_0x33c625._0x308ccd,_0x43aa2a- -0x3b5);}function _0x404668(_0x109fa3,_0x4f1276,_0x457330,_0x4f6f5a){return _0x34a5ab(_0x457330-_0xabf86b._0x345fe3,_0x4f1276-0x9,_0x457330-0x19a,_0x109fa3);}const _0x5981b7=_0x12fed2();if(_0x5981b7!==void 0x0)return Promise[_0x404668(_0x3fea62._0x397195,0x512,_0x3fea62._0x1949f8,_0x3fea62._0xf694d1)](_0x5981b7);return new Promise((_0x51ede5,_0x9506b1)=>{const _0x4f1866={_0x4c668e:0x106,_0x50ea37:0x2a6,_0x46bad4:0x2a3,_0x4a9d42:0x11f,_0x6809fb:0x297,_0x25182d:0x2a4},_0x24f9dd={_0x995699:0x3bd,_0x214044:0x13b},_0x145f93={_0x3aebce:0x108,_0x2ca7b5:0x13,_0x528f10:0x4f8},_0x16fd06={'resolve':_0x51ede5,'reject':_0x9506b1,'cancelled':![],'removeAbortListener':()=>{}};function _0x231f54(_0x195953,_0x4609be,_0x4dae80,_0x1df849){return _0x3a9ad1(_0x195953-_0x145f93._0x3aebce,_0x4609be-_0x145f93._0x2ca7b5,_0x195953,_0x4609be-_0x145f93._0x528f10);}function _0x557a33(_0x38e992,_0x35094e,_0x3de1b3,_0xf8842e){return _0x404668(_0x38e992,_0x35094e-0x86,_0x3de1b3- -0x259,_0xf8842e-0xb5);}_0xb6b8c1[_0x557a33(_0x3440ee._0x2ccfe9,0x29b,0x2a6,_0x3440ee._0x19d4ce)](_0x16fd06),_0x16fd06[_0x231f54(_0x3440ee._0x458633,0x3d6,_0x3440ee._0x39a70b,0x3d1)]=addAbortListener(_0x1452b2,()=>{function _0x6af277(_0x5c48b5,_0x309141,_0x2b6848,_0x595afb){return _0x557a33(_0x5c48b5,_0x309141-0xe5,_0x309141- -_0x24f9dd._0x995699,_0x595afb-_0x24f9dd._0x214044);}if(_0x16fd06['cancelled'])return;_0x16fd06['cancelled']=!![],_0x16fd06[_0x6af277(-_0x4f1866._0x4c668e,-0x10a,-0x101,-0x101)]();const _0x5520a5=_0xb6b8c1['indexOf'](_0x16fd06);if(_0x5520a5>=0x0)_0xb6b8c1[_0x5f0dd3(_0x4f1866._0x50ea37,_0x4f1866._0x46bad4,0x2aa,0x2b5)](_0x5520a5,0x1);function _0x5f0dd3(_0x41d507,_0x580485,_0xe4115a,_0x21c3b6){return _0x557a33(_0x580485,_0x580485-0xc0,_0xe4115a- -0xa,_0x21c3b6-0x113);}_0x16fd06[_0x6af277(-0x124,-0x11f,-0x119,-_0x4f1866._0x4a9d42)](toAbortError(_0x1452b2?.[_0x5f0dd3(_0x4f1866._0x6809fb,_0x4f1866._0x25182d,0x29b,0x291)]));});});}};}var MESSAGE_ROLES=[_0x59eb56(0x435,0x441,0x447,0x43a),_0x42be2b(0x4fa,0x4fa,0x4f9,0x4f5)];function _0x59eb56(_0x18c4e5,_0x20ee3c,_0x2dcff0,_0xd00411){const _0x168cbf={_0x5d3e75:0x250};return _0x50af(_0x20ee3c-_0x168cbf._0x5d3e75,_0x18c4e5);}function _0x37c9(){const _0x58a9d2=['mtiYnZzbB1rVAvK','CMvHC29U','ChvZAa','y2fUy2vSBgvK','nZmWnda4ywTUAevA','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','mJbKBu9iwgC','ndu0mZG4oujrq2n5yW','mtuZvKzorMfJ','mtK3mtK1mZbXEeTluMS','zNjLzxPL','C2HPzNq','CMvZB2X2zq','nda5mZHcANDUveK','ywjVCNrLza','CMvTB3zLqwjVCNrmAxn0zw5LCG','C3bSAwnL','mtGWnJmZogzMDgnivG','CMvQzwn0','yxnZAxn0yw50','AxngAw5PDgu','DxnLCG','nte1otG0mhPOwhjhqW','oxvLAfrLDG'];_0x37c9=function(){return _0x58a9d2;};return _0x37c9();}Object[_0x59eb56(0x452,0x450,0x453,0x452)](MESSAGE_ROLES);export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
1
+ (function(_0x3f3dc2,_0x2b1fee){const _0x32df5c={_0x1d46d5:0x1c3,_0x5aa4da:0x1c6,_0x17a06f:0x1d6,_0xb9e1db:0x1cc,_0x1f5282:0x1d2,_0x3d2f6e:0x1ca,_0x4401cb:0x169,_0x51e034:0x15f,_0x2d42c3:0x15a,_0x397569:0x174,_0x3aecf9:0x1ce,_0x5bc1a3:0x15b,_0x21d2f1:0x160,_0x2fbe98:0x16a,_0x345354:0x173,_0x5e05bd:0x1cd,_0x2a679d:0x1c8,_0xe4bc21:0x1c2,_0x150a37:0x1af},_0x7cbece={_0x21ebe2:0x31},_0x9903d0={_0x4151a2:0x30};function _0x344f09(_0x1b3f67,_0x45e4e2,_0x1faf92,_0x35e830){return _0x26dd(_0x1faf92- -_0x9903d0._0x4151a2,_0x35e830);}function _0x502ee5(_0x3081ef,_0x2c35c3,_0x484a27,_0x5e0ddb){return _0x26dd(_0x2c35c3-_0x7cbece._0x21ebe2,_0x484a27);}const _0x3efb74=_0x3f3dc2();while(!![]){try{const _0x4bfc8b=-parseInt(_0x502ee5(0x1c1,0x1c2,_0x32df5c._0x1d46d5,_0x32df5c._0x5aa4da))/0x1*(parseInt(_0x502ee5(_0x32df5c._0x17a06f,_0x32df5c._0xb9e1db,_0x32df5c._0x1f5282,0x1ca))/0x2)+-parseInt(_0x502ee5(0x1c1,0x1be,_0x32df5c._0x3d2f6e,0x1b2))/0x3+-parseInt(_0x344f09(_0x32df5c._0x4401cb,_0x32df5c._0x51e034,0x162,_0x32df5c._0x2d42c3))/0x4+-parseInt(_0x344f09(_0x32df5c._0x397569,0x174,0x171,0x16d))/0x5*(parseInt(_0x502ee5(0x1d3,0x1cf,_0x32df5c._0x17a06f,_0x32df5c._0x3aecf9))/0x6)+-parseInt(_0x344f09(_0x32df5c._0x5bc1a3,_0x32df5c._0x5bc1a3,_0x32df5c._0x21d2f1,_0x32df5c._0x5bc1a3))/0x7+parseInt(_0x344f09(0x163,_0x32df5c._0x2fbe98,0x167,_0x32df5c._0x345354))/0x8*(parseInt(_0x502ee5(0x1c4,_0x32df5c._0x5e05bd,_0x32df5c._0x2a679d,_0x32df5c._0x5e05bd))/0x9)+parseInt(_0x344f09(0x16c,0x16a,0x16a,0x16d))/0xa*(parseInt(_0x502ee5(0x1bf,0x1bb,_0x32df5c._0xe4bc21,_0x32df5c._0x150a37))/0xb);if(_0x4bfc8b===_0x2b1fee)break;else _0x3efb74['push'](_0x3efb74['shift']());}catch(_0x1adbfd){_0x3efb74['push'](_0x3efb74['shift']());}}}(_0x4f45,0xcdbeb));import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';function _0x4f45(){const _0x2492b3=['mtK0odu1nMX5q1zLvG','DxnLCG','yxnZAxn0yw50','BgvUz3rO','AxngAw5PDgu','oezmtLj2yW','CMvTB3zLqwjVCNrmAxn0zw5LCG','y2fUy2vSBgvK','mtb0zMfgAgK','nJeWELP3AMTU','mZaXmtCWnNzgrM9Tva','CMvZB2X2zq','nKzjCenSAq','C3bSAwnL','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','mZq1nJC1nxDUzffssW','ndy4mtiWmdDYsLf1wwO','CMvQzwn0','CMvHC29U','ndGXmdm5nuTiC2zPzW','Aw5KzxHpzG','ywjVCNrLza','mJi5mJy3nxjYwMLiwa','mJa5mLz5AhzRyG'];_0x4f45=function(){return _0x2492b3;};return _0x4f45();}function _0x43062f(_0xdabb73,_0x340ec5,_0x45a228,_0x3846c1){const _0x52e970={_0x127601:0xdc};return _0x26dd(_0x3846c1- -_0x52e970._0x127601,_0x340ec5);}import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x40402b){const _0x1b36e3={_0x269742:0xb3,_0x3869df:0xad,_0x2d2560:0xa4,_0x16a7d1:0xa3,_0x1bea64:0x9d},_0x4dafb6={_0x49100e:0x242,_0x500458:0x23e},_0x156b2a={_0x5a18e4:0x168,_0x1e8d94:0x10d},_0x551796={_0x362cc0:0x57,_0x4b811c:0x55,_0x3aea24:0x61,_0x8531d3:0x66,_0x39722b:0x5a,_0x20b2a3:0x5b,_0x4d88c0:0x52,_0x364656:0x56,_0x186525:0x61},_0x3c1550={_0x2e6652:0x1f1,_0x21d2d6:0x50},_0x25ec9f={_0x256843:0x7f,_0x2e0eb2:0x45};if(!Number[_0x16950f(-_0x1b36e3._0x269742,-0xb1,-_0x1b36e3._0x3869df,-0xa1)](_0x40402b)||!Number['isInteger'](_0x40402b)||_0x40402b<=0x0)throw new Error(_0x16950f(-0xab,-_0x1b36e3._0x2d2560,-_0x1b36e3._0x16a7d1,-_0x1b36e3._0x1bea64));let _0x2326cc=0x0;const _0xddd9ed=[];function _0x1d3b3f(_0x2999bf,_0x528cd9,_0x52c131,_0x339324){return _0x26dd(_0x339324- -0x348,_0x2999bf);}const _0x3d4f15=()=>{let _0x1536fb=![];return()=>{if(_0x1536fb)return;_0x1536fb=!![],_0x2326cc-=0x1,_0x469068();};},_0x469068=()=>{function _0x48ea57(_0x57b895,_0x49802c,_0x42c258,_0x453e8b){return _0x16950f(_0x57b895,_0x49802c-_0x25ec9f._0x256843,_0x42c258-0x15a,_0x453e8b-_0x25ec9f._0x2e0eb2);}function _0x6c1a7(_0x28f6dc,_0x37eb2c,_0x534037,_0xfb5a8){return _0x16950f(_0x534037,_0x37eb2c-_0x3c1550._0x2e6652,_0x37eb2c-_0x3c1550._0x21d2d6,_0xfb5a8-0x127);}while(_0xddd9ed[_0x6c1a7(-0x62,-0x5e,-_0x551796._0x362cc0,-_0x551796._0x4b811c)]>0x0){const _0x4c2418=_0xddd9ed['shift']();if(!_0x4c2418||_0x4c2418[_0x6c1a7(-_0x551796._0x3aea24,-0x5a,-0x5a,-_0x551796._0x8531d3)])continue;_0x4c2418[_0x6c1a7(-0x50,-_0x551796._0x39722b,-0x65,-_0x551796._0x4b811c)]=!![],_0x4c2418[_0x6c1a7(-0x57,-_0x551796._0x20b2a3,-_0x551796._0x4d88c0,-_0x551796._0x39722b)](),_0x2326cc+=0x1,_0x4c2418[_0x6c1a7(-0x56,-_0x551796._0x364656,-_0x551796._0x186525,-0x50)](_0x3d4f15());return;}};function _0x16950f(_0xd4c709,_0x282766,_0x34f732,_0xebf102){return _0x26dd(_0x34f732- -0x243,_0xd4c709);}const _0x4be7a=()=>{if(_0x2326cc>=_0x40402b)return void 0x0;return _0x2326cc+=0x1,_0x3d4f15();};return{'tryAcquire':_0x4be7a,'acquire'(_0x5183d4){const _0x5a7cbe={_0x327916:0x109,_0x27ae18:0xf8,_0x3cc9de:0x108,_0x31eca0:0x103,_0x5994c2:0x111,_0x13aee7:0xf9,_0x5c7f29:0xfa,_0x5781c4:0xfd,_0x57026c:0xfb,_0x52523d:0x2ad,_0x34440d:0x2b3},_0x356804={_0x5df42a:0x1e,_0x83d871:0x30};function _0x30fae4(_0x3c5b6d,_0x4eaa89,_0x57d279,_0x421230){return _0x16950f(_0x57d279,_0x4eaa89-_0x356804._0x5df42a,_0x421230- -0x18e,_0x421230-_0x356804._0x83d871);}if(_0x5183d4?.[_0x30fae4(-0x24d,-0x23c,-0x246,-_0x4dafb6._0x49100e)])return Promise['reject'](toAbortError(_0x5183d4[_0x30fae4(-0x24f,-_0x4dafb6._0x500458,-0x24d,-0x245)]));const _0x595e27=_0x4be7a();if(_0x595e27!==void 0x0)return Promise['resolve'](_0x595e27);function _0x4e44c9(_0xad30f9,_0x1bf98d,_0x47d923,_0x141571){return _0x16950f(_0x47d923,_0x1bf98d-_0x156b2a._0x5a18e4,_0x141571- -0x72,_0x141571-_0x156b2a._0x1e8d94);}return new Promise((_0x49f22a,_0x3030e6)=>{const _0x3d3bcf={'resolve':_0x49f22a,'reject':_0x3030e6,'cancelled':![],'removeAbortListener':()=>{}};_0xddd9ed['push'](_0x3d3bcf),_0x3d3bcf['removeAbortListener']=addAbortListener(_0x5183d4,()=>{const _0x21beb0={_0x248f5f:0x29c};if(_0x3d3bcf[_0x242678(-0xff,-_0x5a7cbe._0x327916,-0x103,-_0x5a7cbe._0x27ae18)])return;_0x3d3bcf[_0x242678(-0xfe,-_0x5a7cbe._0x3cc9de,-_0x5a7cbe._0x31eca0,-0x10e)]=!![],_0x3d3bcf['removeAbortListener']();const _0x5d112a=_0xddd9ed[_0x242678(-_0x5a7cbe._0x5994c2,-0x10a,-0x10e,-0x103)](_0x3d3bcf);if(_0x5d112a>=0x0)_0xddd9ed[_0x242678(-_0x5a7cbe._0x13aee7,-_0x5a7cbe._0x5c7f29,-_0x5a7cbe._0x5781c4,-_0x5a7cbe._0x57026c)](_0x5d112a,0x1);function _0x46623b(_0x5b6ac8,_0x1be020,_0x57547d,_0xb5908f){return _0x26dd(_0xb5908f-0x128,_0x5b6ac8);}function _0x242678(_0x3c8bd9,_0x38a51b,_0x53bd3e,_0x28fa02){return _0x26dd(_0x53bd3e- -_0x21beb0._0x248f5f,_0x28fa02);}_0x3d3bcf[_0x46623b(0x2b8,_0x5a7cbe._0x52523d,0x2b9,_0x5a7cbe._0x34440d)](toAbortError(_0x5183d4?.['reason']));});});}};}function _0x26dd(_0x5f4d05,_0x4d7b23){_0x5f4d05=_0x5f4d05-0x18a;const _0x4f45fa=_0x4f45();let _0x26dd0d=_0x4f45fa[_0x5f4d05];if(_0x26dd['VZKJrs']===undefined){var _0x45fd4d=function(_0x304a2b){const _0x5b2713='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x40402b='',_0x2326cc='';for(let _0xddd9ed=0x0,_0x3d4f15,_0x469068,_0x4be7a=0x0;_0x469068=_0x304a2b['charAt'](_0x4be7a++);~_0x469068&&(_0x3d4f15=_0xddd9ed%0x4?_0x3d4f15*0x40+_0x469068:_0x469068,_0xddd9ed++%0x4)?_0x40402b+=String['fromCharCode'](0xff&_0x3d4f15>>(-0x2*_0xddd9ed&0x6)):0x0){_0x469068=_0x5b2713['indexOf'](_0x469068);}for(let _0x1536fb=0x0,_0x4c2418=_0x40402b['length'];_0x1536fb<_0x4c2418;_0x1536fb++){_0x2326cc+='%'+('00'+_0x40402b['charCodeAt'](_0x1536fb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2326cc);};_0x26dd['eFcrGT']=_0x45fd4d,_0x26dd['QUDOLx']={},_0x26dd['VZKJrs']=!![];}const _0x4009e6=_0x4f45fa[0x0],_0x5918ed=_0x5f4d05+_0x4009e6,_0x2d1ae0=_0x26dd['QUDOLx'][_0x5918ed];return!_0x2d1ae0?(_0x26dd0d=_0x26dd['eFcrGT'](_0x26dd0d),_0x26dd['QUDOLx'][_0x5918ed]=_0x26dd0d):_0x26dd0d=_0x2d1ae0,_0x26dd0d;}var MESSAGE_ROLES=[_0x43062f(0xb4,0xc2,0xb1,0xb8),_0x4dc2c6(0xc6,0xce,0xcb,0xcc)];Object['freeze'](MESSAGE_ROLES);function _0x4dc2c6(_0x592679,_0x1c92e9,_0x1dfd5a,_0x833d61){return _0x26dd(_0x592679- -0xcd,_0x1c92e9);}export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};