@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.
- package/dist/VERSION +2 -2
- package/dist/agent/context-compactor.d.ts +1 -0
- package/dist/agent/index.js +1 -1
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-EQGBU73Q.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-GAZGO6N7.js +1 -1
- package/dist/chunk-IMXQOWD3.js +1 -0
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/isolate/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/tools/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-NJFOEZ6V.js +0 -1
package/dist/shared/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
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};
|