@nuvin/nuvin-code 0.0.0-rc.3 → 0.0.0-rc.5
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
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x586e(_0x269716,_0x75f69f){_0x269716=_0x269716-0x91;const _0x4c749e=_0x4c74();let _0x586eb0=_0x4c749e[_0x269716];if(_0x586e['fxBMRF']===undefined){var _0x11e318=function(_0x2b05a7){const _0x122c2b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1253b3='',_0x325839='';for(let _0xa47ab4=0x0,_0x1009e9,_0x972194,_0x2eb5a4=0x0;_0x972194=_0x2b05a7['charAt'](_0x2eb5a4++);~_0x972194&&(_0x1009e9=_0xa47ab4%0x4?_0x1009e9*0x40+_0x972194:_0x972194,_0xa47ab4++%0x4)?_0x1253b3+=String['fromCharCode'](0xff&_0x1009e9>>(-0x2*_0xa47ab4&0x6)):0x0){_0x972194=_0x122c2b['indexOf'](_0x972194);}for(let _0x18c90d=0x0,_0x56bdb7=_0x1253b3['length'];_0x18c90d<_0x56bdb7;_0x18c90d++){_0x325839+='%'+('00'+_0x1253b3['charCodeAt'](_0x18c90d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x325839);};_0x586e['qswmlw']=_0x11e318,_0x586e['hUXlbh']={},_0x586e['fxBMRF']=!![];}const _0x32c7a6=_0x4c749e[0x0],_0x43caf8=_0x269716+_0x32c7a6,_0x205846=_0x586e['hUXlbh'][_0x43caf8];return!_0x205846?(_0x586eb0=_0x586e['qswmlw'](_0x586eb0),_0x586e['hUXlbh'][_0x43caf8]=_0x586eb0):_0x586eb0=_0x205846,_0x586eb0;}(function(_0x300817,_0x26b012){const _0x3708e5={_0x41212b:0x204,_0x1cc710:0x1dd,_0x5e662:0x9b,_0x21726a:0x83,_0x297517:0x73,_0x21be23:0x6e,_0x181876:0x4d,_0x400d36:0x46,_0x54bc71:0x60,_0x3e6ad9:0x6c,_0x210107:0x1e6,_0x40086d:0x1bf},_0x367d60=_0x300817();function _0x1c79f9(_0x3b87c4,_0x875b90,_0x51f399,_0x1dab77){return _0x586e(_0x51f399- -0x117,_0x1dab77);}function _0x185a6b(_0x3888a4,_0x14faaa,_0x187e2e,_0x31a640){return _0x586e(_0x187e2e-0x132,_0x31a640);}while(!![]){try{const _0x1d29f4=-parseInt(_0x185a6b(0x20b,0x1ea,0x1f5,0x1e7))/0x1+parseInt(_0x185a6b(_0x3708e5._0x41212b,0x1e1,0x1fd,_0x3708e5._0x1cc710))/0x2*(parseInt(_0x1c79f9(-0x86,-0x8d,-0x7d,-_0x3708e5._0x5e662))/0x3)+-parseInt(_0x1c79f9(-_0x3708e5._0x21726a,-0x77,-0x64,-0x76))/0x4*(-parseInt(_0x1c79f9(-_0x3708e5._0x297517,-0x74,-0x62,-_0x3708e5._0x21be23))/0x5)+parseInt(_0x1c79f9(-_0x3708e5._0x181876,-_0x3708e5._0x400d36,-0x44,-0x5f))/0x6+-parseInt(_0x1c79f9(-0x85,-0x77,-_0x3708e5._0x54bc71,-_0x3708e5._0x3e6ad9))/0x7+parseInt(_0x185a6b(0x1db,0x1dd,_0x3708e5._0x210107,0x1fc))/0x8*(parseInt(_0x185a6b(_0x3708e5._0x40086d,0x1d8,0x1df,0x1c0))/0x9)+-parseInt(_0x185a6b(0x1cd,0x1ce,0x1d2,0x1e8))/0xa;if(_0x1d29f4===_0x26b012)break;else _0x367d60['push'](_0x367d60['shift']());}catch(_0x11fbde){_0x367d60['push'](_0x367d60['shift']());}}}(_0x4c74,0x81076));import{createRequire as _0x1253b3}from'module';const require=_0x1253b3(import.meta.url);function _0x3575f9(_0x5570a6,_0x7dac9e,_0x15a117,_0x17bb7){const _0x4946f2={_0x5850c6:0x1cb};return _0x586e(_0x5570a6-_0x4946f2._0x5850c6,_0x17bb7);}var R=Object[_0x3575f9(0x295,0x28b,0x293,0x29e)],x=Object['defineProperty'],b=Object['getOwnPropertyDescriptor'],k=Object[_0x3575f9(0x287,0x288,0x298,0x270)],j=Object['getPrototypeOf'],J=Object[_0x3575f9(0x25c,0x268,0x27b,0x25c)][_0x3575f9(0x27d,0x276,0x289,0x277)],Q=(_0x2eb5a4=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x2eb5a4,{'get':(_0x18c90d,_0x56bdb7)=>(typeof require<'u'?require:_0x18c90d)[_0x56bdb7]}):_0x2eb5a4)(function(_0x578fef){const _0xf01258={_0x1c7dd0:0xc7,_0x599c92:0x3e9,_0x19f7b8:0x3c4},_0x377b5e={_0x5caf68:0x1db};if(typeof require<'u')return require[_0x3553d3(0xb2,0xd1,_0xf01258._0x1c7dd0,0xca)](this,arguments);function _0x552233(_0x1b9bcf,_0x81df0e,_0xe78550,_0x161d1c){return _0x268517(_0xe78550,_0x1b9bcf-0x590,_0xe78550-0x6a,_0x161d1c-_0x377b5e._0x5caf68);}function _0x3553d3(_0x553f30,_0x547c7d,_0x323078,_0x588262){return _0x268517(_0x553f30,_0x323078-0x280,_0x323078-0x73,_0x588262-0x139);}throw Error(_0x552233(_0xf01258._0x599c92,_0xf01258._0x19f7b8,0x40e,0x3fe)+_0x578fef+'\x22\x20is\x20not\x20supported');}),D=(_0x3f6899,_0x42439f)=>()=>(_0x3f6899&&(_0x42439f=_0x3f6899(_0x3f6899=0x0)),_0x42439f),$=(_0x125828,_0x3959ba)=>()=>(_0x3959ba||_0x125828((_0x3959ba={'exports':{}})[_0x3575f9(0x298,0x2b8,0x292,0x27e)],_0x3959ba),_0x3959ba[_0x268517(-0x19b,-0x192,-0x1aa,-0x1a2)]),F=(_0x46798b,_0x499c12)=>{for(var _0x160bb6 in _0x499c12)x(_0x46798b,_0x160bb6,{'get':_0x499c12[_0x160bb6],'enumerable':!0x0});},E=(_0x19c193,_0x13a958,_0x28bc34,_0x1aa989)=>{const _0x57f716={_0x4ce761:0x121,_0x386929:0x13d,_0x3bc184:0x15c,_0x3aa46a:0x172,_0x58b9a7:0x14e},_0x20fa61={_0x231d98:0xa4},_0x1c1c7d={_0x2d62b9:0x1e8,_0x41c00c:0x197};if(_0x13a958&&typeof _0x13a958==_0x326727(0x15b,_0x57f716._0x4ce761,_0x57f716._0x386929,0x13d)||typeof _0x13a958==_0x326727(0x164,_0x57f716._0x3bc184,0x16e,_0x57f716._0x3aa46a)){for(let _0x52f551 of k(_0x13a958))!J[_0x326727(_0x57f716._0x58b9a7,0x14c,0x149,0x142)](_0x19c193,_0x52f551)&&_0x52f551!==_0x28bc34&&x(_0x19c193,_0x52f551,{'get':()=>_0x13a958[_0x52f551],'enumerable':!(_0x1aa989=b(_0x13a958,_0x52f551))||_0x1aa989[_0x46c060(0x46e,0x473,0x497,0x44f)]});}function _0x46c060(_0x278c45,_0x541b12,_0x13986d,_0x10c9f2){return _0x3575f9(_0x541b12-_0x1c1c7d._0x2d62b9,_0x541b12-0xe5,_0x13986d-_0x1c1c7d._0x41c00c,_0x13986d);}function _0x326727(_0x4938e6,_0x2c56a6,_0x4cb181,_0x4b8323){return _0x3575f9(_0x4cb181- -0x129,_0x2c56a6-_0x20fa61._0x231d98,_0x4cb181-0xfa,_0x4b8323);}return _0x19c193;},V=(_0x272522,_0x11741f,_0x277600)=>(_0x277600=_0x272522!=null?R(j(_0x272522)):{},E(_0x11741f||!_0x272522||!_0x272522[_0x268517(-0x1e7,-0x1c2,-0x1a6,-0x19c)]?x(_0x277600,_0x3575f9(0x2a5,0x2c3,0x292,0x2b7),{'value':_0x272522,'enumerable':!0x0}):_0x277600,_0x272522));import _0x325839 from'path';import{fileURLToPath as _0xa47ab4}from'url';var i=D(()=>{'use strict';});i();function z(_0x1d249e){return _0x1d249e instanceof Error?_0x1d249e['message']:String(_0x1d249e);}i(),i();var y=new Set([_0x3575f9(0x262,0x266,0x242,0x26f),_0x268517(-0x1c7,-0x1bc,-0x1d0,-0x1cf),'Ls',_0x268517(-0x175,-0x190,-0x16f,-0x191),_0x3575f9(0x273,0x250,0x24e,0x285),_0x268517(-0x1ab,-0x1a9,-0x1af,-0x1ae),_0x3575f9(0x29c,0x296,0x2a3,0x2a0),_0x268517(-0x19d,-0x1a0,-0x1c3,-0x1a5)]),L=y;function ee(_0xf2579){const _0x33dbb8={_0x1349fa:0x18c},_0x44818b={_0x2f08f4:0x3e};function _0x463c63(_0x1b352d,_0x37f4a5,_0x46dea6,_0x1fa8b6){return _0x268517(_0x37f4a5,_0x46dea6-0x43,_0x46dea6-0x1e4,_0x1fa8b6-_0x44818b._0x2f08f4);}return L[_0x463c63(-0x184,-_0x33dbb8._0x1349fa,-0x16b,-0x15e)](_0xf2579);}function _0x4c74(){const _0x2c08c2=['C3rYDwn0DxjLza','vMLLD0zPBgu','yxbWzw5K','zMLUywXFBwvZC2fNzq','yxbWBhK','y2fSBa','r2XVyG','Dg9VBe5HBwu','Dg9VBa','Dgv4Da','CgvUzgLUzW','mJCZnK1XsLPIzG','Dg9VBenHBgW','yxnZAxn0yw50twvZC2fNzuLKCW','yxnZAxn0yw50x2nODw5R','AgfZ','AgfZt3DUuhjVCgvYDhK','mJC1mty1nNboEKPgra','ntKZnLz4AKL6vW','nuncwgL3yq','tg9HzfnRAwXS','nde2ntyWmNnPz09gsW','rhLUyw1PyYbYzxf1AxjLig9Mici','yxnZAxn0yw50','Dg9VBe1LC3nHz2vjzhm','C3rYAw5N','z2v0t3DUuhjVCgvYDhLoyw1LCW','DxnLCG','zxjYB3i','v2vIu2vHCMnO','zw51BwvYywjSzq','AxnbCNjHEq','BwvZC2fNzxm','mtaZnJmYmxb2uvPwwa','ywn0AxzL','BwvZC2fNzs0','y29TBwfUza','Aw5MBW','Dg9VBf9YzwPLy3rLza','BgvUz3rO','y3jLyxrL','mZGWAuT3EwXO','zNvUy3rPB24','zxHWB3j0CW','C3rYAw5NAwz5','r3jLCa','CMvWBgfJzq','v2vIrMv0y2G','DhjPBq','ntGWodi0mhreCK1JtG','CMvQzwn0zwq','BMfTzq','B3v0Chv0','BwvZC2fNzuLK','y2fSBeLK','BwvZC2fNzq','zgvMyxvSDa','BMv4DeLK','DhLWzq','ChjVDg90ExbL','CMvZDwX0','Dg9VBf9JB21WBgv0zwq','CMvHC29UAw5N','Dg9VBf9JywXS','CMvHC29UAw5Nx21LC3nHz2u','rMLSzvjLywq','y2H1BMS','CM9Szq','mty0mZDXqLPSsgi','B2jQzwn0','Aw5WDxq','x19LC01VzhvSzq','CMvHC29UAw5NtwvZC2fNzuLKCW','Dg9VBf9ZDgfYDgvK','nZyYnJiZmhPPs05Arq','C3rHDhvZ'];_0x4c74=function(){return _0x2c08c2;};return _0x4c74();}function te(){return{'active':null,'pending':[]};}function se(_0x4c8998,_0x2eca53){const _0x3c7cc1={_0x3db089:0x2e1,_0x10360e:0x2bb,_0x122a10:0x2ef,_0x44aab3:0x2c9,_0x9acb6e:0x2bd},_0x1aa6fc={_0x129b6e:0x4ab,_0x2bfe04:0x1a9,_0x27102b:0x4b},_0x1f6c0d={_0x78b2b5:0x47c,_0x4862cc:0xe0};function _0x3ad749(_0x1fa6f0,_0x59792b,_0x3c886d,_0x3000c7){return _0x268517(_0x59792b,_0x1fa6f0-_0x1f6c0d._0x78b2b5,_0x3c886d-_0x1f6c0d._0x4862cc,_0x3000c7-0x49);}function _0x2a12d8(_0x10f94e,_0x2de2e6,_0x34e57b,_0x5d10d4){return _0x268517(_0x34e57b,_0x10f94e-_0x1aa6fc._0x129b6e,_0x34e57b-_0x1aa6fc._0x2bfe04,_0x5d10d4-_0x1aa6fc._0x27102b);}return _0x4c8998[_0x3ad749(_0x3c7cc1._0x3db089,_0x3c7cc1._0x10360e,0x2d4,_0x3c7cc1._0x122a10)]?{..._0x4c8998,'pending':[..._0x4c8998[_0x3ad749(_0x3c7cc1._0x44aab3,0x2d1,0x2c0,_0x3c7cc1._0x9acb6e)],_0x2eca53]}:{..._0x4c8998,'active':_0x2eca53};}function ne(_0x13abfd){const _0x1eab83={_0x806381:0x328,_0xd9de6b:0x315,_0x27bbb6:0x33c},_0x216790={_0x277efb:0x175,_0x2fbbcc:0x12c,_0x29435f:0x87};let [_0x46ee0e,..._0x23c80d]=_0x13abfd[_0x24c9ba(-_0x1eab83._0x806381,-0x30d,-_0x1eab83._0xd9de6b,-_0x1eab83._0x27bbb6)];function _0x24c9ba(_0x27702a,_0x46c6be,_0x290c82,_0x5cd7b8){return _0x268517(_0x290c82,_0x27702a- -_0x216790._0x277efb,_0x290c82-_0x216790._0x2fbbcc,_0x5cd7b8-_0x216790._0x29435f);}return{'active':_0x46ee0e??null,'pending':_0x23c80d};}i();import{getReasoningTextFromMessage as _0x1009e9,getTextFromMessage as _0x972194}from'@nuvin/agent-core/formats';i();function m(_0x1af0fa){const _0x30970f={_0x47dd36:0x4a6,_0x5852ca:0x499,_0x360092:0x4b1,_0x54e1de:0x48e},_0xd474a1={_0x324f40:0x20d};function _0x40fbb6(_0x410a96,_0x345ec5,_0x10911c,_0x4e2eb5){return _0x3575f9(_0x345ec5-_0xd474a1._0x324f40,_0x345ec5-0xff,_0x10911c-0x113,_0x4e2eb5);}return typeof _0x1af0fa=='object'&&_0x1af0fa!==null&&!Array[_0x40fbb6(_0x30970f._0x47dd36,_0x30970f._0x5852ca,_0x30970f._0x360092,_0x30970f._0x54e1de)](_0x1af0fa)?_0x1af0fa:void 0x0;}function g(_0x1bbe93){const _0x42ca4a={_0x24f340:0x209,_0xf0131:0x231,_0x460d1a:0x217},_0x739649={_0x3bc65e:0x14c},_0x532dfa={_0x40a501:0x39b,_0x19f50f:0xae};function _0xb6744c(_0xc263ac,_0x1129a3,_0x2739f9,_0xb7fd9e){return _0x268517(_0x1129a3,_0xb7fd9e-_0x532dfa._0x40a501,_0x2739f9-0x1ef,_0xb7fd9e-_0x532dfa._0x19f50f);}function _0x2dc6c6(_0x22cf96,_0x79a3e2,_0x22a2d7,_0x303b4b){return _0x3575f9(_0x79a3e2- -0x293,_0x79a3e2-_0x739649._0x3bc65e,_0x22a2d7-0x106,_0x22a2d7);}return _0xb6744c(0x1ee,0x214,0x217,0x201)+_0x1bbe93[_0xb6744c(_0x42ca4a._0x24f340,0x1fa,_0x42ca4a._0xf0131,_0x42ca4a._0x460d1a)];}function _0x268517(_0xa50619,_0x40d308,_0x1e774b,_0x2143db){return _0x586e(_0x40d308- -0x25f,_0xa50619);}function u(_0x28bdc8,_0x28bb51,_0x4cad62){const _0x165961={_0x298f46:0x58};function _0x3b1c48(_0x412ebb,_0x25a75a,_0x2dfe54,_0x3f2b8d){return _0x3575f9(_0x25a75a- -0x220,_0x25a75a-0x18c,_0x2dfe54-0xf0,_0x2dfe54);}return{..._0x28bdc8,'messages':_0x28bdc8[_0x3b1c48(0x73,0x6d,0x89,_0x165961._0x298f46)]['map'](_0x294490=>_0x294490['id']===_0x28bb51?_0x4cad62(_0x294490):_0x294490)};}function c(_0x347043,_0x1818cc){const _0x25e4ba={_0x4e3860:0x1f3},_0x43d969={_0x71ffcb:0x48d,_0x1a1f78:0x15b};function _0x44b9c5(_0x3b0476,_0x40d35e,_0xf010ad,_0x57a143){return _0x3575f9(_0x40d35e- -_0x43d969._0x71ffcb,_0x40d35e-_0x43d969._0x1a1f78,_0xf010ad-0x4f,_0x57a143);}return{..._0x347043,'messages':[..._0x347043['messages'],_0x1818cc],'nextId':_0x347043[_0x44b9c5(-_0x25e4ba._0x4e3860,-0x1e7,-0x1e3,-0x1e0)]+0x1};}function U(_0x5e7eff,_0x26891a){return _0x5e7eff?_0x5e7eff+'::'+_0x26891a:_0x26891a;}function p(_0x1fbdd9,_0x4f9f98,_0x3d6f17,_0x3310cc,_0x301492,_0x2cbc31,_0x494ae9,_0x1e51b8){const _0x4b6517={_0x2a4fab:0xd6,_0x1fbd31:0x144},_0x45aeb9={_0x3279ea:0x1d8,_0xd1e89:0x4c};let _0x583035=U(_0x1e51b8,_0x3d6f17),_0x82902a=_0x1fbdd9[_0x4f9f98][_0x583035];if(_0x82902a)return u(_0x1fbdd9,_0x82902a,_0x45f467=>_0x45f467[_0x46daac(0x32d,0x32d,0x33a,0x316)]!==_0x3310cc?_0x45f467:{..._0x45f467,'live':_0x494ae9,'text':_0x2cbc31===_0x5bd36e(0x97,0x87,0x76,0x85)?''+_0x45f467[_0x46daac(0x372,0x32f,0x34c,0x347)]+_0x301492:_0x301492});let _0xfd3960=g(_0x1fbdd9),_0x3240cb=c(_0x1fbdd9,{'id':_0xfd3960,'role':_0x3310cc,'text':_0x301492,'live':_0x494ae9,..._0x1e51b8?{'parentToolCallId':_0x1e51b8}:{}});function _0x5bd36e(_0x21634a,_0x4f913c,_0x14106a,_0x124712){return _0x3575f9(_0x21634a- -_0x45aeb9._0x3279ea,_0x4f913c-0x132,_0x14106a-_0x45aeb9._0xd1e89,_0x14106a);}function _0x46daac(_0x449720,_0x327ff0,_0x52da54,_0xb8defb){return _0x3575f9(_0x52da54-_0x4b6517._0x2a4fab,_0x327ff0-0x4e,_0x52da54-_0x4b6517._0x1fbd31,_0x327ff0);}return{..._0x3240cb,[_0x4f9f98]:{..._0x3240cb[_0x4f9f98],[_0x583035]:_0xfd3960}};}function B(_0x55ac1f){const _0x431b6d={_0x29d771:0x1c1,_0x32f6a7:0x1b6,_0x5e31e0:0x294,_0x38fbc4:0x2a0,_0x26d1e6:0x277,_0x2a78bd:0x19a,_0x24ecfb:0x1c4,_0x43c80a:0x1bc},_0x1faf97={_0x50ef99:0x353,_0x51783f:0x88,_0x2a26bc:0x1e7};function _0x1e0ec9(_0x293506,_0xc59f38,_0xff7fb5,_0x3d5806){return _0x268517(_0x3d5806,_0x293506-_0x1faf97._0x50ef99,_0xff7fb5-_0x1faf97._0x51783f,_0x3d5806-_0x1faf97._0x2a26bc);}let _0x40f4c5=m(_0x55ac1f);if(!_0x40f4c5)return JSON[_0x1e0ec9(0x1c2,_0x431b6d._0x29d771,_0x431b6d._0x32f6a7,0x1cc)](_0x55ac1f);let _0x783340=_0x40f4c5[_0x57b9d1(-_0x431b6d._0x5e31e0,-_0x431b6d._0x38fbc4,-0x271,-0x282)];if(typeof _0x783340==_0x57b9d1(-0x2a5,-_0x431b6d._0x26d1e6,-0x27d,-0x28d))return _0x783340;let _0x150082=Object['entries'](_0x40f4c5);function _0x57b9d1(_0x588174,_0x50fb0c,_0xf28e72,_0x6acf25){return _0x3575f9(_0x6acf25- -0x513,_0x50fb0c-0x1c1,_0xf28e72-0x10d,_0x50fb0c);}return _0x150082[_0x1e0ec9(0x1bd,_0x431b6d._0x2a78bd,0x1c2,_0x431b6d._0x24ecfb)]===0x1&&typeof _0x150082[0x0]?.[0x1]=='string'?String(_0x150082[0x0][0x1]):JSON[_0x1e0ec9(0x1c2,0x1dd,0x1b4,_0x431b6d._0x43c80a)](_0x40f4c5);}function P(_0x2c97f7,_0x3b8cc6){const _0x9865e8={_0x2951b0:0x185,_0x597d95:0x133,_0x50cf9e:0x19e,_0x147eae:0x1c0,_0x357126:0x1c2,_0x93fad4:0x1a1},_0x32782d={_0x235d69:0x116},_0x542c2f={_0x17b33e:0x112};function _0x3d7252(_0x57dbf2,_0x1fef69,_0x12e7a5,_0x3b5277){return _0x268517(_0x57dbf2,_0x12e7a5-0x57,_0x12e7a5-_0x542c2f._0x17b33e,_0x3b5277-0x1a6);}function _0x3c2329(_0x516f5e,_0x1d137e,_0xa0251e,_0x2b19c4){return _0x3575f9(_0x516f5e- -0x43f,_0x1d137e-_0x32782d._0x235d69,_0xa0251e-0x1e6,_0x1d137e);}return _0x2c97f7[_0x3c2329(-0x1ab,-0x1ad,-_0x9865e8._0x2951b0,-0x199)]===0x0?_0x3b8cc6[_0x3d7252(-_0x9865e8._0x597d95,-0x128,-0x132,-0x153)]:_0x3b8cc6['output'][_0x3c2329(-0x1ab,-0x193,-0x18e,-0x1ad)]===0x0||_0x2c97f7===_0x3b8cc6[_0x3c2329(-_0x9865e8._0x50cf9e,-_0x9865e8._0x147eae,-_0x9865e8._0x357126,-_0x9865e8._0x93fad4)]?_0x2c97f7:_0x3b8cc6['output']['startsWith'](_0x2c97f7)?_0x3b8cc6['output']:_0x2c97f7;}function l(_0x24e80b,_0x1bfd35,_0x2c9c33){const _0x4f128f={_0x15170a:0x4a3,_0x1d8a93:0x486,_0x42eeb1:0x486,_0x58c28f:0x46f,_0x15f9f9:0x46b,_0x96b26f:0x183,_0x8337c5:0x176,_0x237acc:0x190,_0x17995e:0x173,_0x542398:0x487,_0x5c869c:0x4ab,_0x358f87:0x4a7},_0x1bd7b5={_0x327a9e:0x208,_0x4f4476:0x1ca};let _0x3527cc=_0x24e80b['toolMessageIds'][_0x1bfd35['id']];if(_0x3527cc)return u(_0x24e80b,_0x3527cc,_0x2ce406=>_0x2ce406[_0x3aefd9(0x172,0x14d,0x170,0x186)]!==_0x3aefd9(0x1a1,0x198,0x181,0x18f)||_0x2ce406[_0x3aefd9(0x16b,0x18f,0x173,0x187)]!==void 0x0?_0x2ce406:{..._0x2ce406,'input':m(_0x1bfd35[_0x3aefd9(0x17f,0x16c,0x173,0x199)])});function _0x3aefd9(_0x457b43,_0x3a1367,_0x27720f,_0x35d2d8){return _0x268517(_0x3a1367,_0x27720f-0x336,_0x27720f-0x44,_0x35d2d8-0xb1);}let _0x577ca2=g(_0x24e80b),_0x3f98ba=c(_0x24e80b,{'id':_0x577ca2,'role':'tool','toolName':_0x1bfd35[_0x243dc9(_0x4f128f._0x15170a,0x4a8,_0x4f128f._0x1d8a93,0x4b2)],'toolCallId':_0x1bfd35['id'],'summary':B(_0x1bfd35[_0x243dc9(_0x4f128f._0x42eeb1,_0x4f128f._0x58c28f,0x44a,_0x4f128f._0x15f9f9)]),'text':'','status':_0x3aefd9(0x17e,0x179,_0x4f128f._0x96b26f,_0x4f128f._0x8337c5),'input':m(_0x1bfd35[_0x3aefd9(_0x4f128f._0x237acc,0x150,_0x4f128f._0x17995e,0x15e)]),..._0x2c9c33?{'parentToolCallId':_0x2c9c33}:{}});function _0x243dc9(_0x27727d,_0x2a3869,_0xcbcebe,_0x136c5c){return _0x3575f9(_0x2a3869-_0x1bd7b5._0x327a9e,_0x2a3869-0x1ab,_0xcbcebe-_0x1bd7b5._0x4f4476,_0xcbcebe);}return{..._0x3f98ba,'toolMessageIds':{..._0x3f98ba[_0x243dc9(_0x4f128f._0x542398,0x48d,_0x4f128f._0x5c869c,_0x4f128f._0x358f87)],[_0x1bfd35['id']]:_0x577ca2}};}function ce(_0x22f4ed,_0x29a66d,_0x52ae6b){const _0x351a4e={_0x3e1683:0x403},_0x938f71={_0x153f27:0x1ec},_0x29f126={_0x42f9a8:0x182};function _0x50480e(_0x241abd,_0x4e2637,_0x363ffc,_0x2da726){return _0x268517(_0x241abd,_0x2da726-_0x29f126._0x42f9a8,_0x363ffc-0x11b,_0x2da726-0x1eb);}function _0x5be85a(_0x56c179,_0x1bfa90,_0x4cd2da,_0x152681){return _0x268517(_0x152681,_0x56c179-0x5c1,_0x4cd2da-0x18f,_0x152681-_0x938f71._0x153f27);}let _0x2e4ed6=_0x22f4ed[_0x5be85a(0x41c,0x42a,0x43f,_0x351a4e._0x3e1683)][_0x29a66d];return _0x2e4ed6?u(_0x22f4ed,_0x2e4ed6,_0xb25769=>_0xb25769[_0x50480e(-0x27,-0x5c,-0x3e,-0x44)]!=='tool'?_0xb25769:{..._0xb25769,'status':_0x52ae6b}):_0x22f4ed;}function O(_0x2e5d37,_0x1b8b25){const _0x4c8fed={_0x12cee3:0x177,_0x35f1c6:0x14b,_0x13ef3e:0x275,_0x548181:0x181,_0x36e2d8:0x15b,_0x2a0f0a:0x163,_0x31dd39:0x244,_0x436948:0x260,_0x4ece04:0x2ac,_0x2ede0e:0x2ac,_0x3caed0:0x257,_0x2e61d0:0x195},_0xd415f1={_0x19aa35:0x60,_0x127e66:0x6d},_0x114dc6={_0x350c5b:0x21};function _0xb4bdcf(_0x334dfb,_0x2aba3b,_0x2ea2b4,_0x32503c){return _0x3575f9(_0x334dfb- -0x3f5,_0x2aba3b-_0x114dc6._0x350c5b,_0x2ea2b4-0x19c,_0x2ea2b4);}let _0x35a29e=_0x2e5d37[_0xb4bdcf(-0x170,-_0x4c8fed._0x12cee3,-_0x4c8fed._0x35f1c6,-0x16a)][_0x1b8b25['callId']];function _0x3ed558(_0x330f9e,_0x2c3028,_0x4f1c00,_0x48ed68){return _0x3575f9(_0x4f1c00- -0x503,_0x2c3028-_0xd415f1._0x19aa35,_0x4f1c00-_0xd415f1._0x127e66,_0x2c3028);}return _0x35a29e?u(_0x2e5d37,_0x35a29e,_0x1f869b=>_0x1f869b[_0xb4bdcf(-0x191,-0x183,-0x1a8,-0x17c)]!=='tool'?_0x1f869b:{..._0x1f869b,'status':_0x1b8b25[_0x3ed558(-0x29a,-0x2bc,-0x297,-0x275)],'text':P(_0x1f869b[_0x3ed558(-0x289,-0x288,-0x28d,-0x267)],_0x1b8b25),'structured':_0x1b8b25['structured']}):c(_0x2e5d37,{'id':g(_0x2e5d37),'role':_0x3ed558(-0x27d,-_0x4c8fed._0x13ef3e,-0x28e,-0x29a),'toolName':_0x1b8b25[_0xb4bdcf(-_0x4c8fed._0x548181,-_0x4c8fed._0x36e2d8,-_0x4c8fed._0x2a0f0a,-0x18d)],'toolCallId':_0x1b8b25[_0x3ed558(-0x255,-_0x4c8fed._0x31dd39,-_0x4c8fed._0x436948,-0x284)],'status':_0x1b8b25[_0x3ed558(-_0x4c8fed._0x4ece04,-0x290,-0x297,-_0x4c8fed._0x2ede0e)],'summary':'','text':_0x1b8b25[_0x3ed558(-0x27c,-0x277,-0x262,-_0x4c8fed._0x3caed0)],'structured':_0x1b8b25[_0xb4bdcf(-0x188,-_0x4c8fed._0x2e61d0,-0x17d,-_0x4c8fed._0x548181)]});}function pe(){return{'assistantMessageIds':{},'messages':[],'nextId':0x1,'reasoningMessageIds':{},'toolMessageIds':{}};}function le(_0x37bb96,_0x237d1c){const _0x63701f={_0x337a03:0x47d,_0x242220:0x481,_0x2cf01c:0x486},_0x43b85e={_0x2a7c83:0x148};function _0x33e511(_0x3aab22,_0x1a1ac8,_0x5e60c5,_0x379356){return _0x268517(_0x3aab22,_0x379356-0x628,_0x5e60c5-_0x43b85e._0x2a7c83,_0x379356-0x131);}return c(_0x37bb96,{'id':g(_0x37bb96),'role':_0x33e511(_0x63701f._0x337a03,_0x63701f._0x242220,0x468,_0x63701f._0x2cf01c),'text':_0x237d1c});}function de(_0x2e8802,_0x43b7b1){const _0x4cd123={_0x5f0800:0x304,_0x1cf1a2:0x2d3,_0x5a7ec2:0x2f7},_0x4b80e0={_0x45cbcf:0x156,_0x5464ab:0x81};function _0x56889f(_0x2aa782,_0xdbd7cd,_0x4d080f,_0x2aac74){return _0x268517(_0x2aa782,_0x2aac74- -_0x4b80e0._0x45cbcf,_0x4d080f-0x1f4,_0x2aac74-_0x4b80e0._0x5464ab);}return c(_0x2e8802,{'id':g(_0x2e8802),'role':_0x56889f(-0x302,-_0x4cd123._0x5f0800,-_0x4cd123._0x1cf1a2,-_0x4cd123._0x5a7ec2),'text':_0x43b7b1});}function Me(_0x3cdb24,_0x162ef4){const _0x861d6f={_0x259db0:0x1bf,_0x3df770:0x1b7},_0x1f1dbc={_0x487c48:0x449};function _0x28171f(_0x117430,_0x4138df,_0x1271a7,_0x1faddb){return _0x3575f9(_0x1271a7- -_0x1f1dbc._0x487c48,_0x4138df-0x26,_0x1271a7-0x59,_0x1faddb);}return c(_0x3cdb24,{'id':g(_0x3cdb24),'role':_0x28171f(-0x1c1,-_0x861d6f._0x259db0,-_0x861d6f._0x3df770,-0x194),'text':_0x162ef4});}function fe(_0x5d72fc,_0x5d78c6,_0x3bc728){const _0x5cc101={_0x34a3f0:0x281,_0x25040b:0x2b7,_0x1d9de6:0x11,_0x3c011b:0x19,_0xbb1137:0x29a,_0x124a4c:0x2b1,_0x43d3ee:0x2bb,_0x315384:0x15,_0x2e4a75:0x2c,_0x191de6:0x13,_0x1562db:0x277,_0x1d30ea:0x27c,_0x4f5d0b:0x28f,_0x2b9885:0x259,_0x2814ef:0x2aa,_0x3a42a2:0x38,_0x43403:0x2e,_0x313e3f:0x42,_0x1e2e57:0x2e,_0x231583:0x12,_0x4d1f92:0x4,_0x10c94b:0x31,_0x4e1401:0x25d,_0x53ed9e:0x26a,_0x302f90:0x17,_0x4934ad:0x29e,_0xd7387f:0x28a,_0x3552bb:0x2be,_0x543d8a:0x17,_0x587c5d:0x2b3,_0x49ffd4:0x2c2,_0x53f0d1:0x2a2,_0x12bc77:0x2b2,_0x341ac4:0xd,_0x1032ee:0x284,_0x1d0d20:0x281,_0x569d95:0x1e,_0x5586d1:0xb,_0x33f137:0xd,_0x51520a:0x9,_0x4e9b9d:0x9,_0x303ecc:0x2a,_0x1458b8:0x2e,_0x5b241a:0x21,_0x23788d:0x2b5,_0x49e89d:0x25,_0x1ed227:0x26,_0x5847d5:0xa,_0x21d05c:0x2a4,_0x54989a:0x2b6,_0x2f7d49:0x270,_0x334173:0x273,_0x58777d:0x266,_0x1db2cc:0x42,_0x285481:0x27,_0x20b357:0x44,_0x161b7e:0x2f,_0x4a925f:0x2b6,_0x5baaa5:0x18,_0x110f4e:0x291,_0x19a8c1:0x29c,_0x37777b:0x279,_0x2f7c16:0x292,_0x168cb4:0x29b,_0x5703b9:0x6,_0x38a146:0xe,_0x5dc238:0x8,_0x5ee6d3:0x284,_0x48b18e:0x27b,_0x9a941a:0x294,_0x87b687:0x2b0,_0xcd5f13:0x1b,_0x14d627:0xf,_0x16c382:0xc,_0x523767:0x39,_0x3cb175:0x1,_0x419cef:0x21,_0x37743:0x2a3,_0xf98d9e:0x2bd,_0x503d43:0x2c1,_0x34a89b:0x35,_0xa6aafa:0x14,_0x2bcc66:0x29b,_0x56c48c:0x293,_0x3fbe9d:0x280,_0x41451f:0x29d,_0x5ea4c9:0x5,_0x145ff3:0x3},_0x97fdc={_0x4b7634:0x139},_0x2324a8={_0x4ab119:0xb8};function _0x16cf45(_0x1291a4,_0x4d59f7,_0x212056,_0x4c013d){return _0x3575f9(_0x1291a4- -0x514,_0x4d59f7-_0x2324a8._0x4ab119,_0x212056-0x1dd,_0x4d59f7);}function _0x109459(_0x1b0eff,_0x38cb8e,_0x2d1c3a,_0x596edf){return _0x3575f9(_0x38cb8e- -0x276,_0x38cb8e-_0x97fdc._0x4b7634,_0x2d1c3a-0xed,_0x2d1c3a);}switch(_0x5d78c6[_0x16cf45(-0x26d,-_0x5cc101._0x34a3f0,-0x277,-0x268)]){case _0x16cf45(-0x299,-_0x5cc101._0x25040b,-0x2b1,-0x2b4):return _0x5d78c6[_0x109459(0xc,-0x13,-0xf,-0x2c)][_0x109459(-_0x5cc101._0x1d9de6,0x0,-_0x5cc101._0x3c011b,-0x14)]?p(_0x5d72fc,_0x16cf45(-_0x5cc101._0xbb1137,-0x2a5,-_0x5cc101._0x124a4c,-_0x5cc101._0x43d3ee),_0x5d78c6[_0x109459(_0x5cc101._0x315384,_0x5cc101._0x2e4a75,0x4c,0x1f)],'assistant',_0x5d78c6['chunk'][_0x109459(_0x5cc101._0x191de6,0x0,-0x1d,0x7)],_0x109459(_0x5cc101._0x3c011b,-0x7,-0x6,-0x1),!0x0,_0x3bc728):_0x5d72fc;case'assistant_message':{let _0x31f75b=_0x972194(_0x5d78c6['message'])[_0x16cf45(-_0x5cc101._0x1562db,-_0x5cc101._0x1d30ea,-_0x5cc101._0x4f5d0b,-_0x5cc101._0x2b9885)]();return _0x31f75b['length']===0x0?_0x5d72fc:p(_0x5d72fc,_0x16cf45(-0x29a,-0x275,-_0x5cc101._0x2814ef,-0x2a7),_0x5d78c6[_0x109459(_0x5cc101._0x3a42a2,_0x5cc101._0x43403,_0x5cc101._0x313e3f,_0x5cc101._0x1e2e57)]['id'],'assistant',_0x31f75b,_0x109459(_0x5cc101._0x231583,0x25,_0x5cc101._0x4d1f92,_0x5cc101._0x3a42a2),!0x1,_0x3bc728);}case'reasoning_chunk':return _0x5d78c6['text']?p(_0x5d72fc,_0x109459(-0x13,-0xd,-_0x5cc101._0x10c94b,0x8),_0x5d78c6[_0x16cf45(-0x272,-_0x5cc101._0x4e1401,-0x28b,-_0x5cc101._0x53ed9e)],_0x109459(-0x1f,-_0x5cc101._0x302f90,-0x2,-_0x5cc101._0x10c94b),_0x5d78c6[_0x16cf45(-_0x5cc101._0x4934ad,-_0x5cc101._0xd7387f,-0x29b,-_0x5cc101._0x3552bb)],_0x109459(-0x6,-0x7,-_0x5cc101._0x543d8a,-0x21),!0x0,_0x3bc728):_0x5d72fc;case _0x16cf45(-_0x5cc101._0x587c5d,-_0x5cc101._0x49ffd4,-_0x5cc101._0x53f0d1,-_0x5cc101._0x12bc77):{let _0x2addd0=_0x1009e9(_0x5d78c6[_0x109459(0x51,0x2e,0x15,_0x5cc101._0x341ac4)])[_0x16cf45(-0x277,-_0x5cc101._0x1032ee,-0x276,-_0x5cc101._0x1d0d20)]();return _0x2addd0[_0x109459(0x2f,0x1e,_0x5cc101._0x341ac4,_0x5cc101._0x569d95)]===0x0?_0x5d72fc:p(_0x5d72fc,_0x109459(-_0x5cc101._0x5586d1,-_0x5cc101._0x33f137,-_0x5cc101._0x51520a,-_0x5cc101._0x4e9b9d),_0x5d78c6[_0x109459(_0x5cc101._0x303ecc,_0x5cc101._0x1458b8,_0x5cc101._0x5b241a,0x25)]['id'],_0x16cf45(-_0x5cc101._0x23788d,-0x2c7,-0x299,-_0x5cc101._0x25040b),_0x2addd0,_0x109459(0x40,_0x5cc101._0x49e89d,_0x5cc101._0x1ed227,_0x5cc101._0x5847d5),!0x1,_0x3bc728);}case _0x16cf45(-_0x5cc101._0x21d05c,-_0x5cc101._0x23788d,-_0x5cc101._0x54989a,-0x2b3):{let _0x1fb6af=_0x972194(_0x5d78c6[_0x16cf45(-_0x5cc101._0x2f7d49,-0x290,-_0x5cc101._0x334173,-_0x5cc101._0x58777d)])[_0x109459(_0x5cc101._0x1db2cc,_0x5cc101._0x285481,_0x5cc101._0x20b357,_0x5cc101._0x161b7e)]();return _0x1fb6af['length']===0x0?_0x5d72fc:p(_0x5d72fc,_0x16cf45(-0x29a,-_0x5cc101._0x4a925f,-0x282,-0x2a5),_0x5d78c6[_0x109459(0x19,_0x5cc101._0x43403,0x37,_0x5cc101._0x5baaa5)]['id'],_0x16cf45(-0x290,-_0x5cc101._0x110f4e,-_0x5cc101._0x19a8c1,-_0x5cc101._0xbb1137),_0x1fb6af,_0x16cf45(-_0x5cc101._0x37777b,-_0x5cc101._0x2f7c16,-0x27c,-0x290),!0x1,_0x3bc728);}case _0x109459(-_0x5cc101._0x3a42a2,-0x16,-0x19,-0x23):return l(_0x5d72fc,_0x5d78c6[_0x16cf45(-_0x5cc101._0x168cb4,-0x2a6,-0x290,-0x2a2)],_0x3bc728);case _0x109459(_0x5cc101._0x5703b9,-0xc,-_0x5cc101._0x38a146,-_0x5cc101._0x5847d5):{let _0x327876=l(_0x5d72fc,_0x5d78c6[_0x109459(-0x6,0x3,-0x1e,-0xa)],_0x3bc728),_0x282a3c=_0x327876[_0x109459(_0x5cc101._0x5dc238,0xf,0x18,0x18)][_0x5d78c6[_0x16cf45(-0x29b,-_0x5cc101._0x5ee6d3,-_0x5cc101._0x48b18e,-0x2a1)]['id']];return u(_0x327876,_0x282a3c,_0xd61ee4=>_0xd61ee4[_0x16cf45(-0x2b0,-0x2d5,-0x2c8,-0x2a3)]!=='tool'?_0xd61ee4:{..._0xd61ee4,'status':'running'});}case'tool_output_chunk':{let _0x1360bb=l(_0x5d72fc,_0x5d78c6[_0x16cf45(-_0x5cc101._0x168cb4,-_0x5cc101._0x9a941a,-_0x5cc101._0x87b687,-_0x5cc101._0x25040b)],_0x3bc728),_0x5c9072=_0x1360bb[_0x109459(_0x5cc101._0xcd5f13,_0x5cc101._0x14d627,-0x12,-_0x5cc101._0x16c382)][_0x5d78c6[_0x16cf45(-0x29b,-_0x5cc101._0xbb1137,-0x2a5,-0x27d)]['id']];return u(_0x1360bb,_0x5c9072,_0x1f4b88=>_0x1f4b88['role']!==_0x109459(0x18,-0x1,-0x10,0xb)?_0x1f4b88:{..._0x1f4b88,'text':''+_0x1f4b88[_0x109459(-0x7,0x0,0x1,-0x1d)]+_0x5d78c6['chunk'][_0x16cf45(-0x273,-0x253,-0x254,-0x264)]});}case _0x109459(_0x5cc101._0x341ac4,-_0x5cc101._0x5baaa5,-_0x5cc101._0x5847d5,-_0x5cc101._0x523767):{let _0x4f7812=l(_0x5d72fc,_0x5d78c6[_0x109459(-0x14,0x3,_0x5cc101._0x3cb175,-_0x5cc101._0x419cef)],_0x3bc728);return O(_0x4f7812,_0x5d78c6[_0x16cf45(-0x2b7,-_0x5cc101._0x37743,-_0x5cc101._0xf98d9e,-_0x5cc101._0x503d43)]);}case'tool_result':return O(_0x5d72fc,_0x5d78c6[_0x109459(-0x21,-0x19,-_0x5cc101._0x34a89b,-0x2f)]);case _0x109459(_0x5cc101._0xa6aafa,0x1d,_0x5cc101._0x315384,_0x5cc101._0x14d627):{let _0x1a9763=l(_0x5d72fc,_0x5d78c6[_0x16cf45(-_0x5cc101._0x2bcc66,-0x287,-_0x5cc101._0x56c48c,-_0x5cc101._0x3fbe9d)],_0x3bc728),_0x5a4f68=_0x1a9763[_0x16cf45(-0x28f,-0x279,-_0x5cc101._0x41451f,-0x289)][_0x5d78c6[_0x109459(-_0x5cc101._0x5ea4c9,_0x5cc101._0x145ff3,-_0x5cc101._0x51520a,0x1c)]['id']];return u(_0x1a9763,_0x5a4f68,_0x553719=>_0x553719[_0x16cf45(-0x2b0,-0x2ce,-0x2d4,-0x2b0)]!=='tool'?_0x553719:{..._0x553719,'status':_0x109459(0x1b,0x29,0x3f,0x33),'text':_0x5d78c6['result'][_0x16cf45(-0x273,-0x284,-0x28b,-0x298)],'structured':_0x5d78c6['result']['structured']});}default:return _0x5d72fc;}}export{Q as a,$ as b,F as c,V as d,i as e,z as f,m as g,y as h,ee as i,te as j,se as k,ne as l,ce as m,pe as n,le as o,de as p,Me as q,fe as r};
|