@nuvin/agent-core 0.3.0-rc.6 → 0.3.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.
@@ -25,7 +25,7 @@ export declare const NUVIN_PRICING_PRODUCTS: {
25
25
  readonly modelsDevProviderId: "openai";
26
26
  readonly chatCompletionsIncludeUsage: true;
27
27
  };
28
- readonly "openai-codex": {};
28
+ readonly codex: {};
29
29
  readonly "opencode-go": {
30
30
  readonly modelsDevProviderId: "opencode-go";
31
31
  };
@@ -1 +1 @@
1
- (function(_0x31e031,_0x3987e2){const _0x37d81e={_0x7bb21a:0x350,_0x1f31aa:0x340,_0x3277e1:0x34a,_0x2d6d32:0x35f,_0x1c130b:0x4a2,_0x3809d5:0x4aa,_0x5aaae7:0x4a4,_0x208c0b:0x4a6,_0x4c18b0:0x4ad,_0x34c095:0x4b4,_0x3cdaf8:0x4b0,_0x3f7e79:0x4bd,_0x2be9ce:0x356,_0x3c756c:0x345,_0x37be37:0x34f,_0x4f7292:0x35a,_0x3e4e91:0x359,_0x403d4c:0x35e,_0x261a3f:0x361,_0x2055f6:0x49d,_0x1dd9b7:0x4ab},_0x3d180f={_0x5a11a8:0x2ce},_0x2f5894={_0x512aa3:0x177},_0x363d66=_0x31e031();function _0x3b4603(_0xd100e8,_0x440221,_0x2f48f2,_0x3af478){return _0x2dbe(_0x3af478-_0x2f5894._0x512aa3,_0x2f48f2);}function _0x52fcd7(_0x1d4505,_0x43e14d,_0x4fef5e,_0x5c1a61){return _0x2dbe(_0x1d4505-_0x3d180f._0x5a11a8,_0x43e14d);}while(!![]){try{const _0x3598e6=-parseInt(_0x3b4603(_0x37d81e._0x7bb21a,_0x37d81e._0x1f31aa,0x34e,_0x37d81e._0x3277e1))/0x1*(parseInt(_0x3b4603(0x35a,_0x37d81e._0x3277e1,_0x37d81e._0x2d6d32,0x357))/0x2)+parseInt(_0x52fcd7(_0x37d81e._0x1c130b,0x4a3,0x4a1,0x499))/0x3+-parseInt(_0x52fcd7(0x4aa,0x4a7,_0x37d81e._0x3809d5,0x4af))/0x4*(-parseInt(_0x52fcd7(_0x37d81e._0x5aaae7,0x497,_0x37d81e._0x208c0b,_0x37d81e._0x4c18b0))/0x5)+parseInt(_0x3b4603(0x359,0x357,0x361,_0x37d81e._0x2d6d32))/0x6*(-parseInt(_0x52fcd7(0x4b4,_0x37d81e._0x34c095,_0x37d81e._0x3cdaf8,_0x37d81e._0x3f7e79))/0x7)+parseInt(_0x3b4603(0x359,_0x37d81e._0x2be9ce,_0x37d81e._0x3c756c,_0x37d81e._0x37be37))/0x8*(-parseInt(_0x52fcd7(0x4af,_0x37d81e._0x1c130b,0x4a7,0x4bb))/0x9)+-parseInt(_0x3b4603(_0x37d81e._0x4f7292,_0x37d81e._0x3e4e91,0x356,_0x37d81e._0x7bb21a))/0xa*(-parseInt(_0x3b4603(_0x37d81e._0x403d4c,0x36b,0x35c,_0x37d81e._0x261a3f))/0xb)+parseInt(_0x52fcd7(0x4a8,_0x37d81e._0x2055f6,0x4a6,_0x37d81e._0x1dd9b7))/0xc;if(_0x3598e6===_0x3987e2)break;else _0x363d66['push'](_0x363d66['shift']());}catch(_0x14e8e3){_0x363d66['push'](_0x363d66['shift']());}}}(_0x5975,0xc657f));import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';function _0x5975(){const _0x5f4b15=['CMvHC29U','DxnLCG','mJfrENjPrxC','CMvZB2X2zq','mJC3nZi5ofbqDeHSqq','ChvZAa','mJyWn1bxteTQta','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','C2HPzNq','nZe4otuZs09MuvbK','otmWotKZvgHHA0nS','yxnZAxn0yw50','mJa3nJvczgfiu0q','C3bSAwnL','mZa0nJrgzKfcD0C','mZu1mtbpse9WzNO','otuZmtaZnMzzq0XpzW','AxngAw5PDgu','mta0ohbbtMj5rG','zNjLzxPL','AxnjBNrLz2vY','CMvQzwn0','mK91qu9muW','mJCWtgfpuu1t','y2fUy2vSBgvK','CMvTB3zLqwjVCNrmAxn0zw5LCG'];_0x5975=function(){return _0x5f4b15;};return _0x5975();}function _0x2b8ca1(_0x5d6b0e,_0x1a8fe2,_0x3e8c5d,_0x2f769c){return _0x2dbe(_0x2f769c-0x30a,_0x1a8fe2);}import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';function _0x30ffc3(_0x33b6ea,_0x58fc01,_0x3f8ac3,_0x3d7392){const _0x4b2058={_0x523540:0x31};return _0x2dbe(_0x33b6ea- -_0x4b2058._0x523540,_0x3d7392);}import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x42be48){const _0x415425={_0x445ecb:0x197,_0x298eb7:0x1a4,_0x205f9d:0x1ad,_0x4c68a8:0x198,_0x4cf956:0x1b3,_0xd6cf86:0x1b1,_0x5733f2:0x1a9},_0x3d93ed={_0x5324ae:0x202,_0x5bd3c3:0x20d,_0x134776:0x1ff,_0x412f00:0x27f,_0x2eaf71:0x27c},_0x3b9952={_0x52083c:0x47f,_0x5edf78:0x497,_0x10878f:0x49f,_0x102a2f:0x53b,_0x2fab8a:0x49c,_0x5a03d9:0x4a5};if(!Number[_0x18fa47(-0x183,-0x189,-0x181,-0x181)](_0x42be48)||!Number[_0x48b58a(-_0x415425._0x445ecb,-_0x415425._0x298eb7,-_0x415425._0x205f9d,-_0x415425._0x4c68a8)](_0x42be48)||_0x42be48<=0x0)throw new Error(_0x48b58a(-_0x415425._0x4cf956,-_0x415425._0xd6cf86,-_0x415425._0x5733f2,-0x1a7));let _0x37613f=0x0;const _0x4f0059=[];function _0x18fa47(_0x41002a,_0x63a58f,_0x5a0754,_0x2158e4){return _0x2dbe(_0x5a0754- -0x35c,_0x41002a);}const _0x486c33=()=>{let _0x3ced5f=![];return()=>{if(_0x3ced5f)return;_0x3ced5f=!![],_0x37613f-=0x1,_0x18087a();};},_0x18087a=()=>{const _0x459918={_0x101b7d:0x161};function _0x235b9b(_0x1b7f9e,_0x354c33,_0x58f0d2,_0x5720d1){return _0x18fa47(_0x58f0d2,_0x354c33-_0x459918._0x101b7d,_0x1b7f9e-0x6bb,_0x5720d1-0x142);}function _0x3611cd(_0x3f7164,_0xc60a5c,_0x5cd0fa,_0x5d3213){return _0x48b58a(_0x3f7164-0x15b,_0x3f7164-0x637,_0x5cd0fa-0xe5,_0x5cd0fa);}while(_0x4f0059['length']>0x0){const _0x26f491=_0x4f0059[_0x3611cd(0x487,_0x3b9952._0x52083c,0x483,0x492)]();if(!_0x26f491||_0x26f491[_0x3611cd(_0x3b9952._0x5edf78,_0x3b9952._0x10878f,0x49e,_0x3b9952._0x10878f)])continue;_0x26f491[_0x235b9b(0x541,0x53f,0x53b,_0x3b9952._0x102a2f)]=!![],_0x26f491['removeAbortListener'](),_0x37613f+=0x1,_0x26f491[_0x3611cd(_0x3b9952._0x2fab8a,0x4a2,0x49a,_0x3b9952._0x5a03d9)](_0x486c33());return;}},_0x430fb9=()=>{if(_0x37613f>=_0x42be48)return void 0x0;return _0x37613f+=0x1,_0x486c33();};function _0x48b58a(_0x503f18,_0xc47c2,_0x1da80c,_0x4b4709){return _0x2dbe(_0xc47c2- -0x382,_0x4b4709);}return{'tryAcquire':_0x430fb9,'acquire'(_0x2e7010){const _0x1185b0={_0xa81f51:0xa5,_0x3ae959:0x3e7,_0xc44816:0x3e1},_0x3fc120={_0x59a886:0xfb,_0x284ee1:0x8},_0x151427={_0x3f27a4:0x12e,_0x4f8371:0x103};function _0x1806e7(_0x2572b0,_0x3abfc3,_0x3c1349,_0xddb25b){return _0x48b58a(_0x2572b0-_0x151427._0x3f27a4,_0x2572b0-0x41a,_0x3c1349-_0x151427._0x4f8371,_0xddb25b);}if(_0x2e7010?.['aborted'])return Promise[_0x4b7ec8(0x1f7,_0x3d93ed._0x5324ae,0x1f7,0x206)](toAbortError(_0x2e7010[_0x4b7ec8(_0x3d93ed._0x5bd3c3,0x207,0x205,_0x3d93ed._0x134776)]));const _0x31dbed=_0x430fb9();function _0x4b7ec8(_0x254e5b,_0x12a410,_0x5db518,_0x37ee0b){return _0x48b58a(_0x254e5b-0xf2,_0x12a410-0x3a5,_0x5db518-0x117,_0x254e5b);}if(_0x31dbed!==void 0x0)return Promise[_0x1806e7(_0x3d93ed._0x412f00,0x27f,0x27e,_0x3d93ed._0x2eaf71)](_0x31dbed);return new Promise((_0x413887,_0x1c9f26)=>{const _0x1dabfc={_0x486b53:0x108,_0x3adb65:0xff,_0x12b1eb:0x109,_0x211f47:0x202},_0x4ec34e={_0x37da91:0x1de,_0x2be8f1:0x176};function _0x3cb090(_0x3f25be,_0x3845ad,_0x3e91eb,_0x47980a){return _0x4b7ec8(_0x3845ad,_0x47980a-_0x4ec34e._0x37da91,_0x3e91eb-0x48,_0x47980a-_0x4ec34e._0x2be8f1);}const _0x2fa610={'resolve':_0x413887,'reject':_0x1c9f26,'cancelled':![],'removeAbortListener':()=>{}};_0x4f0059[_0x2c5cb8(-_0x1185b0._0xa81f51,-0xb5,-0xa9,-0xb2)](_0x2fa610);function _0x2c5cb8(_0x25c5fa,_0x3ad305,_0x467932,_0x183a8d){return _0x4b7ec8(_0x3ad305,_0x467932- -0x2b5,_0x467932-_0x3fc120._0x59a886,_0x183a8d-_0x3fc120._0x284ee1);}_0x2fa610[_0x3cb090(0x3eb,_0x1185b0._0x3ae959,_0x1185b0._0xc44816,0x3e4)]=addAbortListener(_0x2e7010,()=>{const _0xd84c12={_0x4d8813:0x13d},_0x371f07={_0x3d8d34:0x1c2};if(_0x2fa610['cancelled'])return;_0x2fa610['cancelled']=!![];function _0x410f5f(_0x2ff1f4,_0x31eba8,_0x5dc3e4,_0x3050be){return _0x2c5cb8(_0x2ff1f4-_0x371f07._0x3d8d34,_0x2ff1f4,_0x31eba8-0x2b1,_0x3050be-0x1ac);}_0x2fa610['removeAbortListener']();const _0x24510c=_0x4f0059['indexOf'](_0x2fa610);function _0x1f46e0(_0x33917a,_0xc38690,_0x43029c,_0x367b8a){return _0x3cb090(_0x33917a-_0xd84c12._0x4d8813,_0xc38690,_0x43029c-0xc8,_0x33917a- -0x4e0);}if(_0x24510c>=0x0)_0x4f0059[_0x1f46e0(-_0x1dabfc._0x486b53,-_0x1dabfc._0x3adb65,-0x111,-_0x1dabfc._0x12b1eb)](_0x24510c,0x1);_0x2fa610[_0x410f5f(0x1f4,0x1fe,0x203,_0x1dabfc._0x211f47)](toAbortError(_0x2e7010?.['reason']));});});}};}var MESSAGE_ROLES=[_0x30ffc3(0x1a4,0x1a6,0x19a,0x1a6),_0x30ffc3(0x1b4,0x1bc,0x1ad,0x1b5)];Object[_0x30ffc3(0x1ac,0x1ab,0x1a2,0x1b5)](MESSAGE_ROLES);function _0x2dbe(_0x1f1e13,_0x1afed6){_0x1f1e13=_0x1f1e13-0x1d1;const _0x5975ce=_0x5975();let _0x2dbe8e=_0x5975ce[_0x1f1e13];if(_0x2dbe['nBSyeY']===undefined){var _0x575f08=function(_0x4c36d8){const _0x3637e4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x42be48='',_0x37613f='';for(let _0x4f0059=0x0,_0x486c33,_0x18087a,_0x430fb9=0x0;_0x18087a=_0x4c36d8['charAt'](_0x430fb9++);~_0x18087a&&(_0x486c33=_0x4f0059%0x4?_0x486c33*0x40+_0x18087a:_0x18087a,_0x4f0059++%0x4)?_0x42be48+=String['fromCharCode'](0xff&_0x486c33>>(-0x2*_0x4f0059&0x6)):0x0){_0x18087a=_0x3637e4['indexOf'](_0x18087a);}for(let _0x3ced5f=0x0,_0x26f491=_0x42be48['length'];_0x3ced5f<_0x26f491;_0x3ced5f++){_0x37613f+='%'+('00'+_0x42be48['charCodeAt'](_0x3ced5f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x37613f);};_0x2dbe['kaHeIm']=_0x575f08,_0x2dbe['YlxpfS']={},_0x2dbe['nBSyeY']=!![];}const _0x3eb9c1=_0x5975ce[0x0],_0x120345=_0x1f1e13+_0x3eb9c1,_0x21ab79=_0x2dbe['YlxpfS'][_0x120345];return!_0x21ab79?(_0x2dbe8e=_0x2dbe['kaHeIm'](_0x2dbe8e),_0x2dbe['YlxpfS'][_0x120345]=_0x2dbe8e):_0x2dbe8e=_0x21ab79,_0x2dbe8e;}export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
1
+ (function(_0x318656,_0x420737){const _0x1c1807={_0x182dd3:0xd8,_0x2fa0d4:0xdc,_0x330f7a:0xe7,_0x1ef587:0x1e4,_0x569085:0x1e9,_0x239d5e:0x1e0,_0xcdc5e:0xe5,_0x35ce16:0xd5,_0xe1f889:0xe1,_0x392b17:0x1c1,_0x1bacd5:0x1d7,_0x36107b:0x1d1,_0x387892:0x1d7,_0x589d37:0x1cd,_0x2da6f3:0x1c6,_0x159b67:0x1c9,_0x4b4560:0x1c5,_0xd64dc4:0xcb,_0x7ba0e7:0xcf,_0x49ca97:0x1cb,_0xa83a41:0x1d4,_0x18753c:0x1d2,_0x57e21b:0x1e1,_0x20fab4:0x1ce},_0x28e651={_0x3fdb62:0x34f},_0x13585d=_0x318656();function _0x4ef968(_0x493a1c,_0x50de9e,_0x4db737,_0x26a280){return _0x5ad8(_0x4db737- -0x256,_0x50de9e);}function _0x243d5a(_0x298ff9,_0xee0c9b,_0x12f040,_0x3636b8){return _0x5ad8(_0x12f040- -_0x28e651._0x3fdb62,_0x3636b8);}while(!![]){try{const _0x1e4250=parseInt(_0x4ef968(-_0x1c1807._0x182dd3,-_0x1c1807._0x2fa0d4,-0xe2,-_0x1c1807._0x330f7a))/0x1+-parseInt(_0x243d5a(-_0x1c1807._0x1ef587,-_0x1c1807._0x569085,-0x1df,-_0x1c1807._0x239d5e))/0x2*(parseInt(_0x4ef968(-_0x1c1807._0xcdc5e,-_0x1c1807._0x35ce16,-0xda,-_0x1c1807._0xe1f889))/0x3)+parseInt(_0x243d5a(-_0x1c1807._0x392b17,-_0x1c1807._0x1bacd5,-0x1ca,-0x1d3))/0x4*(parseInt(_0x243d5a(-0x1d7,-0x1db,-_0x1c1807._0x36107b,-_0x1c1807._0x387892))/0x5)+parseInt(_0x4ef968(-0xd8,-0xde,-0xd7,-0xcb))/0x6*(parseInt(_0x243d5a(-0x1df,-0x1cf,-0x1d6,-_0x1c1807._0x589d37))/0x7)+-parseInt(_0x243d5a(-_0x1c1807._0x2da6f3,-0x1d2,-_0x1c1807._0x159b67,-_0x1c1807._0x4b4560))/0x8*(parseInt(_0x4ef968(-0xc8,-_0x1c1807._0xd64dc4,-_0x1c1807._0x7ba0e7,-0xcc))/0x9)+parseInt(_0x243d5a(-_0x1c1807._0x49ca97,-_0x1c1807._0xa83a41,-0x1d7,-0x1d7))/0xa*(-parseInt(_0x243d5a(-0x1c9,-0x1da,-_0x1c1807._0x18753c,-0x1c9))/0xb)+parseInt(_0x243d5a(-0x1da,-_0x1c1807._0x57e21b,-0x1d9,-_0x1c1807._0x1bacd5))/0xc*(parseInt(_0x243d5a(-_0x1c1807._0x20fab4,-0x1c4,-0x1ce,-0x1d7))/0xd);if(_0x1e4250===_0x420737)break;else _0x13585d['push'](_0x13585d['shift']());}catch(_0x12a3bb){_0x13585d['push'](_0x13585d['shift']());}}}(_0x5740,0x4c94c));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(_0x5e7d23){const _0x2dfe3e={_0x5f3c73:0x2a1,_0x52ec39:0x2a8,_0x59016d:0x2a6,_0x1aee36:0x42e,_0x308f13:0x2aa,_0x591838:0x2a6,_0x2fbde8:0x2b6},_0x379144={_0x124b57:0x3bd,_0x5ce45a:0x3c2,_0x2da584:0x395,_0x392378:0x39a},_0x453b41={_0x173e24:0x38d,_0x56dccc:0x393,_0x4a4960:0x397,_0x2eaab5:0x384,_0x2cfadc:0x533,_0x15924e:0x535},_0x4dbc72={_0x247c53:0x279,_0x1c4083:0x272,_0x2fc553:0x26e,_0x2da8d5:0x26c,_0x149e2e:0x271,_0x36e909:0x27c,_0x27aec9:0x27a,_0x100b13:0x266},_0x1a5bcf={_0x4972a9:0x5b8,_0xe53908:0xa2};if(!Number[_0x25b810(_0x2dfe3e._0x5f3c73,_0x2dfe3e._0x52ec39,_0x2dfe3e._0x59016d,0x295)](_0x5e7d23)||!Number[_0xa716e1(0x43a,0x430,0x430,_0x2dfe3e._0x1aee36)](_0x5e7d23)||_0x5e7d23<=0x0)throw new Error(_0x25b810(_0x2dfe3e._0x308f13,_0x2dfe3e._0x5f3c73,_0x2dfe3e._0x591838,_0x2dfe3e._0x2fbde8));function _0x25b810(_0x55184d,_0x5b0758,_0x25f235,_0x2bda1f){return _0x5ad8(_0x55184d-0x126,_0x25f235);}let _0x1a8a63=0x0;function _0xa716e1(_0x4063b6,_0x2cf6c9,_0x1d7497,_0x8f1918){return _0x5ad8(_0x2cf6c9-0x2a8,_0x4063b6);}const _0x422811=[],_0x313b3c=()=>{let _0x3f591c=![];return()=>{if(_0x3f591c)return;_0x3f591c=!![],_0x1a8a63-=0x1,_0x4a7055();};},_0x4a7055=()=>{const _0x3c0d07={_0x4fa0f7:0x27,_0x1b336f:0x5d};function _0x54ad9a(_0x5e71f9,_0xc4c5b5,_0x375944,_0x554447){return _0xa716e1(_0xc4c5b5,_0x375944- -_0x1a5bcf._0x4972a9,_0x375944-_0x1a5bcf._0xe53908,_0x554447-0x16d);}function _0x489e19(_0x360b64,_0x35fe3d,_0x4d3a68,_0x3d0188){return _0x25b810(_0x35fe3d- -_0x3c0d07._0x4fa0f7,_0x35fe3d-_0x3c0d07._0x1b336f,_0x360b64,_0x3d0188-0x114);}while(_0x422811['length']>0x0){const _0x2ea082=_0x422811[_0x489e19(0x270,_0x4dbc72._0x247c53,0x270,0x27a)]();if(!_0x2ea082||_0x2ea082['cancelled'])continue;_0x2ea082[_0x489e19(_0x4dbc72._0x1c4083,0x272,_0x4dbc72._0x2fc553,_0x4dbc72._0x2da8d5)]=!![],_0x2ea082[_0x489e19(_0x4dbc72._0x149e2e,0x270,_0x4dbc72._0x36e909,_0x4dbc72._0x27aec9)](),_0x1a8a63+=0x1,_0x2ea082[_0x489e19(_0x4dbc72._0x100b13,0x26e,0x27b,0x264)](_0x313b3c());return;}},_0x41ff18=()=>{if(_0x1a8a63>=_0x5e7d23)return void 0x0;return _0x1a8a63+=0x1,_0x313b3c();};return{'tryAcquire':_0x41ff18,'acquire'(_0x18132b){const _0x1c2166={_0x589d4a:0xc8,_0x5ada3c:0x22},_0x594e31={_0x2a3475:0xf8,_0x51c8a6:0x8e,_0x12804f:0x159};if(_0x18132b?.[_0x47d0d0(0x3be,_0x379144._0x124b57,_0x379144._0x5ce45a,0x3c4)])return Promise[_0x1c7146(_0x379144._0x2da584,_0x379144._0x2da584,0x395,_0x379144._0x392378)](toAbortError(_0x18132b['reason']));function _0x1c7146(_0x30fc81,_0xa76722,_0x1aff90,_0x59fac4){return _0x25b810(_0x30fc81-_0x594e31._0x2a3475,_0xa76722-_0x594e31._0x51c8a6,_0xa76722,_0x59fac4-_0x594e31._0x12804f);}const _0x511455=_0x41ff18();if(_0x511455!==void 0x0)return Promise['resolve'](_0x511455);function _0x47d0d0(_0x284f5a,_0x2d7b56,_0x51a184,_0x2459d8){return _0xa716e1(_0x2459d8,_0x2d7b56- -0x6e,_0x51a184-0x1f3,_0x2459d8-0xf9);}return new Promise((_0x5527a3,_0x4f255f)=>{const _0x1f5067={_0x2e3593:0x27,_0x18b96a:0x26,_0x5bd2f8:0x2e,_0x41b896:0x2a,_0x5e996a:0x27,_0x3f83de:0x1e,_0x25affd:0x3af,_0x2d055f:0x3bc,_0x1d8b3a:0x3b0,_0x50a452:0x23},_0x3172a8={_0x5a0705:0x3b2,_0x3728b3:0x1da},_0x50fb1a={_0x562b26:0x19d,_0x581a87:0x107,_0x4de17d:0x12a},_0x1688bf={'resolve':_0x5527a3,'reject':_0x4f255f,'cancelled':![],'removeAbortListener':()=>{}};function _0x214fd7(_0x15baf7,_0x19fbb0,_0x28018f,_0xabcab9){return _0x47d0d0(_0x15baf7-_0x1c2166._0x589d4a,_0x15baf7- -_0x1c2166._0x5ada3c,_0x28018f-0x1c1,_0xabcab9);}_0x422811[_0x214fd7(_0x453b41._0x173e24,_0x453b41._0x56dccc,_0x453b41._0x4a4960,_0x453b41._0x2eaab5)](_0x1688bf);function _0x592226(_0xb1223c,_0x2bcadc,_0x18f8b3,_0x207593){return _0x1c7146(_0x2bcadc-_0x50fb1a._0x562b26,_0xb1223c,_0x18f8b3-_0x50fb1a._0x581a87,_0x207593-_0x50fb1a._0x4de17d);}_0x1688bf[_0x592226(_0x453b41._0x2cfadc,0x52c,_0x453b41._0x15924e,0x527)]=addAbortListener(_0x18132b,()=>{const _0x554304={_0xb1dad:0x18};function _0x3ab14b(_0x1a0d06,_0x22c5cc,_0x1d3c3f,_0x7238a6){return _0x214fd7(_0x1d3c3f-_0x554304._0xb1dad,_0x22c5cc-0x192,_0x1d3c3f-0x1ad,_0x7238a6);}if(_0x1688bf[_0x314434(-_0x1f5067._0x2e3593,-_0x1f5067._0x18b96a,-_0x1f5067._0x5bd2f8,-_0x1f5067._0x41b896)])return;_0x1688bf[_0x314434(-_0x1f5067._0x5e996a,-0x32,-_0x1f5067._0x3f83de,-0x1c)]=!![],_0x1688bf['removeAbortListener']();function _0x314434(_0x52d13a,_0x16bdff,_0x5c6089,_0x4888a7){return _0x214fd7(_0x52d13a- -_0x3172a8._0x5a0705,_0x16bdff-_0x3172a8._0x3728b3,_0x5c6089-0x14d,_0x16bdff);}const _0x26ea9e=_0x422811[_0x3ab14b(_0x1f5067._0x25affd,_0x1f5067._0x2d055f,0x3b2,_0x1f5067._0x1d8b3a)](_0x1688bf);if(_0x26ea9e>=0x0)_0x422811['splice'](_0x26ea9e,0x1);_0x1688bf[_0x314434(-_0x1f5067._0x50a452,-_0x1f5067._0x5e996a,-0x16,-0x27)](toAbortError(_0x18132b?.[_0x3ab14b(0x396,0x3ab,0x3a2,0x3a3)]));});});}};}var MESSAGE_ROLES=['assistant','user'];function _0x5ad8(_0x5d0f3b,_0x4a995d){_0x5d0f3b=_0x5d0f3b-0x16f;const _0x57409e=_0x5740();let _0x5ad824=_0x57409e[_0x5d0f3b];if(_0x5ad8['bILPDQ']===undefined){var _0x58372c=function(_0x248ff6){const _0x585e77='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e7d23='',_0x1a8a63='';for(let _0x422811=0x0,_0x313b3c,_0x4a7055,_0x41ff18=0x0;_0x4a7055=_0x248ff6['charAt'](_0x41ff18++);~_0x4a7055&&(_0x313b3c=_0x422811%0x4?_0x313b3c*0x40+_0x4a7055:_0x4a7055,_0x422811++%0x4)?_0x5e7d23+=String['fromCharCode'](0xff&_0x313b3c>>(-0x2*_0x422811&0x6)):0x0){_0x4a7055=_0x585e77['indexOf'](_0x4a7055);}for(let _0x3f591c=0x0,_0x2ea082=_0x5e7d23['length'];_0x3f591c<_0x2ea082;_0x3f591c++){_0x1a8a63+='%'+('00'+_0x5e7d23['charCodeAt'](_0x3f591c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a8a63);};_0x5ad8['cmNcoX']=_0x58372c,_0x5ad8['sFogPo']={},_0x5ad8['bILPDQ']=!![];}const _0x250be2=_0x57409e[0x0],_0x9fcc5=_0x5d0f3b+_0x250be2,_0xcb550f=_0x5ad8['sFogPo'][_0x9fcc5];return!_0xcb550f?(_0x5ad824=_0x5ad8['cmNcoX'](_0x5ad824),_0x5ad8['sFogPo'][_0x9fcc5]=_0x5ad824):_0x5ad824=_0xcb550f,_0x5ad824;}function _0x37c761(_0x4daf43,_0x49edc8,_0xd78c61,_0x1632da){return _0x5ad8(_0x4daf43- -0x303,_0xd78c61);}function _0x5740(){const _0x4a7987=['zNjLzxPL','mJCZzg1JC0HN','Aw5KzxHpzG','ywjVCNrLza','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','mti0y1HZEenZ','oti4og5yuNvrCq','mZC4owzRA1Htwq','AxnjBNrLz2vY','CMvZB2X2zq','mtjvAKzUzuW','CMvTB3zLqwjVCNrmAxn0zw5LCG','CMvHC29U','y2fUy2vSBgvK','ntmZmty5whzNsM5m','ChvZAa','mZq4ntqWChHIwMTI','CMvQzwn0','mJKWmZu5meDAz0fHDq','mtCYmMLwy3zIAq','C2HPzNq','AxngAw5PDgu','mtC1ndK3t0LfyNHN','mJjNrNnKvha','mJeWotvvtMDLvwm','mteYmJzTtKzwruG'];_0x5740=function(){return _0x4a7987;};return _0x5740();}Object[_0x37c761(-0x183,-0x184,-0x184,-0x17f)](MESSAGE_ROLES);export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};