@nuvin/agent-core 0.4.0-rc.6 → 0.4.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.
@@ -1 +1 @@
1
- (function(_0x3feb7c,_0x5af8fb){const _0x1dcb8f={_0x2260b0:0x40,_0xfab7dd:0x45,_0xb77dca:0x41,_0x55e36e:0x37f,_0xaad825:0x38b,_0x533a87:0x3d,_0x24886a:0x57,_0x374760:0x4f,_0x35d9b1:0x50,_0x3e38e1:0x373,_0x54e4d8:0x372,_0x35a459:0x366,_0x35eac2:0x373,_0x2602ee:0x53,_0x5e1a5a:0x49,_0x3e9f6a:0x387,_0x224134:0x381,_0x3f298b:0x376,_0x4fab09:0x37a},_0x1910a2={_0x4adcf2:0x212};function _0xe345c(_0x12f28a,_0x219a27,_0x23b612,_0x572e28){return _0xbdbe(_0x219a27- -_0x1910a2._0x4adcf2,_0x12f28a);}const _0x2aa96c=_0x3feb7c();function _0x21cb93(_0x2ef945,_0x38f01c,_0x1cde95,_0x5407a9){return _0xbdbe(_0x2ef945-0x1ac,_0x1cde95);}while(!![]){try{const _0x540334=parseInt(_0xe345c(-0x5f,-0x57,-0x5d,-0x54))/0x1*(parseInt(_0xe345c(-_0x1dcb8f._0x2260b0,-_0x1dcb8f._0xfab7dd,-_0x1dcb8f._0xb77dca,-0x47))/0x2)+-parseInt(_0x21cb93(0x380,_0x1dcb8f._0x55e36e,_0x1dcb8f._0xaad825,0x373))/0x3+-parseInt(_0xe345c(-0x4d,-0x41,-_0x1dcb8f._0x533a87,-0x3c))/0x4+-parseInt(_0xe345c(-_0x1dcb8f._0x24886a,-_0x1dcb8f._0x374760,-0x5b,-_0x1dcb8f._0x35d9b1))/0x5+-parseInt(_0x21cb93(_0x1dcb8f._0x3e38e1,_0x1dcb8f._0x54e4d8,0x37e,_0x1dcb8f._0x35a459))/0x6+parseInt(_0x21cb93(0x36d,_0x1dcb8f._0x3e38e1,0x369,_0x1dcb8f._0x35eac2))/0x7*(-parseInt(_0xe345c(-0x5c,-_0x1dcb8f._0x2602ee,-_0x1dcb8f._0x5e1a5a,-0x4a))/0x8)+-parseInt(_0x21cb93(0x37f,_0x1dcb8f._0x3e9f6a,_0x1dcb8f._0x224134,0x383))/0x9*(-parseInt(_0x21cb93(_0x1dcb8f._0x3f298b,0x37b,0x36b,_0x1dcb8f._0x4fab09))/0xa);if(_0x540334===_0x5af8fb)break;else _0x2aa96c['push'](_0x2aa96c['shift']());}catch(_0x3d5916){_0x2aa96c['push'](_0x2aa96c['shift']());}}}(_0x8f95,0x852eb));function _0x3ec613(_0xf6e414,_0x2beba6,_0xeff0eb,_0x26e744){return _0xbdbe(_0x2beba6- -0x4b,_0xf6e414);}import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';function _0x8f95(){const _0x4e653b=['ndK1nJyWDMvmqKHm','DxnLCG','AxngAw5PDgu','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','nJiZmJa1nLLmD2XMwq','ywjVCNrLza','CMvHC29U','mte2ntu3nJbhugPVvMq','ChvZAa','BgvUz3rO','ntuZmdjVBu9TrLq','CMvTB3zLqwjVCNrmAxn0zw5LCG','CMvQzwn0','AxnjBNrLz2vY','nJK0mJaWrhDMuhLz','yxnZAxn0yw50','mtHltencswu','mJmXmZi3m1fHy2Lnwa','mJL2vwLLuwS','Aw5KzxHpzG','C3bSAwnL','y2fUy2vSBgvK','oez6Euj4Aa','zNjLzxPL','mZuZntq2owD2CNruEG','CMvZB2X2zq'];_0x8f95=function(){return _0x4e653b;};return _0x8f95();}import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';import{TurnFailedError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice}from'../chunk-YTDATWXW.js';function _0x198175(_0x1c26e2,_0x574814,_0x324895,_0x2d5043){const _0x46c0dc={_0x16b2f9:0xd9};return _0xbdbe(_0x1c26e2-_0x46c0dc._0x16b2f9,_0x2d5043);}import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function _0xbdbe(_0x51a191,_0x28291b){_0x51a191=_0x51a191-0x1bb;const _0x8f9573=_0x8f95();let _0xbdbeaf=_0x8f9573[_0x51a191];if(_0xbdbe['quqXFi']===undefined){var _0x4b5ffc=function(_0x554c59){const _0x2039a8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x24c35b='',_0x4c24c1='';for(let _0x119e05=0x0,_0x55e2f4,_0x29bf33,_0x2488ba=0x0;_0x29bf33=_0x554c59['charAt'](_0x2488ba++);~_0x29bf33&&(_0x55e2f4=_0x119e05%0x4?_0x55e2f4*0x40+_0x29bf33:_0x29bf33,_0x119e05++%0x4)?_0x24c35b+=String['fromCharCode'](0xff&_0x55e2f4>>(-0x2*_0x119e05&0x6)):0x0){_0x29bf33=_0x2039a8['indexOf'](_0x29bf33);}for(let _0x15c9af=0x0,_0x2bcbfa=_0x24c35b['length'];_0x15c9af<_0x2bcbfa;_0x15c9af++){_0x4c24c1+='%'+('00'+_0x24c35b['charCodeAt'](_0x15c9af)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4c24c1);};_0xbdbe['vwzVFt']=_0x4b5ffc,_0xbdbe['rxnqQA']={},_0xbdbe['quqXFi']=!![];}const _0x5f2830=_0x8f9573[0x0],_0x188414=_0x51a191+_0x5f2830,_0x5674a2=_0xbdbe['rxnqQA'][_0x188414];return!_0x5674a2?(_0xbdbeaf=_0xbdbe['vwzVFt'](_0xbdbeaf),_0xbdbe['rxnqQA'][_0x188414]=_0xbdbeaf):_0xbdbeaf=_0x5674a2,_0xbdbeaf;}function createAbortAwareSemaphore(_0x24c35b){const _0x20befe={_0x1cac52:0x111,_0x51b7fa:0x108,_0x2cac59:0x107},_0xdc9538={_0x12f026:0x85,_0x3cf440:0x90,_0x426e42:0x84,_0x4816c9:0x106,_0x47187e:0x10b},_0x9b5c65={_0x79705c:0x50,_0xc3768c:0x2},_0x122c86={_0x3810ab:0x18d,_0x303cea:0x10d,_0x1d0898:0x18e},_0x4f5179={_0x4faae6:0x20b,_0x401f77:0x216,_0x1c0fe3:0x20c,_0x2f3a6f:0x21a,_0x55cc23:0x212,_0x629e90:0x20e,_0x1bee49:0x20d,_0x211a94:0x1fd,_0x495dc6:0x201,_0x545e0d:0x1ff,_0x5183c5:0x212},_0x381c2c={_0x2fc219:0x93},_0x5404d3={_0x587f29:0x245};function _0x2e5ab6(_0x48d844,_0x34c2e3,_0x1e4ac9,_0x221bdb){return _0xbdbe(_0x1e4ac9-_0x5404d3._0x587f29,_0x221bdb);}function _0x55cec6(_0x33b415,_0x2199dc,_0x5d59d2,_0x4299d8){return _0xbdbe(_0x4299d8- -0x2cd,_0x2199dc);}if(!Number[_0x55cec6(-0x114,-0x10f,-0xfd,-0x108)](_0x24c35b)||!Number[_0x55cec6(-0xfa,-0x104,-0x106,-0xfd)](_0x24c35b)||_0x24c35b<=0x0)throw new Error(_0x55cec6(-_0x20befe._0x1cac52,-0x10a,-_0x20befe._0x51b7fa,-_0x20befe._0x2cac59));let _0x4c24c1=0x0;const _0x119e05=[],_0x55e2f4=()=>{let _0x15c9af=![];return()=>{if(_0x15c9af)return;_0x15c9af=!![],_0x4c24c1-=0x1,_0x29bf33();};},_0x29bf33=()=>{const _0x114e0d={_0x8c1883:0x9f};function _0x513359(_0x11e80e,_0x3c41ac,_0x47571b,_0x44ac00){return _0x55cec6(_0x11e80e-0x32,_0x3c41ac,_0x47571b-_0x381c2c._0x2fc219,_0x44ac00- -0x10b);}function _0x5b72b3(_0x207b5d,_0xca61f1,_0x134499,_0x52f5a8){return _0x55cec6(_0x207b5d-_0x114e0d._0x8c1883,_0x52f5a8,_0x134499-0x1b7,_0x207b5d- -0xfe);}while(_0x119e05[_0x513359(-0x213,-_0x4f5179._0x4faae6,-_0x4f5179._0x401f77,-_0x4f5179._0x1c0fe3)]>0x0){const _0x2bcbfa=_0x119e05['shift']();if(!_0x2bcbfa||_0x2bcbfa[_0x513359(-_0x4f5179._0x2f3a6f,-_0x4f5179._0x55cc23,-_0x4f5179._0x629e90,-0x21a)])continue;_0x2bcbfa[_0x5b72b3(-_0x4f5179._0x1bee49,-0x209,-0x218,-0x206)]=!![],_0x2bcbfa[_0x5b72b3(-_0x4f5179._0x211a94,-0x1f2,-_0x4f5179._0x495dc6,-_0x4f5179._0x545e0d)](),_0x4c24c1+=0x1,_0x2bcbfa[_0x513359(-0x214,-_0x4f5179._0x5183c5,-0x21c,-0x216)](_0x55e2f4());return;}},_0x2488ba=()=>{if(_0x4c24c1>=_0x24c35b)return void 0x0;return _0x4c24c1+=0x1,_0x55e2f4();};return{'tryAcquire':_0x2488ba,'acquire'(_0x3711f8){const _0x39f913={_0x33270b:0x161,_0x1e624b:0x16e,_0xc18b90:0x159,_0x5d0888:0x174,_0x3948de:0x16f,_0x18c710:0x161},_0x3c39cb={_0x434235:0xc5,_0xaa34a7:0xd0,_0x370453:0xc7,_0x4afec4:0xc3,_0x3e0874:0xbf,_0xa1e569:0xe4,_0x256a2d:0x4b8,_0x47a654:0x4ba,_0x3947a4:0x4ae,_0xe6e205:0xc0,_0x5c782b:0xce,_0x33f096:0xb9,_0x134942:0x4c8,_0x4566bb:0x4b7,_0x718cdb:0xd2},_0x482ef1={_0x9ea0fc:0x10,_0x40c2d2:0x100};if(_0x3711f8?.[_0x5bf04f(_0xdc9538._0x12f026,0x89,0x92,0x85)])return Promise[_0x5bf04f(0x92,_0xdc9538._0x3cf440,0x8f,_0xdc9538._0x426e42)](toAbortError(_0x3711f8[_0x57ffa8(-0x108,-0x102,-_0xdc9538._0x4816c9,-_0xdc9538._0x47187e)]));const _0x3e875c=_0x2488ba();function _0x5bf04f(_0x3d059f,_0x2271a7,_0x50e72f,_0x10299c){return _0x55cec6(_0x3d059f-_0x122c86._0x3810ab,_0x50e72f,_0x50e72f-_0x122c86._0x303cea,_0x2271a7-_0x122c86._0x1d0898);}function _0x57ffa8(_0x1f0bd4,_0x41d85a,_0x459d9c,_0x26f2f5){return _0x55cec6(_0x1f0bd4-0x27,_0x1f0bd4,_0x459d9c-_0x9b5c65._0x79705c,_0x41d85a-_0x9b5c65._0xc3768c);}if(_0x3e875c!==void 0x0)return Promise['resolve'](_0x3e875c);return new Promise((_0x2b1d45,_0x2e93b8)=>{const _0xc7713e={_0x32e55e:0xd9};function _0x50ea0a(_0xbe79a5,_0x3c13a4,_0x112af,_0x28c284){return _0x57ffa8(_0x28c284,_0x112af- -_0x482ef1._0x9ea0fc,_0x112af-_0x482ef1._0x40c2d2,_0x28c284-0x61);}const _0x47e0af={'resolve':_0x2b1d45,'reject':_0x2e93b8,'cancelled':![],'removeAbortListener':()=>{}};_0x119e05[_0x398d59(_0x39f913._0x33270b,_0x39f913._0x1e624b,0x165,_0x39f913._0xc18b90)](_0x47e0af);function _0x398d59(_0x40b0b7,_0x2d13b0,_0x13525d,_0x3a390e){return _0x5bf04f(_0x40b0b7-0x44,_0x13525d-_0xc7713e._0x32e55e,_0x3a390e,_0x3a390e-0x17);}_0x47e0af[_0x398d59(_0x39f913._0x5d0888,_0x39f913._0x3948de,0x168,_0x39f913._0x18c710)]=addAbortListener(_0x3711f8,()=>{const _0x1cf2ef={_0xe13979:0x46,_0x5c2890:0x96,_0x1f7d7a:0x5cd},_0x313803={_0x41706a:0x81,_0x5cd2f7:0x91};if(_0x47e0af[_0x3a1b52(_0x3c39cb._0x434235,_0x3c39cb._0xaa34a7,_0x3c39cb._0x370453,_0x3c39cb._0x4afec4)])return;_0x47e0af[_0x3a1b52(0xd3,_0x3c39cb._0x3e0874,0xc7,0xc0)]=!![],_0x47e0af[_0x3a1b52(_0x3c39cb._0xa1e569,0xd1,0xd7,0xd2)]();function _0x3a1b52(_0x35c0bd,_0x275daf,_0x59462d,_0x4580a1){return _0x398d59(_0x35c0bd-_0x313803._0x41706a,_0x275daf-0x101,_0x59462d- -_0x313803._0x5cd2f7,_0x275daf);}const _0x31f570=_0x119e05[_0x3d2bef(_0x3c39cb._0x256a2d,_0x3c39cb._0x47a654,_0x3c39cb._0x3947a4,0x4ad)](_0x47e0af);function _0x3d2bef(_0x55dca1,_0x4559ca,_0x3ddcdc,_0x5a5997){return _0x50ea0a(_0x55dca1-_0x1cf2ef._0xe13979,_0x4559ca-_0x1cf2ef._0x5c2890,_0x3ddcdc-_0x1cf2ef._0x1f7d7a,_0x4559ca);}if(_0x31f570>=0x0)_0x119e05[_0x3a1b52(_0x3c39cb._0xe6e205,_0x3c39cb._0x5c782b,0xc6,_0x3c39cb._0x33f096)](_0x31f570,0x1);_0x47e0af[_0x3d2bef(_0x3c39cb._0x134942,_0x3c39cb._0x4566bb,0x4c1,0x4c2)](toAbortError(_0x3711f8?.[_0x3a1b52(0xdd,0xd6,_0x3c39cb._0x718cdb,0xc6)]));});});}};}var MESSAGE_ROLES=[_0x3ec613(0x181,0x187,0x17d,0x18e),_0x3ec613(0x172,0x179,0x16c,0x17c)];Object[_0x198175(0x299,0x2a1,0x29f,0x2a5)](MESSAGE_ROLES);export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
1
+ function _0x20b8(){const _0x106d8d=['ywjVCNrLza','AxngAw5PDgu','zNjLzxPL','AxnjBNrLz2vY','y2fUy2vSBgvK','mtq4mtrwq1r1zgq','n01SvhDmvW','CMvHC29U','yxnZAxn0yw50','ntuZmduWt25fC3bS','CMvTB3zLqwjVCNrmAxn0zw5LCG','CMvQzwn0','nJm0mZyYmhHrsuj4wq','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','CMvZB2X2zq','mtfdAM9gsNO','ntGWodH0wMDbse8','mta3odm2odzqtMPwtKW','mtm0mw94ug5MBW','C2HPzNq','mJe2ntuYotbTCwr1vgK','mZa4nJe2nvjUwfDhBG','mtG5zLvuELDX'];_0x20b8=function(){return _0x106d8d;};return _0x20b8();}(function(_0x24ca1f,_0x226d4b){const _0x5b47d9={_0x369fd0:0x40c,_0x53d134:0x407,_0x18e19a:0x205,_0x4c4d21:0x215,_0x432d6a:0x20e,_0x593c46:0x407,_0x4ca38e:0x405,_0x437d5b:0x3fb,_0x224076:0x406,_0x4afefb:0x211,_0x2150a2:0x3f1,_0x5d3375:0x3ed,_0x56d370:0x3f9,_0x2392b2:0x3ff,_0x5aff02:0x3f6,_0xfe50ca:0x401,_0xca5b70:0x40d,_0x218fb7:0x213,_0x3022b7:0x214},_0x15ac56={_0x2d5d09:0x1ff};function _0xe9222d(_0x1eda21,_0xb77d66,_0x2b8375,_0x29b99a){return _0x502e(_0x2b8375-_0x15ac56._0x2d5d09,_0xb77d66);}const _0xd97d4f=_0x24ca1f();function _0x5b5123(_0x108b0e,_0x3438db,_0x2f38b0,_0x5418c3){return _0x502e(_0x2f38b0-0x15,_0x5418c3);}while(!![]){try{const _0x3cee52=-parseInt(_0xe9222d(_0x5b47d9._0x369fd0,0x40b,0x405,_0x5b47d9._0x53d134))/0x1*(-parseInt(_0x5b5123(_0x5b47d9._0x18e19a,0x201,0x20a,0x205))/0x2)+parseInt(_0x5b5123(_0x5b47d9._0x4c4d21,0x215,_0x5b47d9._0x432d6a,0x217))/0x3+parseInt(_0xe9222d(_0x5b47d9._0x593c46,_0x5b47d9._0x4ca38e,_0x5b47d9._0x437d5b,0x406))/0x4+parseInt(_0xe9222d(_0x5b47d9._0x224076,0x400,0x404,0x400))/0x5+parseInt(_0x5b5123(0x222,0x216,0x216,_0x5b47d9._0x4afefb))/0x6*(-parseInt(_0xe9222d(0x3ed,_0x5b47d9._0x2150a2,0x3f5,_0x5b47d9._0x5d3375))/0x7)+parseInt(_0xe9222d(_0x5b47d9._0x56d370,0x407,_0x5b47d9._0x2392b2,0x3fe))/0x8*(parseInt(_0xe9222d(_0x5b47d9._0x5aff02,0x3f5,_0x5b47d9._0xfe50ca,0x3f6))/0x9)+-parseInt(_0xe9222d(_0x5b47d9._0xca5b70,0x40c,0x403,0x408))/0xa*(parseInt(_0x5b5123(_0x5b47d9._0x218fb7,0x211,_0x5b47d9._0x3022b7,0x21c))/0xb);if(_0x3cee52===_0x226d4b)break;else _0xd97d4f['push'](_0xd97d4f['shift']());}catch(_0x5a7366){_0xd97d4f['push'](_0xd97d4f['shift']());}}}(_0x20b8,0xdd4fa));import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';function _0x502e(_0x18ff33,_0x64d14d){_0x18ff33=_0x18ff33-0x1f1;const _0x20b809=_0x20b8();let _0x502e76=_0x20b809[_0x18ff33];if(_0x502e['KHdaVP']===undefined){var _0x4a5aac=function(_0x5d9fc9){const _0x45ce8b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x9fcd28='',_0x3478ac='';for(let _0x1093f4=0x0,_0x3a92c9,_0x1c9461,_0x26980c=0x0;_0x1c9461=_0x5d9fc9['charAt'](_0x26980c++);~_0x1c9461&&(_0x3a92c9=_0x1093f4%0x4?_0x3a92c9*0x40+_0x1c9461:_0x1c9461,_0x1093f4++%0x4)?_0x9fcd28+=String['fromCharCode'](0xff&_0x3a92c9>>(-0x2*_0x1093f4&0x6)):0x0){_0x1c9461=_0x45ce8b['indexOf'](_0x1c9461);}for(let _0x248f1a=0x0,_0x2c30ff=_0x9fcd28['length'];_0x248f1a<_0x2c30ff;_0x248f1a++){_0x3478ac+='%'+('00'+_0x9fcd28['charCodeAt'](_0x248f1a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3478ac);};_0x502e['cLINDU']=_0x4a5aac,_0x502e['getxVP']={},_0x502e['KHdaVP']=!![];}const _0x49270f=_0x20b809[0x0],_0x5bbd2e=_0x18ff33+_0x49270f,_0xff470d=_0x502e['getxVP'][_0x5bbd2e];return!_0xff470d?(_0x502e76=_0x502e['cLINDU'](_0x502e76),_0x502e['getxVP'][_0x5bbd2e]=_0x502e76):_0x502e76=_0xff470d,_0x502e76;}import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';function _0x48bf2a(_0x42ce6c,_0x50fd14,_0x3a15db,_0x42320b){return _0x502e(_0x42320b-0xe9,_0x42ce6c);}import{TurnFailedError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice}from'../chunk-YTDATWXW.js';function _0xc538d6(_0x5e2c09,_0x41eb23,_0x337518,_0xa0dc87){const _0x5c1707={_0x5c88d1:0x24};return _0x502e(_0x337518- -_0x5c1707._0x5c88d1,_0x41eb23);}import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x9fcd28){const _0x4e9ef0={_0x3814ec:0x9a,_0x367dc8:0x91,_0x1319ff:0x85,_0x308a4c:0x366,_0x4054d6:0x35e,_0xdb3d21:0xa7},_0x4da3c1={_0x484c4e:0x34c,_0x522f9e:0x356,_0x1ece1b:0x344,_0x3e272f:0x350,_0x405606:0x9c,_0xd8b7df:0x94},_0x56f9bb={_0x515fb4:0x310,_0x2d7558:0x317},_0x4d8e0e={_0x328d0e:0x128,_0x145256:0x1ba,_0x5d19cb:0x2a9},_0x4528df={_0x3db4cf:0x220,_0x3721c7:0x213,_0x1db0f6:0x215,_0x12c255:0x48d,_0x43d16b:0x49e,_0x1a9cf9:0x208,_0x49bba3:0x49d,_0x38bc25:0x4a7,_0xbac8cb:0x4a4,_0x51357a:0x4a1,_0x222a05:0x49f};if(!Number[_0x30b25d(0x85,_0x4e9ef0._0x3814ec,_0x4e9ef0._0x367dc8,_0x4e9ef0._0x1319ff)](_0x9fcd28)||!Number[_0x4454f7(_0x4e9ef0._0x308a4c,0x364,_0x4e9ef0._0x4054d6,0x35a)](_0x9fcd28)||_0x9fcd28<=0x0)throw new Error(_0x30b25d(_0x4e9ef0._0xdb3d21,0x96,0x9d,_0x4e9ef0._0x3814ec));let _0x3478ac=0x0;const _0x1093f4=[];function _0x30b25d(_0x16403b,_0x17727c,_0x4356d5,_0x213710){return _0x502e(_0x4356d5- -0x160,_0x213710);}const _0x3a92c9=()=>{let _0x248f1a=![];return()=>{if(_0x248f1a)return;_0x248f1a=!![],_0x3478ac-=0x1,_0x1c9461();};};function _0x4454f7(_0x53ff40,_0x2abdb2,_0xc17a7d,_0x508eae){return _0x502e(_0x53ff40-0x173,_0x2abdb2);}const _0x1c9461=()=>{const _0x4c832c={_0x444196:0x130,_0x490f88:0x18a};function _0x4d709e(_0xaecfcd,_0x2c1802,_0x168d19,_0x338949){return _0x30b25d(_0xaecfcd-0x14d,_0x2c1802-0x18a,_0x338949-0x172,_0x168d19);}function _0x420aad(_0xf718aa,_0x13d2ce,_0x54d9f5,_0x239356){return _0x4454f7(_0xf718aa-_0x4c832c._0x444196,_0x13d2ce,_0x54d9f5-0x100,_0x239356-_0x4c832c._0x490f88);}while(_0x1093f4['length']>0x0){const _0x2c30ff=_0x1093f4[_0x4d709e(_0x4528df._0x3db4cf,_0x4528df._0x3721c7,0x214,_0x4528df._0x1db0f6)]();if(!_0x2c30ff||_0x2c30ff[_0x420aad(0x497,0x492,_0x4528df._0x12c255,_0x4528df._0x43d16b)])continue;_0x2c30ff[_0x4d709e(_0x4528df._0x1a9cf9,0x1ff,0x208,0x206)]=!![],_0x2c30ff[_0x420aad(_0x4528df._0x49bba3,_0x4528df._0x38bc25,_0x4528df._0xbac8cb,_0x4528df._0x51357a)](),_0x3478ac+=0x1,_0x2c30ff[_0x420aad(_0x4528df._0x51357a,_0x4528df._0x43d16b,0x497,_0x4528df._0x222a05)](_0x3a92c9());return;}},_0x26980c=()=>{if(_0x3478ac>=_0x9fcd28)return void 0x0;return _0x3478ac+=0x1,_0x3a92c9();};return{'tryAcquire':_0x26980c,'acquire'(_0x297369){const _0x397f8f={_0x58c22f:0x18a},_0x1ab84c={_0x39c316:0x12d,_0x3ed2c9:0x140};function _0x4838af(_0x1ea9ca,_0x169527,_0x4f91c8,_0x83bbf){return _0x30b25d(_0x1ea9ca-_0x4d8e0e._0x328d0e,_0x169527-_0x4d8e0e._0x145256,_0x83bbf-_0x4d8e0e._0x5d19cb,_0x4f91c8);}if(_0x297369?.[_0x4838af(_0x4da3c1._0x484c4e,_0x4da3c1._0x522f9e,_0x4da3c1._0x1ece1b,_0x4da3c1._0x3e272f)])return Promise['reject'](toAbortError(_0x297369['reason']));const _0x25d320=_0x26980c();if(_0x25d320!==void 0x0)return Promise[_0x45f843(-0x93,-_0x4da3c1._0x405606,-0x97,-_0x4da3c1._0xd8b7df)](_0x25d320);function _0x45f843(_0x3f0355,_0x46d97b,_0x2fef9f,_0x112d15){return _0x4454f7(_0x112d15- -0x405,_0x46d97b,_0x2fef9f-_0x1ab84c._0x39c316,_0x112d15-_0x1ab84c._0x3ed2c9);}return new Promise((_0x4ac6a0,_0x57ce09)=>{const _0x7678bd={_0x3b6f25:0x33d,_0x4d361d:0x34c,_0x2ad989:0x346,_0x1db77b:0x52b,_0x5c6893:0x535,_0x32a5e0:0x531,_0x5e8778:0x34c,_0x2a6b59:0x350,_0x357b33:0x34a,_0x2c459a:0x348},_0x31e1a1={_0x6a51b7:0x22d},_0x1b594e={_0xbb7e73:0x1e0},_0x2a8a6a={'resolve':_0x4ac6a0,'reject':_0x57ce09,'cancelled':![],'removeAbortListener':()=>{}};function _0x44b322(_0x759721,_0x1a578a,_0xa5b570,_0x5c4f4f){return _0x45f843(_0x759721-0x10f,_0x759721,_0xa5b570-_0x397f8f._0x58c22f,_0xa5b570-0x3a6);}_0x1093f4['push'](_0x2a8a6a),_0x2a8a6a[_0x44b322(_0x56f9bb._0x515fb4,_0x56f9bb._0x2d7558,0x30e,0x309)]=addAbortListener(_0x297369,()=>{function _0x5ef78b(_0x29c01c,_0xfa1d25,_0x5f0b65,_0x475f11){return _0x44b322(_0x5f0b65,_0xfa1d25-_0x1b594e._0xbb7e73,_0x475f11-0x3e,_0x475f11-0x1d);}function _0x4cb82b(_0x12ddff,_0x246e54,_0xb1b1f9,_0x50b484){return _0x44b322(_0x50b484,_0x246e54-0x47,_0x246e54-_0x31e1a1._0x6a51b7,_0x50b484-0xe4);}if(_0x2a8a6a[_0x5ef78b(_0x7678bd._0x3b6f25,_0x7678bd._0x4d361d,0x345,_0x7678bd._0x2ad989)])return;_0x2a8a6a[_0x4cb82b(_0x7678bd._0x1db77b,_0x7678bd._0x5c6893,0x53a,_0x7678bd._0x32a5e0)]=!![],_0x2a8a6a[_0x5ef78b(0x354,0x34a,0x343,_0x7678bd._0x5e8778)]();const _0x35501a=_0x1093f4['indexOf'](_0x2a8a6a);if(_0x35501a>=0x0)_0x1093f4['splice'](_0x35501a,0x1);_0x2a8a6a[_0x5ef78b(0x34e,_0x7678bd._0x2a6b59,0x356,0x34d)](toAbortError(_0x297369?.[_0x5ef78b(_0x7678bd._0x357b33,0x349,_0x7678bd._0x2c459a,0x349)]));});});}};}var MESSAGE_ROLES=[_0x48bf2a(0x2d6,0x2ea,0x2de,0x2e1),'user'];Object[_0x48bf2a(0x2d4,0x2d3,0x2d7,0x2db)](MESSAGE_ROLES);export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
@@ -446,6 +446,8 @@ export type TurnMessageMeta = {
446
446
  reasoningCompletedAt?: number;
447
447
  /** Marks a canonical user-role append submitted by a trusted runtime source. */
448
448
  submissionOrigin?: "coordinator" | "agent";
449
+ /** ms epoch when this user message was queued as a mid-turn steer. */
450
+ steeredAt?: number;
449
451
  /** Canonical sender ID for an agent-origin user-role append. */
450
452
  senderAgentId?: string;
451
453
  /** Trusted structured metadata for a coordinator-authored subagent report. */
@@ -816,10 +818,14 @@ export type AgentSubmission = Readonly<{
816
818
  export type TurnSteeringInput = MessageInput | Readonly<{
817
819
  input: MessageInput;
818
820
  submission: AgentSubmission;
821
+ /** ms epoch when the steer was queued; carried into persisted meta. */
822
+ steeredAt?: number;
819
823
  }>;
820
824
  export type SteeringInput = AgentInput | Readonly<{
821
825
  input: AgentInput;
822
826
  submission: AgentSubmission;
827
+ /** ms epoch when the steer was queued; carried into persisted meta. */
828
+ steeredAt?: number;
823
829
  }>;
824
830
  export type SteeringInputDrain = () => Promise<SteeringInput[]>;
825
831
  export interface AgentSendOptions {