@nuvin/agent-core 0.3.0-rc.5 → 0.3.0-rc.6

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(_0x45cf20,_0x4e981d){const _0x5e3845={_0x5df0b8:0x2c3,_0x295550:0x2b7,_0x354c53:0x2c6,_0x4e017b:0x1af,_0xe7614d:0x1bd,_0xbbe857:0x2c1,_0x5b159f:0x2ae,_0x41d527:0x2b0,_0x4fae43:0x1ca,_0x19d4dc:0x1d0,_0x2fe60e:0x2be,_0x418056:0x2b7,_0x12cd7c:0x2bd,_0x2e7e53:0x1b1},_0x23601e={_0x1d1e54:0x180},_0x54062e=_0x45cf20();function _0x184d76(_0x3a2129,_0x1b229b,_0x1d2fb4,_0x3051a5){return _0x4a37(_0x3a2129-0x82,_0x3051a5);}function _0x17bd8d(_0x264281,_0x1c2d0a,_0x5da4e5,_0x4737f1){return _0x4a37(_0x264281-_0x23601e._0x1d1e54,_0x1c2d0a);}while(!![]){try{const _0x587889=parseInt(_0x17bd8d(0x2b8,0x2ae,_0x5e3845._0x5df0b8,_0x5e3845._0x295550))/0x1+-parseInt(_0x17bd8d(_0x5e3845._0x354c53,0x2c0,0x2ce,0x2ca))/0x2+parseInt(_0x184d76(0x1b8,0x1c1,0x1af,_0x5e3845._0x4e017b))/0x3*(-parseInt(_0x184d76(_0x5e3845._0xe7614d,0x1b0,0x1c3,0x1ba))/0x4)+-parseInt(_0x17bd8d(0x2b4,_0x5e3845._0xbbe857,_0x5e3845._0x5b159f,_0x5e3845._0x41d527))/0x5+parseInt(_0x184d76(_0x5e3845._0x4fae43,_0x5e3845._0x19d4dc,0x1d1,0x1c9))/0x6*(parseInt(_0x184d76(0x1cd,0x1d0,0x1c2,0x1c3))/0x7)+parseInt(_0x17bd8d(_0x5e3845._0x2fe60e,_0x5e3845._0x418056,0x2b2,0x2c1))/0x8*(parseInt(_0x17bd8d(0x2b9,_0x5e3845._0x12cd7c,0x2b6,0x2c6))/0x9)+-parseInt(_0x184d76(0x1b7,_0x5e3845._0x2e7e53,0x1be,0x1ab))/0xa;if(_0x587889===_0x4e981d)break;else _0x54062e['push'](_0x54062e['shift']());}catch(_0x4c2fd6){_0x54062e['push'](_0x54062e['shift']());}}}(_0x932f,0xc06a4));function _0x932f(){const _0x1ac0fd=['mZe4mtmWnhnvvNrsBG','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','CMvTB3zLqwjVCNrmAxn0zw5LCG','y2fUy2vSBgvK','ywjVCNrLza','DxnLCG','AxnjBNrLz2vY','BgvUz3rO','ndm5nteYwKToueHV','yxnZAxn0yw50','oteYEwThu2jt','CMvHC29U','zNjLzxPL','mJaZmtrSB1LbAuu','C3bSAwnL','CMvQzwn0','nJu2mJqXmg5HDu9ZzG','mteWmJm5mfbUv1DlqW','m3biBevACa','Aw5KzxHpzG','oda3nteZzujgz09Z','mJDwu0XrugS','CMvZB2X2zq','ndm5odHju0fwDLi','ChvZAa','AxngAw5PDgu'];_0x932f=function(){return _0x1ac0fd;};return _0x932f();}import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';function _0x1992e1(_0x48bb7b,_0x513c12,_0x1c361a,_0x305061){const _0x3d4e68={_0x5ba6db:0x285};return _0x4a37(_0x48bb7b- -_0x3d4e68._0x5ba6db,_0x513c12);}import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';function _0x156553(_0x4ed0d9,_0x208130,_0x311e85,_0x1ec31c){return _0x4a37(_0x4ed0d9- -0x283,_0x1ec31c);}import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x34a886){const _0x3b265f={_0x33d8ec:0x97,_0xcccfa1:0x8f,_0x415570:0x8c,_0x564d32:0x92,_0x43c5f7:0x90,_0x1d8d20:0x99,_0xe08fe8:0x28c,_0x584f64:0x286,_0x3e9b21:0x286},_0x10b239={_0x5a7a3f:0x25e,_0xc53d3d:0x4c3,_0x4cc11b:0x4df},_0x180979={_0x4f4481:0xc5,_0x550e8c:0xcf,_0x21b3fc:0xc3,_0x4c9762:0xcc,_0x2d9f13:0x4b7,_0x5bb249:0x4c0,_0x35e4f1:0x4ba,_0x32fdaf:0xc4,_0x2055aa:0xcd},_0x52c3af={_0x2f284d:0xcf};if(!Number[_0x9b79f5(-_0x3b265f._0x33d8ec,-_0x3b265f._0xcccfa1,-_0x3b265f._0x415570,-_0x3b265f._0x564d32)](_0x34a886)||!Number[_0x9b79f5(-_0x3b265f._0x43c5f7,-_0x3b265f._0xcccfa1,-_0x3b265f._0x1d8d20,-0x99)](_0x34a886)||_0x34a886<=0x0)throw new Error(_0x19d4bd(-_0x3b265f._0xe08fe8,-0x27b,-_0x3b265f._0x584f64,-_0x3b265f._0x3e9b21));let _0xab9489=0x0;const _0x2a3679=[];function _0x9b79f5(_0x3c0132,_0x44a6c7,_0x2d78b1,_0x16b385){return _0x4a37(_0x3c0132- -0x1d4,_0x16b385);}const _0x307bdd=()=>{let _0x425e94=![];return()=>{if(_0x425e94)return;_0x425e94=!![],_0xab9489-=0x1,_0xce6f5c();};},_0xce6f5c=()=>{function _0x2eb961(_0x1b0ad8,_0x232892,_0x3e921a,_0x1b4904){return _0x19d4bd(_0x232892,_0x232892-_0x52c3af._0x2f284d,_0x3e921a-0x5,_0x3e921a-0x34f);}function _0x465ba7(_0x4a4d5e,_0x3efda4,_0x365f75,_0x220205){return _0x19d4bd(_0x220205,_0x3efda4-0xec,_0x365f75-0x18d,_0x3efda4-0x73c);}while(_0x2a3679[_0x2eb961(_0x180979._0x4f4481,0xc9,_0x180979._0x550e8c,_0x180979._0x21b3fc)]>0x0){const _0x42f5be=_0x2a3679['shift']();if(!_0x42f5be||_0x42f5be[_0x2eb961(_0x180979._0x4c9762,0xc0,0xcb,0xd4)])continue;_0x42f5be[_0x465ba7(0x4b7,0x4b8,0x4b6,0x4bf)]=!![],_0x42f5be[_0x465ba7(0x4b0,_0x180979._0x2d9f13,_0x180979._0x5bb249,_0x180979._0x35e4f1)](),_0xab9489+=0x1,_0x42f5be[_0x2eb961(0xc4,_0x180979._0x32fdaf,0xc4,_0x180979._0x2055aa)](_0x307bdd());return;}};function _0x19d4bd(_0x204f98,_0x3de23f,_0x2131df,_0x1af53f){return _0x4a37(_0x1af53f- -0x3c5,_0x204f98);}const _0x112137=()=>{if(_0xab9489>=_0x34a886)return void 0x0;return _0xab9489+=0x1,_0x307bdd();};return{'tryAcquire':_0x112137,'acquire'(_0x54093b){const _0x494806={_0x5a45ab:0x25b,_0x168c62:0x265,_0x12a1d7:0x434,_0x1560a9:0x42f},_0x16e6cc={_0x508db5:0xf7,_0x819636:0xfe,_0x485834:0x100,_0xbddba:0xfe,_0x6c9ac0:0x10f,_0xa0220e:0x103,_0x5996dd:0xf1,_0x5961bd:0xec},_0x18280c={_0x8b6a7:0xc9},_0x10a496={_0x1b7a7d:0x2f0,_0x5f4b02:0x7e,_0x45bc88:0x71},_0x5c15c1={_0x8c03d1:0x571};function _0x1e2d4f(_0x2c055f,_0xae93aa,_0x3b1fdf,_0x516745){return _0x9b79f5(_0x516745-_0x5c15c1._0x8c03d1,_0xae93aa-0x1be,_0x3b1fdf-0x58,_0x3b1fdf);}if(_0x54093b?.[_0x5ee1f4(0x25e,_0x10b239._0x5a7a3f,0x268,0x25b)])return Promise[_0x1e2d4f(_0x10b239._0xc53d3d,0x4d7,0x4c8,0x4d0)](toAbortError(_0x54093b['reason']));const _0x20ba89=_0x112137();if(_0x20ba89!==void 0x0)return Promise[_0x1e2d4f(_0x10b239._0x4cc11b,0x4d2,0x4d1,0x4d7)](_0x20ba89);function _0x5ee1f4(_0x19dcc5,_0x282416,_0x453081,_0x346cd3){return _0x9b79f5(_0x282416-_0x10a496._0x1b7a7d,_0x282416-_0x10a496._0x5f4b02,_0x453081-_0x10a496._0x45bc88,_0x19dcc5);}return new Promise((_0x5bd17d,_0x213d89)=>{const _0x1a1ed6={_0x3e5a8c:0x3,_0x1c3116:0xc7,_0x3bd0fd:0x16d},_0xb17414={'resolve':_0x5bd17d,'reject':_0x213d89,'cancelled':![],'removeAbortListener':()=>{}};function _0x16491b(_0x5cbd53,_0x199455,_0x219a2b,_0x121a5c){return _0x5ee1f4(_0x199455,_0x219a2b-_0x1a1ed6._0x3e5a8c,_0x219a2b-_0x1a1ed6._0x1c3116,_0x121a5c-_0x1a1ed6._0x3bd0fd);}_0x2a3679[_0x16491b(_0x494806._0x5a45ab,_0x494806._0x168c62,0x25b,0x25f)](_0xb17414);function _0x59f187(_0x35774b,_0x4690c4,_0x268c91,_0x37f3f1){return _0x5ee1f4(_0x37f3f1,_0x35774b-0x1d8,_0x268c91-_0x18280c._0x8b6a7,_0x37f3f1-0x1e);}_0xb17414[_0x59f187(_0x494806._0x12a1d7,0x431,_0x494806._0x1560a9,0x43d)]=addAbortListener(_0x54093b,()=>{const _0x53181c={_0x16c6a6:0x382,_0x55b044:0x62},_0x135f13={_0x382ab5:0x354};if(_0xb17414['cancelled'])return;_0xb17414[_0x44b855(-0xfa,-0xee,-_0x16e6cc._0x508db5,-0xf4)]=!![],_0xb17414[_0x44b855(-0x102,-_0x16e6cc._0x819636,-0xf1,-0xf5)]();function _0x44b855(_0x32161e,_0x18d118,_0x4e195d,_0x2b27ac){return _0x16491b(_0x32161e-0x6a,_0x32161e,_0x2b27ac- -_0x135f13._0x382ab5,_0x2b27ac-0x168);}const _0x38ceee=_0x2a3679[_0x44b855(-0x104,-0x104,-_0x16e6cc._0x485834,-_0x16e6cc._0xbddba)](_0xb17414);if(_0x38ceee>=0x0)_0x2a3679[_0x44b855(-0x10d,-0xf6,-_0x16e6cc._0x6c9ac0,-_0x16e6cc._0xa0220e)](_0x38ceee,0x1);function _0x547337(_0x549daf,_0x36db79,_0x1c674b,_0x4cd864){return _0x59f187(_0x36db79- -_0x53181c._0x16c6a6,_0x36db79-0x7c,_0x1c674b-_0x53181c._0x55b044,_0x4cd864);}_0xb17414['reject'](toAbortError(_0x54093b?.[_0x44b855(-_0x16e6cc._0x5996dd,-0xeb,-0xf5,-_0x16e6cc._0x5961bd)]));});});}};}function _0x4a37(_0x2080fd,_0x18cf30){_0x2080fd=_0x2080fd-0x132;const _0x932fcc=_0x932f();let _0x4a37e6=_0x932fcc[_0x2080fd];if(_0x4a37['qWPluU']===undefined){var _0x378483=function(_0x3140ee){const _0x10a03d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34a886='',_0xab9489='';for(let _0x2a3679=0x0,_0x307bdd,_0xce6f5c,_0x112137=0x0;_0xce6f5c=_0x3140ee['charAt'](_0x112137++);~_0xce6f5c&&(_0x307bdd=_0x2a3679%0x4?_0x307bdd*0x40+_0xce6f5c:_0xce6f5c,_0x2a3679++%0x4)?_0x34a886+=String['fromCharCode'](0xff&_0x307bdd>>(-0x2*_0x2a3679&0x6)):0x0){_0xce6f5c=_0x10a03d['indexOf'](_0xce6f5c);}for(let _0x425e94=0x0,_0x42f5be=_0x34a886['length'];_0x425e94<_0x42f5be;_0x425e94++){_0xab9489+='%'+('00'+_0x34a886['charCodeAt'](_0x425e94)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xab9489);};_0x4a37['LXGlLq']=_0x378483,_0x4a37['liWxXy']={},_0x4a37['qWPluU']=!![];}const _0x1e7a6f=_0x932fcc[0x0],_0x3e2d1c=_0x2080fd+_0x1e7a6f,_0x552859=_0x4a37['liWxXy'][_0x3e2d1c];return!_0x552859?(_0x4a37e6=_0x4a37['LXGlLq'](_0x4a37e6),_0x4a37['liWxXy'][_0x3e2d1c]=_0x4a37e6):_0x4a37e6=_0x552859,_0x4a37e6;}var MESSAGE_ROLES=[_0x156553(-0x13c,-0x130,-0x142,-0x141),_0x156553(-0x140,-0x136,-0x141,-0x142)];Object[_0x156553(-0x139,-0x12c,-0x12c,-0x131)](MESSAGE_ROLES);export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
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};
@@ -449,6 +449,15 @@ export interface TurnMessageMeta {
449
449
  senderAgentId?: string;
450
450
  /** Trusted structured metadata for a coordinator-authored subagent report. */
451
451
  subagentReport?: SubagentReportMeta;
452
+ /**
453
+ * Display-only presentation for transcript rows persisted outside the model
454
+ * conversation (slash-command echo and its ack). Projection renders these as
455
+ * TuiMessages but keeps them out of restored model context; mutually
456
+ * exclusive with submissionOrigin/senderAgentId/subagentReport.
457
+ */
458
+ presentation?: "command-echo" | "command-notice";
459
+ /** Notice row kind for presentation === "command-notice". */
460
+ noticeRole?: "info" | "warning" | "error";
452
461
  }
453
462
  export interface EngineChatModel {
454
463
  model: string;