@nuvin/agent-core 0.4.0-rc.11 → 0.4.0-rc.12

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(_0x157036,_0x7e93c5){const _0x4931ef={_0x2044cb:0x174,_0x3e305a:0x16f,_0x20c137:0x162,_0x454d46:0x154,_0x21bd6f:0x174,_0x1b8005:0x146,_0x3390dd:0x14b,_0x1fa095:0x156,_0x5ba1f4:0x173,_0x500c92:0x15c,_0xac0750:0x15e,_0x4e94ab:0x148,_0x243ff7:0x150,_0x580774:0x158,_0x3a081d:0x161,_0x3d8dfa:0x15d,_0x53bd50:0x25c,_0x415988:0x26d,_0x243a41:0x148,_0x459378:0x157,_0x4fad32:0x26f,_0x45f276:0x257,_0x383bce:0x28f},_0xf2eddb={_0x34a5e3:0x1dd},_0x1be325=_0x157036();function _0x591ccc(_0x5792ad,_0xf48a1f,_0x54849f,_0x29d5a2){return _0x5e6f(_0x54849f- -0x2fd,_0x5792ad);}function _0x3150b3(_0x1d48ad,_0x4a112f,_0x442c22,_0x1f7a2e){return _0x5e6f(_0x442c22- -_0xf2eddb._0x34a5e3,_0x1d48ad);}while(!![]){try{const _0x3e775e=-parseInt(_0x3150b3(-_0x4931ef._0x2044cb,-_0x4931ef._0x3e305a,-_0x4931ef._0x20c137,-0x14d))/0x1*(-parseInt(_0x3150b3(-_0x4931ef._0x454d46,-0x164,-0x164,-_0x4931ef._0x21bd6f))/0x2)+-parseInt(_0x3150b3(-0x15e,-_0x4931ef._0x1b8005,-_0x4931ef._0x3390dd,-0x15f))/0x3*(-parseInt(_0x3150b3(-0x145,-0x159,-0x155,-_0x4931ef._0x1fa095))/0x4)+-parseInt(_0x3150b3(-_0x4931ef._0x5ba1f4,-_0x4931ef._0x500c92,-_0x4931ef._0xac0750,-0x14f))/0x5*(-parseInt(_0x3150b3(-0x153,-_0x4931ef._0x4e94ab,-_0x4931ef._0x243ff7,-_0x4931ef._0x580774))/0x6)+parseInt(_0x3150b3(-0x15d,-_0x4931ef._0x3a081d,-_0x4931ef._0x3d8dfa,-0x16f))/0x7*(parseInt(_0x591ccc(-0x26b,-_0x4931ef._0x53bd50,-_0x4931ef._0x415988,-0x279))/0x8)+-parseInt(_0x3150b3(-0x145,-0x131,-0x146,-_0x4931ef._0x243a41))/0x9+-parseInt(_0x3150b3(-_0x4931ef._0x3a081d,-0x15e,-0x156,-_0x4931ef._0x459378))/0xa+-parseInt(_0x591ccc(-_0x4931ef._0x4fad32,-0x275,-0x26a,-_0x4931ef._0x45f276))/0xb*(-parseInt(_0x591ccc(-_0x4931ef._0x383bce,-0x273,-0x27a,-0x26c))/0xc);if(_0x3e775e===_0x7e93c5)break;else _0x1be325['push'](_0x1be325['shift']());}catch(_0x4a8bf8){_0x1be325['push'](_0x1be325['shift']());}}}(_0x445f,0xb3602));import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';import{TurnFailedError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice}from'../chunk-YTDATWXW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x8781b2){const _0x259e27={_0x436308:0x130,_0x2ba35a:0x143,_0x411828:0x12f,_0xd24de5:0x142,_0x2b1839:0x140,_0x2e80fd:0x119},_0x39a4ac={_0x27648c:0x9e,_0x10028a:0xa9,_0xbf92af:0xb8,_0x316dd8:0x2ef,_0x3cd59b:0x2dc,_0x34a8a8:0x301,_0x5cc7c2:0x2f1,_0x78a3e2:0x2d0,_0x273cfd:0x2d5},_0x4d42e9={_0x59146e:0x1b1,_0x4ea71a:0xb5,_0x5b0908:0x52},_0x58a7c4={_0x3368fb:0x1ab,_0x4a29eb:0x45},_0x29c704={_0x12ba45:0x46,_0x211ab0:0x36,_0x55cfb0:0x42,_0x146368:0x44,_0x22646c:0x135,_0x8bb47:0x12a,_0x45353e:0x13c},_0x301c88={_0x3d7dce:0x1a},_0x20d175={_0x5eed11:0xa5};if(!Number[_0x40ff20(0x125,_0x259e27._0x436308,_0x259e27._0x2ba35a,_0x259e27._0x411828)](_0x8781b2)||!Number[_0x40ff20(_0x259e27._0xd24de5,_0x259e27._0x2b1839,0x130,0x151)](_0x8781b2)||_0x8781b2<=0x0)throw new Error(_0x40ff20(0x124,0x121,_0x259e27._0x2e80fd,0x11f));function _0xe24f06(_0xd9680f,_0x1a4021,_0xe41ba2,_0xab13ee){return _0x5e6f(_0xab13ee-0x77,_0x1a4021);}let _0x286c0d=0x0;const _0x5b6e37=[],_0x126cf8=()=>{let _0x539590=![];return()=>{if(_0x539590)return;_0x539590=!![],_0x286c0d-=0x1,_0x370c4();};};function _0x40ff20(_0x49c7fc,_0x31eb25,_0x5b26d1,_0x3d8da7){return _0x5e6f(_0x31eb25-_0x20d175._0x5eed11,_0x49c7fc);}const _0x370c4=()=>{const _0x230727={_0x1ca370:0x1ad};function _0x20b950(_0x2deddf,_0x345283,_0x4fc3c1,_0x3a08b1){return _0x40ff20(_0x345283,_0x3a08b1- -0x16e,_0x4fc3c1-_0x230727._0x1ca370,_0x3a08b1-0x71);}function _0x4d585d(_0x5c11aa,_0x5bcfee,_0x1ca997,_0x4d9f98){return _0x40ff20(_0x5bcfee,_0x5c11aa-_0x301c88._0x3d7dce,_0x1ca997-0x1e6,_0x4d9f98-0x109);}while(_0x5b6e37[_0x20b950(-_0x29c704._0x12ba45,-_0x29c704._0x211ab0,-_0x29c704._0x55cfb0,-_0x29c704._0x146368)]>0x0){const _0x5771fe=_0x5b6e37['shift']();if(!_0x5771fe||_0x5771fe['cancelled'])continue;_0x5771fe[_0x4d585d(_0x29c704._0x22646c,_0x29c704._0x8bb47,0x12c,_0x29c704._0x45353e)]=!![],_0x5771fe['removeAbortListener'](),_0x286c0d+=0x1,_0x5771fe['resolve'](_0x126cf8());return;}},_0x4c809b=()=>{if(_0x286c0d>=_0x8781b2)return void 0x0;return _0x286c0d+=0x1,_0x126cf8();};return{'tryAcquire':_0x4c809b,'acquire'(_0x25c0f3){const _0xcd25bf={_0x3d7781:0x34b,_0x91cdfa:0x353,_0x4082c1:0x345,_0x5bf78d:0x33e},_0x15c55b={_0x32023b:0x178,_0x41997d:0x170,_0x2f8502:0x168,_0x597b95:0x143,_0x4c58d8:0x149,_0xa12796:0x14c,_0x30aa21:0x179,_0x110087:0x165,_0x1e82f5:0x6f,_0x551f2f:0x7f,_0x3b941f:0x80,_0x2426fe:0x136,_0x5e4890:0x142,_0x31718f:0x14d},_0x23cedd={_0x9d0d7e:0x2c};if(_0x25c0f3?.[_0x2b6ad8(0xcb,0xc6,0xc1,0xcf)])return Promise[_0x2b6ad8(0xbc,_0x39a4ac._0x27648c,_0x39a4ac._0x10028a,_0x39a4ac._0xbf92af)](toAbortError(_0x25c0f3[_0x283a00(_0x39a4ac._0x316dd8,_0x39a4ac._0x3cd59b,_0x39a4ac._0x34a8a8,0x2f2)]));const _0x388ce1=_0x4c809b();function _0x283a00(_0x49b883,_0x54e6c0,_0x41e535,_0x7a43e2){return _0xe24f06(_0x49b883-_0x58a7c4._0x3368fb,_0x41e535,_0x41e535-_0x58a7c4._0x4a29eb,_0x49b883-0x1d9);}if(_0x388ce1!==void 0x0)return Promise[_0x283a00(0x2dc,_0x39a4ac._0x5cc7c2,_0x39a4ac._0x78a3e2,_0x39a4ac._0x273cfd)](_0x388ce1);function _0x2b6ad8(_0x580625,_0x344213,_0x52d3ff,_0x28adfa){return _0xe24f06(_0x580625-_0x4d42e9._0x59146e,_0x580625,_0x52d3ff-_0x4d42e9._0x4ea71a,_0x52d3ff- -_0x4d42e9._0x5b0908);}return new Promise((_0x55b40f,_0x4aaad3)=>{const _0x3160d9={_0x53db46:0x10},_0x7d8aaf={_0x1e6948:0x1a0,_0x11e636:0xcc,_0x58e54:0x7e},_0x1bd3aa={'resolve':_0x55b40f,'reject':_0x4aaad3,'cancelled':![],'removeAbortListener':()=>{}};function _0x591663(_0x16788b,_0x1f7e18,_0xafb3a1,_0x236be1){return _0x2b6ad8(_0xafb3a1,_0x1f7e18-_0x7d8aaf._0x1e6948,_0x236be1- -_0x7d8aaf._0x11e636,_0x236be1-_0x7d8aaf._0x58e54);}function _0x5c35c5(_0x5d8bab,_0x5e10cb,_0x3b6d60,_0x48dec9){return _0x283a00(_0x5d8bab- -0x631,_0x5e10cb-0x36,_0x48dec9,_0x48dec9-_0x23cedd._0x9d0d7e);}_0x5b6e37[_0x5c35c5(-_0xcd25bf._0x3d7781,-0x352,-_0xcd25bf._0x91cdfa,-0x354)](_0x1bd3aa),_0x1bd3aa[_0x5c35c5(-0x349,-_0xcd25bf._0x4082c1,-_0xcd25bf._0x5bf78d,-0x35e)]=addAbortListener(_0x25c0f3,()=>{const _0xece441={_0x5797ab:0x4c};if(_0x1bd3aa[_0x1b34fa(-_0x15c55b._0x32023b,-_0x15c55b._0x41997d,-_0x15c55b._0x2f8502,-0x17d)])return;_0x1bd3aa['cancelled']=!![],_0x1bd3aa[_0x1b34fa(-_0x15c55b._0x597b95,-0x14e,-_0x15c55b._0x4c58d8,-_0x15c55b._0xa12796)]();const _0x407476=_0x5b6e37[_0x1b34fa(-0x162,-0x168,-_0x15c55b._0x30aa21,-_0x15c55b._0x110087)](_0x1bd3aa);function _0xb403eb(_0x3c8c4a,_0x43009b,_0x5f1a16,_0x3fbd48){return _0x591663(_0x3c8c4a-0x1cb,_0x43009b-0x194,_0x5f1a16,_0x3c8c4a- -_0xece441._0x5797ab);}function _0x1b34fa(_0x448f12,_0x4111c5,_0x59b85f,_0x25c414){return _0x591663(_0x448f12-0x31,_0x4111c5-_0x3160d9._0x53db46,_0x448f12,_0x4111c5- -0x13f);}if(_0x407476>=0x0)_0x5b6e37[_0x1b34fa(-0x15e,-0x152,-0x155,-0x162)](_0x407476,0x1);_0x1bd3aa[_0xb403eb(-_0x15c55b._0x1e82f5,-0x6c,-_0x15c55b._0x551f2f,-_0x15c55b._0x3b941f)](toAbortError(_0x25c0f3?.[_0x1b34fa(-_0x15c55b._0x2426fe,-0x147,-_0x15c55b._0x5e4890,-_0x15c55b._0x31718f)]));});});}};}function _0x5e6f(_0x355e57,_0x5f81ec){_0x355e57=_0x355e57-0x76;const _0x445f74=_0x445f();let _0x5e6fb0=_0x445f74[_0x355e57];if(_0x5e6f['TKlZrc']===undefined){var _0x2c489f=function(_0x5a61fb){const _0x37e686='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8781b2='',_0x286c0d='';for(let _0x5b6e37=0x0,_0x126cf8,_0x370c4,_0x4c809b=0x0;_0x370c4=_0x5a61fb['charAt'](_0x4c809b++);~_0x370c4&&(_0x126cf8=_0x5b6e37%0x4?_0x126cf8*0x40+_0x370c4:_0x370c4,_0x5b6e37++%0x4)?_0x8781b2+=String['fromCharCode'](0xff&_0x126cf8>>(-0x2*_0x5b6e37&0x6)):0x0){_0x370c4=_0x37e686['indexOf'](_0x370c4);}for(let _0x539590=0x0,_0x5771fe=_0x8781b2['length'];_0x539590<_0x5771fe;_0x539590++){_0x286c0d+='%'+('00'+_0x8781b2['charCodeAt'](_0x539590)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x286c0d);};_0x5e6f['rqosxa']=_0x2c489f,_0x5e6f['ZVpfkl']={},_0x5e6f['TKlZrc']=!![];}const _0x4096cc=_0x445f74[0x0],_0x22a0d6=_0x355e57+_0x4096cc,_0x5c06f6=_0x5e6f['ZVpfkl'][_0x22a0d6];return!_0x5c06f6?(_0x5e6fb0=_0x5e6f['rqosxa'](_0x5e6fb0),_0x5e6f['ZVpfkl'][_0x22a0d6]=_0x5e6fb0):_0x5e6fb0=_0x5c06f6,_0x5e6fb0;}function createOperationScheduler(_0x2b2b8f){const _0x1331b0={_0x12e960:0x3a0,_0x2827eb:0x3c3},_0x127dad={_0x1470d5:0x1c0},_0x783f99={_0x32cc91:0x52},_0x472e98={_0xe060ff:0xa0},_0x317b02={_0x2d5d71:0x135,_0x4f4aba:0x15a},_0x16f6b0={_0x2064be:0x7f},_0x4041dd={_0x44e534:0x409,_0x3019dd:0x3f3,_0x169516:0x421,_0xfe603b:0x42f,_0x3e655:0x426,_0x546ff4:0x40a,_0x2f8afb:0x418,_0x51d6d3:0x40b,_0x19c2d4:0x423},_0x4849f8={_0x598a55:0x148,_0x215aff:0x66},_0x392536={_0x4d62e4:0x33,_0x47915e:0x37},_0x1b1c86={_0x16cf4b:0x31f};if(!Number['isSafeInteger'](_0x2b2b8f)||_0x2b2b8f<=0x0)throw new Error(_0x3bf9fb(_0x1331b0._0x12e960,0x3c1,_0x1331b0._0x2827eb,0x3ae));function _0x3bf9fb(_0x56f1ef,_0x431b7d,_0x111246,_0x3f7e73){return _0x5e6f(_0x3f7e73-_0x1b1c86._0x16cf4b,_0x56f1ef);}const _0x10c083=new Map(),_0x278ce8=(_0x21605f,_0x170a9b)=>{const _0x5357df={_0x20464a:0x382,_0x58d08a:0x371,_0x4a6ce9:0x370,_0x11dc54:0x36d,_0x4c1dad:0x37d,_0x2bd1ef:0x38e,_0x1cfc91:0x36b,_0x3e42d7:0x247,_0x358267:0x23a,_0x4bba94:0x24d,_0x4996f9:0x244},_0x130b81={_0x345b39:0x108,_0x46ac3:0x27f},_0x7aaa4f={_0x54cd1b:0x34,_0x56c147:0x2c,_0x22caa6:0x1f1,_0x31c2ac:0x1ef,_0x5c2de5:0x1f0},_0x442da6={_0x297de0:0x2a9,_0x90df:0x2b4,_0x1d0774:0x2a0,_0x39b7e8:0x2aa,_0x5bc8bd:0x1e6,_0x46a25c:0x2b1,_0xa7277b:0x2b0,_0x3be1b2:0x2af,_0x38be26:0x204,_0xb0d59b:0x2d7,_0x3d9a36:0x2d0,_0x17b5b7:0x1de},_0x48f9c5={_0x5c5c0e:0xf4,_0x2de026:0x275},_0x335d74={_0x19ef27:0x1df,_0x5cb46c:0x362};let _0xc1747f=_0x10c083[_0x315a45(_0x392536._0x4d62e4,0x3c,0x2f,_0x392536._0x47915e)](_0x21605f);!_0xc1747f&&(_0xc1747f={'ready':[],'starting':![],'registrations':0x0},_0x10c083['set'](_0x21605f,_0xc1747f));const _0x42abcc=_0xc1747f;function _0x315a45(_0x503da3,_0x5d5053,_0x32904a,_0x2098c3){return _0x3bf9fb(_0x5d5053,_0x5d5053-_0x335d74._0x19ef27,_0x32904a-0xe2,_0x2098c3- -_0x335d74._0x5cb46c);}_0x42abcc['registrations']++;const _0x50fb75={'source':_0x170a9b,'queued':![],'closed':![]},_0x40c093=()=>{const _0x193658={_0x363d81:0x128,_0x4f98e1:0x139},_0x584686={_0x14fac0:0xee,_0x37015f:0x49},_0x107883={_0x1e8320:0x62};if(_0x42abcc[_0x3108ab(_0x442da6._0x297de0,0x2b5,0x2a1,_0x442da6._0x90df)])return;const _0x56c11f=_0x42abcc[_0x3108ab(_0x442da6._0x1d0774,0x29f,0x296,_0x442da6._0x39b7e8)][_0x4d59ae(-0x1e2,-_0x442da6._0x5bc8bd,-0x1cd,-0x1f5)]();if(!_0x56c11f){if(_0x42abcc[_0x3108ab(_0x442da6._0x46a25c,_0x442da6._0xa7277b,0x2ba,_0x442da6._0x3be1b2)]===0x0&&_0x10c083[_0x4d59ae(-0x201,-_0x442da6._0x38be26,-0x1f2,-0x1ec)](_0x21605f)===_0x42abcc)_0x10c083[_0x3108ab(_0x442da6._0xb0d59b,_0x442da6._0x3d9a36,_0x442da6._0x3be1b2,0x2c3)](_0x21605f);return;}function _0x3108ab(_0x3d7c95,_0xbece2b,_0x2df992,_0x5b2eff){return _0x315a45(_0x3d7c95-_0x48f9c5._0x5c5c0e,_0x2df992,_0x2df992-0x40,_0x5b2eff-_0x48f9c5._0x2de026);}_0x56c11f['queued']=![],_0x42abcc['starting']=!![];function _0x4d59ae(_0x5c22eb,_0x2a17ae,_0x56ae56,_0x5f2e90){return _0x315a45(_0x5c22eb-_0x107883._0x1e8320,_0x5f2e90,_0x56ae56-0x117,_0x5c22eb- -0x238);}let _0x3f7520=![];const _0x4ff061=()=>{if(_0x3f7520)return;_0x3f7520=!![];function _0x1a3de4(_0x4987e1,_0x4d0bd3,_0x217db3,_0x166080){return _0x4d59ae(_0x4987e1-0x32b,_0x4d0bd3-_0x584686._0x14fac0,_0x217db3-_0x584686._0x37015f,_0x4d0bd3);}_0x42abcc[_0x1a3de4(0x132,_0x193658._0x363d81,_0x193658._0x4f98e1,0x142)]=![],queueMicrotask(_0x40c093);};_0x56c11f[_0x3108ab(0x29e,0x2a9,0x2c1,0x2b3)][_0x4d59ae(-_0x442da6._0x17b5b7,-0x1e3,-0x1e0,-0x1da)](_0x4ff061);};return{'ready'(){const _0x19b1a0={_0x3f62f3:0x17d,_0xc24c0e:0x31};if(_0x50fb75[_0x5c6dad(-_0x7aaa4f._0x54cd1b,-0x3d,-0x38,-_0x7aaa4f._0x56c147)]||_0x50fb75[_0x264179(0x1e7,0x1d2,_0x7aaa4f._0x22caa6,_0x7aaa4f._0x31c2ac)])return;_0x50fb75[_0x264179(0x1e7,_0x7aaa4f._0x22caa6,_0x7aaa4f._0x5c2de5,0x1ea)]=!![];function _0x264179(_0x4b9116,_0x53ab9c,_0x297ac9,_0x1ef14b){return _0x315a45(_0x4b9116-0xf,_0x1ef14b,_0x297ac9-0x1ef,_0x4b9116-0x1a1);}_0x42abcc['ready']['push'](_0x50fb75);function _0x5c6dad(_0x2b3b46,_0xbcab9a,_0x2156c8,_0x2a4c08){return _0x315a45(_0x2b3b46-_0x19b1a0._0x3f62f3,_0x2b3b46,_0x2156c8-_0x19b1a0._0xc24c0e,_0xbcab9a- -0x80);}queueMicrotask(_0x40c093);},'close'(){const _0x316590={_0x29de98:0x170,_0x3c7da0:0x66};if(_0x50fb75['closed'])return;_0x50fb75['closed']=!![];function _0x175452(_0xf85c16,_0x43191a,_0x166b04,_0x1acb54){return _0x315a45(_0xf85c16-0x191,_0xf85c16,_0x166b04-_0x130b81._0x345b39,_0x1acb54- -_0x130b81._0x46ac3);}_0x42abcc[_0x1e50f2(_0x5357df._0x20464a,_0x5357df._0x58d08a,0x37f,_0x5357df._0x4a6ce9)]--;_0x50fb75[_0x1e50f2(_0x5357df._0x11dc54,_0x5357df._0x4c1dad,_0x5357df._0x2bd1ef,_0x5357df._0x1cfc91)]&&(_0x42abcc[_0x175452(-0x250,-0x25e,-0x254,-0x24a)]['splice'](_0x42abcc['ready'][_0x175452(-_0x5357df._0x3e42d7,-_0x5357df._0x358267,-_0x5357df._0x4bba94,-_0x5357df._0x4996f9)](_0x50fb75),0x1),_0x50fb75['queued']=![]);function _0x1e50f2(_0x5a1528,_0x304d4d,_0x474c2b,_0x1f5432){return _0x315a45(_0x5a1528-_0x316590._0x29de98,_0x474c2b,_0x474c2b-_0x316590._0x3c7da0,_0x304d4d-0x337);}_0x40c093();}};};let _0x5168f4=0x0;const _0x211713=new Map(),_0x1849c5=[],_0x1fde5a=()=>{const _0x4336b8={_0x4c130c:0x5f,_0x3e9f0f:0x169,_0xddd5a6:0x523};function _0x3b9dd3(_0x4a961b,_0x1a12c7,_0x32edcb,_0x3abedc){return _0x3bf9fb(_0x3abedc,_0x1a12c7-0x157,_0x32edcb-_0x4849f8._0x598a55,_0x1a12c7-_0x4849f8._0x215aff);}function _0x147831(_0x2852c5,_0x2d6e67,_0x5ba342,_0x327a22){return _0x3bf9fb(_0x5ba342,_0x2d6e67-_0x4336b8._0x4c130c,_0x5ba342-_0x4336b8._0x3e9f0f,_0x2852c5- -_0x4336b8._0xddd5a6);}while(_0x5168f4<_0x2b2b8f&&_0x1849c5['length']>0x0){const _0x36b4ef=_0x1849c5[_0x3b9dd3(0x422,0x41e,0x420,0x414)]();if(_0x36b4ef===void 0x0)break;const _0x1ee908=_0x211713[_0x3b9dd3(_0x4041dd._0x44e534,0x3ff,0x3fa,_0x4041dd._0x3019dd)](_0x36b4ef),_0x5f4e35=_0x1ee908?.[_0x3b9dd3(_0x4041dd._0x169516,0x41e,0x431,0x425)]();if(!_0x1ee908||!_0x5f4e35)throw new Error(_0x3b9dd3(_0x4041dd._0xfe603b,0x41f,0x416,_0x4041dd._0x3e655));_0x5f4e35['removeAbortListener']();if(_0x1ee908[_0x3b9dd3(0x414,_0x4041dd._0x546ff4,_0x4041dd._0x2f8afb,0x3fc)]>0x0)_0x1849c5[_0x3b9dd3(_0x4041dd._0x51d6d3,0x41b,0x420,_0x4041dd._0x19c2d4)](_0x36b4ef);else _0x211713['delete'](_0x36b4ef);_0x5168f4+=0x1;let _0x415e6e=![];_0x5f4e35[_0x3b9dd3(_0x4041dd._0x19c2d4,0x411,0x41d,0x417)]({'release'(){if(_0x415e6e)return;_0x415e6e=!![],_0x5168f4-=0x1,_0x1fde5a();}});}};return{'registerProducer':_0x278ce8,'acquire'(_0x523b0c,_0x5d1f55){const _0x58db1e={_0x5a483c:0x1,_0x35ed3b:0x10,_0x159e59:0x11e,_0x2f22ea:0x121,_0x1d8441:0x11d,_0x3d375d:0x2e,_0x50a971:0x2c,_0x4ddfcc:0x40},_0x4f8c8a={_0x2a7dd2:0x3d5,_0x215d9f:0x110},_0x56b575={_0x29696b:0x166,_0x444877:0x4f8};function _0xb8490b(_0x555c62,_0x3163a1,_0x162140,_0x51ee1b){return _0x3bf9fb(_0x51ee1b,_0x3163a1-0x32,_0x162140-_0x56b575._0x29696b,_0x162140- -_0x56b575._0x444877);}function _0x3ba07b(_0x1da345,_0x3df48c,_0xb6f3f5,_0x2c64ab){return _0x3bf9fb(_0x1da345,_0x3df48c-_0x16f6b0._0x2064be,_0xb6f3f5-0xd2,_0x3df48c-0x4c);}if(_0x5d1f55[_0xb8490b(-0x129,-0x134,-0x13d,-_0x317b02._0x2d5d71)])return Promise[_0xb8490b(-0x166,-_0x317b02._0x4f4aba,-0x155,-0x141)](toAbortError(_0x5d1f55['reason']));return new Promise((_0x420f2d,_0x43fedb)=>{const _0x57fcba={_0x20df0d:0x176,_0x5f0de6:0x197,_0x1561d4:0x164,_0x3e4bbe:0x226,_0x234156:0x248,_0x54f3cf:0x227,_0x4c8ac9:0x209,_0x1c071a:0x219},_0x189962={_0x8dbc13:0xdc,_0x29f374:0x1d7};let _0x114b18=_0x211713[_0x1db3bc(-_0x58db1e._0x5a483c,0x18,_0x58db1e._0x35ed3b,0x15)](_0x523b0c);!_0x114b18&&(_0x114b18=[],_0x211713[_0x3f01db(_0x58db1e._0x159e59,0x10e,0x113,_0x58db1e._0x2f22ea)](_0x523b0c,_0x114b18),_0x1849c5[_0x3f01db(_0x58db1e._0x1d8441,0x114,0x11b,0x128)](_0x523b0c));const _0xc607d1={'resolve':_0x420f2d,'removeAbortListener':()=>_0x5d1f55[_0x1db3bc(0x2b,0x31,0x2b,0x35)](_0x3f01db(0x10e,0x109,0xfc,0x108),_0x18d97e)};function _0x3f01db(_0x293e38,_0x5d647c,_0xa591e1,_0x8402f7){return _0x3ba07b(_0x5d647c,_0xa591e1- -0x2e6,_0xa591e1-_0x189962._0x8dbc13,_0x8402f7-_0x189962._0x29f374);}const _0x41f79b=_0x114b18;function _0x1db3bc(_0x1941e5,_0x12ca61,_0x435817,_0x453a3f){return _0x3ba07b(_0x453a3f,_0x435817- -_0x4f8c8a._0x2a7dd2,_0x435817-_0x4f8c8a._0x215d9f,_0x453a3f-0xb);}const _0x18d97e=()=>{const _0x4f87d0={_0x27c2e0:0x1b7};_0x41f79b[_0x57170c(_0x57fcba._0x20df0d,0x175,0x182,_0x57fcba._0x5f0de6)](_0x41f79b[_0x57170c(_0x57fcba._0x1561d4,0x17f,0x16c,0x15d)](_0xc607d1),0x1);_0x41f79b['length']===0x0&&(_0x211713[_0x57170c(0x190,0x17b,0x17f,0x16e)](_0x523b0c),_0x1849c5[_0x46cf6c(-0x232,-0x215,-0x20f,-0x21d)](_0x1849c5[_0x46cf6c(-_0x57fcba._0x3e4bbe,-_0x57fcba._0x234156,-0x226,-0x233)](_0x523b0c),0x1));function _0x57170c(_0x1e1470,_0x14a653,_0x268bfc,_0x52d462){return _0x1db3bc(_0x1e1470-_0x4f87d0._0x27c2e0,_0x14a653-0xf5,_0x268bfc-0x158,_0x52d462);}function _0x46cf6c(_0xa20c7a,_0x211583,_0x300f95,_0x53907b){return _0x3f01db(_0xa20c7a-0x6a,_0x300f95,_0x53907b- -0x336,_0x53907b-0xe2);}_0xc607d1[_0x46cf6c(-_0x57fcba._0x54f3cf,-0x222,-_0x57fcba._0x4c8ac9,-_0x57fcba._0x1c071a)](),_0x43fedb(toAbortError(_0x5d1f55['reason']));};_0x5d1f55['addEventListener'](_0x3f01db(0x10b,0x103,0xfc,0xe7),_0x18d97e,{'once':!![]}),_0x114b18[_0x1db3bc(0x41,_0x58db1e._0x3d375d,_0x58db1e._0x50a971,_0x58db1e._0x4ddfcc)](_0xc607d1),_0x1fde5a();});},'inspectAdmission'(){function _0x29c9ae(_0x1fd9de,_0x393a42,_0x398465,_0x227fc3){return _0x3bf9fb(_0x393a42,_0x393a42-0xb2,_0x398465-_0x472e98._0xe060ff,_0x1fd9de- -0x691);}function _0x3406d0(_0x101bcd,_0x10f5ea,_0x45523a,_0x252f8f){return _0x3bf9fb(_0x45523a,_0x10f5ea-0x129,_0x45523a-0xec,_0x101bcd- -0x3eb);}return[..._0x10c083][_0x3406d0(-0x42,-0x2d,-0x40,-_0x783f99._0x32cc91)](([_0x7ebd8f,_0x48f554])=>({'runId':_0x7ebd8f,'starting':_0x48f554['starting'],'callers':_0x48f554[_0x3406d0(-0x4f,-0x3d,-0x56,-0x5a)]}));},'inspect'(){function _0x5dd124(_0x278aa9,_0x2aa14c,_0x5cc9c4,_0x228e18){return _0x3bf9fb(_0x2aa14c,_0x2aa14c-_0x127dad._0x1470d5,_0x5cc9c4-0x5b,_0x228e18- -0x2ec);}return{'active':_0x5168f4,'readyRunIds':[..._0x1849c5],'waiting':[..._0x211713['values']()]['reduce']((_0x23b5f7,_0x40850a)=>_0x23b5f7+_0x40850a[_0x5dd124(0xcb,0xa5,0xc5,0xb8)],0x0)};}};}function _0x445f(){const _0x501b81=['BgvUz3rO','y2XVC2vK','mJm2ndyYmgDPzwXQwq','mtaXntzJvhrYq2i','CxvLDwvK','BwfW','AxngAw5PDgu','CMvZB2X2zq','mtyYntr3zKfYvfC','C2v0','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHihbVC2L0AxzLihnHzMuGAw50zwDLCG','nti1nNnLBMX5tW','zgvSzxrL','mZi3Ew1mALDd','mtfwq29ptLq','C3bSAwnL','CMvTB3zLrxzLBNrmAxn0zw5LCG','ChvZAa','mtmXnde5mZvkwMn1q0m','CMvTB3zLqwjVCNrmAxn0zw5LCG','C2HPzNq','uMvHzhKGCNvUig11C3qGAgf2zsbHihDHAxrPBMCGB3bLCMf0Aw9U','AxnjBNrLz2vY','ywjVCNrLza','C3rHCNq','yxnZAxn0yw50','CMvHC29U','y2fUy2vSBgvK','ywjVCNq','CMvHzhK','mJqYmtjgvMPmAee','z2v0','mZzqAhfltei','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','CMvNAxn0CMf0Aw9UCW','Aw5KzxHpzG','nZK1qMvtsgHq','mJe3n0HdvKnRAq','C291CMnL','C3rHCNrPBMC','mtmWmduYodHIsKHxvvC','CMvQzwn0'];_0x445f=function(){return _0x501b81;};return _0x445f();}var MESSAGE_ROLES=[_0x2ef804(-0xb5,-0xc6,-0xb0,-0xa9),'user'];function _0x2ef804(_0x24de5a,_0x289a34,_0x5b52e7,_0x24d832){const _0x2eecb4={_0x1fc952:0x153};return _0x5e6f(_0x24de5a- -_0x2eecb4._0x1fc952,_0x5b52e7);}Object['freeze'](MESSAGE_ROLES);export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,createOperationScheduler,isAbortError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
1
+ function _0x23a126(_0x19a2a0,_0x42c7b4,_0x37e03e,_0x91c8a5){return _0x23e5(_0x19a2a0- -0x1a5,_0x42c7b4);}(function(_0x4ad15a,_0x3a7f5e){const _0x18c9fd={_0x17a462:0x244,_0x39383e:0x232,_0x4b1e95:0x247,_0x1f2992:0x251,_0x13cfa5:0x235,_0x4e5b33:0x22b,_0x4ed9dc:0x107,_0x45ef05:0xf8,_0x384833:0x249,_0x24640f:0x23b,_0x37067d:0x231,_0xfdb066:0x222,_0x140d81:0x225,_0x4c1ae2:0x221,_0x1db366:0x228,_0xa6b1d5:0x237,_0x2f7f09:0x23d,_0x3e6e08:0x230},_0x3e07b6={_0x5ae696:0x5c},_0x4d9f15={_0x511d11:0x2cd};function _0x2ff1a9(_0x137a82,_0xb510f2,_0x3c1f1b,_0x588255){return _0x23e5(_0x137a82- -_0x4d9f15._0x511d11,_0xb510f2);}const _0x1f2083=_0x4ad15a();function _0x8bdc88(_0x1ccec2,_0x27af1c,_0xf6fb02,_0x2448c8){return _0x23e5(_0x27af1c-_0x3e07b6._0x5ae696,_0x2448c8);}while(!![]){try{const _0x5b78fd=parseInt(_0x2ff1a9(-_0x18c9fd._0x17a462,-0x23f,-0x255,-_0x18c9fd._0x39383e))/0x1+-parseInt(_0x2ff1a9(-0x23e,-_0x18c9fd._0x4b1e95,-0x23a,-_0x18c9fd._0x1f2992))/0x2*(parseInt(_0x2ff1a9(-_0x18c9fd._0x13cfa5,-_0x18c9fd._0x17a462,-0x238,-_0x18c9fd._0x4e5b33))/0x3)+parseInt(_0x8bdc88(_0x18c9fd._0x4ed9dc,_0x18c9fd._0x45ef05,0xe5,0xfe))/0x4+parseInt(_0x2ff1a9(-0x23d,-_0x18c9fd._0x384833,-_0x18c9fd._0x24640f,-_0x18c9fd._0x37067d))/0x5+parseInt(_0x2ff1a9(-_0x18c9fd._0xfdb066,-_0x18c9fd._0x140d81,-_0x18c9fd._0x4c1ae2,-0x227))/0x6+parseInt(_0x2ff1a9(-_0x18c9fd._0x1db366,-0x216,-0x232,-0x22f))/0x7+-parseInt(_0x2ff1a9(-_0x18c9fd._0xa6b1d5,-_0x18c9fd._0x2f7f09,-_0x18c9fd._0x3e6e08,-0x225))/0x8;if(_0x5b78fd===_0x3a7f5e)break;else _0x1f2083['push'](_0x1f2083['shift']());}catch(_0x2ebe38){_0x1f2083['push'](_0x1f2083['shift']());}}}(_0x11db,0xa5ec6));function _0x11db(){const _0x1e39a0=['mJK0mduWnwnezxHlCW','DMfSDwvZ','CxvLDwvK','CMvZB2X2zq','C291CMnL','C3bSAwnL','mJqWmZmXodrYruPrCxC','CMvTB3zLrxzLBNrmAxn0zw5LCG','mJDcCeDUAMm','AxnjBNrLz2vY','CMvNAxn0CMf0Aw9UCW','ChvZAa','mZe2mJm4mfnbBhzTDW','ywrKrxzLBNrmAxn0zw5LCG','AxntywzLsw50zwDLCG','y2XVC2vK','y2fUy2vSBgvK','CMvQzwn0','DxnLCG','Aw5KzxHpzG','CMvHC29U','nZa2ntu2ovLPswHoyW','z2v0','uMvHzhKGCNvUig11C3qGAgf2zsbHihDHAxrPBMCGB3bLCMf0Aw9U','CMvTB3zLqwjVCNrmAxn0zw5LCG','zgvSzxrL','BgvUz3rO','nZuZntiZogn0tMXdDW','C2HPzNq','CMvHzhK','yxnZAxn0yw50','ywjVCNq','mtaWodiYnvDUruTKDW','C3rHCNq','BwfW','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','CMvKDwnL','C3rHCNrPBMC','mJe1mtK4AwvYsffe'];_0x11db=function(){return _0x1e39a0;};return _0x11db();}function _0x23e5(_0x4d2a50,_0x1b06ac){_0x4d2a50=_0x4d2a50-0x87;const _0x11dbbf=_0x11db();let _0x23e526=_0x11dbbf[_0x4d2a50];if(_0x23e5['vMBdCs']===undefined){var _0x278832=function(_0x28ea1c){const _0x3926c2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x51cf40='',_0x5c960b='';for(let _0x59b568=0x0,_0x1efebe,_0x14744e,_0x5a679f=0x0;_0x14744e=_0x28ea1c['charAt'](_0x5a679f++);~_0x14744e&&(_0x1efebe=_0x59b568%0x4?_0x1efebe*0x40+_0x14744e:_0x14744e,_0x59b568++%0x4)?_0x51cf40+=String['fromCharCode'](0xff&_0x1efebe>>(-0x2*_0x59b568&0x6)):0x0){_0x14744e=_0x3926c2['indexOf'](_0x14744e);}for(let _0x16f471=0x0,_0x13001d=_0x51cf40['length'];_0x16f471<_0x13001d;_0x16f471++){_0x5c960b+='%'+('00'+_0x51cf40['charCodeAt'](_0x16f471)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5c960b);};_0x23e5['aZSVgB']=_0x278832,_0x23e5['aDLagD']={},_0x23e5['vMBdCs']=!![];}const _0x4459d2=_0x11dbbf[0x0],_0x530d97=_0x4d2a50+_0x4459d2,_0x546db6=_0x23e5['aDLagD'][_0x530d97];return!_0x546db6?(_0x23e526=_0x23e5['aZSVgB'](_0x23e526),_0x23e5['aDLagD'][_0x530d97]=_0x23e526):_0x23e526=_0x546db6,_0x23e526;}import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';import{TurnFailedError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice}from'../chunk-YTDATWXW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x51cf40){const _0x42864d={_0x437814:0x2d0,_0x579688:0x2d7,_0x1da8e6:0x2be,_0x5129fc:0x2d2,_0x4f4d5e:0x2c0},_0xd5d482={_0x4d915b:0x17b},_0x3b39f8={_0x4a8dcc:0x50,_0x15fd6e:0x2f,_0x3ebafc:0x315,_0x3213d7:0x300,_0x594a82:0x2f1},_0x148d99={_0x153212:0x35e};function _0x23ea26(_0x2aceb5,_0x204e53,_0x2e3085,_0x30410a){return _0x23e5(_0x2e3085- -_0x148d99._0x153212,_0x2aceb5);}if(!Number['isFinite'](_0x51cf40)||!Number[_0x24964a(_0x42864d._0x437814,_0x42864d._0x579688,0x2e4,0x2d8)](_0x51cf40)||_0x51cf40<=0x0)throw new Error(_0x23ea26(-0x2ca,-_0x42864d._0x1da8e6,-_0x42864d._0x5129fc,-_0x42864d._0x4f4d5e));let _0x5c960b=0x0;const _0x59b568=[],_0x1efebe=()=>{let _0x16f471=![];return()=>{if(_0x16f471)return;_0x16f471=!![],_0x5c960b-=0x1,_0x14744e();};};function _0x24964a(_0x38d869,_0x23748c,_0x146f2f,_0x2cd6e3){return _0x23e5(_0x23748c-0x23e,_0x2cd6e3);}const _0x14744e=()=>{const _0x42de7b={_0x436a76:0x3,_0x4c7ada:0x2fc,_0x1badea:0xed},_0x21f6d2={_0x225f32:0x5cb};function _0x5d7101(_0x47b55e,_0x5d397f,_0x24f1ac,_0x154f2e){return _0x23ea26(_0x154f2e,_0x5d397f-0x10c,_0x47b55e-_0x21f6d2._0x225f32,_0x154f2e-0x7c);}function _0x5d444f(_0x14b3e1,_0x27e28a,_0x43e020,_0x19fe66){return _0x23ea26(_0x27e28a,_0x27e28a-_0x42de7b._0x436a76,_0x19fe66-_0x42de7b._0x4c7ada,_0x19fe66-_0x42de7b._0x1badea);}while(_0x59b568['length']>0x0){const _0x13001d=_0x59b568['shift']();if(!_0x13001d||_0x13001d[_0x5d444f(_0x3b39f8._0x4a8dcc,_0x3b39f8._0x15fd6e,0x3c,0x3e)])continue;_0x13001d[_0x5d444f(0x38,0x4f,_0x3b39f8._0x4a8dcc,0x3e)]=!![],_0x13001d[_0x5d7101(_0x3b39f8._0x3ebafc,0x30c,0x30d,0x317)](),_0x5c960b+=0x1,_0x13001d[_0x5d7101(_0x3b39f8._0x3213d7,0x303,0x308,_0x3b39f8._0x594a82)](_0x1efebe());return;}},_0x5a679f=()=>{if(_0x5c960b>=_0x51cf40)return void 0x0;return _0x5c960b+=0x1,_0x1efebe();};return{'tryAcquire':_0x5a679f,'acquire'(_0x5190e7){const _0x438ff9={_0x44abaf:0x1b5,_0x247329:0x1c2,_0x3f195c:0x1d4,_0x368818:0x1d2,_0x383f18:0x1ba,_0x2c0350:0x240,_0x220cee:0x1c5,_0x1ef39f:0x1cb,_0x43e67f:0x238,_0x45509d:0x23d,_0x5ebecd:0x230,_0x250d74:0x1bf,_0x51208d:0x1c6,_0x462d21:0x1ba,_0x272153:0x1b9};if(_0x5190e7?.['aborted'])return Promise['reject'](toAbortError(_0x5190e7['reason']));const _0x578f7b=_0x5a679f();if(_0x578f7b!==void 0x0)return Promise['resolve'](_0x578f7b);return new Promise((_0x577777,_0x259b39)=>{const _0xba86a3={_0x550c03:0x21e},_0x1f04b2={'resolve':_0x577777,'reject':_0x259b39,'cancelled':![],'removeAbortListener':()=>{}};_0x59b568['push'](_0x1f04b2);function _0x3231cd(_0x704248,_0x20c0eb,_0x26841c,_0x3f181c){return _0x23e5(_0x26841c- -_0xba86a3._0x550c03,_0x20c0eb);}_0x1f04b2[_0x3231cd(-0x167,-0x16c,-0x176,-_0xd5d482._0x4d915b)]=addAbortListener(_0x5190e7,()=>{const _0x5ea2a5={_0x5cd068:0xb2};if(_0x1f04b2[_0x28597c(_0x438ff9._0x44abaf,_0x438ff9._0x247329,0x1cc,_0x438ff9._0x3f195c)])return;_0x1f04b2[_0x28597c(_0x438ff9._0x368818,_0x438ff9._0x247329,_0x438ff9._0x383f18,0x1c8)]=!![];function _0x28597c(_0x2b4d3a,_0x14fdc5,_0x289613,_0x120fca){return _0x3231cd(_0x2b4d3a-_0x5ea2a5._0x5cd068,_0x120fca,_0x14fdc5-0x340,_0x120fca-0xee);}_0x1f04b2[_0x2e657f(0x23f,0x252,_0x438ff9._0x2c0350,0x24f)]();const _0x56dd8c=_0x59b568[_0x28597c(0x1ba,_0x438ff9._0x220cee,_0x438ff9._0x1ef39f,0x1d7)](_0x1f04b2);if(_0x56dd8c>=0x0)_0x59b568['splice'](_0x56dd8c,0x1);function _0x2e657f(_0x59c872,_0x532f8b,_0x1b9954,_0x4da646){return _0x3231cd(_0x59c872-0x173,_0x1b9954,_0x59c872-0x3b5,_0x4da646-0x85);}_0x1f04b2[_0x2e657f(_0x438ff9._0x43e67f,_0x438ff9._0x45509d,0x23e,_0x438ff9._0x5ebecd)](toAbortError(_0x5190e7?.[_0x28597c(_0x438ff9._0x250d74,_0x438ff9._0x51208d,_0x438ff9._0x462d21,_0x438ff9._0x272153)]));});});}};}function createOperationScheduler(_0x36abb8){const _0x22839e={_0x136709:0x1e8,_0x3b7449:0x1ea,_0x227cf7:0x1e2,_0xacba96:0x20d,_0x447607:0x223},_0x353f23={_0x36e4dd:0xf9,_0x5e85db:0xec,_0x20ff99:0xe4},_0x5f2e5a={_0x369105:0xb2,_0x573b3b:0xcc},_0x330852={_0x267098:0x434,_0xf54037:0x416},_0x20c7c0={_0x239386:0x98},_0x418cc3={_0x1def08:0x183,_0xa6977d:0x31e,_0x5e760b:0x32d,_0x4008bd:0x339,_0x1ab844:0x325,_0xe0d6ee:0x32c,_0x1b6f72:0x337,_0x35d5ae:0x16e,_0x466658:0x342,_0x2f619c:0x33f,_0xa7c32:0x166,_0x13ac2a:0x342,_0x4fd7d1:0x340},_0x2ea307={_0x203d4d:0xcc},_0x164e2d={_0x31aefd:0x50};if(!Number[_0xe1362e(-0x1e,-0x3a,-0x3b,-0x2e)](_0x36abb8)||_0x36abb8<=0x0)throw new Error('maxConcurrency\x20must\x20be\x20a\x20positive\x20safe\x20integer');const _0x5308f5=new Map(),_0x5032f8=(_0x5f79f6,_0x338174)=>{const _0x1e4d87={_0x55cb4f:0x2a3,_0x4ccf65:0x42f,_0x2ba5b1:0x43a,_0x37c5ed:0x431,_0x1c7a41:0x422,_0x949a8b:0x2b8,_0x345049:0x429},_0x3ee0a6={_0x1cc126:0x12a},_0x56e109={_0x8f78aa:0x1f5,_0x587027:0x1f9,_0x3d2483:0x1f4},_0x55760d={_0x5178df:0x32,_0x1ec5f7:0x142},_0x28ae85={_0x22c097:0xc8,_0x25c28a:0xc6,_0x298b22:0x3cf,_0x96321f:0x3b3,_0x69dc54:0x3c1,_0x35ae28:0x3b5,_0xbded6c:0x3c0,_0x415b9f:0x3bd,_0x86a0a9:0xe2,_0x49d89c:0xd1,_0x15a5bb:0xd2,_0x34d9e8:0x3a9,_0x5d8f37:0x3b7,_0x2ab4b7:0x3a6,_0x57f14a:0x3a2,_0x2c59cd:0x399,_0x1de863:0xc1,_0x8ce708:0xb1,_0x1344d6:0xb3},_0x43f48b={_0x46c3f5:0x402},_0x5bef56={_0x28cf88:0x117,_0x26a7ea:0xc9,_0x31bd1d:0xcc},_0x2b80b7={_0x5b22a6:0x22};let _0x3829a5=_0x5308f5['get'](_0x5f79f6);!_0x3829a5&&(_0x3829a5={'ready':[],'starting':![],'registrations':0x0},_0x5308f5['set'](_0x5f79f6,_0x3829a5));function _0x1ca6c0(_0x5cce42,_0x1d5dbb,_0x7ddb00,_0x2c848f){return _0xe1362e(_0x5cce42-0x1f0,_0x1d5dbb-0x1c5,_0x7ddb00,_0x5cce42- -_0x2b80b7._0x5b22a6);}const _0x56260b=_0x3829a5;_0x56260b[_0x1ca6c0(-0x54,-0x60,-0x66,-_0x164e2d._0x31aefd)]++;const _0x4ed4fb={'source':_0x338174,'queued':![],'closed':![]},_0x29d7fd=()=>{const _0x463bc4={_0x142a1e:0x3d7};function _0x15dbd1(_0x98fa0c,_0x357777,_0x3ed651,_0x5d4c97){return _0x1ca6c0(_0x5d4c97-_0x5bef56._0x28cf88,_0x357777-_0x5bef56._0x26a7ea,_0x357777,_0x5d4c97-_0x5bef56._0x31bd1d);}if(_0x56260b[_0x15dbd1(_0x28ae85._0x22c097,0xca,_0x28ae85._0x25c28a,0xb7)])return;const _0x29e7c4=_0x56260b[_0x48d749(_0x28ae85._0x298b22,_0x28ae85._0x96321f,0x3c1,_0x28ae85._0x69dc54)][_0x48d749(0x3b2,_0x28ae85._0x35ae28,0x3c2,_0x28ae85._0xbded6c)]();if(!_0x29e7c4){if(_0x56260b[_0x48d749(0x3a4,0x3b9,0x3b5,0x3ae)]===0x0&&_0x5308f5[_0x48d749(0x3ac,0x3b3,_0x28ae85._0x415b9f,0x3ba)](_0x5f79f6)===_0x56260b)_0x5308f5[_0x15dbd1(_0x28ae85._0x86a0a9,_0x28ae85._0x49d89c,0xdc,_0x28ae85._0x15a5bb)](_0x5f79f6);return;}_0x29e7c4[_0x48d749(_0x28ae85._0x34d9e8,_0x28ae85._0x5d8f37,0x394,_0x28ae85._0x2ab4b7)]=![],_0x56260b[_0x48d749(0x398,0x3a7,0x3a0,_0x28ae85._0x57f14a)]=!![];let _0x46d47b=![];function _0x48d749(_0x4b6970,_0x20712c,_0xff3e63,_0x3e7747){return _0x1ca6c0(_0x3e7747-_0x43f48b._0x46c3f5,_0x20712c-0xe9,_0xff3e63,_0x3e7747-0x1ef);}const _0x55335f=()=>{const _0x2ad811={_0x4b77ad:0x175};function _0xcf4114(_0x23f22a,_0x5c4914,_0x21f550,_0x3cf29f){return _0x15dbd1(_0x23f22a-_0x2ad811._0x4b77ad,_0x5c4914,_0x21f550-0xe8,_0x3cf29f-0x32e);}if(_0x46d47b)return;_0x46d47b=!![],_0x56260b[_0xcf4114(0x3da,_0x463bc4._0x142a1e,0x3e1,0x3e5)]=![],queueMicrotask(_0x29d7fd);};_0x29e7c4[_0x48d749(0x39a,_0x28ae85._0x2c59cd,0x3b6,0x3a8)][_0x15dbd1(_0x28ae85._0x1de863,0xbd,_0x28ae85._0x8ce708,_0x28ae85._0x1344d6)](_0x55335f);};return{'ready'(){if(_0x4ed4fb['closed']||_0x4ed4fb[_0x295318(-_0x56e109._0x8f78aa,-_0x56e109._0x587027,-0x1ee,-_0x56e109._0x3d2483)])return;_0x4ed4fb['queued']=!![],_0x56260b['ready']['push'](_0x4ed4fb);function _0x295318(_0x2765b6,_0x10bac9,_0x51a783,_0x4c7593){return _0x1ca6c0(_0x4c7593- -0x198,_0x10bac9-_0x55760d._0x5178df,_0x10bac9,_0x4c7593-_0x55760d._0x1ec5f7);}queueMicrotask(_0x29d7fd);},'close'(){const _0x34c61d={_0x10d7db:0x303};function _0x213623(_0xc38b4e,_0x1a22ca,_0x3243d4,_0x466f16){return _0x1ca6c0(_0xc38b4e-0x47e,_0x1a22ca-_0x3ee0a6._0x1cc126,_0x3243d4,_0x466f16-0x184);}if(_0x4ed4fb[_0x407765(_0x1e4d87._0x55cb4f,0x2b3,0x2b4,0x2a6)])return;_0x4ed4fb[_0x213623(_0x1e4d87._0x4ccf65,0x41d,0x43d,0x426)]=!![],_0x56260b[_0x213623(0x42a,_0x1e4d87._0x2ba5b1,0x417,_0x1e4d87._0x37c5ed)]--;_0x4ed4fb[_0x213623(_0x1e4d87._0x1c7a41,0x417,0x432,0x416)]&&(_0x56260b['ready']['splice'](_0x56260b['ready'][_0x407765(0x2c2,0x2c4,_0x1e4d87._0x949a8b,0x2b9)](_0x4ed4fb),0x1),_0x4ed4fb[_0x213623(0x422,0x410,0x431,_0x1e4d87._0x345049)]=![]);function _0x407765(_0x4ad3c3,_0x905d89,_0x49b245,_0x1f1089){return _0x1ca6c0(_0x49b245-_0x34c61d._0x10d7db,_0x905d89-0x7c,_0x1f1089,_0x1f1089-0x17a);}_0x29d7fd();}};};let _0x3e2f4c=0x0;const _0x3f117d=new Map(),_0x47d70d=[];function _0xe1362e(_0x415453,_0x8f8b49,_0x2db9cc,_0x539f77){return _0x23e5(_0x539f77- -_0x2ea307._0x203d4d,_0x2db9cc);}const _0xd28e06=()=>{function _0x5385f1(_0x3d3304,_0x2cb4c4,_0x109643,_0x52418f){return _0xe1362e(_0x3d3304-0x1f0,_0x2cb4c4-0x13d,_0x109643,_0x2cb4c4- -0x307);}function _0x1a1dac(_0x5935fa,_0x3b7860,_0x1f06c6,_0x488bc0){return _0xe1362e(_0x5935fa-0xdd,_0x3b7860-0x1b2,_0x5935fa,_0x1f06c6- -0x152);}while(_0x3e2f4c<_0x36abb8&&_0x47d70d['length']>0x0){const _0xd882ba=_0x47d70d[_0x1a1dac(-_0x418cc3._0x1def08,-0x171,-0x172,-0x16e)]();if(_0xd882ba===void 0x0)break;const _0x2bdacf=_0x3f117d[_0x5385f1(-_0x418cc3._0xa6977d,-_0x418cc3._0x5e760b,-0x341,-0x32e)](_0xd882ba),_0x1e3362=_0x2bdacf?.[_0x5385f1(-0x338,-0x327,-_0x418cc3._0x4008bd,-_0x418cc3._0x1ab844)]();if(!_0x2bdacf||!_0x1e3362)throw new Error(_0x5385f1(-0x31c,-_0x418cc3._0xe0d6ee,-0x31c,-_0x418cc3._0x1b6f72));_0x1e3362[_0x1a1dac(-0x163,-_0x418cc3._0x35d5ae,-0x176,-0x17e)]();if(_0x2bdacf[_0x5385f1(-0x31d,-0x329,-0x324,-0x32f)]>0x0)_0x47d70d[_0x5385f1(-_0x418cc3._0x466658,-0x338,-_0x418cc3._0x2f619c,-0x340)](_0xd882ba);else _0x3f117d[_0x1a1dac(-0x16f,-_0x418cc3._0xa7c32,-0x175,-0x16a)](_0xd882ba);_0x3e2f4c+=0x1;let _0x79e335=![];_0x1e3362[_0x5385f1(-_0x418cc3._0x13ac2a,-_0x418cc3._0x4fd7d1,-0x32e,-0x346)]({'release'(){if(_0x79e335)return;_0x79e335=!![],_0x3e2f4c-=0x1,_0xd28e06();}});}};return{'registerProducer':_0x5032f8,'acquire'(_0xbed6bd,_0x1e6e78){const _0x2d9739={_0x109917:0x37b,_0x2c07da:0x384,_0xdf0361:0x387,_0x12fb1e:0x370,_0x224630:0x35e,_0x1a8dfa:0x372,_0x5767c2:0x36a,_0x267088:0x28b},_0x49915b={_0x4c0632:0x9},_0x7a2869={_0x48a654:0x455};function _0x1d281c(_0x11c20a,_0x30c77a,_0x240574,_0xa256e6){return _0xe1362e(_0x11c20a-_0x20c7c0._0x239386,_0x30c77a-0x5,_0xa256e6,_0x30c77a- -0x1ec);}function _0x4f2db5(_0x3c2efe,_0x212573,_0x36fe48,_0x57b2ff){return _0xe1362e(_0x3c2efe-0x28,_0x212573-0xa9,_0x212573,_0x57b2ff-_0x7a2869._0x48a654);}if(_0x1e6e78['aborted'])return Promise[_0x4f2db5(_0x330852._0x267098,0x42e,_0x330852._0xf54037,0x42a)](toAbortError(_0x1e6e78[_0x1d281c(-0x20a,-0x214,-0x21f,-0x20e)]));return new Promise((_0x58924c,_0x547f9c)=>{const _0x225ffe={_0x5c6251:0x120,_0x327c68:0x126,_0x387b4b:0x127,_0x279ae7:0x11f,_0x43b2dd:0x123,_0x1b1de8:0x113,_0x58eccd:0x106,_0x47623e:0x208,_0xc9fc7f:0x1fa,_0x38796e:0x1ff,_0xca3fe8:0x219,_0x119b21:0x207,_0x3d1b42:0x1f8},_0x4d263e={_0x5c0790:0xa9,_0x1abc51:0x16d},_0xcec1b1={_0x543fa3:0x1b,_0x58ad2a:0xd2};function _0x1b2213(_0x118801,_0x360b54,_0x117b22,_0xa1ef21){return _0x4f2db5(_0x118801-_0xcec1b1._0x543fa3,_0x360b54,_0x117b22-_0xcec1b1._0x58ad2a,_0x117b22- -0x199);}function _0x5f59a6(_0x58ef23,_0x5914c4,_0x541948,_0x2e385f){return _0x1d281c(_0x58ef23-0x107,_0x58ef23-0x58d,_0x541948-_0x49915b._0x4c0632,_0x541948);}let _0x160fce=_0x3f117d[_0x5f59a6(_0x2d9739._0x109917,0x387,_0x2d9739._0x2c07da,_0x2d9739._0xdf0361)](_0xbed6bd);!_0x160fce&&(_0x160fce=[],_0x3f117d['set'](_0xbed6bd,_0x160fce),_0x47d70d[_0x5f59a6(_0x2d9739._0x12fb1e,0x367,_0x2d9739._0x224630,0x37a)](_0xbed6bd));const _0x40c663={'resolve':_0x58924c,'removeAbortListener':()=>_0x1e6e78[_0x1b2213(0x27d,0x291,0x287,0x294)](_0x1b2213(0x286,0x275,0x278,0x281),_0x22c5d6)},_0x31c626=_0x160fce,_0x22c5d6=()=>{const _0x1b08e0={_0xf7676e:0x90};function _0x46ea65(_0x31197c,_0x2a9624,_0x29c298,_0x4e6d21){return _0x5f59a6(_0x29c298- -0x491,_0x2a9624-_0x4d263e._0x5c0790,_0x2a9624,_0x4e6d21-_0x4d263e._0x1abc51);}_0x31c626[_0x46ea65(-_0x225ffe._0x5c6251,-_0x225ffe._0x327c68,-_0x225ffe._0x387b4b,-0x12c)](_0x31c626['indexOf'](_0x40c663),0x1);_0x31c626['length']===0x0&&(_0x3f117d[_0x46ea65(-_0x225ffe._0x279ae7,-_0x225ffe._0x43b2dd,-_0x225ffe._0x1b1de8,-0x124)](_0xbed6bd),_0x47d70d['splice'](_0x47d70d[_0x46ea65(-0x10f,-0x126,-0x119,-_0x225ffe._0x58eccd)](_0xbed6bd),0x1));function _0x175938(_0x4d3b97,_0x3c0f5b,_0x54f63b,_0x28a409){return _0x1b2213(_0x4d3b97-0x39,_0x3c0f5b,_0x4d3b97- -_0x1b08e0._0xf7676e,_0x28a409-0x1cc);}_0x40c663[_0x175938(_0x225ffe._0x47623e,_0x225ffe._0xc9fc7f,_0x225ffe._0x38796e,_0x225ffe._0xca3fe8)](),_0x547f9c(toAbortError(_0x1e6e78[_0x175938(0x204,0x20a,_0x225ffe._0x119b21,_0x225ffe._0x3d1b42)]));};_0x1e6e78[_0x5f59a6(_0x2d9739._0x1a8dfa,0x363,0x380,_0x2d9739._0x5767c2)]('abort',_0x22c5d6,{'once':!![]}),_0x160fce[_0x1b2213(0x282,0x299,_0x2d9739._0x267088,0x28d)](_0x40c663),_0xd28e06();});},'inspectAdmission'(){const _0x143d6b={_0x446dc1:0x80};function _0x50b924(_0x3dfeb2,_0x56d9a3,_0x3e3468,_0x503813){return _0xe1362e(_0x3dfeb2-0xab,_0x56d9a3-_0x143d6b._0x446dc1,_0x503813,_0x56d9a3- -0x157);}function _0xc374b6(_0x51c38c,_0x33f44e,_0x29bec5,_0x2ff411){return _0xe1362e(_0x51c38c-_0x5f2e5a._0x369105,_0x33f44e-_0x5f2e5a._0x573b3b,_0x2ff411,_0x33f44e- -0xb6);}return[..._0x5308f5][_0xc374b6(-_0x353f23._0x36e4dd,-0xf7,-_0x353f23._0x5e85db,-_0x353f23._0x20ff99)](([_0x4efd30,_0x4a0f68])=>({'runId':_0x4efd30,'starting':_0x4a0f68[_0x50b924(-0x18e,-0x195,-0x191,-0x18e)],'callers':_0x4a0f68['registrations']}));},'inspect'(){const _0x445c4e={_0x5c449e:0x9c,_0x37b23f:0xa8};function _0x6302ff(_0x1fc8f0,_0x3ce25d,_0x5c3232,_0xae8aa7){return _0xe1362e(_0x1fc8f0-_0x445c4e._0x5c449e,_0x3ce25d-_0x445c4e._0x37b23f,_0x1fc8f0,_0x3ce25d- -0x1ad);}function _0x33f54a(_0x3f396e,_0x1a6988,_0x183456,_0x28e6a4){return _0xe1362e(_0x3f396e-0x1bd,_0x1a6988-0x7f,_0x1a6988,_0x183456-0x257);}return{'active':_0x3e2f4c,'readyRunIds':[..._0x47d70d],'waiting':[..._0x3f117d[_0x6302ff(-0x1f6,-_0x22839e._0x136709,-_0x22839e._0x3b7449,-_0x22839e._0x227cf7)]()][_0x33f54a(_0x22839e._0xacba96,_0x22839e._0x447607,0x218,0x207)]((_0x21fae2,_0x3d2b6d)=>_0x21fae2+_0x3d2b6d[_0x6302ff(-0x1e0,-0x1cf,-0x1e1,-0x1d6)],0x0)};}};}var MESSAGE_ROLES=[_0x3a2194(0x22,0x33,0x2a,0x35),_0x23a126(-0x103,-0x10a,-0x10a,-0x111)];Object['freeze'](MESSAGE_ROLES);function _0x3a2194(_0x45e1a2,_0x4d04ca,_0x2bc7e2,_0x551b8f){const _0x4ad88a={_0x52453e:0x54};return _0x23e5(_0x4d04ca- -_0x4ad88a._0x52453e,_0x45e1a2);}export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,createOperationScheduler,isAbortError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};