@nuvin/agent-core 0.2.1-rc.0 → 0.2.1-rc.1

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(_0x45ee2c,_0x40c871){const _0x5787e5={_0x4536e3:0x93,_0x57d7fa:0x8c,_0x1bda82:0x8e,_0x3eb329:0x132,_0x1d04e4:0x137,_0x56194c:0x123,_0x27cd4c:0x128,_0x2a069d:0x8b,_0x1b164e:0x81,_0x33be00:0xa4,_0x66b051:0xa0,_0x2fed76:0x93,_0x7c9b45:0x8a,_0xdbc76f:0x93,_0x39853a:0x8c,_0x4f8226:0x97,_0x68a4ae:0x9c,_0x3c5458:0x9e},_0x17fc51={_0x4d698d:0x269},_0x5d8e3c={_0x37004b:0xac};function _0x1dde13(_0xbec3da,_0x185a74,_0x263664,_0x193858){return _0x45b9(_0xbec3da- -_0x5d8e3c._0x37004b,_0x185a74);}function _0x45b28a(_0x114e2b,_0x20ffb6,_0x2932de,_0xd83d18){return _0x45b9(_0x2932de- -_0x17fc51._0x4d698d,_0x20ffb6);}const _0x3c3366=_0x45ee2c();while(!![]){try{const _0x1843be=parseInt(_0x1dde13(0x91,0x89,_0x5787e5._0x4536e3,_0x5787e5._0x57d7fa))/0x1+parseInt(_0x1dde13(_0x5787e5._0x1bda82,0x89,0x99,0x8d))/0x2*(-parseInt(_0x45b28a(-_0x5787e5._0x3eb329,-_0x5787e5._0x1d04e4,-0x133,-_0x5787e5._0x3eb329))/0x3)+-parseInt(_0x45b28a(-0x131,-_0x5787e5._0x56194c,-0x128,-_0x5787e5._0x27cd4c))/0x4*(-parseInt(_0x1dde13(0x90,0x89,0x86,0x9a))/0x5)+-parseInt(_0x1dde13(_0x5787e5._0x2a069d,0x80,0x94,_0x5787e5._0x1b164e))/0x6*(-parseInt(_0x1dde13(0x9a,_0x5787e5._0x33be00,_0x5787e5._0x66b051,0x94))/0x7)+-parseInt(_0x1dde13(_0x5787e5._0x2fed76,_0x5787e5._0x7c9b45,_0x5787e5._0xdbc76f,_0x5787e5._0x39853a))/0x8+parseInt(_0x1dde13(_0x5787e5._0x4f8226,0x90,0x8e,_0x5787e5._0x68a4ae))/0x9+parseInt(_0x1dde13(_0x5787e5._0x3c5458,0xa8,0x99,0xa6))/0xa;if(_0x1843be===_0x40c871)break;else _0x3c3366['push'](_0x3c3366['shift']());}catch(_0x2661d5){_0x3c3366['push'](_0x3c3366['shift']());}}}(_0x49bd,0xde725));function _0x45b9(_0x32c384,_0x248ca0){_0x32c384=_0x32c384-0x136;const _0x49bdba=_0x49bd();let _0x45b960=_0x49bdba[_0x32c384];if(_0x45b9['WdirdP']===undefined){var _0x2a8a68=function(_0x49e0fe){const _0x2879b9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a1b31='',_0x1a1107='';for(let _0xde12c8=0x0,_0x3b64e7,_0x2c3105,_0xbeacd6=0x0;_0x2c3105=_0x49e0fe['charAt'](_0xbeacd6++);~_0x2c3105&&(_0x3b64e7=_0xde12c8%0x4?_0x3b64e7*0x40+_0x2c3105:_0x2c3105,_0xde12c8++%0x4)?_0x4a1b31+=String['fromCharCode'](0xff&_0x3b64e7>>(-0x2*_0xde12c8&0x6)):0x0){_0x2c3105=_0x2879b9['indexOf'](_0x2c3105);}for(let _0x494aa5=0x0,_0x2c301d=_0x4a1b31['length'];_0x494aa5<_0x2c301d;_0x494aa5++){_0x1a1107+='%'+('00'+_0x4a1b31['charCodeAt'](_0x494aa5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a1107);};_0x45b9['QgDxsL']=_0x2a8a68,_0x45b9['lKHgWv']={},_0x45b9['WdirdP']=!![];}const _0x2f7590=_0x49bdba[0x0],_0x7ebe5e=_0x32c384+_0x2f7590,_0x100735=_0x45b9['lKHgWv'][_0x7ebe5e];return!_0x100735?(_0x45b960=_0x45b9['QgDxsL'](_0x45b960),_0x45b9['lKHgWv'][_0x7ebe5e]=_0x45b960):_0x45b960=_0x100735,_0x45b960;}import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';function _0x49bd(){const _0x327a77=['C2HPzNq','AxnjBNrLz2vY','mtmZwg1LqvDR','CMvZB2X2zq','Aw5KzxHpzG','CMvTB3zLqwjVCNrmAxn0zw5LCG','mZC0nZuXme9iBLnnua','m213wxrzuq','mta3mdy0wwfJDu96','ChvZAa','ywjVCNrLza','mZi3mdGWmKzvCgD1yW','y2fUy2vSBgvK','ndyYmdiXnuTfzMP0yW','mte4nti5nfviBxvkvW','BgvUz3rO','odmWmdu5mNfqAwroBG','AxngAw5PDgu','ngrvu3vNDq','CMvQzwn0','nJG0odKYoejzDKDLCq'];_0x49bd=function(){return _0x327a77;};return _0x49bd();}import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x4a1b31){const _0x40444d={_0x2c805f:0x502,_0x7bc66b:0x513,_0x2af3aa:0x506},_0x493f79={_0x41f167:0x3be,_0x302994:0x3c9,_0x5569d9:0x3c7,_0x168c48:0x3c6,_0x2db78c:0x3cc,_0x125ae7:0xc2,_0x3520c2:0xc9},_0x15e0d4={_0x148207:0xcc,_0x1116e0:0xc2,_0x3cda7b:0xe7,_0x529653:0xe9},_0x27f0dc={_0x2a8b3f:0x19e},_0x171f50={_0x27e865:0xcd,_0x3805f9:0x13f,_0x253852:0x162},_0x1d5b4e={_0x15184d:0x4f8,_0x641dee:0x500,_0x1182f4:0x187,_0x2704ff:0x4f6,_0x3085d2:0x4f9,_0x2d0f99:0x4fb,_0xe7a7ac:0x190,_0x46fbfe:0x18b},_0x8d33af={_0x5f4ed1:0x1cb},_0x479896={_0x11f54f:0x6b};function _0x44e6ff(_0x28b4b5,_0x2f7c4d,_0x211416,_0xa731e2){return _0x45b9(_0x2f7c4d-0x3c4,_0xa731e2);}if(!Number[_0x44e6ff(0x505,0x504,_0x40444d._0x2c805f,0x507)](_0x4a1b31)||!Number[_0x44e6ff(0x500,0x509,_0x40444d._0x7bc66b,_0x40444d._0x2af3aa)](_0x4a1b31)||_0x4a1b31<=0x0)throw new Error('maxConcurrency\x20must\x20be\x20a\x20finite\x20positive\x20integer');let _0x1a1107=0x0;function _0x2bc48c(_0x32d2f7,_0x1b1f47,_0x446000,_0x2b35e0){return _0x45b9(_0x32d2f7- -_0x479896._0x11f54f,_0x2b35e0);}const _0xde12c8=[],_0x3b64e7=()=>{let _0xbeacd6=![];return()=>{if(_0xbeacd6)return;_0xbeacd6=!![],_0x1a1107-=0x1,_0x2c3105();};},_0x2c3105=()=>{const _0x1359b4={_0x5b6982:0x17};function _0x490b2d(_0x209afe,_0x1cc439,_0x5803eb,_0x40fd22){return _0x2bc48c(_0x40fd22-0x42b,_0x1cc439-0x17a,_0x5803eb-_0x8d33af._0x5f4ed1,_0x209afe);}function _0x6c419a(_0x4147c0,_0x18e50c,_0x4d1b9e,_0x3da0ed){return _0x2bc48c(_0x4147c0-0xb4,_0x18e50c-_0x1359b4._0x5b6982,_0x4d1b9e-0x105,_0x3da0ed);}while(_0xde12c8[_0x490b2d(_0x1d5b4e._0x15184d,0x4f4,_0x1d5b4e._0x641dee,0x4fe)]>0x0){const _0x494aa5=_0xde12c8[_0x6c419a(0x18d,0x183,0x187,_0x1d5b4e._0x1182f4)]();if(!_0x494aa5||_0x494aa5[_0x490b2d(_0x1d5b4e._0x2704ff,0x4f2,0x500,0x4fb)])continue;_0x494aa5[_0x490b2d(_0x1d5b4e._0x3085d2,0x4fa,0x500,_0x1d5b4e._0x2d0f99)]=!![],_0x494aa5[_0x490b2d(0x50b,0x506,0x50f,0x509)](),_0x1a1107+=0x1,_0x494aa5[_0x6c419a(_0x1d5b4e._0xe7a7ac,0x18e,_0x1d5b4e._0x46fbfe,0x198)](_0x3b64e7());return;}};return{'acquire'(_0x2c301d){const _0x455c96={_0x15d7b7:0x495,_0x33100b:0x217,_0x1d622d:0x216},_0x36604c={_0x322b6b:0x3d,_0x297e65:0x130},_0x677503={_0x65a3fa:0x4b7};if(_0x2c301d?.[_0x445250(_0x493f79._0x41f167,0x3c3,0x3be,_0x493f79._0x302994)])return Promise[_0x445250(_0x493f79._0x5569d9,_0x493f79._0x41f167,_0x493f79._0x168c48,_0x493f79._0x2db78c)](toAbortError(_0x2c301d['reason']));function _0x445250(_0x3e754e,_0x1a5b2b,_0x530812,_0x2916cd){return _0x44e6ff(_0x3e754e-_0x171f50._0x27e865,_0x3e754e- -_0x171f50._0x3805f9,_0x530812-_0x171f50._0x253852,_0x2916cd);}if(_0x1a1107<_0x4a1b31)return _0x1a1107+=0x1,Promise[_0xfa9804(-_0x493f79._0x125ae7,-0xc8,-0xcb,-_0x493f79._0x3520c2)](_0x3b64e7());function _0xfa9804(_0x5a0de3,_0x286817,_0x26bc8b,_0xe2ee70){return _0x2bc48c(_0x5a0de3- -_0x27f0dc._0x2a8b3f,_0x286817-0x29,_0x26bc8b-0x12,_0x286817);}return new Promise((_0x41fe12,_0x394117)=>{const _0x1a4d48={_0x28f29c:0xda,_0x11adcd:0x132};function _0x3ecf42(_0xbe13be,_0x1c098f,_0x2c3af9,_0x5df8d2){return _0x445250(_0x5df8d2- -_0x677503._0x65a3fa,_0x1c098f-0x83,_0x2c3af9-0x1c9,_0xbe13be);}const _0x492f92={'resolve':_0x41fe12,'reject':_0x394117,'cancelled':![],'removeAbortListener':()=>{}};_0xde12c8[_0x27c5c3(0xc8,_0x15e0d4._0x148207,_0x15e0d4._0x1116e0,0xc8)](_0x492f92);function _0x27c5c3(_0x1c7ec7,_0x251861,_0x30a465,_0x536a4c){return _0xfa9804(_0x30a465-0x193,_0x536a4c,_0x30a465-_0x36604c._0x322b6b,_0x536a4c-_0x36604c._0x297e65);}_0x492f92[_0x3ecf42(-_0x15e0d4._0x3cda7b,-0xe0,-0xe6,-_0x15e0d4._0x529653)]=addAbortListener(_0x2c301d,()=>{const _0x2a5a01={_0x40bc70:0x307};function _0x4eed55(_0x1a47f9,_0x2d3574,_0x2772b9,_0x2e828b){return _0x3ecf42(_0x2e828b,_0x2d3574-0xd,_0x2772b9-0x9c,_0x1a47f9-_0x2a5a01._0x40bc70);}if(_0x492f92['cancelled'])return;_0x492f92['cancelled']=!![];function _0x4b8201(_0x17a98e,_0x423ef4,_0x2e9c2c,_0x45d7e8){return _0x27c5c3(_0x17a98e-_0x1a4d48._0x28f29c,_0x423ef4-_0x1a4d48._0x11adcd,_0x423ef4-0x3c7,_0x2e9c2c);}_0x492f92['removeAbortListener']();const _0x98f06c=_0xde12c8[_0x4b8201(0x4a0,0x499,_0x455c96._0x15d7b7,0x498)](_0x492f92);if(_0x98f06c>=0x0)_0xde12c8['splice'](_0x98f06c,0x1);_0x492f92[_0x4eed55(_0x455c96._0x33100b,0x210,0x215,_0x455c96._0x1d622d)](toAbortError(_0x2c301d?.['reason']));});});}};}export{OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
1
+ (function(_0x3a7297,_0x50d781){const _0x1f1174={_0x1de72d:0x1b6,_0x5d5921:0x1bb,_0x11dcf7:0x1b7,_0x54e3ae:0x41c,_0x5b28a1:0x41b,_0x5770a9:0x411,_0x5ee620:0x416,_0x11969c:0x1bc,_0x42d04c:0x1bd,_0x518b25:0x1c0,_0x2952e9:0x1c4,_0x1b23bb:0x1c3,_0xb0a81:0x1cc,_0x502311:0x1cd,_0x4cbe82:0x40a,_0x43a890:0x1ba,_0x3ee44d:0x1b8,_0x29ee09:0x413,_0x119553:0x410,_0x15ec45:0x406,_0x1ff110:0x1d2,_0x41ba12:0x1c1,_0x4a36d1:0x1d4},_0x54166e={_0x2b285c:0x341};function _0x388482(_0x56d387,_0x2244ba,_0x2a3840,_0xcdea20){return _0x29e1(_0x2a3840-_0x54166e._0x2b285c,_0x2244ba);}function _0x9c1dcf(_0x7a599a,_0x3e40e5,_0x57c5fe,_0x51ad89){return _0x29e1(_0x3e40e5- -0x299,_0x57c5fe);}const _0x34a03b=_0x3a7297();while(!![]){try{const _0x11cefb=parseInt(_0x9c1dcf(-_0x1f1174._0x1de72d,-_0x1f1174._0x5d5921,-_0x1f1174._0x11dcf7,-0x1b8))/0x1*(-parseInt(_0x388482(_0x1f1174._0x54e3ae,_0x1f1174._0x5b28a1,0x412,0x40f))/0x2)+-parseInt(_0x388482(0x40c,_0x1f1174._0x5770a9,0x414,_0x1f1174._0x5ee620))/0x3+parseInt(_0x9c1dcf(-_0x1f1174._0x11969c,-_0x1f1174._0x42d04c,-0x1bc,-_0x1f1174._0x518b25))/0x4*(parseInt(_0x9c1dcf(-0x1c8,-_0x1f1174._0x2952e9,-_0x1f1174._0x1b23bb,-0x1cc))/0x5)+parseInt(_0x9c1dcf(-0x1c7,-_0x1f1174._0xb0a81,-0x1cd,-_0x1f1174._0x502311))/0x6*(-parseInt(_0x388482(0x407,0x41c,0x411,_0x1f1174._0x4cbe82))/0x7)+-parseInt(_0x9c1dcf(-0x1c2,-_0x1f1174._0x43a890,-0x1bb,-_0x1f1174._0x3ee44d))/0x8+parseInt(_0x388482(_0x1f1174._0x5ee620,_0x1f1174._0x29ee09,_0x1f1174._0x119553,_0x1f1174._0x15ec45))/0x9*(parseInt(_0x9c1dcf(-_0x1f1174._0x1ff110,-0x1cd,-_0x1f1174._0x41ba12,-_0x1f1174._0x4a36d1))/0xa)+parseInt(_0x9c1dcf(-0x1ca,-0x1c2,-0x1bc,-0x1c0))/0xb;if(_0x11cefb===_0x50d781)break;else _0x34a03b['push'](_0x34a03b['shift']());}catch(_0x4ccf69){_0x34a03b['push'](_0x34a03b['shift']());}}}(_0x4971,0x6df73));function _0x4971(){const _0x6a0100=['CMvHC29U','mJiWv01MA1zT','y2fUy2vSBgvK','mxvKyLLwBW','nJeXotqWmhDjzhf0wG','BgvUz3rO','CMvQzwn0','AxngAw5PDgu','mtbcv0XAALq','nJe4nKrfuMTOsa','C3bSAwnL','nZiXmda1m0nyy0LMzq','mJyXogLgseHeyW','ntG3oty2BKX4q1jN','CMvTB3zLqwjVCNrmAxn0zw5LCG','mJi1mJKYmMrRrLbqyG','CMvZB2X2zq','nJG2ndvSuKjHuem','C2HPzNq','mte5ody1mtn2zKHlvwq','AxnjBNrLz2vY','ChvZAa','Aw5KzxHpzG'];_0x4971=function(){return _0x6a0100;};return _0x4971();}import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';function _0x29e1(_0x1dcc84,_0x2a09ce){_0x1dcc84=_0x1dcc84-0xcc;const _0x497151=_0x4971();let _0x29e1b7=_0x497151[_0x1dcc84];if(_0x29e1['igoaLm']===undefined){var _0x1f2ffd=function(_0x59d1f0){const _0x382187='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3633dc='',_0x21a093='';for(let _0x273af8=0x0,_0x9358e,_0x77797f,_0x44a36f=0x0;_0x77797f=_0x59d1f0['charAt'](_0x44a36f++);~_0x77797f&&(_0x9358e=_0x273af8%0x4?_0x9358e*0x40+_0x77797f:_0x77797f,_0x273af8++%0x4)?_0x3633dc+=String['fromCharCode'](0xff&_0x9358e>>(-0x2*_0x273af8&0x6)):0x0){_0x77797f=_0x382187['indexOf'](_0x77797f);}for(let _0x4c8318=0x0,_0x5cca88=_0x3633dc['length'];_0x4c8318<_0x5cca88;_0x4c8318++){_0x21a093+='%'+('00'+_0x3633dc['charCodeAt'](_0x4c8318)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x21a093);};_0x29e1['kJEtuP']=_0x1f2ffd,_0x29e1['mbibuw']={},_0x29e1['igoaLm']=!![];}const _0x23e1ed=_0x497151[0x0],_0x2d2ec9=_0x1dcc84+_0x23e1ed,_0x245f02=_0x29e1['mbibuw'][_0x2d2ec9];return!_0x245f02?(_0x29e1b7=_0x29e1['kJEtuP'](_0x29e1b7),_0x29e1['mbibuw'][_0x2d2ec9]=_0x29e1b7):_0x29e1b7=_0x245f02,_0x29e1b7;}import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x3633dc){const _0x465c49={_0xc13ff5:0x249,_0x103521:0x18d,_0x1b18c7:0x184,_0x5682a2:0x187},_0x1d4f1a={_0x3097c9:0x151,_0xa95535:0x14a,_0x54b46b:0x141,_0x450165:0x13e,_0x34bfac:0x145,_0x146a18:0x69,_0x51ba60:0x5f,_0x169742:0x68},_0x540b8b={_0x4b6112:0x1c9,_0x21d96f:0x38c,_0x55e823:0x38e,_0x299a13:0x384,_0x195b52:0x382},_0x3265a8={_0x2a20eb:0x1c0,_0x46086d:0x1e8},_0x56707b={_0x37bd1a:0x1e1,_0x3a9831:0x42,_0x9280ae:0xe},_0x1d49f8={_0x557643:0x171,_0x4c9f2a:0x17a,_0x2aeb92:0x32a,_0x15150c:0x334,_0x3824f3:0x321,_0x3dc6c9:0x327},_0x18fc49={_0x19d67d:0xb0,_0x28644a:0x1a5},_0x373506={_0x6deffa:0x3b0};if(!Number[_0x346055(_0x465c49._0xc13ff5,0x242,0x248,0x241)](_0x3633dc)||!Number[_0x34f8ab(_0x465c49._0x103521,_0x465c49._0x1b18c7,_0x465c49._0x5682a2,0x179)](_0x3633dc)||_0x3633dc<=0x0)throw new Error('maxConcurrency\x20must\x20be\x20a\x20finite\x20positive\x20integer');let _0x21a093=0x0;function _0x34f8ab(_0x1e38bd,_0x160d4e,_0x23b2ff,_0x5049f0){return _0x29e1(_0x160d4e-0xac,_0x23b2ff);}const _0x273af8=[];function _0x346055(_0x598c23,_0x4996a6,_0x25d520,_0xd3e13e){return _0x29e1(_0x4996a6-0x160,_0x598c23);}const _0x9358e=()=>{let _0x44a36f=![];return()=>{if(_0x44a36f)return;_0x44a36f=!![],_0x21a093-=0x1,_0x77797f();};},_0x77797f=()=>{function _0x291d13(_0x2dbde2,_0x5864cd,_0x1a27b2,_0x449f07){return _0x346055(_0x449f07,_0x1a27b2- -_0x373506._0x6deffa,_0x1a27b2-0xe3,_0x449f07-0x65);}function _0x2a8818(_0x3e23e8,_0x42b215,_0x3baff1,_0x47ca11){return _0x34f8ab(_0x3e23e8-_0x18fc49._0x19d67d,_0x3e23e8-0x1a1,_0x47ca11,_0x47ca11-_0x18fc49._0x28644a);}while(_0x273af8[_0x291d13(-0x168,-0x170,-0x170,-0x16f)]>0x0){const _0x4c8318=_0x273af8[_0x291d13(-0x179,-_0x1d49f8._0x557643,-_0x1d49f8._0x4c9f2a,-_0x1d49f8._0x4c9f2a)]();if(!_0x4c8318||_0x4c8318[_0x2a8818(_0x1d49f8._0x2aeb92,_0x1d49f8._0x15150c,0x32c,0x331)])continue;_0x4c8318[_0x2a8818(0x32a,_0x1d49f8._0x3824f3,0x32a,_0x1d49f8._0x3dc6c9)]=!![],_0x4c8318['removeAbortListener'](),_0x21a093+=0x1,_0x4c8318['resolve'](_0x9358e());return;}};return{'acquire'(_0x5cca88){const _0x547cb3={_0x4169ec:0x19e,_0x37f101:0x1a4,_0x28659f:0x19f,_0x20ddfc:0x1ab,_0x5d8b7b:0x241,_0xa21d54:0x248,_0x39b143:0x19a,_0x439bd2:0x23a,_0xbaa083:0x240,_0x2f3800:0x24b};if(_0x5cca88?.['aborted'])return Promise[_0x5dfda6(_0x1d4f1a._0x3097c9,0x14b,_0x1d4f1a._0xa95535,_0x1d4f1a._0x54b46b)](toAbortError(_0x5cca88[_0x5dfda6(_0x1d4f1a._0x450165,_0x1d4f1a._0x34bfac,0x14e,0x14c)]));if(_0x21a093<_0x3633dc)return _0x21a093+=0x1,Promise[_0x327e55(-0x70,-_0x1d4f1a._0x146a18,-_0x1d4f1a._0x51ba60,-_0x1d4f1a._0x169742)](_0x9358e());function _0x5dfda6(_0x4caf7a,_0x37794d,_0x5b0fdd,_0x1a3477){return _0x34f8ab(_0x4caf7a-_0x56707b._0x37bd1a,_0x37794d- -_0x56707b._0x3a9831,_0x5b0fdd,_0x1a3477-_0x56707b._0x9280ae);}function _0x327e55(_0x12af94,_0x58f5e2,_0x363170,_0xe8ada3){return _0x34f8ab(_0x12af94-_0x3265a8._0x2a20eb,_0xe8ada3- -_0x3265a8._0x46086d,_0x363170,_0xe8ada3-0x1aa);}return new Promise((_0x3c4760,_0xc4c224)=>{const _0x589e3a={_0xa04e81:0x179},_0x1af10e={_0x193cee:0x7a,_0xe082a5:0x19b},_0x3751f7={_0x3010ce:0x100,_0x3cbb67:0x16b},_0x1e642f={_0x5d4c2f:0x248,_0x3b9f01:0x7d},_0x4186ae={'resolve':_0x3c4760,'reject':_0xc4c224,'cancelled':![],'removeAbortListener':()=>{}};function _0x24725f(_0x2f5708,_0x2ef459,_0x30c841,_0x192700){return _0x5dfda6(_0x2f5708-0x12d,_0x30c841-_0x1e642f._0x5d4c2f,_0x2ef459,_0x192700-_0x1e642f._0x3b9f01);}function _0x18c5ff(_0x2d92ef,_0x4204e6,_0x305f8a,_0x207e38){return _0x327e55(_0x2d92ef-_0x3751f7._0x3010ce,_0x4204e6-0x1b6,_0x305f8a,_0x2d92ef- -_0x3751f7._0x3cbb67);}_0x273af8[_0x18c5ff(-0x1ce,-0x1c2,-0x1c6,-_0x540b8b._0x4b6112)](_0x4186ae),_0x4186ae[_0x24725f(_0x540b8b._0x21d96f,_0x540b8b._0x55e823,_0x540b8b._0x299a13,_0x540b8b._0x195b52)]=addAbortListener(_0x5cca88,()=>{if(_0x4186ae[_0x34b02c(_0x547cb3._0x4169ec,_0x547cb3._0x37f101,0x1aa,0x1a8)])return;_0x4186ae[_0x34b02c(_0x547cb3._0x28659f,0x1a6,0x1aa,_0x547cb3._0x20ddfc)]=!![],_0x4186ae['removeAbortListener']();const _0x3dffeb=_0x273af8[_0x3f8667(-_0x547cb3._0x5d8b7b,-0x247,-_0x547cb3._0xa21d54,-0x247)](_0x4186ae);function _0x3f8667(_0x9a6461,_0x2dc304,_0xccecaa,_0x134ea6){return _0x18c5ff(_0x2dc304- -_0x1af10e._0x193cee,_0x2dc304-_0x1af10e._0xe082a5,_0x9a6461,_0x134ea6-0x109);}function _0x34b02c(_0x4c6901,_0x509835,_0x30087e,_0x3933a9){return _0x24725f(_0x4c6901-0x1bb,_0x509835,_0x30087e- -0x1e5,_0x3933a9-_0x589e3a._0xa04e81);}if(_0x3dffeb>=0x0)_0x273af8[_0x34b02c(0x193,_0x547cb3._0x39b143,0x19b,0x1a7)](_0x3dffeb,0x1);_0x4186ae[_0x3f8667(-_0x547cb3._0x439bd2,-_0x547cb3._0xbaa083,-_0x547cb3._0x2f3800,-0x237)](toAbortError(_0x5cca88?.['reason']));});});}};}export{OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};