@nuvin/agent-core 0.0.0-rc.14 → 0.0.0-rc.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-NYZR4XKO.js +1 -1
- package/dist/chunk-SEP4YYY3.js +1 -1
- package/dist/chunk-T7UKN6FZ.js +1 -1
- package/dist/chunk-WJMBJOVF.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/tools/index.js +1 -1
- package/package.json +1 -1
package/dist/hooks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1eb76f,_0x3357a4){const _0x128026={_0x52b585:0x374,_0x2931dd:0x35f,_0x470e29:0x378,_0xb481fe:0x362,_0x462890:0x355,_0x2d714f:0x321,_0x53a666:0x327,_0x448db4:0x331,_0x16c330:0x33a,_0x209363:0x384,_0xde7f16:0x36c,_0x16d010:0x36d,_0x2f32dd:0x389,_0x348f23:0x36f,_0x2e9381:0x376,_0xba51ab:0x35d,_0x2b7df4:0x354,_0x1506d8:0x18e,_0x30a8fe:0x176,_0x2b1126:0x34a,_0x17ad1:0x33f,_0x151a60:0x359,_0x450085:0x365,_0x573474:0x343,_0x362eb9:0x16a,_0x3a5405:0x17a};function _0x4a2968(_0x461479,_0x438378,_0xd28687,_0x17edb6){return _0x1d25(_0x17edb6- -0x290,_0x461479);}function _0x18208e(_0x44843a,_0x2a05e3,_0x36285c,_0x415018){return _0x1d25(_0x36285c-0x23e,_0x415018);}const _0xf2d9a6=_0x1eb76f();while(!![]){try{const _0x18a7e6=-parseInt(_0x18208e(0x37a,0x376,0x365,0x348))/0x1*(-parseInt(_0x18208e(0x36f,_0x128026._0x52b585,_0x128026._0x2931dd,_0x128026._0x470e29))/0x2)+-parseInt(_0x18208e(0x382,0x35b,_0x128026._0xb481fe,_0x128026._0x462890))/0x3+parseInt(_0x18208e(0x34f,_0x128026._0x2d714f,0x337,_0x128026._0x53a666))/0x4*(-parseInt(_0x18208e(_0x128026._0x448db4,0x34b,_0x128026._0x16c330,0x33c))/0x5)+parseInt(_0x18208e(_0x128026._0x209363,_0x128026._0xde7f16,_0x128026._0x16d010,_0x128026._0x2f32dd))/0x6+parseInt(_0x18208e(_0x128026._0x348f23,_0x128026._0x2e9381,_0x128026._0xba51ab,0x36d))/0x7*(parseInt(_0x18208e(0x35a,_0x128026._0x2b7df4,0x358,0x358))/0x8)+-parseInt(_0x4a2968(-0x17b,-_0x128026._0x1506d8,-_0x128026._0x30a8fe,-0x18c))/0x9*(-parseInt(_0x18208e(0x34a,_0x128026._0x2b1126,_0x128026._0x17ad1,0x32b))/0xa)+parseInt(_0x18208e(_0x128026._0x151a60,_0x128026._0x450085,0x361,_0x128026._0x573474))/0xb*(parseInt(_0x4a2968(-0x16e,-_0x128026._0x362eb9,-0x199,-_0x128026._0x3a5405))/0xc);if(_0x18a7e6===_0x3357a4)break;else _0xf2d9a6['push'](_0xf2d9a6['shift']());}catch(_0xc0651a){_0xf2d9a6['push'](_0xf2d9a6['shift']());}}}(_0x35fa,0x61c62));import{spawn}from'child_process';function _0x1d25(_0x5db542,_0x1a70d9){_0x5db542=_0x5db542-0xec;const _0x35fac7=_0x35fa();let _0x1d25e=_0x35fac7[_0x5db542];if(_0x1d25['JopAyL']===undefined){var _0x390361=function(_0x231933){const _0x4e26a5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4bf5ac='',_0x12861c='';for(let _0x34d5a2=0x0,_0x10a04b,_0x1ea976,_0x22be89=0x0;_0x1ea976=_0x231933['charAt'](_0x22be89++);~_0x1ea976&&(_0x10a04b=_0x34d5a2%0x4?_0x10a04b*0x40+_0x1ea976:_0x1ea976,_0x34d5a2++%0x4)?_0x4bf5ac+=String['fromCharCode'](0xff&_0x10a04b>>(-0x2*_0x34d5a2&0x6)):0x0){_0x1ea976=_0x4e26a5['indexOf'](_0x1ea976);}for(let _0x4c6199=0x0,_0x541428=_0x4bf5ac['length'];_0x4c6199<_0x541428;_0x4c6199++){_0x12861c+='%'+('00'+_0x4bf5ac['charCodeAt'](_0x4c6199)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x12861c);};_0x1d25['wkdfLc']=_0x390361,_0x1d25['qHTqmu']={},_0x1d25['JopAyL']=!![];}const _0x355bdc=_0x35fac7[0x0],_0x54bff8=_0x5db542+_0x355bdc,_0x126951=_0x1d25['qHTqmu'][_0x54bff8];return!_0x126951?(_0x1d25e=_0x1d25['wkdfLc'](_0x1d25e),_0x1d25['qHTqmu'][_0x54bff8]=_0x1d25e):_0x1d25e=_0x126951,_0x1d25e;}var DEFAULT_TIMEOUT_S=0x3c;async function executeCommandHook(_0x4bf5ac,_0x12861c,_0x34d5a2=DEFAULT_TIMEOUT_S,_0x10a04b){const _0x4a4cc3={_0x4deed7:0x172,_0x5d7dbb:0x15c},_0x3e390a={_0x4f4d7c:0x410,_0x4ea155:0x40e,_0x480c5d:0x404,_0xdb3325:0x3f4,_0x2fc442:0x3e6,_0x3d4255:0x40a,_0x177727:0x11c,_0x4a7859:0x11d,_0x2efaf0:0x12c,_0x403f8b:0x13e,_0x4218c6:0x3db,_0x35f5bf:0x13a,_0x5014db:0x132,_0x580281:0x122,_0x2ee9f2:0x126,_0xe5866c:0x132,_0x16f1d8:0x3eb,_0x4be664:0x111,_0x380e50:0x12a,_0x57574b:0x138,_0x5308fa:0x140,_0x3d1e35:0x155,_0xc36361:0x3f0,_0x350784:0x3f8,_0x4f1efe:0x10b,_0x1e21bb:0x110,_0x1599de:0x3fa,_0x470601:0x3da},_0x7cbcff={_0x3db915:0x364},_0x3ec35f={_0x43b27a:0x399,_0x4dc7dc:0x391,_0x1f1ee3:0x3a5,_0xae288b:0x389,_0x347f00:0x176,_0x4e7d0a:0x15c,_0x13a058:0x173,_0xc47f5d:0x166,_0x515cf2:0x178,_0x2d124e:0x170,_0x3766c9:0x392,_0x25121e:0x374,_0x2500a9:0x38b,_0x3f108b:0x3ab,_0x178748:0x395,_0x12bad6:0x38a,_0x4eeb98:0x38f,_0x261c40:0x383,_0x16e35c:0x384},_0x11399d={_0x48c03c:0x544,_0x51b932:0x1d4,_0x33dd25:0xd3},_0x3d79f8={_0xa12eb2:0x56},_0x2579f5={_0xaa6c:0x383,_0x4a2d9e:0x467,_0x5003fd:0x45e,_0x553ea9:0x34b,_0x562960:0x350,_0x30d855:0x351},_0x3cecb0={_0x2074c1:0x2eb,_0x2069d4:0x306,_0x562d31:0x18b},_0x314a92={_0xbbc95e:0x1f8,_0x3e1fd4:0x21d,_0x5ddf7f:0x208},_0x4be26c={_0x43683f:0x28f,_0x3bab15:0x2af,_0x506e16:0x2b2},_0x1ea976=Date[_0x1b89b1(-0x162,-_0x4a4cc3._0x4deed7,-_0x4a4cc3._0x5d7dbb,-0x189)]();function _0x1b89b1(_0x1bf4c7,_0x3e3caf,_0x5f57f5,_0x2229fc){return _0x1d25(_0x3e3caf- -0x267,_0x1bf4c7);}return new Promise(_0x22be89=>{const _0x3032e2={_0x264c6c:0xa0,_0x1556cc:0x1eb},_0x33b589={_0x3ef476:0x255},_0x5ac75e={_0x4fc95e:0x6c2,_0x165bbb:0xc9},_0x740e28={_0x5bf704:0x74},_0x4c6199=spawn('sh',['-c',_0x4bf5ac],{'stdio':[_0x2e1c09(0x404,0x3f4,_0x3e390a._0x4f4d7c,_0x3e390a._0x4ea155),_0x2e1c09(_0x3e390a._0x480c5d,_0x3e390a._0xdb3325,_0x3e390a._0x2fc442,_0x3e390a._0x3d4255),_0x170efc(-0x132,-0x12c,-0x121,-_0x3e390a._0x177727)],'env':{...process['env'],'CLAUDE_PROJECT_DIR':_0x10a04b??process[_0x170efc(-0x148,-_0x3e390a._0x4a7859,-_0x3e390a._0x2efaf0,-_0x3e390a._0x403f8b)]()}});let _0x541428='',_0x22aa06='';_0x4c6199[_0x2e1c09(0x3bd,0x3cd,_0x3e390a._0x4218c6,0x3dd)]['on'](_0x170efc(-_0x3e390a._0x35f5bf,-0x120,-_0x3e390a._0x5014db,-_0x3e390a._0x177727),_0x2fb383=>{const _0x390364={_0xadb01e:0xbc,_0x1fcfe8:0x1f0};function _0x5878e3(_0x53aad6,_0x2efa40,_0x4ac7bd,_0x24a34e){return _0x170efc(_0x53aad6,_0x2efa40-_0x390364._0xadb01e,_0x4ac7bd-0x3e4,_0x24a34e-_0x390364._0x1fcfe8);}_0x541428+=_0x2fb383[_0x5878e3(_0x4be26c._0x43683f,0x29a,_0x4be26c._0x3bab15,_0x4be26c._0x506e16)]();}),_0x4c6199['stderr']['on'](_0x170efc(-_0x3e390a._0x580281,-_0x3e390a._0x2ee9f2,-_0x3e390a._0xe5866c,-0x135),_0x48e33a=>{function _0x12e61b(_0x2065d9,_0x461027,_0x13b049,_0x4fe943){return _0x170efc(_0x2065d9,_0x461027-_0x740e28._0x5bf704,_0x13b049-0x33d,_0x4fe943-0x15b);}_0x22aa06+=_0x48e33a[_0x12e61b(_0x314a92._0xbbc95e,_0x314a92._0x3e1fd4,_0x314a92._0x5ddf7f,0x215)]();}),_0x4c6199['stdin']['on']('error',_0x56565b=>{function _0x28bdd8(_0x2dd242,_0x4b14cc,_0x4edfe8,_0x4d7a8a){return _0x2e1c09(_0x4b14cc,_0x2dd242- -_0x5ac75e._0x4fc95e,_0x4edfe8-0xaf,_0x4d7a8a-_0x5ac75e._0x165bbb);}function _0x250500(_0x531369,_0x40039a,_0x1bb4d6,_0xf01681){return _0x2e1c09(_0x531369,_0xf01681- -_0x33b589._0x3ef476,_0x1bb4d6-0xed,_0xf01681-0x1e3);}if(_0x56565b[_0x28bdd8(-_0x3cecb0._0x2074c1,-0x2fc,-_0x3cecb0._0x2069d4,-0x2f3)]!==_0x250500(_0x3cecb0._0x562d31,0x182,0x17b,0x175))throw _0x56565b;}),_0x4c6199[_0x2e1c09(_0x3e390a._0x16f1d8,0x3dd,0x3c1,0x3c9)][_0x170efc(-_0x3e390a._0x4be664,-0x12a,-0x133,-_0x3e390a._0x380e50)](JSON[_0x170efc(-0x12b,-_0x3e390a._0x57574b,-0x123,-0x103)](_0x12861c)),_0x4c6199[_0x170efc(-0x14a,-_0x3e390a._0x5308fa,-0x138,-_0x3e390a._0x3d1e35)][_0x2e1c09(_0x3e390a._0xc36361,0x3ff,_0x3e390a._0x350784,0x3ec)]();const _0x2c5414=setTimeout(()=>{const _0x59a756={_0x14b084:0x69,_0x6a02e0:0xc4},_0x341a5b={_0x4354d3:0x566,_0x46aaf4:0x29};_0x4c6199[_0x1dcfe6(0x39c,0x381,0x386,_0x2579f5._0xaa6c)](_0x31663f(0x454,_0x2579f5._0x4a2d9e,_0x2579f5._0x5003fd,0x44a));function _0x31663f(_0x488fd5,_0x2ac508,_0x57b38e,_0xf683b8){return _0x170efc(_0x2ac508,_0x2ac508-0xd1,_0x488fd5-_0x341a5b._0x4354d3,_0xf683b8-_0x341a5b._0x46aaf4);}function _0x1dcfe6(_0x3e0ad2,_0x35783a,_0x59b2dc,_0x7cb02c){return _0x2e1c09(_0x35783a,_0x7cb02c- -_0x59a756._0x14b084,_0x59b2dc-0x156,_0x7cb02c-_0x59a756._0x6a02e0);}_0x22be89({'status':'error','error':'Hook\x20timed\x20out\x20after\x20'+_0x34d5a2+'s','duration_ms':Date[_0x1dcfe6(_0x2579f5._0x553ea9,_0x2579f5._0x562960,_0x2579f5._0x30d855,0x369)]()-_0x1ea976});},_0x34d5a2*0x3e8);function _0x170efc(_0x42c910,_0x3903c7,_0x49a298,_0x1785fb){return _0x1b89b1(_0x42c910,_0x49a298-0x2f,_0x49a298-_0x3d79f8._0xa12eb2,_0x1785fb-0x10e);}function _0x2e1c09(_0xecb4a,_0x229ee6,_0x4528c1,_0x334248){return _0x1b89b1(_0xecb4a,_0x229ee6-_0x11399d._0x48c03c,_0x4528c1-_0x11399d._0x51b932,_0x334248-_0x11399d._0x33dd25);}_0x4c6199['on'](_0x170efc(-0x10b,-_0x3e390a._0x4f1efe,-_0x3e390a._0x1e21bb,-0xff),_0x170383=>{const _0x2d8331={_0x200464:0xa4},_0x5afd22={_0x5b1b92:0x38,_0x477299:0x177};clearTimeout(_0x2c5414);const _0x54701e=Date[_0x511051(_0x3ec35f._0x43b27a,_0x3ec35f._0x4dc7dc,_0x3ec35f._0x1f1ee3,_0x3ec35f._0xae288b)]()-_0x1ea976;if(_0x170383===0x2){_0x22be89({'status':_0x10b04c(-0x13a,-_0x3ec35f._0x347f00,-_0x3ec35f._0x4e7d0a,-0x15a),'output':{'decision':_0x10b04c(-_0x3ec35f._0x13a058,-_0x3ec35f._0xc47f5d,-0x15c,-0x147),'reason':_0x22aa06[_0x10b04c(-0x17f,-0x189,-0x172,-_0x3ec35f._0x515cf2)]()||'Hook\x20blocked\x20execution'},'duration_ms':_0x54701e});return;}function _0x10b04c(_0x4c8355,_0x1c1ebe,_0x59c71d,_0x56789c){return _0x170efc(_0x1c1ebe,_0x1c1ebe-0x196,_0x59c71d- -_0x5afd22._0x5b1b92,_0x56789c-_0x5afd22._0x477299);}if(_0x170383!==0x0){_0x22be89({'status':'error','error':_0x10b04c(-_0x3ec35f._0x2d124e,-0x155,-0x175,-0x185)+_0x170383+(_0x22aa06[_0x511051(0x38b,0x3b3,0x377,_0x3ec35f._0x3766c9)]()?':\x20'+_0x22aa06[_0x511051(_0x3ec35f._0x25121e,_0x3ec35f._0x2500a9,_0x3ec35f._0x3f108b,_0x3ec35f._0x3766c9)]():''),'duration_ms':_0x54701e});return;}const _0x335d4d=_0x541428[_0x511051(_0x3ec35f._0x25121e,_0x3ec35f._0x178748,0x392,_0x3ec35f._0x3766c9)]();function _0x511051(_0x645568,_0x56fc54,_0x124589,_0x396155){return _0x170efc(_0x56fc54,_0x56fc54-_0x2d8331._0x200464,_0x396155-0x4cc,_0x396155-0x1e6);}if(_0x335d4d[_0x511051(0x390,0x378,0x3a1,_0x3ec35f._0x12bad6)]===0x0){_0x22be89({'status':_0x511051(0x393,0x383,_0x3ec35f._0x4eeb98,_0x3ec35f._0x261c40),'duration_ms':_0x54701e});return;}try{const _0xf03ec5=JSON[_0x10b04c(-0x14e,-0x16e,-0x16e,-0x17a)](_0x335d4d);_0x22be89({'status':'pass','output':_0xf03ec5,'duration_ms':_0x54701e});}catch{_0x22be89({'status':_0x511051(0x38f,0x39e,_0x3ec35f._0x16e35c,0x383),'duration_ms':_0x54701e});}}),_0x4c6199['on'](_0x2e1c09(0x3ed,_0x3e390a._0x1599de,_0x3e390a._0x470601,0x3ec),_0x56789d=>{function _0x221969(_0x54191b,_0x1b0b99,_0x21bfcb,_0x1110c1){return _0x2e1c09(_0x1b0b99,_0x54191b- -_0x3032e2._0x264c6c,_0x21bfcb-_0x3032e2._0x1556cc,_0x1110c1-0x13f);}clearTimeout(_0x2c5414),_0x22be89({'status':_0x221969(0x35a,0x361,_0x7cbcff._0x3db915,0x35d),'error':_0x56789d['message'],'duration_ms':Date['now']()-_0x1ea976});});});}function createHookExtensions(_0x13182c,_0x501174,_0x1a6a5b={}){const _0x357bb7={_0x411a2e:0x57,_0x13f465:0x13a,_0x2d76ce:0x117,_0xa62cb4:0x135,_0x182c46:0x155,_0x1e3f18:0x5d,_0x4486ff:0x4f,_0x5a8f8f:0x54,_0x118d5a:0x157,_0x2d047e:0x2d,_0x89092d:0xf,_0xa43ca6:0x22,_0x2b9018:0x32,_0x450ea5:0x42,_0x4e5d00:0x10d,_0x2cbea3:0x127,_0x16da02:0x126,_0x3fc5be:0x3c,_0x2ac39c:0x4e},_0x395db7={_0x499af5:0x2bd,_0x1f9aae:0x2bd,_0x59b2b3:0x26e,_0x1122b7:0x280,_0x214e4c:0x27d,_0x38591a:0x26c,_0x55ed6c:0x261,_0x400757:0x275,_0x53a55d:0x25d,_0x5a78a5:0x27d,_0x5e0d3c:0x1c6,_0x3aeac9:0x1e3},_0x23d23d={_0x3beb79:0x24a,_0x597411:0x171},_0x35d1d2={_0x2b0695:0x4c,_0x19e84c:0x326},_0x164e21={_0x212dc7:0xca},_0x43d101={_0x578b92:0xce,_0x1a007d:0xd2,_0x2026d1:0xc4,_0x3413ea:0x9b,_0x53b230:0x3f3,_0x3d7970:0x3d5,_0x3643e4:0x3de,_0x4803b9:0xc0},_0x12bbef={_0x2297e1:0x172,_0x44939e:0x182,_0x5354a6:0x155,_0x14e8ce:0x14e,_0xa116a6:0x171,_0x2b0ac1:0x165,_0x5733dd:0x101,_0x3bc826:0xd8,_0xb6002f:0xeb,_0x62552f:0xaa,_0x4d87a1:0xce,_0x4ed5f8:0x128,_0x1b45a3:0x163,_0x35d9bd:0x8b,_0x4e3cc6:0xb6,_0x4a2ba9:0xb6,_0x57a3a0:0xa2},_0x52c4b0={_0xb302e6:0xf4,_0x2e4f94:0x112,_0x4aae75:0x299},_0x96142e=[];function _0x32605a(_0x3dc8cb,_0x45ac33,_0x80481e,_0xb0d23e){return _0x1d25(_0x80481e- -0x24c,_0xb0d23e);}const {sessionId:_0x179b76,projectDir:_0x55afe4}=_0x1a6a5b,_0x669a70=_0x46b411=>_0x13182c['hasHooks']?_0x13182c[_0x32605a(-0x123,-0x157,-0x141,-0x152)](_0x46b411):_0x13182c['getHooks'](_0x46b411)[_0x297c7a(0xe,0x1e,0x2c,0xf)]>0x0;_0x669a70('PostToolUse')&&_0x96142e['push']({'id':_0x297c7a(0x55,_0x357bb7._0x411a2e,0x62,0x51),'stage':'afterToolResult','kind':_0x32605a(-_0x357bb7._0x13f465,-_0x357bb7._0x2d76ce,-0x134,-0x123),'order':0x0,'enabled':!![],'run':async(_0x115c9f,_0x59e927)=>{const _0x528ec5={_0x517b8a:0x1a5};function _0x34ebf0(_0x37e6bd,_0x28934d,_0x480bc0,_0x1c38a3){return _0x32605a(_0x37e6bd-_0x52c4b0._0xb302e6,_0x28934d-_0x52c4b0._0x2e4f94,_0x37e6bd-_0x52c4b0._0x4aae75,_0x1c38a3);}const _0x3517a7=_0x13182c[_0x34ebf0(_0x12bbef._0x2297e1,0x150,0x16e,_0x12bbef._0x44939e)]('PostToolUse',_0x115c9f[_0x34ebf0(_0x12bbef._0x5354a6,0x140,0x16a,_0x12bbef._0x14e8ce)]);function _0x1b5645(_0x20e03f,_0xe14696,_0xf32ae9,_0x55b729){return _0x297c7a(_0x20e03f,_0xe14696-_0x528ec5._0x517b8a,_0xe14696-0x81,_0x55b729-0x14f);}for(const _0x105010 of _0x3517a7){const _0x52f2dd={'tool_name':_0x115c9f[_0x34ebf0(0x155,_0x12bbef._0xa116a6,0x16a,_0x12bbef._0x2b0ac1)],'tool_input':void 0x0,'tool_output':_0x115c9f[_0x1b5645(_0x12bbef._0x5733dd,0xe2,_0x12bbef._0x3bc826,_0x12bbef._0xb6002f)],'tool_result_status':_0x115c9f[_0x1b5645(_0x12bbef._0x62552f,0xbe,0xab,_0x12bbef._0x4d87a1)],'session_id':_0x179b76??_0x59e927[_0x34ebf0(0x141,_0x12bbef._0x4ed5f8,0x159,_0x12bbef._0x1b45a3)][_0x1b5645(_0x12bbef._0x35d9bd,0xa8,_0x12bbef._0x4e3cc6,0xc5)]};await _0x501174(_0x105010[_0x1b5645(0xbf,_0x12bbef._0x4a2ba9,0xbd,0xba)],_0x52f2dd,_0x105010[_0x1b5645(0xb0,0xc0,0xc9,_0x12bbef._0x57a3a0)],_0x55afe4);}}});_0x669a70(_0x32605a(-0x139,-_0x357bb7._0xa62cb4,-_0x357bb7._0x182c46,-0x176))&&_0x96142e['push']({'id':_0x297c7a(0x37,_0x357bb7._0x1e3f18,_0x357bb7._0x4486ff,0x53),'stage':_0x297c7a(0x6d,0x3f,_0x357bb7._0x5a8f8f,0x5a),'kind':'observer','order':0x0,'enabled':!![],'run':async(_0x52d595,_0x4a986b)=>{const _0x14c8da={_0x5e1293:0x81,_0xa1daea:0xf1},_0x4af417={_0x3cb78a:0xc8,_0x424ece:0x73};function _0x217e01(_0x15bff8,_0x533290,_0x5d4698,_0x377688){return _0x297c7a(_0x15bff8,_0x533290-_0x4af417._0x3cb78a,_0x377688-0x3b7,_0x377688-_0x4af417._0x424ece);}function _0x1af86c(_0x21fea6,_0x560fec,_0x5d4227,_0xb26e05){return _0x297c7a(_0x560fec,_0x560fec-_0x14c8da._0x5e1293,_0x5d4227- -_0x14c8da._0xa1daea,_0xb26e05-0x1c6);}const _0x4c1842=_0x13182c['getHooks'](_0x1af86c(-_0x43d101._0x578b92,-_0x43d101._0x1a007d,-_0x43d101._0x2026d1,-0xdd));for(const _0x15fc74 of _0x4c1842){const _0x646be1={'stop_reason':_0x1af86c(-0x8e,-0xb4,-_0x43d101._0x3413ea,-0x82),'session_id':_0x179b76??_0x4a986b['state'][_0x217e01(0x3ff,_0x43d101._0x53b230,_0x43d101._0x3d7970,_0x43d101._0x3643e4)]};await _0x501174(_0x15fc74['command'],_0x646be1,_0x15fc74[_0x1af86c(-_0x43d101._0x4803b9,-0xd4,-0xb2,-_0x43d101._0x2026d1)],_0x55afe4);}}});function _0x297c7a(_0xa1ffdc,_0x33d85b,_0x535a6f,_0x23f464){return _0x1d25(_0x535a6f- -_0x164e21._0x212dc7,_0xa1ffdc);}return _0x669a70(_0x32605a(-_0x357bb7._0x118d5a,-0x14e,-0x13c,-0x11d))&&_0x96142e[_0x297c7a(_0x357bb7._0x2d047e,_0x357bb7._0x89092d,_0x357bb7._0xa43ca6,0x20)]({'id':_0x297c7a(_0x357bb7._0x2b9018,_0x357bb7._0x450ea5,0x44,0x5b),'stage':_0x32605a(-_0x357bb7._0x4e5d00,-_0x357bb7._0x2cbea3,-0x123,-_0x357bb7._0x16da02),'kind':_0x297c7a(0x43,_0x357bb7._0x3fc5be,_0x357bb7._0x2ac39c,_0x357bb7._0x2ac39c),'order':0x0,'enabled':!![],'run':async(_0x4a4b89,_0x5109bc)=>{function _0x2008dd(_0x3aeafc,_0x1d4281,_0x18df1b,_0x2d7f5c){return _0x32605a(_0x3aeafc-0x181,_0x1d4281-_0x35d1d2._0x2b0695,_0x2d7f5c-_0x35d1d2._0x19e84c,_0x3aeafc);}function _0x10f0d3(_0x495cdb,_0x5609b4,_0x4e04d6,_0x1ff12a){return _0x297c7a(_0x495cdb,_0x5609b4-0x3e,_0x5609b4-_0x23d23d._0x3beb79,_0x1ff12a-_0x23d23d._0x597411);}const _0x4168c4=_0x13182c[_0x10f0d3(_0x395db7._0x499af5,0x2a5,0x2b6,_0x395db7._0x1f9aae)](_0x10f0d3(_0x395db7._0x59b2b3,0x290,0x26f,0x2b1));for(const _0xec98b5 of _0x4168c4){const _0x16f700={'message':_0x10f0d3(0x294,0x273,_0x395db7._0x1122b7,_0x395db7._0x214e4c),'session_id':_0x179b76??_0x4a4b89[_0x10f0d3(_0x395db7._0x38591a,0x271,_0x395db7._0x55ed6c,_0x395db7._0x400757)]};await _0x501174(_0xec98b5[_0x10f0d3(_0x395db7._0x53a55d,0x27f,_0x395db7._0x5a78a5,0x272)],_0x16f700,_0xec98b5[_0x2008dd(0x1e1,0x205,_0x395db7._0x5e0d3c,_0x395db7._0x3aeac9)],_0x55afe4);}}}),_0x96142e;}function createHookOnToolCallMiddleware(_0x15e31c,_0x418979,_0x1794ed,_0x2f703f={}){const _0x540172={_0x143cef:0x421,_0x242e8f:0x43f,_0x40d46b:0x438,_0xbdb52a:0x19c,_0x5cf97d:0x1b7,_0x350faa:0x406,_0x2ff5dd:0x424,_0x3601a2:0x42a,_0x132fe5:0x1ab,_0x16eaae:0x18e,_0x422353:0x172,_0x104550:0x17d,_0x396173:0x187,_0x22a3d0:0x416,_0xc01b53:0x18c,_0x343d98:0x196,_0x448e8c:0x16b,_0xa48555:0x154,_0xb99b25:0x164,_0x97f48c:0x44d,_0x3c82b7:0x445,_0x1de93e:0x428,_0x121a2e:0x18f,_0xd9c861:0x19b,_0x34d98a:0x42c,_0x2273e6:0x160,_0x1ff447:0x441,_0x4aff00:0x41a,_0x32824c:0x42e,_0x87e6e2:0x43a,_0x8ba0f0:0x433,_0x5cfecd:0x176,_0x4c5e87:0x15c},_0x3de85e={_0x5b1243:0x31a},{sessionId:_0x11f7bf,projectDir:_0x1993a9}=_0x2f703f;return async(_0x4290af,_0x5dc788)=>{function _0x28ae43(_0x18e825,_0x15b3ff,_0x528627,_0x520235){return _0x1d25(_0x15b3ff-_0x3de85e._0x5b1243,_0x520235);}const _0x598ba2=_0x15e31c[_0x28ae43(_0x540172._0x143cef,_0x540172._0x242e8f,0x420,_0x540172._0x40d46b)](_0x5a3742(-0x1a4,-_0x540172._0xbdb52a,-0x17c,-_0x540172._0x5cf97d),_0x4290af[_0x5a3742(-0x18c,-0x17e,-0x17c,-0x168)]);for(const _0x31b3de of _0x598ba2){const _0x49d341={'tool_name':_0x4290af['name'],'tool_input':_0x4290af[_0x28ae43(_0x540172._0x350faa,_0x540172._0x2ff5dd,_0x540172._0x3601a2,0x41b)],'session_id':_0x11f7bf},_0x3ba6c8=await _0x418979(_0x31b3de[_0x5a3742(-_0x540172._0x132fe5,-0x19a,-0x1a7,-_0x540172._0x16eaae)],_0x49d341,_0x31b3de['timeout'],_0x1993a9),_0x56fb3f=_0x3ba6c8[_0x5a3742(-0x156,-0x16e,-_0x540172._0x422353,-_0x540172._0x104550)]?.[_0x5a3742(-0x184,-_0x540172._0x104550,-0x18b,-_0x540172._0x396173)]?.['permissionDecision'];if(_0x56fb3f===_0x28ae43(0x3fd,0x40c,0x40f,_0x540172._0x22a3d0))return{'action':_0x5a3742(-0x171,-_0x540172._0xc01b53,-_0x540172._0x343d98,-0x1a3)};if(_0x56fb3f===_0x5a3742(-0x190,-0x1a1,-0x1bf,-0x189))return{'action':_0x5a3742(-0x174,-_0x540172._0x448e8c,-_0x540172._0xa48555,-_0x540172._0xb99b25),'reason':_0x3ba6c8[_0x28ae43(_0x540172._0x97f48c,_0x540172._0x3c82b7,0x452,_0x540172._0x1de93e)]?.['hookSpecificOutput']?.[_0x5a3742(-_0x540172._0x121a2e,-0x186,-0x182,-_0x540172._0xd9c861)]||_0x28ae43(0x423,_0x540172._0x34d98a,0x42d,0x44c)+_0x4290af[_0x5a3742(-0x161,-0x17e,-0x164,-_0x540172._0x2273e6)]};if(_0x3ba6c8[_0x28ae43(_0x540172._0x1ff447,0x421,0x43d,0x402)]==='block'||_0x3ba6c8[_0x28ae43(0x44f,0x445,0x43b,_0x540172._0x2ff5dd)]?.[_0x5a3742(-0x18f,-0x1ab,-0x199,-0x1c4)]===_0x28ae43(_0x540172._0x4aff00,_0x540172._0x32824c,0x449,_0x540172._0x87e6e2))return{'action':'reject','reason':_0x3ba6c8[_0x28ae43(_0x540172._0x8ba0f0,_0x540172._0x3c82b7,0x457,0x45b)]?.['reason']||'Blocked\x20by\x20PreToolUse\x20hook\x20for\x20'+_0x4290af[_0x5a3742(-_0x540172._0x448e8c,-0x17e,-_0x540172._0x5cfecd,-_0x540172._0x4c5e87)]};}function _0x5a3742(_0x54c7b4,_0x1204c5,_0x4624a0,_0x78096c){return _0x1d25(_0x1204c5- -0x299,_0x4624a0);}return _0x1794ed(_0x4290af,_0x5dc788);};}var DEFAULT_TIMEOUT_S2=0x3c;function createHookRegistry(_0xdbd565){const _0x11cb3c={_0x1aeced:0x37b,_0xc2a067:0x4d,_0x1cdddf:0x27,_0x4d958a:0x378,_0x5ddabb:0x37f,_0x4d4928:0x365,_0x353fd2:0x383,_0x35b4c9:0x33d,_0x58d40f:0x340,_0x1ec7b0:0x399,_0x506839:0x377,_0x8cc2fa:0x376,_0x1d51ec:0x37e},_0x87b294={_0x1aa0ad:0x154},_0x1d4ee5={_0x4b42ab:0x4bf,_0x4b224d:0x4d8},_0x5ae54c={_0xba8052:0x3df};return{'hasHooks'(_0x13910c){function _0x393e01(_0x4a81f7,_0x30e477,_0x54e0bf,_0x1fb27d){return _0x1d25(_0x54e0bf-_0x5ae54c._0xba8052,_0x30e477);}return(_0xdbd565[_0x13910c]?.[_0x393e01(_0x1d4ee5._0x4b42ab,0x4d0,0x4d5,_0x1d4ee5._0x4b224d)]??0x0)>0x0;},'getHooks'(_0x2d4ee9,_0x2b2d2e){const _0x46a3c3=_0xdbd565[_0x2d4ee9];if(!_0x46a3c3)return[];const _0x19b200=[];function _0x22eb41(_0x3c7a6d,_0x19fb23,_0x447083,_0xa6157d){return _0x1d25(_0x447083-0x254,_0x3c7a6d);}for(const _0x4bef4b of _0x46a3c3){if(!_0x4bef4b[_0x22eb41(0x357,0x37f,0x365,_0x11cb3c._0x1aeced)]||_0x4bef4b[_0x18fc54(-0x43,-0x3b,-0x50,-_0x11cb3c._0xc2a067)]==='*'){_0x19b200['push'](..._0x4bef4b[_0x18fc54(-_0x11cb3c._0x1cdddf,-0x26,-0x3e,-0x31)][_0x22eb41(_0x11cb3c._0x4d958a,0x361,0x37e,0x35e)](_0x4076be=>({'command':_0x4076be['command'],'timeout':_0x4076be[_0x22eb41(0x37b,0x364,0x35d,0x37c)]??DEFAULT_TIMEOUT_S2})));continue;}if(_0x2b2d2e===void 0x0)continue;const _0x49430b=new RegExp('^(?:'+_0x4bef4b[_0x22eb41(_0x11cb3c._0x5ddabb,0x379,_0x11cb3c._0x4d4928,_0x11cb3c._0x353fd2)]+')$');_0x49430b['test'](_0x2b2d2e)&&_0x19b200[_0x22eb41(_0x11cb3c._0x35b4c9,0x348,_0x11cb3c._0x58d40f,0x342)](..._0x4bef4b[_0x22eb41(_0x11cb3c._0x1ec7b0,_0x11cb3c._0x506839,0x381,0x36d)][_0x22eb41(0x372,_0x11cb3c._0x8cc2fa,_0x11cb3c._0x1d51ec,0x36b)](_0x304c5f=>({'command':_0x304c5f[_0x22eb41(0x333,0x367,0x353,0x346)],'timeout':_0x304c5f[_0x18fc54(-0x4b,-0x46,-0x47,-0x61)]??DEFAULT_TIMEOUT_S2})));}function _0x18fc54(_0x311171,_0x9ab130,_0x44f991,_0x2555b3){return _0x1d25(_0x311171- -_0x87b294._0x1aa0ad,_0x9ab130);}return _0x19b200;}};}export{createHookExtensions,createHookOnToolCallMiddleware,createHookRegistry,executeCommandHook};function _0x35fa(){const _0xdff948=['nte2zvDHCKXT','CgLWzq','B2jZzxj2zxi','Ag9VAZPtDg9W','mJu0ntzXv1j0u1q','BMfTzq','Ag9VA1nWzwnPzMLJt3v0Chv0','zxjYB3i','yMvMB3jLrMLUywXpDxrWDxq','nZG0zhjfwfL6','zw5Kx3r1CM4','mJK3ngLrDgrYDG','zw5K','nZyYodveCMLKAwW','mJa0odGZnw5hrxjxCa','z2v0sg9VA3m','u0Lhs0Lmta','mZC3u2HdA01Q','y2XVC2u','ywz0zxjuDxjUq29TCgXLDgu','BwfW','B3v0Chv0','Ag9VAZPqB3n0vg9VBfvZzq','Ag9VA3m','CMvQzwn0','mJm1ote0vLDeuM92','ChvZAa','rvbjueu','zgvJAxnPB24','CgfZCW','C3rKB3v0','C2vZC2LVBKLK','ywXSB3C','qwDLBNqGzMLUAxnOzwqGCMvZCg9UzgLUzW','C3rHDgu','BM93','BgvUz3rO','u3rVCa','zgvUEq','odq0mg9VDNbSCq','y29Kzq','sg9VAYbLEgL0zwqGD2L0AcbJB2rLia','mte4mgnxrLbYCa','uhjLvg9VBfvZzq','DhjPBq','y29TBwfUza','C3rKAw4','mtuWqK5krunq','CgfYC2u','Dg9tDhjPBMC','mtK2mti4DKnJy25l','D3jPDgu','zgf0yq','C3rHDhvZ','Dg9VBe5HBwu','DgLTzw91Da','Aw5WDxq','AgfZsg9VA3m','y3DK','CNvU','Ag9VAZPoB3rPzMLJyxrPB24','A2LSBa','tM90AwzPy2f0Aw9U','Bwf0y2HLCG','ugvYBwLZC2LVBIbKzw5PzwqGzM9Yia','CgvYBwLZC2LVBKrLy2LZAw9UuMvHC29U','yMXVy2S','C3rYAw5NAwz5'];_0x35fa=function(){return _0xdff948;};return _0x35fa();}
|
|
1
|
+
function _0x1531(_0x3ae6e0,_0x4ac9f2){_0x3ae6e0=_0x3ae6e0-0x188;const _0x203408=_0x2034();let _0x153156=_0x203408[_0x3ae6e0];if(_0x1531['TevQRT']===undefined){var _0x487aa4=function(_0x48d945){const _0xe32dd3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2c6685='',_0x2dbead='';for(let _0x5686ae=0x0,_0x5aa212,_0x461ac7,_0x255274=0x0;_0x461ac7=_0x48d945['charAt'](_0x255274++);~_0x461ac7&&(_0x5aa212=_0x5686ae%0x4?_0x5aa212*0x40+_0x461ac7:_0x461ac7,_0x5686ae++%0x4)?_0x2c6685+=String['fromCharCode'](0xff&_0x5aa212>>(-0x2*_0x5686ae&0x6)):0x0){_0x461ac7=_0xe32dd3['indexOf'](_0x461ac7);}for(let _0x2f8dab=0x0,_0x513c65=_0x2c6685['length'];_0x2f8dab<_0x513c65;_0x2f8dab++){_0x2dbead+='%'+('00'+_0x2c6685['charCodeAt'](_0x2f8dab)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2dbead);};_0x1531['BaAHwv']=_0x487aa4,_0x1531['VKhBfs']={},_0x1531['TevQRT']=!![];}const _0x197a83=_0x203408[0x0],_0x56eb3d=_0x3ae6e0+_0x197a83,_0x4bd7cf=_0x1531['VKhBfs'][_0x56eb3d];return!_0x4bd7cf?(_0x153156=_0x1531['BaAHwv'](_0x153156),_0x1531['VKhBfs'][_0x56eb3d]=_0x153156):_0x153156=_0x4bd7cf,_0x153156;}(function(_0x1d13b2,_0x42f083){const _0x28cf41={_0x114920:0x193,_0x28140d:0x199,_0xd7158d:0x1c5,_0x32a198:0x1a6,_0x4b1c93:0x30b,_0x5d0a94:0x320,_0x391f3d:0x1a0,_0x3202f6:0x1a5,_0x5aa432:0x315,_0x2b0ea3:0x2f0,_0x59c06c:0x19c,_0x37e64a:0x17c,_0x59e651:0x17b,_0x247c98:0x189,_0x5c2482:0x18d,_0x9f6ad8:0x19b,_0x2835d5:0x334,_0x4dd4e7:0x319,_0x505f9e:0x339,_0x160b7a:0x19d,_0x5aa12a:0x17d,_0x3bb9a0:0x2ed,_0x46e7c1:0x30a,_0x1f354b:0x2d5},_0x3eb78b={_0x3df12b:0x34d};function _0x3a9608(_0x42f1dc,_0x715efe,_0x3c3da8,_0x2d9264){return _0x1531(_0x2d9264- -_0x3eb78b._0x3df12b,_0x42f1dc);}const _0x64bf9b=_0x1d13b2();function _0x31e55b(_0x257e78,_0x375990,_0x5b8aa0,_0x40a590){return _0x1531(_0x5b8aa0-0x160,_0x257e78);}while(!![]){try{const _0x3eda73=parseInt(_0x3a9608(-_0x28cf41._0x114920,-_0x28cf41._0x28140d,-_0x28cf41._0xd7158d,-_0x28cf41._0x32a198))/0x1*(parseInt(_0x31e55b(_0x28cf41._0x4b1c93,0x310,_0x28cf41._0x5d0a94,0x306))/0x2)+-parseInt(_0x3a9608(-_0x28cf41._0x391f3d,-_0x28cf41._0x3202f6,-0x1b8,-0x1c0))/0x3+-parseInt(_0x31e55b(_0x28cf41._0x5aa432,_0x28cf41._0x2b0ea3,0x2fd,0x2e3))/0x4*(-parseInt(_0x3a9608(-_0x28cf41._0x59c06c,-0x183,-0x18b,-0x197))/0x5)+-parseInt(_0x3a9608(-_0x28cf41._0x37e64a,-_0x28cf41._0x59e651,-_0x28cf41._0x247c98,-0x194))/0x6+parseInt(_0x3a9608(-0x17b,-_0x28cf41._0x5c2482,-0x1a0,-_0x28cf41._0x9f6ad8))/0x7+-parseInt(_0x31e55b(_0x28cf41._0x2835d5,_0x28cf41._0x4dd4e7,0x322,_0x28cf41._0x505f9e))/0x8+-parseInt(_0x3a9608(-0x174,-_0x28cf41._0x160b7a,-_0x28cf41._0x5aa12a,-0x18e))/0x9*(-parseInt(_0x31e55b(_0x28cf41._0x3bb9a0,_0x28cf41._0x46e7c1,0x2f2,_0x28cf41._0x1f354b))/0xa);if(_0x3eda73===_0x42f083)break;else _0x64bf9b['push'](_0x64bf9b['shift']());}catch(_0x47027d){_0x64bf9b['push'](_0x64bf9b['shift']());}}}(_0x2034,0xbf7c3));import{spawn}from'child_process';var DEFAULT_TIMEOUT_S=0x3c;async function executeCommandHook(_0x2c6685,_0x2dbead,_0x5686ae=DEFAULT_TIMEOUT_S,_0x5aa212){const _0xb13ac3={_0x35581f:0x175,_0x576f6d:0x188},_0x14e47d={_0x3f0275:0x20,_0x218d24:0x9,_0x5e8113:0x3,_0x68ed47:0x12,_0x28967b:0x178,_0xcb7096:0x15e,_0xa5a6:0x31,_0x17cc61:0x3a,_0x1ad5ee:0x38,_0x337279:0x26,_0x404581:0x166,_0x73e74b:0x177,_0x1bc915:0x17e,_0x23cc85:0x192,_0x1186b9:0x192,_0x4e9db3:0x30,_0x3c1d4d:0x17a,_0x73f059:0x17d,_0x4e9a40:0x19a,_0x38d9c9:0x2e,_0x5708aa:0x195,_0x225093:0x19c,_0x58a38e:0x199},_0x313665={_0x413e3a:0xaf,_0x1ccc3b:0xd7,_0xe88ec9:0xc0,_0x50962b:0xb5,_0xfbb962:0xeb},_0x582b33={_0x5ebcfe:0x30},_0x5c83ec={_0x274be:0x1a4,_0x57bea6:0xc6},_0xa366b={_0x3bba84:0x148,_0x2fcbf7:0x12b},_0x38cc98={_0x475274:0x121,_0x45fbe4:0x118,_0x532f3f:0x10a};function _0x3ee5b2(_0x1e2080,_0x3a9c1d,_0x1aaa82,_0x27eb4b){return _0x1531(_0x3a9c1d- -0x21,_0x27eb4b);}const _0x461ac7=Date[_0x3ee5b2(_0xb13ac3._0x35581f,0x177,0x16b,_0xb13ac3._0x576f6d)]();return new Promise(_0x255274=>{const _0x4b3f06={_0x30011c:0x67,_0x13c2b5:0x79,_0x578136:0x6c,_0x1ca36d:0x3ff,_0x4c3e2b:0x40e,_0x1fa3e3:0x3fb,_0x302c9a:0x407,_0x2a0f6:0x3f3,_0x52dd89:0x3dc,_0x2ae971:0x3e8,_0x270c0c:0x3e5,_0x358c05:0x412,_0x1d6728:0x86,_0x55ecc4:0xa4,_0x21826f:0x94,_0xfb9fae:0x68,_0x53d2e6:0x85,_0x4f7e50:0x3e4,_0xd1b117:0x3c8},_0x1dd72b={_0x5baf34:0xfb,_0x4da4d5:0x413,_0x277443:0x9c},_0x386f53={_0x179bea:0x2d,_0x109347:0x213},_0x49f588={_0x321437:0x216,_0x2c38b:0x1f1,_0x2ea262:0x1f8},_0x2e634d={_0x3a54da:0xed},_0x2a31a4={_0x461f1c:0xea,_0x1f1aa8:0xbb},_0x2f8dab=spawn('sh',['-c',_0x2c6685],{'stdio':[_0xeff669(0x10,-0x4,-0x9,-0x18),_0xeff669(-_0x14e47d._0x3f0275,-0x23,-_0x14e47d._0x218d24,-0xa),_0xeff669(_0x14e47d._0x5e8113,-0x12,-_0x14e47d._0x218d24,-_0x14e47d._0x68ed47)],'env':{...process[_0x1f41d3(-_0x14e47d._0x28967b,-_0x14e47d._0xcb7096,-0x170,-0x17b)],'CLAUDE_PROJECT_DIR':_0x5aa212??process[_0xeff669(-_0x14e47d._0xa5a6,-0x32,-_0x14e47d._0x17cc61,-_0x14e47d._0x1ad5ee)]()}});let _0x513c65='',_0xfe920='';_0x2f8dab['stdout']['on'](_0xeff669(-0x10,-_0x14e47d._0x68ed47,-_0x14e47d._0x337279,-0x16),_0x4ad396=>{_0x513c65+=_0x4ad396['toString']();}),_0x2f8dab[_0x1f41d3(-_0x14e47d._0x404581,-0x197,-0x187,-_0x14e47d._0x73e74b)]['on'](_0xeff669(-0x16,-0x13,-0x26,-0x17),_0x5f2b5d=>{const _0x2f97e6={_0x1698cd:0x1c3};function _0x41a607(_0xba82eb,_0x5db34b,_0x997b24,_0x2d2343){return _0x1f41d3(_0xba82eb-_0x2f97e6._0x1698cd,_0x5db34b,_0x997b24-0x184,_0x2d2343-0xac);}_0xfe920+=_0x5f2b5d[_0x41a607(-0x124,-_0x38cc98._0x475274,-_0x38cc98._0x45fbe4,-_0x38cc98._0x532f3f)]();}),_0x2f8dab[_0x1f41d3(-_0x14e47d._0x1bc915,-0x1a2,-_0x14e47d._0x23cc85,-_0x14e47d._0x1186b9)]['on'](_0xeff669(-0xc,-_0x14e47d._0x4e9db3,-_0x14e47d._0x3f0275,-0x3a),_0x1d6e6c=>{function _0x2ce66f(_0x1d07b7,_0x5de937,_0x4834d1,_0x9d9dd2){return _0x1f41d3(_0x1d07b7-_0x2a31a4._0x461f1c,_0x9d9dd2,_0x4834d1-_0x2a31a4._0x1f1aa8,_0x5de937-0x2c1);}if(_0x1d6e6c[_0x2ce66f(0x13d,_0xa366b._0x3bba84,0x143,_0xa366b._0x2fcbf7)]!=='EPIPE')throw _0x1d6e6c;}),_0x2f8dab['stdin'][_0x1f41d3(-0x170,-_0x14e47d._0x3c1d4d,-0x165,-_0x14e47d._0x73f059)](JSON[_0x1f41d3(-_0x14e47d._0x4e9a40,-0x198,-0x1b7,-0x1a9)](_0x2dbead)),_0x2f8dab['stdin']['end']();function _0xeff669(_0x53dcbe,_0x48456d,_0x41a2b7,_0x2c15cf){return _0x3ee5b2(_0x53dcbe-0x1ba,_0x41a2b7- -_0x5c83ec._0x274be,_0x41a2b7-_0x5c83ec._0x57bea6,_0x53dcbe);}const _0x50f49a=setTimeout(()=>{const _0x237a3e={_0x35e10b:0x142,_0x2bf393:0x17d,_0x2d574a:0x77};function _0x374535(_0x7d238,_0x290f1b,_0x1be863,_0x26098f){return _0x1f41d3(_0x7d238-_0x237a3e._0x35e10b,_0x290f1b,_0x1be863-_0x237a3e._0x2bf393,_0x26098f- -_0x237a3e._0x2d574a);}function _0x438a5e(_0x3b98f2,_0x3fd0b3,_0x158c49,_0x4b24b9){return _0xeff669(_0x3b98f2,_0x3fd0b3-_0x2e634d._0x3a54da,_0x4b24b9- -0x65,_0x4b24b9-0x188);}_0x2f8dab[_0x438a5e(-0x5a,-0x85,-0x76,-0x6f)]('SIGKILL'),_0x255274({'status':'error','error':_0x374535(-_0x49f588._0x321437,-0x1fc,-_0x49f588._0x2c38b,-_0x49f588._0x2ea262)+_0x5686ae+'s','duration_ms':Date['now']()-_0x461ac7});},_0x5686ae*0x3e8);_0x2f8dab['on'](_0xeff669(0x0,-0x13,-0x1c,-_0x14e47d._0x38d9c9),_0x6de020=>{clearTimeout(_0x50f49a);function _0x3ecce5(_0x413aba,_0x83b1a6,_0x300f09,_0x4ecc63){return _0x1f41d3(_0x413aba-_0x386f53._0x179bea,_0x413aba,_0x300f09-0xeb,_0x83b1a6-_0x386f53._0x109347);}function _0x5bff85(_0x270b18,_0x1c599d,_0x352e19,_0x1fa430){return _0xeff669(_0x352e19,_0x1c599d-_0x1dd72b._0x5baf34,_0x270b18-_0x1dd72b._0x4da4d5,_0x1fa430-_0x1dd72b._0x277443);}const _0x364bcb=Date['now']()-_0x461ac7;if(_0x6de020===0x2){_0x255274({'status':_0x3ecce5(_0x4b3f06._0x30011c,_0x4b3f06._0x13c2b5,0x72,_0x4b3f06._0x578136),'output':{'decision':'block','reason':_0xfe920[_0x5bff85(_0x4b3f06._0x1ca36d,0x41d,_0x4b3f06._0x4c3e2b,_0x4b3f06._0x1fa3e3)]()||_0x5bff85(0x412,0x3f2,0x400,_0x4b3f06._0x302c9a)},'duration_ms':_0x364bcb});return;}if(_0x6de020!==0x0){_0x255274({'status':_0x5bff85(_0x4b3f06._0x2a0f6,_0x4b3f06._0x52dd89,_0x4b3f06._0x2ae971,_0x4b3f06._0x270c0c),'error':'Hook\x20exited\x20with\x20code\x20'+_0x6de020+(_0xfe920[_0x3ecce5(0x67,0x86,0x70,0x92)]()?':\x20'+_0xfe920[_0x5bff85(0x3ff,0x3e6,_0x4b3f06._0x358c05,0x3f2)]():''),'duration_ms':_0x364bcb});return;}const _0x55b2c1=_0x513c65[_0x3ecce5(0x8d,_0x4b3f06._0x1d6728,_0x4b3f06._0x55ecc4,_0x4b3f06._0x21826f)]();if(_0x55b2c1[_0x3ecce5(0x82,0x77,0x94,0x7b)]===0x0){_0x255274({'status':_0x3ecce5(0x6b,_0x4b3f06._0xfb9fae,0x5d,_0x4b3f06._0x53d2e6),'duration_ms':_0x364bcb});return;}try{const _0x101f23=JSON['parse'](_0x55b2c1);_0x255274({'status':_0x5bff85(0x3e1,_0x4b3f06._0x4f7e50,0x3d0,_0x4b3f06._0xd1b117),'output':_0x101f23,'duration_ms':_0x364bcb});}catch{_0x255274({'status':'pass','duration_ms':_0x364bcb});}});function _0x1f41d3(_0x41c15a,_0x2ef2ca,_0x1704d7,_0x498369){return _0x3ee5b2(_0x41c15a-_0x582b33._0x5ebcfe,_0x498369- -0x31d,_0x1704d7-0xb5,_0x2ef2ca);}_0x2f8dab['on'](_0x1f41d3(-0x1a5,-_0x14e47d._0x5708aa,-_0x14e47d._0x225093,-_0x14e47d._0x58a38e),_0x11f8c2=>{const _0x41a1b9={_0x20463d:0xcb,_0x1cbb0d:0xd9},_0x116304={_0xd7bde:0xd,_0x1ac7e7:0x600};function _0x4e928e(_0x371580,_0x98faf3,_0x25473c,_0x5c848d){return _0x1f41d3(_0x371580-0xe1,_0x25473c,_0x25473c-_0x116304._0xd7bde,_0x5c848d-_0x116304._0x1ac7e7);}function _0x156080(_0x5f12d4,_0x57292c,_0x25912d,_0x12afc7){return _0x1f41d3(_0x5f12d4-0x177,_0x57292c,_0x25912d-_0x41a1b9._0x20463d,_0x12afc7-_0x41a1b9._0x1cbb0d);}clearTimeout(_0x50f49a),_0x255274({'status':_0x156080(-_0x313665._0x413e3a,-_0x313665._0x1ccc3b,-0xb5,-_0x313665._0xe88ec9),'error':_0x11f8c2[_0x156080(-0x9a,-0xcd,-0xb2,-_0x313665._0x50962b)],'duration_ms':Date[_0x156080(-0xb2,-_0x313665._0xfbb962,-0xd1,-0xcd)]()-_0x461ac7});});});}function createHookExtensions(_0x4e10d9,_0x3acb50,_0x5b66a2={}){const _0x4111b3={_0x1ae384:0x4b1,_0x88e7e0:0xcb,_0x14caf8:0xd4,_0x54f481:0xc1,_0xbcd343:0xaf,_0x4b14ff:0x9d,_0x77d15:0xb9,_0x12278e:0x84,_0x145792:0xa9,_0x5704cc:0xb5,_0xfc7546:0x4c3,_0xc711bc:0x4aa},_0x127ce9={_0x214869:0x254,_0x429d75:0x24d,_0x51f93e:0x256,_0x12f2a7:0x248,_0x3fdb38:0x1f2,_0x41a8dc:0x203,_0x5ac661:0x252,_0x29fc54:0x231,_0xed5364:0x236,_0xb2b8d9:0x237,_0x1f2771:0x231,_0x4acbc7:0x23f},_0x554361={_0x13a04f:0x2a8,_0x41cfa0:0x2a7,_0x15b173:0x2b5,_0x4dad17:0x2b6,_0x502e99:0x2c7,_0x11a722:0x25d,_0x1957b1:0x253,_0xcf0b72:0x24c,_0x286b73:0x261,_0x17c464:0x25b},_0x4f7f3a={_0x584cb0:0x227,_0x5e4d38:0x22c,_0x3b3645:0x1df,_0x68a068:0x1c9,_0x49a7e3:0x251,_0x3b9f42:0x220,_0x1bd719:0x244,_0x4e6d0d:0x1ed},_0x1e6ca6={_0xc9807:0x2a2},_0xf159d9=[],{sessionId:_0x30f1da,projectDir:_0x597533}=_0x5b66a2,_0x512c27=_0x339e31=>_0x4e10d9[_0x38be7e(-0xd1,-0xb8,-0x9c,-0xa7)]?_0x4e10d9['hasHooks'](_0x339e31):_0x4e10d9['getHooks'](_0x339e31)[_0x439220(0x4ce,0x4b5,0x4ad,0x4a3)]>0x0;_0x512c27(_0x439220(0x4ce,_0x4111b3._0x1ae384,0x49a,0x49b))&&_0xf159d9['push']({'id':_0x38be7e(-_0x4111b3._0x88e7e0,-_0x4111b3._0x14caf8,-0xcf,-0xd3),'stage':'afterToolResult','kind':_0x38be7e(-0xc5,-0xbb,-_0x4111b3._0x54f481,-0xcb),'order':0x0,'enabled':!![],'run':async(_0x4be79a,_0x169e72)=>{function _0x243963(_0x34045c,_0x10f027,_0x4440cd,_0x19aa03){return _0x38be7e(_0x34045c-0x12f,_0x19aa03-_0x1e6ca6._0xc9807,_0x34045c,_0x19aa03-0x137);}function _0x2c00b8(_0x215fff,_0x37cf56,_0x314654,_0x2b4a29){return _0x439220(_0x314654,_0x2b4a29- -0x6e2,_0x314654-0x16c,_0x2b4a29-0x119);}const _0x346169=_0x4e10d9['getHooks']('PostToolUse',_0x4be79a[_0x2c00b8(-0x242,-0x222,-_0x4f7f3a._0x584cb0,-_0x4f7f3a._0x5e4d38)]);for(const _0x46f130 of _0x346169){const _0x45248a={'tool_name':_0x4be79a['toolName'],'tool_input':void 0x0,'tool_output':_0x4be79a['output'],'tool_result_status':_0x4be79a[_0x243963(0x1be,0x1cb,_0x4f7f3a._0x3b3645,_0x4f7f3a._0x68a068)],'session_id':_0x30f1da??_0x169e72[_0x2c00b8(-_0x4f7f3a._0x49a7e3,-_0x4f7f3a._0x3b9f42,-_0x4f7f3a._0x1bd719,-0x235)]['sessionId']};await _0x3acb50(_0x46f130[_0x243963(0x1e9,0x1d2,_0x4f7f3a._0x4e6d0d,0x1ed)],_0x45248a,_0x46f130['timeout'],_0x597533);}}});function _0x439220(_0x252c0e,_0x55efca,_0x16bc20,_0x98cf4e){return _0x1531(_0x55efca-0x313,_0x252c0e);}_0x512c27(_0x38be7e(-_0x4111b3._0xbcd343,-_0x4111b3._0x4b14ff,-_0x4111b3._0x77d15,-_0x4111b3._0x12278e))&&_0xf159d9['push']({'id':'hook:Stop','stage':'beforeFinalOutput','kind':'observer','order':0x0,'enabled':!![],'run':async(_0x41f67c,_0x39e5ea)=>{const _0x1c09f5={_0x43fb05:0x26d,_0x48ef39:0x1c8};function _0x2b7850(_0x40093a,_0x5b6e7c,_0x45a153,_0x15ac87){return _0x439220(_0x15ac87,_0x40093a- -_0x1c09f5._0x43fb05,_0x45a153-_0x1c09f5._0x48ef39,_0x15ac87-0x1df);}const _0x354689=_0x4e10d9[_0x5b0e3b(_0x554361._0x13a04f,0x2b6,_0x554361._0x41cfa0,0x2bb)]('Stop');function _0x5b0e3b(_0x487b04,_0x4c6a47,_0x3b691e,_0x1b6ff1){return _0x439220(_0x4c6a47,_0x487b04- -0x1f4,_0x3b691e-0xf2,_0x1b6ff1-0x46);}for(const _0x59ac10 of _0x354689){const _0x1ed037={'stop_reason':_0x5b0e3b(_0x554361._0x15b173,0x2cd,_0x554361._0x4dad17,_0x554361._0x502e99),'session_id':_0x30f1da??_0x39e5ea[_0x2b7850(0x240,_0x554361._0x11a722,_0x554361._0x1957b1,0x226)][_0x2b7850(_0x554361._0xcf0b72,0x24f,_0x554361._0x286b73,_0x554361._0x17c464)]};await _0x3acb50(_0x59ac10[_0x5b0e3b(0x2cd,0x2e7,0x2ad,0x2d9)],_0x1ed037,_0x59ac10['timeout'],_0x597533);}}});_0x512c27(_0x38be7e(-0xb4,-_0x4111b3._0x145792,-_0x4111b3._0x5704cc,-0x8d))&&_0xf159d9[_0x439220(_0x4111b3._0xfc7546,0x4a7,0x4ab,_0x4111b3._0xc711bc)]({'id':'hook:Notification','stage':'afterTurnComplete','kind':'observer','order':0x0,'enabled':!![],'run':async(_0x372855,_0x3107c4)=>{const _0x3e0ad3={_0x2b4344:0x30},_0x45104f=_0x4e10d9['getHooks'](_0x3e6336(-0x22b,-0x242,-0x212,-0x24a));function _0x23b4d6(_0x4a5d5d,_0x3bdc35,_0x51b512,_0x161009){return _0x439220(_0x161009,_0x51b512- -0x2c7,_0x51b512-0x1ba,_0x161009-0xe4);}function _0x3e6336(_0x33f02e,_0x55917d,_0x56ac9e,_0x2a1e68){return _0x38be7e(_0x33f02e-_0x3e0ad3._0x2b4344,_0x33f02e- -0x182,_0x2a1e68,_0x2a1e68-0xad);}for(const _0x513ad8 of _0x45104f){const _0x3a9de7={'message':_0x3e6336(-_0x127ce9._0x214869,-_0x127ce9._0x429d75,-_0x127ce9._0x51f93e,-_0x127ce9._0x12f2a7),'session_id':_0x30f1da??_0x372855[_0x23b4d6(0x1fd,0x1e4,_0x127ce9._0x3fdb38,_0x127ce9._0x41a8dc)]};await _0x3acb50(_0x513ad8[_0x3e6336(-0x237,-_0x127ce9._0x5ac661,-_0x127ce9._0x29fc54,-0x23f)],_0x3a9de7,_0x513ad8[_0x3e6336(-_0x127ce9._0xed5364,-_0x127ce9._0xb2b8d9,-_0x127ce9._0x1f2771,-_0x127ce9._0x4acbc7)],_0x597533);}}});function _0x38be7e(_0x504c96,_0xf3d931,_0x4b1cbf,_0x307e8e){return _0x1531(_0xf3d931- -0x263,_0x4b1cbf);}return _0xf159d9;}function createHookOnToolCallMiddleware(_0x44706d,_0x5265cd,_0xee1570,_0x23b4dd={}){const _0x6c2962={_0x540ece:0x31b,_0x32bb3b:0x312,_0x244d1c:0x257,_0x98901a:0x21b,_0x5af483:0x313,_0x13e010:0x207,_0x19aa62:0x22d,_0x3cb680:0x23b,_0x2e05bc:0x2ec,_0x4dd29b:0x210,_0x335d16:0x1f8,_0x4bb590:0x22f,_0x98be1d:0x22e,_0x6bb0ad:0x215,_0x3e55cf:0x2fe,_0x62fcb4:0x2ff,_0xf33e29:0x2f8,_0x19b3aa:0x223,_0x1f8034:0x21e,_0x13718c:0x20c,_0x544d7c:0x230,_0x1386f6:0x2ef,_0x10e4b8:0x209,_0x8ee971:0x224,_0x2f7409:0x31f,_0x3ed240:0x303,_0x43a0c8:0x2e6},_0x28d079={_0x3998de:0x163},{sessionId:_0x4dc17a,projectDir:_0x512cf4}=_0x23b4dd;return async(_0x993348,_0x330847)=>{const _0x3facb6={_0x24f974:0x79};function _0x380905(_0x49b4a3,_0x415464,_0x2a0e8a,_0x42744f){return _0x1531(_0x415464-_0x28d079._0x3998de,_0x42744f);}const _0x46ad7c=_0x44706d['getHooks'](_0x380905(0x337,_0x6c2962._0x540ece,0x336,_0x6c2962._0x32bb3b),_0x993348['name']);function _0x42e6a(_0x5a06c0,_0x304b5c,_0x3778fa,_0x34ed3b){return _0x1531(_0x5a06c0-_0x3facb6._0x24f974,_0x3778fa);}for(const _0x1f5700 of _0x46ad7c){const _0x945e7c={'tool_name':_0x993348['name'],'tool_input':_0x993348[_0x42e6a(0x237,_0x6c2962._0x244d1c,0x256,_0x6c2962._0x98901a)],'session_id':_0x4dc17a},_0x19be5c=await _0x5265cd(_0x1f5700['command'],_0x945e7c,_0x1f5700[_0x380905(0x32e,0x312,_0x6c2962._0x5af483,0x312)],_0x512cf4),_0x392203=_0x19be5c['output']?.[_0x42e6a(0x210,0x1f8,_0x6c2962._0x13e010,0x1f0)]?.[_0x42e6a(_0x6c2962._0x19aa62,0x221,_0x6c2962._0x3cb680,0x21f)];if(_0x392203==='allow')return{'action':_0x380905(0x320,0x318,0x322,0x313)};if(_0x392203==='deny')return{'action':_0x380905(0x303,0x2f3,0x2ee,_0x6c2962._0x2e05bc),'reason':_0x19be5c['output']?.[_0x42e6a(_0x6c2962._0x4dd29b,_0x6c2962._0x335d16,_0x6c2962._0x4bb590,0x202)]?.[_0x42e6a(0x226,0x245,_0x6c2962._0x98be1d,_0x6c2962._0x6bb0ad)]||_0x380905(0x314,_0x6c2962._0x3e55cf,0x2e3,0x2f6)+_0x993348[_0x380905(0x301,_0x6c2962._0x62fcb4,0x2ee,_0x6c2962._0xf33e29)]};if(_0x19be5c[_0x42e6a(0x203,_0x6c2962._0x19b3aa,_0x6c2962._0x1f8034,_0x6c2962._0x13718c)]==='block'||_0x19be5c[_0x42e6a(_0x6c2962._0x544d7c,0x240,0x215,_0x6c2962._0x6bb0ad)]?.[_0x380905(_0x6c2962._0x2e05bc,_0x6c2962._0x1386f6,0x2d6,0x30c)]==='block')return{'action':_0x42e6a(_0x6c2962._0x10e4b8,0x228,0x217,_0x6c2962._0x8ee971),'reason':_0x19be5c['output']?.['reason']||_0x380905(_0x6c2962._0x2f7409,_0x6c2962._0x3ed240,0x31a,_0x6c2962._0x3e55cf)+_0x993348[_0x380905(_0x6c2962._0x43a0c8,0x2ff,0x302,0x2f7)]};}return _0xee1570(_0x993348,_0x330847);};}function _0x2034(){const _0x2be18b=['B3v0Chv0','uhjLvg9VBfvZzq','nJu2mti4ofzWEKftAa','tM90AwzPy2f0Aw9U','A2LSBa','CgLWzq','sg9VAYb0Aw1LzcbVDxqGywz0zxiG','Aw5WDxq','oda4nZeZCgHwwezr','nKrLvNPbzG','D3jPDgu','nJi2nJu1mM1ICwXdEG','zw52','sg9VAYbIBg9JA2vKigv4zwn1DgLVBG','y29Kzq','u3rVCa','C3rKzxjY','Dg9tDhjPBMC','z2v0sg9VA3m','C3rHDhvZ','y3DK','zgvJAxnPB24','mtmZodqYm3fKrwH2sW','Ag9VA3m','Ag9VAZPqB3n0vg9VBfvZzq','CMvQzwn0','qwDLBNqGzMLUAxnOzwqGCMvZCg9UzgLUzW','mtKWu3zKDLbZ','CgfZCW','ChvZAa','C3rYAw5NAwz5','zw5Kx3r1CM4','Ag9VA1nWzwnPzMLJt3v0Chv0','BM93','DgvZDa','C3rHDgu','ugvYBwLZC2LVBIbKzw5PzwqGzM9Yia','BMfTzq','otzmAerzv3e','ug9ZDfrVB2XvC2u','zgf0yq','qMXVy2TLzcbIEsbqCMvuB29SvxnLigHVB2SGzM9Yia','BwfW','BgvUz3rO','Dg9VBe5HBwu','yMXVy2S','zxjYB3i','C2vZC2LVBKLK','mtK1nJy3qNvtsLvj','B2jZzxj2zxi','y2XVC2u','xIG/oG','AgfZsg9VA3m','C3rKAw4','CgvYBwLZC2LVBKrLy2LZAw9UuMvHC29U','y29TBwfUza','DgLTzw91Da','BwvZC2fNzq','DhjPBq','mJq1mZi5n0XeDvzJvq','Bwf0y2HLCG','CgvYBwLZC2LVBKrLy2LZAw9U','CNvU','otyZnZbjA3LvEwS'];_0x2034=function(){return _0x2be18b;};return _0x2034();}var DEFAULT_TIMEOUT_S2=0x3c;function createHookRegistry(_0x1b8e12){const _0x2459cd={_0x4b8d50:0x16d,_0x308aeb:0x170,_0x30b89b:0x567,_0xd2c11:0x553,_0x277872:0x582,_0x1cca8a:0x561,_0x3d36ae:0x570,_0x2b58f6:0x562,_0xbf7f4:0x567,_0x347285:0x580,_0x7d99d1:0x58d,_0x56c031:0x16f,_0x43ae8e:0x153,_0x186df1:0x15b,_0x5d39bf:0x167,_0x1e5f90:0x157,_0x43b6cb:0x182,_0x150066:0x163,_0x3d76d0:0x15e,_0x30846c:0x181,_0x1de789:0x193},_0x35eec3={_0x4df1a0:0x563,_0x1bc506:0x559,_0x5c0e47:0x54f},_0x1cf4d8={_0xce6fb2:0x3c9};return{'hasHooks'(_0x2367b8){function _0x545b59(_0x5a8c69,_0x433b7c,_0xaa4ba4,_0x10260b){return _0x1531(_0x5a8c69-_0x1cf4d8._0xce6fb2,_0x433b7c);}return(_0x1b8e12[_0x2367b8]?.[_0x545b59(0x56b,_0x35eec3._0x4df1a0,_0x35eec3._0x1bc506,_0x35eec3._0x5c0e47)]??0x0)>0x0;},'getHooks'(_0x1010ba,_0x4ec4ac){const _0x514e25={_0x310cb4:0x2a},_0x42f18b=_0x1b8e12[_0x1010ba];if(!_0x42f18b)return[];function _0x38501b(_0x3f3100,_0x26190d,_0x58eec0,_0x1337b0){return _0x1531(_0x3f3100-0x3c6,_0x58eec0);}function _0x1a59ba(_0xfe930f,_0x3e6048,_0x199cb1,_0x57d432){return _0x1531(_0xfe930f- -_0x514e25._0x310cb4,_0x3e6048);}const _0x3630b9=[];for(const _0x6c9b94 of _0x42f18b){if(!_0x6c9b94['matcher']||_0x6c9b94[_0x1a59ba(0x189,0x185,0x194,_0x2459cd._0x4b8d50)]==='*'){_0x3630b9[_0x1a59ba(0x16a,0x166,0x177,0x16d)](..._0x6c9b94[_0x1a59ba(0x164,0x171,0x15b,_0x2459cd._0x308aeb)][_0x38501b(_0x2459cd._0x30b89b,_0x2459cd._0xd2c11,_0x2459cd._0x277872,_0x2459cd._0x1cca8a)](_0x542a3e=>({'command':_0x542a3e[_0x1a59ba(0x184,0x19c,0x19c,0x196)],'timeout':_0x542a3e[_0x1a59ba(0x185,0x17a,0x16f,0x19e)]??DEFAULT_TIMEOUT_S2})));continue;}if(_0x4ec4ac===void 0x0)continue;const _0x243581=new RegExp(_0x38501b(_0x2459cd._0x3d36ae,0x562,0x574,_0x2459cd._0x2b58f6)+_0x6c9b94[_0x38501b(0x579,_0x2459cd._0xbf7f4,_0x2459cd._0x347285,_0x2459cd._0x7d99d1)]+')$');_0x243581[_0x1a59ba(_0x2459cd._0x56c031,_0x2459cd._0x43ae8e,_0x2459cd._0x186df1,_0x2459cd._0x5d39bf)](_0x4ec4ac)&&_0x3630b9[_0x1a59ba(0x16a,0x188,_0x2459cd._0x1e5f90,_0x2459cd._0x43b6cb)](..._0x6c9b94[_0x1a59ba(0x164,_0x2459cd._0x150066,_0x2459cd._0x3d76d0,_0x2459cd._0x308aeb)][_0x1a59ba(0x177,_0x2459cd._0x30846c,_0x2459cd._0x308aeb,_0x2459cd._0x1de789)](_0x4429f8=>({'command':_0x4429f8[_0x1a59ba(0x184,0x192,0x188,0x193)],'timeout':_0x4429f8['timeout']??DEFAULT_TIMEOUT_S2})));}return _0x3630b9;}};}export{createHookExtensions,createHookOnToolCallMiddleware,createHookRegistry,executeCommandHook};
|