specops 0.1.0
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/README.md +630 -0
- package/bin/install.js +2089 -0
- package/bin/specops.js +35 -0
- package/dist/__e2e__/01-state-engine.e2e.test.d.ts +10 -0
- package/dist/__e2e__/01-state-engine.e2e.test.js +1 -0
- package/dist/acceptance/lazyDetector.d.ts +10 -0
- package/dist/acceptance/lazyDetector.js +1 -0
- package/dist/acceptance/lazyDetector.test.d.ts +1 -0
- package/dist/acceptance/lazyDetector.test.js +1 -0
- package/dist/acceptance/reporter.d.ts +12 -0
- package/dist/acceptance/reporter.js +1 -0
- package/dist/acceptance/reporter.test.d.ts +1 -0
- package/dist/acceptance/reporter.test.js +1 -0
- package/dist/acceptance/runner.d.ts +26 -0
- package/dist/acceptance/runner.js +2 -0
- package/dist/acceptance/runner.test.d.ts +1 -0
- package/dist/acceptance/runner.test.js +1 -0
- package/dist/acceptance/types.d.ts +44 -0
- package/dist/acceptance/types.js +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +2 -0
- package/dist/context/index.d.ts +2 -0
- package/dist/context/index.js +1 -0
- package/dist/context/promptTemplate.d.ts +2 -0
- package/dist/context/promptTemplate.js +1 -0
- package/dist/context/promptTemplate.test.d.ts +1 -0
- package/dist/context/promptTemplate.test.js +1 -0
- package/dist/context/techContextLoader.d.ts +2 -0
- package/dist/context/techContextLoader.js +1 -0
- package/dist/context/techContextLoader.test.d.ts +1 -0
- package/dist/context/techContextLoader.test.js +1 -0
- package/dist/engine.d.ts +35 -0
- package/dist/engine.js +1 -0
- package/dist/evolution/distiller.d.ts +22 -0
- package/dist/evolution/distiller.js +1 -0
- package/dist/evolution/index.d.ts +8 -0
- package/dist/evolution/index.js +1 -0
- package/dist/evolution/memoryGraph.d.ts +34 -0
- package/dist/evolution/memoryGraph.js +1 -0
- package/dist/evolution/selector.d.ts +30 -0
- package/dist/evolution/selector.js +1 -0
- package/dist/evolution/signals.d.ts +18 -0
- package/dist/evolution/signals.js +1 -0
- package/dist/evolution/solidify.d.ts +20 -0
- package/dist/evolution/solidify.js +1 -0
- package/dist/evolution/store.d.ts +37 -0
- package/dist/evolution/store.js +1 -0
- package/dist/evolution/types.d.ts +350 -0
- package/dist/evolution/types.js +1 -0
- package/dist/init.d.ts +19 -0
- package/dist/init.js +1 -0
- package/dist/machines/agentMachine.d.ts +57 -0
- package/dist/machines/agentMachine.js +1 -0
- package/dist/machines/agentMachine.test.d.ts +1 -0
- package/dist/machines/agentMachine.test.js +1 -0
- package/dist/machines/supervisorMachine.d.ts +103 -0
- package/dist/machines/supervisorMachine.js +1 -0
- package/dist/machines/supervisorMachine.test.d.ts +1 -0
- package/dist/machines/supervisorMachine.test.js +1 -0
- package/dist/persistence/schema.d.ts +95 -0
- package/dist/persistence/schema.js +1 -0
- package/dist/persistence/stateFile.d.ts +17 -0
- package/dist/persistence/stateFile.js +1 -0
- package/dist/persistence/stateFile.test.d.ts +1 -0
- package/dist/persistence/stateFile.test.js +1 -0
- package/dist/plugin-engine.d.ts +42 -0
- package/dist/plugin-engine.js +1 -0
- package/dist/plugin.d.ts +9 -0
- package/dist/plugin.js +1 -0
- package/dist/types/index.d.ts +49 -0
- package/dist/types/index.js +1 -0
- package/dist/utils/id.d.ts +1 -0
- package/dist/utils/id.js +1 -0
- package/package.json +42 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x161f9e,_0x202364){const _0x5aa82d={_0x2eb7c8:0x108,_0x3b941e:0x155,_0x4a724f:0x109,_0x49754d:0x13b,_0x2922a0:0xc0,_0x36e889:0x134,_0x35f920:0xcc,_0x5b4c56:0xca,_0x1c1b3a:0x63},_0xceabf1={_0x441400:0x1c7},_0x396d4b={_0x55cb71:0x3b};function _0xa0bc4a(_0x237457,_0x5b2c33){return _0x55d9(_0x237457-_0x396d4b._0x55cb71,_0x5b2c33);}function _0x323c50(_0x35ad14,_0x2160dc){return _0x55d9(_0x35ad14- -_0xceabf1._0x441400,_0x2160dc);}const _0x2eab17=_0x161f9e();while(!![]){try{const _0x25d3b2=-parseInt(_0x323c50(-0xee,-0x98))/(0x251*0x3+0x230e+-0x2a00)*(parseInt(_0xa0bc4a(0x128,0x102))/(0x14da+-0x15dd+-0x1d*-0x9))+parseInt(_0xa0bc4a(_0x5aa82d._0x2eb7c8,_0x5aa82d._0x3b941e))/(-0x198e+-0x6e7+0x2078)+parseInt(_0xa0bc4a(_0x5aa82d._0x4a724f,_0x5aa82d._0x49754d))/(-0x132f+0x1*0x12cd+0x66*0x1)+parseInt(_0x323c50(-0xa7,-0x10f))/(-0x93b+0x5*-0x34b+0x19b7)+parseInt(_0x323c50(-0xa6,-_0x5aa82d._0x2922a0))/(0x1c6*0xf+0x40+-0x1ad4)*(parseInt(_0xa0bc4a(_0x5aa82d._0x36e889,0x19f))/(-0x1455+0xd4b*-0x2+0x2ef2))+-parseInt(_0x323c50(-_0x5aa82d._0x35f920,-_0x5aa82d._0x5b4c56))/(-0x1085+-0x1382*0x1+0x240f)+parseInt(_0x323c50(-0x9c,-_0x5aa82d._0x1c1b3a))/(-0x9a+-0x1*-0x1da7+-0x1d04)*(-parseInt(_0xa0bc4a(0x162,0x167))/(0x2*0x167+0x447+-0x70b));if(_0x25d3b2===_0x202364)break;else _0x2eab17['push'](_0x2eab17['shift']());}catch(_0x1c2d71){_0x2eab17['push'](_0x2eab17['shift']());}}}(_0x495a,0x46041+-0x31e53*-0x2+-0x1*0x7007d));import{describe,test,expect}from'vitest';import{createActor}from'xstate';import{agentMachine,createAgentMachine}from'./agentMachine.js';function _0x55d9(_0x5de2ba,_0x2001e6){_0x5de2ba=_0x5de2ba-(0xa1*-0x2+-0xa86+0xc7d*0x1);const _0x156b7c=_0x495a();let _0x37f9ee=_0x156b7c[_0x5de2ba];if(_0x55d9['UQQUaz']===undefined){var _0x55704b=function(_0x5d3755){const _0x23587d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x505f31='',_0x239e14='';for(let _0x5d25de=-0x1869+-0xb59+0x23c2,_0x551c3a,_0x2a2941,_0x505d03=0xa69+-0x1a06+0xf9d;_0x2a2941=_0x5d3755['charAt'](_0x505d03++);~_0x2a2941&&(_0x551c3a=_0x5d25de%(-0x14cb+-0x1e3c+0x330b)?_0x551c3a*(0x1*-0x996+-0x23d0+0x2da6)+_0x2a2941:_0x2a2941,_0x5d25de++%(0x20b3+-0x55*0x52+-0x1*0x575))?_0x505f31+=String['fromCharCode'](-0x295*0xf+0x24b3+0x9b*0x5&_0x551c3a>>(-(0xe43+-0xf5*0x15+0x5d8)*_0x5d25de&0x5*0x57a+0x845*0x1+-0x23a1)):-0x1*0x19de+0x3ec+0x15f2){_0x2a2941=_0x23587d['indexOf'](_0x2a2941);}for(let _0xbbe8e=-0x258c+0x124d+0x133f,_0x4dde6a=_0x505f31['length'];_0xbbe8e<_0x4dde6a;_0xbbe8e++){_0x239e14+='%'+('00'+_0x505f31['charCodeAt'](_0xbbe8e)['toString'](-0x1ea9+-0xa96+0x843*0x5))['slice'](-(-0x2372*0x1+-0x4f*0x45+0x38bf));}return decodeURIComponent(_0x239e14);};_0x55d9['kRFAmX']=_0x55704b,_0x55d9['UFDUoN']={},_0x55d9['UQQUaz']=!![];}const _0x5e1600=_0x156b7c[-0x7b1+0x2a*-0x65+0x1843],_0x5ec34f=_0x5de2ba+_0x5e1600,_0x430522=_0x55d9['UFDUoN'][_0x5ec34f];return!_0x430522?(_0x37f9ee=_0x55d9['kRFAmX'](_0x37f9ee),_0x55d9['UFDUoN'][_0x5ec34f]=_0x37f9ee):_0x37f9ee=_0x430522,_0x37f9ee;}import{PIPELINE_PHASES}from'../types/index.js';describe(_0x49bfe2(-0x20c,-0x1fe),()=>{const _0xa4e476={_0x3aa493:0x2a3,_0x1558fc:0x29c,_0x176ee0:0x4ee,_0x259227:0x4ca,_0x4c5fd0:0x4ea,_0x45133b:0x498,_0x51edec:0x45a,_0x336978:0x4b5,_0x55916e:0x52a,_0x59be58:0x1ef,_0xbc1404:0x296,_0x18dc9c:0x45f,_0x3f26eb:0x21d,_0x21ba6d:0x4ab,_0x2e1b79:0x4d0,_0x844d34:0x238,_0x144d4f:0x210,_0x1cabff:0x20e,_0x4f69de:0x539,_0x19aa14:0x4f7,_0x4df825:0x4f7,_0x424f3c:0x402,_0x23704d:0x1cc,_0x2ca3f0:0x22c,_0x4aff0c:0x24a,_0x21bd85:0x207,_0x59bf94:0x445,_0x5b09a0:0x280,_0xb4556e:0x4c6,_0x22c06f:0x287,_0x38d76b:0x2a1,_0x32f90d:0x260,_0x231dc0:0x483,_0x3a8853:0x1f0,_0x1a16ec:0x242,_0x136b16:0x50e,_0x2e807b:0x41e,_0x2d85e6:0x467,_0xfb278e:0x4de,_0x40e8cd:0x253,_0x4595eb:0x22a,_0x14d23e:0x4ec,_0x25b30e:0x50b,_0x1330de:0x4aa,_0xe436d:0x4e6,_0x18cc50:0x17a},_0x511449={_0xda3624:0x248,_0x4920fe:0x184,_0x47e19f:0x209,_0x49e8bf:0x23a,_0x4de77f:0x26a,_0x12af0a:0x1ec,_0x2e06c5:0x2d4,_0x1bb85b:0x18b,_0x2bb157:0x1f3,_0x4d6288:0x19c,_0x5a22f2:0x1f7,_0x2d0229:0x21c,_0x1d63bd:0x258,_0x32b774:0x245,_0x13a3f:0x21c,_0x48ffbd:0x12a,_0x40d35e:0x145,_0x37ec98:0x173,_0x5695f8:0x170,_0x2a27cb:0x20b,_0x2d6c5e:0x13b,_0x308139:0x158,_0x3496e5:0x130},_0x36ecae={_0x59226f:0x264},_0x1956d1={_0x23a5fa:0x1d8,_0x26251f:0x22d,_0x32875f:0x100,_0x4e2694:0xef,_0x14513:0x130,_0x3417e6:0x187,_0x1b163e:0x1f2,_0x49d8b5:0x1e0,_0x395890:0x15d,_0x3894e4:0x163,_0x3e58d8:0x13b,_0x5b5d0e:0x1b8,_0x2a4fd3:0xe5,_0x412285:0x96,_0x100d12:0xff,_0x7bbd3f:0xf8,_0x24eccf:0x12e,_0x5ea4ae:0x126,_0x5c75e9:0x170,_0x5a50ae:0x162,_0x1e422e:0x1ed,_0x33cb44:0x228,_0x274b60:0x164,_0x1150de:0xff,_0x42238d:0x15c,_0x2eafee:0x83,_0x47d00a:0x26a,_0x37f25f:0x1ae,_0x186206:0x1c2,_0x2630bd:0x26e,_0x43dc06:0x127,_0x222f8d:0x184,_0x327a2b:0x97,_0x4f376e:0x141,_0x5c47b2:0xb3,_0x2df89a:0x17c,_0x190b12:0x217,_0x14d650:0x242,_0x23784a:0x24c},_0x44684c={_0x1c2708:0x28a,_0x1b2c12:0x2db,_0x477c9e:0x24a,_0x2230d7:0x27a,_0xd4f121:0x2eb,_0x403736:0x24e,_0x3f28b0:0x53,_0x357454:0x213,_0x58676c:0x229,_0x37a3ea:0x228,_0xd96f0a:0x5f,_0xdf36e8:0x5e,_0xb37a51:0x4c,_0x1f5b8f:0x99,_0x1e271b:0x1c4,_0x5af9d6:0x1e,_0x140f7a:0x55,_0x2bd211:0x45,_0x97e205:0x216},_0x47d12e={_0x3804cd:0x254},_0x270665={_0x5b3c15:0x20,_0xbcdd8f:0x288,_0x53fbf8:0x21d,_0xa5a6a5:0x202,_0x9c0a84:0x21c,_0x34cc92:0x28,_0x59ac23:0x83,_0x2c7eb3:0x23,_0x27d81f:0x71,_0x451f75:0x1c8,_0x163c01:0x33,_0x38beea:0x2e2,_0x466f0e:0x20c,_0x1fd2fb:0x64,_0x3787f2:0x1de,_0x1b3da9:0x233,_0x1ea0a0:0x299,_0x52c4f4:0x64,_0x5bf638:0x1cd},_0x4ee2b0={_0x4479ae:0x47e},_0x4f4039={_0x8fdb3f:0xc4,_0x4788f1:0xfb,_0xe792b:0x231,_0x20845f:0x9d,_0x2dc75b:0x92,_0xdbba7d:0x89,_0x13a61d:0x1d6,_0x1c1375:0x22d,_0x20678b:0xe0,_0x1456e9:0x97,_0x3966ac:0x1ef,_0x2d86c8:0x1d7,_0x11a1cd:0xe7,_0x37c829:0xa8,_0x430645:0x171,_0x22ab55:0x18b,_0x885d27:0xf5,_0x3c5289:0x191,_0x38b449:0x13b,_0x4ceb77:0x89,_0x4048f0:0x185,_0x53f3dc:0x97,_0x4b48f2:0x94,_0x52b899:0xbe,_0x13d20b:0x288,_0x4182fe:0x72,_0xaf4dc4:0x22d,_0xf689cf:0x1fb,_0x1e4156:0x1cb,_0x21d8eb:0x2d,_0x29c396:0x94,_0x3eaa25:0x1ff,_0x12ac31:0xdc,_0x46cfdf:0x1b0,_0x4a25ea:0x1d2,_0x516f8a:0x200,_0x350d35:0xd8,_0x160a75:0x22d,_0x247539:0x209,_0x4e986c:0x1b1,_0x23c492:0xf4,_0x53d25c:0x10c,_0x4dabbc:0x22d,_0x3309c0:0x1e1,_0x56e96a:0x85},_0x49cac3={_0x396608:0x309},_0x12c801={_0x522aed:0x11a},_0x34a430={_0x2dd698:0xb8,_0x2cf899:0x5c,_0x470949:0x332,_0x4c4f2a:0x2f6,_0x28c5d9:0x37b,_0x5bbd27:0x34d,_0x4b0fdd:0xe8,_0x5b1bc4:0xb5,_0x35a492:0x346,_0x53868c:0x307,_0x466b69:0xe4,_0x145adf:0x14a,_0x392274:0x15b,_0x4980cf:0xaa,_0x2f344c:0xca,_0x5cf8dd:0x346,_0x15c966:0x2e6,_0x39e0e6:0x11c,_0xf533c5:0xec,_0x47559b:0xdd,_0x85d332:0x3f1,_0x11d3be:0x15b,_0x3facd0:0x12e,_0x18b710:0x13e,_0x1422a5:0x146,_0x4fdd99:0x15b,_0x23fef9:0x170,_0x3b5368:0x14b,_0x2512c6:0x19a,_0x14bd2a:0xba,_0x460ac4:0x77,_0x5cfc53:0x342,_0x311839:0x343,_0x13130f:0x119,_0x472829:0x355,_0x2bd8d8:0x15b,_0x5f32a4:0x152,_0x13be33:0x3cb,_0x3eaef9:0x1b3,_0x259eed:0x32a},_0x4a252a={'aZayi':function(_0x35a836,_0x26c422,_0x574933){return _0x35a836(_0x26c422,_0x574933);},'NRBVS':_0x4f3fd3(0x50f,0x503)+_0x4f3fd3(0x495,0x4b5),'xeobr':_0x393adb(_0xa4e476._0x3aa493,_0xa4e476._0x1558fc),'uESDi':function(_0x5bf0b8,_0x276067){return _0x5bf0b8(_0x276067);},'QzLNL':function(_0x417737,_0x43afce){return _0x417737(_0x43afce);},'XZDHL':function(_0x49fbdc,_0x17bee4,_0xffc2b6){return _0x49fbdc(_0x17bee4,_0xffc2b6);},'ieaaP':_0x4f3fd3(_0xa4e476._0x176ee0,0x4eb)+_0x4f3fd3(0x485,_0xa4e476._0x259227),'KWJUJ':_0x393adb(0x28f,0x2a9)+'lysis','gFsny':_0x4f3fd3(_0xa4e476._0x4c5fd0,_0xa4e476._0x45133b),'zAaRA':_0x4f3fd3(_0xa4e476._0x51edec,0x43e)+_0x4f3fd3(0x47d,_0xa4e476._0x336978),'JMfMl':_0x4f3fd3(_0xa4e476._0x55916e,0x4ce),'qyWzG':function(_0x5344db,_0xf52e05){return _0x5344db(_0xf52e05);},'togbl':function(_0x3623a8,_0x2120f4){return _0x3623a8(_0x2120f4);},'oxqxS':_0x393adb(0x20c,_0xa4e476._0x59be58)+_0x393adb(_0xa4e476._0xbc1404,0x2b3),'ghClJ':function(_0x17a3ab,_0x385997){return _0x17a3ab(_0x385997);},'OpJgB':_0x4f3fd3(0x405,0x435)+_0x4f3fd3(_0xa4e476._0x18dc9c,0x472),'eYqJJ':function(_0x5cfa4f,_0x47db8c){return _0x5cfa4f(_0x47db8c);},'PSyWZ':_0x393adb(0x22f,_0xa4e476._0x3f26eb),'sVeZI':_0x4f3fd3(_0xa4e476._0x21ba6d,_0xa4e476._0x2e1b79)+'1','KjOrg':_0x393adb(_0xa4e476._0x844d34,_0xa4e476._0x144d4f),'rLttd':function(_0x33c83b,_0x1832b1){return _0x33c83b(_0x1832b1);},'bIzIS':function(_0x7c66a5,_0x283289){return _0x7c66a5(_0x283289);},'SSdzh':function(_0xdc42e5,_0x83daf7,_0xed51f3){return _0xdc42e5(_0x83daf7,_0xed51f3);},'DlZQj':'UPDATE_OPE'+'RATION','SlalB':'正在执行某操作','LaCXK':_0x393adb(_0xa4e476._0x1cabff,0x239),'HcmFM':function(_0x184245,_0x47fa5f,_0x467436){return _0x184245(_0x47fa5f,_0x467436);},'oMInR':_0x4f3fd3(_0xa4e476._0x4f69de,_0xa4e476._0x19aa14)+'01','NoPxZ':_0x4f3fd3(0x54a,_0xa4e476._0x4df825)+'02','NyNrR':_0x4f3fd3(_0xa4e476._0x424f3c,0x444)+'nt','hPWlM':function(_0x340e50,_0x41978e){return _0x340e50(_0x41978e);},'PaMHF':_0x393adb(0x216,0x243)+_0x393adb(_0xa4e476._0x23704d,0x214),'bDcEF':function(_0x34f90e,_0x599566){return _0x34f90e(_0x599566);},'itMef':function(_0x1d44a6,_0x13b3e7){return _0x1d44a6(_0x13b3e7);},'InyYQ':function(_0x590bf7,_0x561df2){return _0x590bf7(_0x561df2);},'trTcA':function(_0x1f6fa5,_0x40e33b,_0x1f18a8){return _0x1f6fa5(_0x40e33b,_0x1f18a8);},'BZkfG':_0x393adb(_0xa4e476._0x2ca3f0,0x21a)+'001','iwZEK':_0x393adb(_0xa4e476._0x4aff0c,0x297)+_0x393adb(_0xa4e476._0x21bd85,0x231),'FfdVS':function(_0x518518,_0x40d489){return _0x518518(_0x40d489);},'DVVtZ':_0x4f3fd3(_0xa4e476._0x59bf94,0x4b1),'SIhPy':_0x393adb(_0xa4e476._0x5b09a0,0x297)+_0x4f3fd3(_0xa4e476._0xb4556e,0x45b)+_0x4f3fd3(0x4c0,0x45c),'DSnBw':_0x393adb(0x28f,_0xa4e476._0x22c06f)+_0x4f3fd3(0x4cc,0x4a5)+'流转互不影响'};_0x4a252a[_0x393adb(_0xa4e476._0x38d76b,_0xa4e476._0x32f90d)](test,_0x4f3fd3(_0xa4e476._0x231dc0,0x482)+_0x393adb(_0xa4e476._0x3a8853,_0xa4e476._0x1a16ec)+_0x4f3fd3(0x556,_0xa4e476._0x136b16)+_0x4f3fd3(_0xa4e476._0x2e807b,_0xa4e476._0x2d85e6),()=>{const _0x1c0128=_0x4a252a[_0x252a8f(-_0x34a430._0x2dd698,-_0x34a430._0x2cf899)](createActor,agentMachine,{'input':{'agentId':_0x4a252a[_0x46add8(_0x34a430._0x470949,_0x34a430._0x4c4f2a)]}});_0x1c0128[_0x46add8(_0x34a430._0x28c5d9,_0x34a430._0x5bbd27)]();const _0x101c5b=_0x1c0128[_0x252a8f(-_0x34a430._0x4b0fdd,-_0x34a430._0x5b1bc4)+'t']();expect(_0x101c5b[_0x46add8(0x370,0x36a)])[_0x46add8(_0x34a430._0x35a492,_0x34a430._0x53868c)](_0x4a252a[_0x252a8f(-_0x34a430._0x466b69,-_0x34a430._0x145adf)]),_0x4a252a['uESDi'](expect,_0x101c5b[_0x252a8f(-_0x34a430._0x392274,-0x11f)][_0x252a8f(-_0x34a430._0x4980cf,-_0x34a430._0x2f344c)])[_0x46add8(_0x34a430._0x5cf8dd,_0x34a430._0x15c966)](_0x4a252a[_0x252a8f(-0x123,-_0x34a430._0x39e0e6)]),_0x4a252a[_0x252a8f(-_0x34a430._0xf533c5,-_0x34a430._0x47559b)](expect,_0x101c5b['context'][_0x46add8(0x38d,_0x34a430._0x85d332)])['toBeNull'](),_0x4a252a['uESDi'](expect,_0x101c5b[_0x252a8f(-_0x34a430._0x11d3be,-_0x34a430._0x3facd0)]['childIds'])[_0x252a8f(-_0x34a430._0x18b710,-_0x34a430._0x1422a5)]([]),expect(_0x101c5b[_0x252a8f(-_0x34a430._0x4fdd99,-_0x34a430._0x23fef9)][_0x252a8f(-_0x34a430._0x3b5368,-_0x34a430._0x2512c6)+_0x252a8f(-_0x34a430._0x14bd2a,-_0x34a430._0x460ac4)])[_0x46add8(_0x34a430._0x5cf8dd,0x2e1)]('');function _0x46add8(_0x30a25b,_0x3260f7){return _0x4f3fd3(_0x3260f7,_0x30a25b- -0x157);}_0x4a252a[_0x46add8(_0x34a430._0x5cfc53,_0x34a430._0x311839)](expect,_0x101c5b[_0x252a8f(-0x15b,-_0x34a430._0x13130f)][_0x46add8(0x3af,0x3a4)+'ll'])[_0x252a8f(-0x10f,-0xda)]('');function _0x252a8f(_0x1e6128,_0x1decb6){return _0x393adb(_0x1decb6,_0x1e6128- -0x35a);}_0x4a252a[_0x46add8(0x342,_0x34a430._0x472829)](expect,_0x101c5b[_0x252a8f(-_0x34a430._0x2bd8d8,-_0x34a430._0x5f32a4)][_0x46add8(0x368,_0x34a430._0x13be33)+'t'])[_0x252a8f(-0x16a,-_0x34a430._0x3eaef9)](),_0x1c0128[_0x46add8(0x2e3,_0x34a430._0x259eed)]();}),test('完整流转:idle\x20'+'→\x20demand_a'+'nalysis\x20→\x20'+'competitor'+_0x393adb(0x208,0x235)+_0x393adb(0x219,0x1fa)+'analysis\x20→'+_0x393adb(0x30a,0x2b9)+'ction\x20→\x20co'+_0x4f3fd3(_0xa4e476._0xfb278e,0x473),()=>{function _0x3e08fb(_0x550229,_0x38f423){return _0x393adb(_0x38f423,_0x550229- -0x422);}const _0x22748e={'YNxex':function(_0x57d15c,_0x222511,_0x3ec5f3){function _0x23ce3f(_0x14c05d,_0x561da6){return _0x55d9(_0x561da6- -0x18,_0x14c05d);}return _0x4a252a[_0x23ce3f(0x150,_0x12c801._0x522aed)](_0x57d15c,_0x222511,_0x3ec5f3);},'waMZT':_0x4a252a[_0x88a46f(-_0x4f4039._0x8fdb3f,-_0x4f4039._0x4788f1)],'TQrKM':_0x4a252a[_0x3e08fb(-_0x4f4039._0xe792b,-0x27e)]};function _0x88a46f(_0x2bf781,_0x41e155){return _0x393adb(_0x2bf781,_0x41e155- -_0x49cac3._0x396608);}if(_0x4a252a[_0x3e08fb(-0x17c,-0x1cb)]==='VpYaq'){const _0x3361ff=_0x3b87d3(),_0x25d04a=_0x22748e[_0x88a46f(-0x7f,-_0x4f4039._0x20845f)](_0x373a0f,_0x3361ff,{'input':{'agentId':_0x22748e['waMZT']}});_0x25d04a[_0x88a46f(-_0x4f4039._0x2dc75b,-_0x4f4039._0xdbba7d)]();const _0x434f4d={};_0x434f4d[_0x3e08fb(-_0x4f4039._0x13a61d,-0x1ea)]='START',_0x25d04a[_0x3e08fb(-_0x4f4039._0x1c1375,-0x281)](_0x434f4d),_0x2588fd(_0x25d04a[_0x88a46f(-_0x4f4039._0x20678b,-_0x4f4039._0x1456e9)+'t']()[_0x3e08fb(-0x1ad,-_0x4f4039._0x3966ac)])[_0x3e08fb(-_0x4f4039._0x2d86c8,-0x1ec)](_0x22748e[_0x88a46f(-_0x4f4039._0x11a1cd,-_0x4f4039._0x37c829)]);const _0x3a5e46={};_0x3a5e46[_0x3e08fb(-0x1d6,-_0x4f4039._0x430645)]=_0x3e08fb(-_0x4f4039._0x22ab55,-0x12b)+'LETE',_0x25d04a[_0x3e08fb(-0x22d,-0x1fa)](_0x3a5e46),_0x1b9bd9(_0x25d04a['getSnapsho'+'t']()[_0x3e08fb(-0x1ad,-0x143)])[_0x88a46f(-0x9a,-0xbe)]('competitor'+_0x88a46f(-0xd7,-_0x4f4039._0x885d27)),_0x25d04a['stop']();}else{const _0x193188={};_0x193188[_0x88a46f(0x3,-0x59)]=_0x4a252a[_0x3e08fb(-_0x4f4039._0x3c5289,-_0x4f4039._0x38b449)];const _0x4dcdca={};_0x4dcdca[_0x88a46f(-0xb8,-0x84)]=_0x193188;const _0x38715e=createActor(agentMachine,_0x4dcdca);_0x38715e[_0x88a46f(-0x9d,-_0x4f4039._0x4ceb77)]();const _0x598630={};_0x598630['type']=_0x4a252a[_0x3e08fb(-0x1e5,-0x20a)],_0x38715e[_0x3e08fb(-_0x4f4039._0x1c1375,-0x225)](_0x598630),_0x4a252a[_0x3e08fb(-_0x4f4039._0x4048f0,-0x1c7)](expect,_0x38715e[_0x88a46f(-0x51,-_0x4f4039._0x53f3dc)+'t']()[_0x88a46f(-0x5f,-_0x4f4039._0x4b48f2)])[_0x88a46f(-0xd7,-_0x4f4039._0x52b899)](_0x4a252a[_0x3e08fb(-0x231,-_0x4f4039._0x13d20b)]);const _0x2255d5={};_0x2255d5['type']=_0x88a46f(-0x18,-_0x4f4039._0x4182fe)+'LETE',_0x38715e[_0x3e08fb(-_0x4f4039._0xaf4dc4,-_0x4f4039._0xf689cf)](_0x2255d5),_0x4a252a[_0x3e08fb(-_0x4f4039._0x4048f0,-_0x4f4039._0x1e4156)](expect,_0x38715e['getSnapsho'+'t']()[_0x88a46f(-_0x4f4039._0x21d8eb,-_0x4f4039._0x29c396)])['toBe']('competitor'+_0x88a46f(-0xa0,-0xf5));const _0x4b1a1b={};_0x4b1a1b[_0x3e08fb(-_0x4f4039._0x13a61d,-_0x4f4039._0x3eaa25)]=_0x88a46f(-0x88,-_0x4f4039._0x4182fe)+'LETE',_0x38715e[_0x88a46f(-_0x4f4039._0x12ac31,-0x114)](_0x4b1a1b),_0x4a252a['togbl'](expect,_0x38715e[_0x3e08fb(-_0x4f4039._0x46cfdf,-0x207)+'t']()['value'])[_0x3e08fb(-0x1d7,-0x1cf)](_0x4a252a[_0x3e08fb(-_0x4f4039._0x4a25ea,-_0x4f4039._0x516f8a)]);const _0x32f332={};_0x32f332[_0x3e08fb(-0x1d6,-0x1cc)]='PHASE_COMP'+_0x88a46f(-0x109,-_0x4f4039._0x350d35),_0x38715e[_0x3e08fb(-_0x4f4039._0x160a75,-0x228)](_0x32f332),_0x4a252a[_0x3e08fb(-_0x4f4039._0x247539,-_0x4f4039._0x4e986c)](expect,_0x38715e['getSnapsho'+'t']()[_0x3e08fb(-0x1ad,-0x1fa)])[_0x3e08fb(-0x1d7,-0x186)](_0x4a252a[_0x88a46f(-_0x4f4039._0x23c492,-_0x4f4039._0x53d25c)]);const _0x3254e3={};_0x3254e3['type']='PHASE_COMP'+_0x3e08fb(-0x1f1,-0x200),_0x38715e[_0x3e08fb(-_0x4f4039._0x4dabbc,-_0x4f4039._0x3309c0)](_0x3254e3),_0x4a252a['eYqJJ'](expect,_0x38715e[_0x88a46f(-_0x4f4039._0x56e96a,-0x97)+'t']()[_0x88a46f(-0xf3,-0x94)])[_0x3e08fb(-0x1d7,-0x17e)](_0x4a252a['PSyWZ']),_0x38715e[_0x88a46f(-0x160,-0x121)]();}});function _0x393adb(_0x592919,_0x3a2737){return _0x49bfe2(_0x3a2737-0x46a,_0x592919);}test('UPDATE_OPE'+_0x393adb(_0xa4e476._0x40e8cd,_0xa4e476._0x4595eb)+_0x393adb(0x244,0x28e)+'操作和工具信息',()=>{function _0x1d3cc9(_0x50cf54,_0x245782){return _0x393adb(_0x245782,_0x50cf54- -0x263);}const _0x5daeff=_0x4a252a[_0x1d3cc9(-0x3,_0x270665._0x5b3c15)](createActor,agentMachine,{'input':{'agentId':_0x4a252a[_0x4c237d(-_0x270665._0xbcdd8f,-_0x270665._0x53fbf8)]}});_0x5daeff['start']();const _0x40d7d3={};_0x40d7d3[_0x1d3cc9(-0x17,-0x5e)]=_0x4c237d(-_0x270665._0xa5a6a5,-0x24c),_0x5daeff[_0x4c237d(-0x289,-_0x270665._0x9c0a84)](_0x40d7d3);const _0x2ea305={};function _0x4c237d(_0xdc90c2,_0x2eb8f3){return _0x393adb(_0x2eb8f3,_0xdc90c2- -_0x4ee2b0._0x4479ae);}_0x2ea305[_0x4c237d(-0x232,-0x235)]='UPDATE_OPE'+_0x1d3cc9(0x14,0x6e),_0x2ea305[_0x1d3cc9(_0x270665._0x34cc92,_0x270665._0x59ac23)]=_0x4a252a[_0x1d3cc9(0x3c,-0x2)],_0x2ea305[_0x1d3cc9(_0x270665._0x2c7eb3,_0x270665._0x27d81f)]=_0x4c237d(-_0x270665._0x451f75,-0x1ab)+_0x1d3cc9(_0x270665._0x163c01,-0x1a),_0x5daeff[_0x4c237d(-0x289,-_0x270665._0x38beea)](_0x2ea305);const _0x2f91fe=_0x5daeff[_0x4c237d(-_0x270665._0x466f0e,-0x200)+'t']();_0x4a252a[_0x1d3cc9(0x40,0xac)](expect,_0x2f91fe[_0x1d3cc9(-_0x270665._0x1fd2fb,-0x7f)][_0x1d3cc9(-0x54,-_0x270665._0x59ac23)+_0x4c237d(-_0x270665._0x3787f2,-0x24a)])[_0x4c237d(-_0x270665._0x1b3da9,-_0x270665._0x1ea0a0)](_0x4c237d(-0x26e,-0x25c)),_0x4a252a[_0x1d3cc9(-0x1,-0x18)](expect,_0x2f91fe[_0x1d3cc9(-_0x270665._0x52c4f4,-0x6f)][_0x4c237d(-0x1ca,-0x236)+'ll'])['toBe'](_0x4c237d(-0x1c8,-_0x270665._0x5bf638)+'t-analyzer'),_0x5daeff['stop']();}),test(_0x4a252a[_0x4f3fd3(_0xa4e476._0x14d23e,0x4d3)],()=>{const _0x3e5dc2={};_0x3e5dc2[_0x26f9ce(-0x21a,-0x1ce)]=_0x26f9ce(-_0x44684c._0x1c2708,-0x21e)+_0x26f9ce(-0x29f,-_0x44684c._0x1b2c12);const _0x2a2420={};_0x2a2420[_0x122d4b(0x31,-0x3a)]=_0x3e5dc2;const _0x3373db=_0x4a252a['SSdzh'](createActor,agentMachine,_0x2a2420);_0x3373db[_0x26f9ce(-_0x44684c._0x477c9e,-_0x44684c._0x2230d7)]();const _0x9b8c90={};_0x9b8c90[_0x26f9ce(-0x27e,-_0x44684c._0xd4f121)]=_0x26f9ce(-_0x44684c._0x403736,-0x236);function _0x26f9ce(_0x184b81,_0x6b0ec1){return _0x393adb(_0x6b0ec1,_0x184b81- -0x4ca);}_0x3373db['send'](_0x9b8c90);const _0x57c846={};_0x57c846[_0x122d4b(-0x8,_0x44684c._0x3f28b0)]=_0x4a252a[_0x26f9ce(-_0x44684c._0x357454,-0x1d5)],_0x57c846[_0x26f9ce(-0x23f,-0x1fb)]=_0x4a252a[_0x122d4b(0x56,0x35)],_0x57c846[_0x122d4b(0x32,-0x3a)]=_0x4a252a[_0x26f9ce(-_0x44684c._0x58676c,-_0x44684c._0x37a3ea)];function _0x122d4b(_0x5cade3,_0x1aec3a){return _0x393adb(_0x1aec3a,_0x5cade3- -_0x47d12e._0x3804cd);}_0x3373db[_0x122d4b(-_0x44684c._0xd96f0a,-_0x44684c._0xdf36e8)](_0x57c846),expect(_0x3373db[_0x122d4b(0x1e,0x84)+'t']()[_0x122d4b(-0x55,-0x7)]['currentOpe'+_0x122d4b(_0x44684c._0xb37a51,_0x44684c._0x1f5b8f)])['toBe'](_0x4a252a[_0x26f9ce(-0x220,-_0x44684c._0x1e271b)]);const _0x12205c={};_0x12205c['type']=_0x122d4b(0x43,-0x16)+_0x122d4b(-0x23,0x32),_0x3373db['send'](_0x12205c);const _0x45d838=_0x3373db[_0x122d4b(_0x44684c._0x5af9d6,0x17)+'t']();_0x4a252a[_0x26f9ce(-0x22d,-0x243)](expect,_0x45d838[_0x122d4b(-_0x44684c._0x140f7a,-0x8c)][_0x122d4b(-_0x44684c._0x2bd211,-0x86)+'ration'])['toBe'](''),expect(_0x45d838[_0x26f9ce(-0x2cb,-0x2f3)][_0x26f9ce(-_0x44684c._0x97e205,-0x1d2)+'ll'])['toBe'](''),_0x3373db['stop']();});function _0x4f3fd3(_0x2dc47a,_0x184800){return _0x49bfe2(_0x184800-0x6bc,_0x2dc47a);}test(_0x4a252a[_0x4f3fd3(_0xa4e476._0x25b30e,_0xa4e476._0x1330de)],()=>{const _0x1448ef=_0x4a252a[_0x5f1fc0(-_0x1956d1._0x23a5fa,-0x1ce)](createActor,agentMachine,{'input':{'agentId':_0x4a252a[_0x4bfdf5(0x99,0xa3)]}}),_0x27044f=_0x4a252a[_0x5f1fc0(-_0x1956d1._0x26251f,-0x1d4)](createActor,agentMachine,{'input':{'agentId':_0x4a252a['NoPxZ'],'parentId':_0x4a252a['NyNrR']}});_0x1448ef['start'](),_0x27044f['start']();const _0x363623={};_0x363623[_0x4bfdf5(_0x1956d1._0x32875f,_0x1956d1._0x4e2694)]=_0x4bfdf5(_0x1956d1._0x14513,_0x1956d1._0x3417e6),_0x1448ef[_0x5f1fc0(-_0x1956d1._0x1b163e,-0x23f)](_0x363623),_0x4a252a[_0x5f1fc0(-0x26a,-0x21b)](expect,_0x1448ef[_0x5f1fc0(-_0x1956d1._0x49d8b5,-0x1c2)+'t']()['value'])[_0x5f1fc0(-0x191,-0x1e9)](_0x4bfdf5(_0x1956d1._0x395890,_0x1956d1._0x3894e4)+_0x5f1fc0(-_0x1956d1._0x3e58d8,-0x186)),_0x4a252a['hPWlM'](expect,_0x27044f[_0x4bfdf5(0x126,0xf4)+'t']()['value'])['toBe'](_0x4a252a[_0x5f1fc0(-0x1aa,-0x1be)]);const _0x2ab3c0={};_0x2ab3c0[_0x4bfdf5(0x100,0xa5)]=_0x5f1fc0(-_0x1956d1._0x23a5fa,-_0x1956d1._0x5b5d0e),_0x27044f['send'](_0x2ab3c0);function _0x4bfdf5(_0x3cad77,_0x1f57f7){return _0x4f3fd3(_0x1f57f7,_0x3cad77- -0x39e);}const _0x288ce4={};_0x288ce4[_0x5f1fc0(-0x1d9,-0x1e8)]='PHASE_COMP'+_0x4bfdf5(_0x1956d1._0x2a4fd3,_0x1956d1._0x412285),_0x27044f[_0x4bfdf5(0xa9,0xe0)](_0x288ce4),expect(_0x27044f[_0x5f1fc0(-0x181,-0x1c2)+'t']()['value'])[_0x4bfdf5(_0x1956d1._0x100d12,0x13f)](_0x4a252a[_0x4bfdf5(_0x1956d1._0x7bbd3f,0x9b)]),_0x4a252a['rLttd'](expect,_0x1448ef['getSnapsho'+'t']()[_0x4bfdf5(0x129,_0x1956d1._0x24eccf)])[_0x4bfdf5(_0x1956d1._0x100d12,_0x1956d1._0x5ea4ae)](_0x5f1fc0(-_0x1956d1._0x5c75e9,-0x18b)+_0x4bfdf5(_0x1956d1._0x5a50ae,0x156)),_0x4a252a['bDcEF'](expect,_0x1448ef[_0x5f1fc0(-_0x1956d1._0x1e422e,-0x1c2)+'t']()[_0x5f1fc0(-_0x1956d1._0x33cb44,-0x235)][_0x4bfdf5(_0x1956d1._0x274b60,0x143)])[_0x4bfdf5(_0x1956d1._0x1150de,_0x1956d1._0x42238d)](_0x4a252a['oMInR']),_0x4a252a['itMef'](expect,_0x1448ef[_0x4bfdf5(_0x1956d1._0x5ea4ae,0xe0)+'t']()[_0x4bfdf5(0xb3,_0x1956d1._0x2eafee)][_0x4bfdf5(0x146,0xe1)])[_0x5f1fc0(-_0x1956d1._0x47d00a,-0x244)]();function _0x5f1fc0(_0x4b54c0,_0x9cc95f){return _0x4f3fd3(_0x4b54c0,_0x9cc95f- -0x686);}expect(_0x27044f[_0x5f1fc0(-_0x1956d1._0x37f25f,-_0x1956d1._0x186206)+'t']()[_0x5f1fc0(-_0x1956d1._0x2630bd,-0x235)][_0x5f1fc0(-_0x1956d1._0x43dc06,-_0x1956d1._0x222f8d)])[_0x4bfdf5(0xff,_0x1956d1._0x327a2b)](_0x4a252a['NoPxZ']),_0x4a252a[_0x4bfdf5(_0x1956d1._0x4f376e,0x18e)](expect,_0x27044f[_0x4bfdf5(_0x1956d1._0x5ea4ae,0x165)+'t']()[_0x4bfdf5(_0x1956d1._0x5c47b2,0x101)][_0x5f1fc0(-_0x1956d1._0x2df89a,-0x1a2)])['toBe'](_0x5f1fc0(-_0x1956d1._0x190b12,-_0x1956d1._0x14d650)+'nt'),_0x1448ef[_0x5f1fc0(-0x23e,-_0x1956d1._0x23784a)](),_0x27044f['stop']();}),test(_0x4f3fd3(0x50b,_0xa4e476._0xe436d)+_0x393adb(_0xa4e476._0x18cc50,0x1e7)+':到达后\x20Actor'+'\x20状态为\x20done',()=>{const _0x12ffff={_0x4e9f4c:0x3e8},_0x189cc0=_0x4a252a[_0x3408c0(0x278,0x2a0)](createActor,agentMachine,{'input':{'agentId':_0x4a252a[_0x3408c0(_0x511449._0xda3624,0x1ee)]}});_0x189cc0[_0xda04f(-_0x511449._0x4920fe,-0x168)]();const _0x3e3033={};_0x3e3033[_0x3408c0(_0x511449._0x47e19f,_0x511449._0x49e8bf)]=_0x3408c0(0x2a5,_0x511449._0x4de77f),_0x189cc0[_0xda04f(-_0x511449._0x12af0a,-0x1f3)](_0x3e3033);const _0xfc1bee={};_0xfc1bee['type']=_0x3408c0(_0x511449._0x2e06c5,0x285)+'LETE',_0x189cc0[_0xda04f(-_0x511449._0x1bb85b,-_0x511449._0x2bb157)](_0xfc1bee);function _0xda04f(_0x251781,_0x1fce76){return _0x393adb(_0x251781,_0x1fce76- -_0x12ffff._0x4e9f4c);}const _0x150db0={};_0x150db0[_0xda04f(-0x1ef,-_0x511449._0x4d6288)]=_0x4a252a['iwZEK'],_0x189cc0['send'](_0x150db0);const _0x103f13={};_0x103f13[_0xda04f(-0x1bd,-0x19c)]=_0x4a252a[_0x3408c0(_0x511449._0x5a22f2,_0x511449._0x2d0229)],_0x189cc0['send'](_0x103f13);const _0x2bf0f4={};function _0x3408c0(_0x57ab9e,_0x2a4849){return _0x4f3fd3(_0x57ab9e,_0x2a4849- -_0x36ecae._0x59226f);}_0x2bf0f4[_0x3408c0(_0x511449._0x1d63bd,0x23a)]=_0x4a252a[_0x3408c0(_0x511449._0x32b774,_0x511449._0x13a3f)],_0x189cc0['send'](_0x2bf0f4);const _0x2319fc=_0x189cc0[_0xda04f(-_0x511449._0x48ffbd,-0x176)+'t']();expect(_0x2319fc[_0xda04f(-_0x511449._0x40d35e,-_0x511449._0x37ec98)])[_0xda04f(-_0x511449._0x5695f8,-0x19d)](_0x3408c0(0x1b3,_0x511449._0x2a27cb)),_0x4a252a['FfdVS'](expect,_0x2319fc[_0xda04f(-_0x511449._0x2d6c5e,-_0x511449._0x308139)])[_0xda04f(-_0x511449._0x3496e5,-0x19d)](_0x4a252a[_0xda04f(-0x17a,-0x15e)]),_0x189cc0['stop']();});});function _0x49bfe2(_0x28a20d,_0xf18ca5){const _0x36da65={_0x2aa56e:0x33c};return _0x55d9(_0x28a20d- -_0x36da65._0x2aa56e,_0xf18ca5);}function _0x495a(){const _0x5a6158=['yxqWmde','tLjcvLm','rwfZshe','C29Tzs1ZA2LSBa','BwjpDK8','zLDVCNC','DuDRC0u','sK1MtwW','CKj6wgS','runvBKO','ywDLBNrFy2XLyq','CK9hq0u','77Ymy29UDgv4DcdLJiu','y29TCgv0AxrVCG','ugfnsey','wKXiwvi','s0vZvNm','uxPmtKW','DeHrsNG','Egj5ywu','BMuG6BUy6k6K5A+85yE65lIoigm','Dg9czq','DhLWzq','twP5zhe','mJe4mtC4mgrgEejWBq','nJe4yxv1CgrH','B3HXEfm','AgeG4OAsigjLDgeG','z2fTBwe','qwn0B3iG5zce6iEQ54US56Ul','vwDLtvG','ntq1ndKWC3fcqNLA','tw5Ry0e','B0rUs0y','rfnUqNC','mZz1tuXtzhC','ywXWAge','CgXHBG','zerJy1m','Dg1du0G','qwDLBNqG54Q25Ocb5PY6','zg9Uzq','wfPeseW','vffYs00','yKL6svm','mdaX','ugLwELy','u3bLy09WCYbqAq','sgnTrK0','CfDfq2q','BfrhtLq','4OAsigrPC2n1C3mG','z05XvKe','qMjqz2y','wu54zxG','CgHHC2vszxn1Ba','DuvtrgK','55sO55Qe6zI25Q615BQp5yIx','yNLVtgi','zuXZzfe','z2v0u25HChnOBW','BLPRAvK','6BUy6k6K6kgm5lI65zcr5zco5yw85A65','DMfSDwu','EgvVyNi','uKfusu9o','DwX0mdaX','BuDAD3C','wMXTy3G','wezRExm','u1rbuLq','CMvUtLG','ywDLBNrFB3aWma','zxHLy3v0zq','C3rHCNq','u0LOuhK','BNvNrNu','CgvSAw5LioMyTUAUTq','Ahz0wMm','Aw5WDxq','C2TPBgW','5AsA5A6E5l6l54US56Ul5OcN77YA5lIK5lIQia','zfjNAxq','v0fYt0O','rfzwDfO','B3bLCMf0Aw9U','s293B1i','sw55wve','y29UDgv4DcdKUk3NMOq','5lU75Osp6zI25Q615BQp5yIx77YAywXW','C3rHDhvZ','EKfHuKe','CgfYzw50swq','B2DArgy','y29TCgXLDgvKia','twfJAgLUzsGPia','Dc1HBMfSExPLCG','ueHbu0vFq09nua','B25SEv9WAgfZzq','ywDLBNrFzgvMyq','yxzqz0C','B3bZmdaY','AwrSzq','CxLxEKC','6iEQ5A6A5lMj6zI25Q61','s2PpCMC','CMf0Aw9U','tgfdweS','yvPHEwK','CKX0Dgq','ywDLBNrFy3vZDa','ywDLBNrFAw5Kma','z0zZBNK','5y2v6zI25Q615BQp5yIx5lMF6io95Q2J5BI45BEL','B20Wmde','zgvTyw5Kx2fUyq','u2XHBei','rejqr08','rfP1Bxe','yxnLCYdORRdLVzxLVzpLIy3KVB8','BhLZAxm','6kgm5lI65lIa6iE0','ywDLBNrjza','ywDLBNrFDgvZDa','Dhjuy0e','ywX5C2LZ','y3vYCMvUDfnRAq','EMjqsKm','CMvXDwLYzw1LBG','rgXAuwO','4OAsigDHBw1HioATO+EHRG','ihrLy2HFC2vSzq','BguWmde','B3bZmdaX','5zcR5Q2J56gU55QeigfNzw50','zff2yxG','DgvJAf9ZzwXLyW','zgLZy3vZCW','B01jBLi','Ag5oqNK','5PIVigzPBMfSioEkTUAaGq','C3rVCa','ywDLBNrFC3bLyW','BefrqNO','q0vTB2K','ywDLBNrFzMXVDW','yNLvufi','AKXzs2G','zMvHDhvYzv9HBG','Dg9czu51BgW','s1DkvuO','ywDLBNrFCgfYzq','vxfIChu','ywDLBNrnywnOAq','C2vUza','C1zLwKK','y29UDgv4Dc5WAa','A3HvExq','zMrVrvy','4OAsigzLyxr1CMvF','oduXoti1q0DJs2fd','mta4nti4yuvyBxz0','t3bkz0i','CgziAhm','y29UDgv4Da','qLPRzKC','zxjPzNKG4OAsignV','q1Dos1O','swX3u3u','Ew5TwhG','rK13zMm','ywDLBNrFC2LUzW','ntK2ovPPC1riuG','wLHdzue','tevursdMUixPMAtLVzpLIy3MK40','5l2C5zkm5BEL5yw35l+H5OgV','s0n3wfG','whHYCva','DMvYAwz5','AwvHyva','y3vYCMvUDe9Wzq','5Q2J5zYO5yIg5P6q55sO5OI36zYa5Rgc5PAh5QgJ','thzIu2u','5lIn5lYGihbOyxnLCYa','ywDLBNrFy29TCa','x2fUywX5C2LZ','swqG5zkm56M65Pon5l2C5A2x5Q61','CMvHDgvbz2vUDa','wvnju19qseftrq','yxHMEuC','z2HdBeO','ywDLBNrFzg9Uzq','ndrfwxvXshm','Dg9fCxvHBa','y29TCgXLDgvK','yMv0yq','B0z0AhG','DgLVBG','BxbSzxrLza','wvPPDwG','yw52vNC','t3P6rvq','y2PbuvG','5y+c5PwW5PE25l2/55sOiefoquW','otu2ow5Ryvfbsq','CeT4rxO','mJqXnJGWmefJDuznyq','uKfusu9oioABToAwSca','CJaWmq','wMfcENO','sujSu2C','AxDAruS','EhjrALm','5yID5AEl54Q25Ocb5lI6igLKBgu','tevurq','EMXbDMC','t2jPwey','weDwC1K','x2fUywX5C2LZia'];_0x495a=function(){return _0x5a6158;};return _0x495a();}describe('可配置阶段状态机',()=>{const _0x293f3a={_0x31b89d:0xaf,_0xa9f16e:0x65,_0x5a87fb:0x100,_0x449118:0x138,_0x45ece9:0x114,_0x39eaf7:0x54,_0x1185cc:0x71,_0x2f6526:0x8d,_0x3cb41b:0x91,_0x49c423:0xdf,_0x302233:0x56,_0x49ca52:0x2e,_0x156e79:0x14e,_0xd463ba:0x11a,_0x1b5bb5:0xad,_0x214ecf:0xe1,_0x3c190b:0x8a,_0x292a15:0x1e,_0x532bcd:0xd0,_0x45998b:0x9c,_0x2dd4a0:0xb7,_0x150549:0xbd,_0x4cd7b5:0x11b,_0x4d5dbc:0xae,_0x3d9638:0x73,_0x3b015a:0x49,_0x534a80:0x184},_0x46b8fe={_0x5d671b:0x4a7,_0x4467bd:0x371,_0x15c2ae:0x395,_0x1ff142:0x462,_0x34470f:0x44e,_0x117fb6:0x403,_0x42d7a3:0x31b,_0x539844:0x414,_0x33e48d:0x334,_0x18c1b4:0x30f,_0x12493d:0x362,_0x246dbf:0x337,_0x44f2d0:0x366,_0x8a0a9c:0x360},_0x1c35fc={_0x20992e:0xfe,_0x10ed21:0x1c2,_0x5f4d81:0x16f,_0x2e6e9d:0x15f,_0x1af398:0x13c,_0x555b0d:0x134,_0x164b8c:0x121,_0x5eef61:0xbb,_0x48283d:0xf5,_0x3f3658:0xbd,_0x270c73:0x109,_0x7d5156:0x10f,_0x359da5:0xff,_0x10b624:0xe3,_0x32ef57:0x13f,_0x54c1d7:0x117,_0x1090bc:0x13a,_0x5095b3:0xd5,_0x37c7a3:0xb2,_0x156855:0xb1,_0x12260c:0x84,_0x208ad8:0xc0,_0x3e846e:0xdd,_0x13c48c:0x64,_0x18eb45:0x12a,_0x16191f:0x186,_0x5e7b9e:0x132,_0x55cc8f:0x89,_0x50a197:0x71,_0x363f9d:0x43,_0x295f26:0x17a,_0x1891da:0xbe,_0x3c2385:0xaf,_0x64cb13:0x147,_0x2c50b5:0xdb,_0x21255a:0xeb,_0x2aabd8:0x179,_0x47e9b1:0xf3,_0x188736:0xae,_0x3446f5:0x5f},_0x15c579={_0x36639a:0x194,_0x5b155f:0x1b8,_0x3a805a:0x8a,_0x516659:0xf5,_0x3e1ab6:0x1,_0x1aed77:0x1a7,_0x2cd0ed:0x14e,_0x21a764:0x20d,_0x59ad83:0x224,_0x4a51e8:0x7a,_0x5e416c:0x9b,_0x14caaf:0x1ed,_0x4d512d:0x23d,_0x1fcc07:0x220,_0x2b36e7:0x1b7,_0x2d44ff:0xaf,_0x5d8d52:0x4e,_0x24b956:0x170,_0x492fc2:0x1cb,_0x187446:0x1de,_0x5547b4:0x17c,_0x43ac9a:0x1db,_0x3f924f:0x21d,_0xbd3b7e:0x4b,_0x97ed32:0x7b},_0x2eabde={_0x5ced63:0x215,_0x5b281d:0x206,_0x15cf5f:0x1ce,_0xfaba26:0x88,_0x481c08:0xb5,_0xe2e5c3:0x234,_0x31d9b5:0x23e,_0x3807a3:0x227,_0x188d9b:0x9d,_0x2c8980:0x10b,_0x46cd11:0x287,_0x2897f0:0x24a,_0x5bdd26:0x113},_0x5d50d7={_0x4a5617:0x2f7,_0x502701:0x41c,_0x2dd3d2:0x3c6,_0x555b11:0x2f3,_0x342aa5:0x30b,_0x1ac98b:0x2fc,_0x33ca44:0x364,_0x4d679a:0x3ec,_0x155dfd:0x32b,_0x36394c:0x2d4,_0x297b22:0x3f1,_0x126dd8:0x361,_0x5985c9:0x2f6,_0x3a5dcf:0x361,_0x3c613a:0x389,_0x159976:0x2e7,_0x4df21c:0x361,_0x172285:0x362,_0x36ae3d:0x3b8,_0x425121:0x3cd,_0x1458d8:0x397,_0x7c7940:0x301,_0x2b7ca9:0x344,_0xdbb0a9:0x3b4,_0x1708ee:0x36f,_0x1f6af6:0x3cb,_0x2a5e32:0x3f5,_0x33a9c0:0x2ef,_0x341dc0:0x2c8,_0x157787:0x407,_0x487262:0x35e,_0x374063:0x3f4,_0x595892:0x40a,_0x5d9ce1:0x36b,_0x15c76f:0x388,_0x857e27:0x32b},_0x42828c={_0x4febe8:0x109,_0x40daf5:0x39c,_0x30940f:0x3b4,_0x1f90b4:0x366,_0x2fb4c2:0x5d,_0xf0113e:0x45,_0x14bca9:0x6b,_0xa6d3cf:0x6b,_0x3c0110:0xc3,_0x5f1c16:0x31f,_0x261c2a:0x91,_0x54dc12:0xe8,_0x343d66:0x381,_0x5082b4:0x360,_0x8d7ca:0x82,_0x56c430:0x32d,_0x1e675c:0x325,_0x3fba7f:0x312,_0x165d75:0x31a,_0x594bf9:0x33b,_0x9e2f65:0x32d,_0x3ee912:0x378,_0x584fed:0xfd,_0x10e9ae:0x91,_0x2936fc:0x356,_0x8254b6:0x35c,_0xefa908:0xef,_0x5b1810:0x15c,_0x1bcaf6:0x303,_0x3e9a8f:0xd5,_0x3ab2b0:0x353,_0x5f535a:0x352,_0x1077e5:0x1,_0x5a993d:0x3a2},_0x5b936c={_0xcfc10:0x9c},_0x1c9744={_0x5974ff:0x139};function _0x394c54(_0x38cb8a,_0x32a973){return _0x49bfe2(_0x32a973-_0x1c9744._0x5974ff,_0x38cb8a);}const _0x4f278e={'axfyG':function(_0x21f8ff,_0x1a9688){return _0x21f8ff===_0x1a9688;},'WArOJ':function(_0x8e04d0,_0x326c2b){return _0x8e04d0(_0x326c2b);},'dRgit':function(_0x508ff0,_0x299226,_0x27ceca){return _0x508ff0(_0x299226,_0x27ceca);},'fWorw':_0x394c54(-0x73,-0x95),'nZkiY':_0x394c54(-_0x293f3a._0x31b89d,-0xb5),'LvbSe':_0x40a06d(_0x293f3a._0xa9f16e,0x9f)+_0x394c54(-0xda,-_0x293f3a._0x5a87fb),'IlwSu':_0x394c54(-_0x293f3a._0x449118,-_0x293f3a._0x45ece9),'pWECd':'完整流转:idle\x20'+_0x40a06d(_0x293f3a._0x39eaf7,_0x293f3a._0x1185cc)+'→\x20plan\x20→\x20e'+'xecute\x20→\x20v'+_0x394c54(-0xcf,-0x130)+_0x40a06d(_0x293f3a._0x2f6526,0x29),'HIHgQ':_0x40a06d(0x1b,0x26),'KHZMX':function(_0x145968,_0x29ed21){return _0x145968(_0x29ed21);},'CEmoi':_0x394c54(-_0x293f3a._0x3cb41b,-_0x293f3a._0x49c423),'ObiXF':'agent_test'+'001','EasHq':function(_0x4cedf0,_0x162823){return _0x4cedf0(_0x162823);},'PiVzV':_0x394c54(-0x178,-0x11f)+_0x40a06d(_0x293f3a._0x302233,_0x293f3a._0x49ca52)+_0x394c54(-_0x293f3a._0x156e79,-_0x293f3a._0xd463ba)+'S','npBnP':_0x394c54(-_0x293f3a._0x1b5bb5,-0x97),'JUpdK':'BjjVg','XFkys':_0x394c54(-0x195,-0x12b)+_0x40a06d(_0x293f3a._0x214ecf,0xc2),'cjAQX':function(_0x2ae57f,_0x3e6189,_0x585e37){return _0x2ae57f(_0x3e6189,_0x585e37);},'zlAvg':function(_0x106ead,_0x1d82f9,_0x895bf4){return _0x106ead(_0x1d82f9,_0x895bf4);},'OzzET':_0x394c54(-0xd4,-_0x293f3a._0x3c190b)+'作','Mjydq':'competitor'+'_analysis','CWNKZ':'only_phase','IBlSg':function(_0x2cec20,_0x1c0f07,_0x594097){return _0x2cec20(_0x1c0f07,_0x594097);},'lTGNT':'agentMachi'+_0x40a06d(0xa7,0x52)+_0x40a06d(-0x20,_0x293f3a._0x292a15)+_0x394c54(-_0x293f3a._0x532bcd,-_0x293f3a._0x45998b)+_0x40a06d(0x50,_0x293f3a._0x2dd4a0),'BbPgf':function(_0x5a908b,_0x4f3048,_0x14647b){return _0x5a908b(_0x4f3048,_0x14647b);},'rOGCE':_0x394c54(-0xc3,-0x93),'kxUyt':_0x394c54(-0xca,-_0x293f3a._0x150549)};function _0x40a06d(_0x15a509,_0x540b30){return _0x49bfe2(_0x540b30-0x272,_0x15a509);}describe(_0x40a06d(0x31,0x6d)+_0x394c54(-_0x293f3a._0x4cd7b5,-_0x293f3a._0x4d5dbc),()=>{const _0x21291a={_0x361491:0x181};function _0x27382e(_0x35a672,_0x12e05d){return _0x40a06d(_0x35a672,_0x12e05d-_0x5b936c._0xcfc10);}const _0x281ccc={'vKYbV':function(_0x3e13e5,_0x56350b,_0x4391df){return _0x3e13e5(_0x56350b,_0x4391df);},'anvVw':_0x4f278e[_0x2d004b(-_0x2eabde._0x5ced63,-_0x2eabde._0x5b281d)],'TNLCn':_0x4f278e[_0x2d004b(-0x1cf,-_0x2eabde._0x15cf5f)],'rBzXk':_0x27382e(0x77,_0x2eabde._0xfaba26),'ZXCeA':_0x4f278e[_0x27382e(0xc7,_0x2eabde._0x481c08)],'byUPR':function(_0x456fd7,_0x87e6b1){return _0x456fd7(_0x87e6b1);},'jLYKh':_0x2d004b(-0x295,-_0x2eabde._0xe2e5c3),'KCwXX':_0x4f278e[_0x2d004b(-0x23a,-_0x2eabde._0x31d9b5)],'VZsHo':function(_0x3bb3d8,_0x34e9ca){return _0x3bb3d8(_0x34e9ca);},'ZaBzz':_0x2d004b(-0x1d6,-_0x2eabde._0x3807a3)+'001','KowoR':function(_0x2b1db6,_0x41bcd1){return _0x2b1db6(_0x41bcd1);}};test(_0x4f278e[_0x27382e(_0x2eabde._0x188d9b,_0x2eabde._0x2c8980)],()=>{const _0x21b98f={_0x2aa7e4:0x23d},_0xfc3100=createAgentMachine(PIPELINE_PHASES),_0x5141fc={};_0x5141fc[_0x8e0cc3(0x391,0x387)]=_0x4c2948(-0xf4,-_0x42828c._0x4febe8)+_0x8e0cc3(_0x42828c._0x40daf5,_0x42828c._0x30940f);const _0x3b2fee={};_0x3b2fee[_0x8e0cc3(_0x42828c._0x1f90b4,0x342)]=_0x5141fc;const _0x1b696c=_0x281ccc['vKYbV'](createActor,_0xfc3100,_0x3b2fee);_0x1b696c[_0x4c2948(-_0x42828c._0x2fb4c2,-_0x42828c._0xf0113e)](),expect(_0x1b696c[_0x4c2948(-_0x42828c._0x14bca9,-0x85)+'t']()['value'])['toBe'](_0x281ccc[_0x4c2948(-0xba,-0x65)]);const _0x29879f={};_0x29879f[_0x8e0cc3(0x32d,0x2e5)]=_0x281ccc['TNLCn'],_0x1b696c['send'](_0x29879f),expect(_0x1b696c[_0x4c2948(-_0x42828c._0xa6d3cf,-0xad)+'t']()[_0x4c2948(-0x68,-_0x42828c._0x3c0110)])['toBe'](_0x281ccc[_0x8e0cc3(_0x42828c._0x5f1c16,0x2f6)]);const _0x4c0ec2={};_0x4c0ec2[_0x4c2948(-_0x42828c._0x261c2a,-0x9e)]=_0x281ccc[_0x8e0cc3(0x2e9,0x32c)],_0x1b696c[_0x4c2948(-_0x42828c._0x54dc12,-0x125)](_0x4c0ec2),expect(_0x1b696c[_0x8e0cc3(0x353,_0x42828c._0x343d66)+'t']()[_0x8e0cc3(0x356,_0x42828c._0x5082b4)])['toBe'](_0x4c2948(-_0x42828c._0x8d7ca,-0x67));const _0x9d5043={};_0x9d5043[_0x8e0cc3(_0x42828c._0x56c430,_0x42828c._0x1e675c)]='PHASE_COMP'+_0x8e0cc3(_0x42828c._0x3fba7f,_0x42828c._0x165d75);function _0x8e0cc3(_0x27ce56,_0x112042){return _0x27382e(_0x112042,_0x27ce56-_0x21b98f._0x2aa7e4);}_0x1b696c[_0x8e0cc3(0x2d6,0x341)](_0x9d5043),expect(_0x1b696c['getSnapsho'+'t']()[_0x8e0cc3(0x356,0x37d)])['toBe'](_0x8e0cc3(0x360,_0x42828c._0x594bf9));const _0x2c862a={};_0x2c862a[_0x8e0cc3(_0x42828c._0x9e2f65,0x367)]=_0x8e0cc3(_0x42828c._0x3ee912,0x30b)+_0x4c2948(-0xac,-_0x42828c._0x584fed),_0x1b696c['send'](_0x2c862a),_0x281ccc[_0x4c2948(-0xf0,-_0x42828c._0x10e9ae)](expect,_0x1b696c[_0x4c2948(-0x6b,-0x30)+'t']()[_0x8e0cc3(_0x42828c._0x2936fc,_0x42828c._0x8254b6)])['toBe'](_0x281ccc[_0x4c2948(-_0x42828c._0xefa908,-_0x42828c._0x5b1810)]);const _0x3f1842={};_0x3f1842[_0x8e0cc3(0x32d,_0x42828c._0x1bcaf6)]=_0x281ccc[_0x4c2948(-_0x42828c._0x3e9a8f,-0xad)];function _0x4c2948(_0x2b035f,_0x178ff7){return _0x27382e(_0x178ff7,_0x2b035f- -_0x21291a._0x361491);}_0x1b696c['send'](_0x3f1842),expect(_0x1b696c[_0x8e0cc3(_0x42828c._0x3ab2b0,_0x42828c._0x5f535a)+'t']()['value'])['toBe'](_0x281ccc[_0x4c2948(-0xd2,-0xf9)]),_0x281ccc['VZsHo'](expect,_0x1b696c['getSnapsho'+'t']()[_0x4c2948(-0x4d,_0x42828c._0x1077e5)])['toBe'](_0x8e0cc3(0x340,_0x42828c._0x5a993d)),_0x1b696c[_0x8e0cc3(0x2c9,0x309)]();});function _0x2d004b(_0x4835e7,_0x356b1a){return _0x394c54(_0x4835e7,_0x356b1a- -0x110);}_0x4f278e['dRgit'](test,_0x2d004b(-_0x2eabde._0x46cd11,-_0x2eabde._0x2897f0)+_0x27382e(0x125,0x151)+_0x27382e(0xa7,_0x2eabde._0x5bdd26),()=>{const _0x54c655={_0x3723ed:0x23b};function _0x554ece(_0x1b43f6,_0x11d181){return _0x27382e(_0x1b43f6,_0x11d181-_0x54c655._0x3723ed);}function _0x2d42e3(_0x1a0b54,_0x307690){return _0x2d004b(_0x307690,_0x1a0b54-0x5ad);}if(_0x4f278e[_0x554ece(0x32f,_0x5d50d7._0x4a5617)]('gRcbK',_0x554ece(0x35f,0x324))){const _0x5022ff={};_0x5022ff[_0x2d42e3(_0x5d50d7._0x502701,_0x5d50d7._0x2dd3d2)]=_0x281ccc[_0x554ece(_0x5d50d7._0x555b11,_0x5d50d7._0x342aa5)];const _0x452331={};_0x452331[_0x554ece(_0x5d50d7._0x1ac98b,_0x5d50d7._0x33ca44)]=_0x5022ff;const _0x25cb0c=_0x5d25de(_0x551c3a,_0x452331);_0x25cb0c[_0x2d42e3(_0x5d50d7._0x4d679a,0x3f3)]();const _0x4db0d5={};_0x4db0d5[_0x554ece(0x30f,_0x5d50d7._0x155dfd)]=_0x281ccc['TNLCn'],_0x25cb0c[_0x554ece(0x27b,_0x5d50d7._0x36394c)](_0x4db0d5);const _0x5a1d89={};_0x5a1d89[_0x2d42e3(0x3b8,_0x5d50d7._0x297b22)]=_0x281ccc['ZXCeA'],_0x25cb0c[_0x2d42e3(_0x5d50d7._0x126dd8,_0x5d50d7._0x5985c9)](_0x5a1d89);const _0x496848={};_0x496848['type']='PHASE_COMP'+'LETE',_0x25cb0c[_0x2d42e3(_0x5d50d7._0x3a5dcf,0x335)](_0x496848);const _0x19db30={};_0x19db30[_0x2d42e3(0x3b8,_0x5d50d7._0x3c613a)]=_0x281ccc[_0x554ece(0x2a9,_0x5d50d7._0x159976)],_0x25cb0c[_0x2d42e3(_0x5d50d7._0x4df21c,_0x5d50d7._0x172285)](_0x19db30);const _0x189210={};_0x189210[_0x2d42e3(_0x5d50d7._0x36ae3d,_0x5d50d7._0x425121)]=_0x281ccc[_0x2d42e3(0x374,_0x5d50d7._0x1458d8)],_0x25cb0c[_0x2d42e3(_0x5d50d7._0x3a5dcf,0x3b1)](_0x189210);const _0x361850=_0x25cb0c[_0x2d42e3(0x3de,0x446)+'t']();_0x2a2941(_0x361850[_0x554ece(_0x5d50d7._0x7c7940,0x354)])[_0x554ece(_0x5d50d7._0x2b7ca9,0x32a)](_0x554ece(0x336,_0x5d50d7._0x1ac98b)),_0x281ccc[_0x554ece(0x366,0x36b)](_0x505d03,_0x361850[_0x554ece(_0x5d50d7._0xdbb0a9,_0x5d50d7._0x1708ee)])['toBe'](_0x2d42e3(_0x5d50d7._0x1f6af6,0x397)),_0x25cb0c['stop']();}else{const _0xe85277=_0x4f278e[_0x2d42e3(_0x5d50d7._0x2a5e32,_0x5d50d7._0x1f6af6)](createAgentMachine,PIPELINE_PHASES),_0x4efcb2={};_0x4efcb2['agentId']=_0x554ece(_0x5d50d7._0x33a9c0,_0x5d50d7._0x341dc0)+_0x2d42e3(_0x5d50d7._0x157787,0x471);const _0x1dcf4d={};_0x1dcf4d[_0x554ece(_0x5d50d7._0x487262,0x364)]=_0x4efcb2;const _0x556036=_0x4f278e[_0x2d42e3(_0x5d50d7._0x374063,_0x5d50d7._0x595892)](createActor,_0xe85277,_0x1dcf4d);_0x556036['start'](),expect(_0x556036['getSnapsho'+'t']()[_0x2d42e3(_0x5d50d7._0x5d9ce1,0x331)]['phases'])[_0x2d42e3(_0x5d50d7._0x15c76f,_0x5d50d7._0x857e27)](PIPELINE_PHASES),_0x556036[_0x554ece(0x2d3,0x2c7)]();}});}),_0x4f278e[_0x40a06d(0xcd,_0x293f3a._0x3d9638)](describe,_0x4f278e[_0x40a06d(-0x4,_0x293f3a._0x3b015a)],()=>{const _0x204d75={_0x41739e:0x20b,_0x5ac69e:0x1d6,_0x5571d2:0x1bf,_0x128972:0x1e4,_0x2512b3:0x180,_0x2fa6dd:0x165,_0x10f34f:0x16c,_0x5296db:0x1ab,_0x29d0b6:0x1cc,_0x2209bf:0x1b0,_0x131fed:0x401,_0x32bbca:0x474,_0x5171ba:0x1fc,_0x14a6da:0x1e5,_0x4bb29f:0x47e,_0xca7e3f:0x44e,_0x116228:0x3f7,_0xa54b0c:0x227,_0x50d94f:0x1be,_0x2b69cf:0x424,_0x1b6b10:0x477,_0xe839e9:0x44a,_0x582558:0x446,_0x228209:0x3f7,_0x362004:0x477,_0x4f2cf9:0x20a,_0x3dde3a:0x245,_0x3e9fce:0x218,_0x3e5c77:0x1b8,_0x4fcfd:0x477,_0xfb76f6:0x490,_0x4a1e76:0x44d,_0xc32848:0x467,_0x52b0c0:0x492,_0x314fb6:0x38d},_0x11b3e8={_0xc4c5d7:0x1f4};function _0x4710ca(_0x34584e,_0x3422ab){return _0x40a06d(_0x34584e,_0x3422ab-0xb9);}function _0x155450(_0x233ea7,_0x45a9b3){return _0x394c54(_0x45a9b3,_0x233ea7-0x1bb);}const _0x347e65={'pKxEz':_0x4f278e[_0x155450(0xbd,_0x1c35fc._0x20992e)],'MnkcA':'idle','ynmXx':function(_0x953db6,_0x5107c2){return _0x953db6(_0x5107c2);},'mbOvO':function(_0x5e7497,_0x447361){const _0x985f27={_0x2e00e8:0x255};function _0x16f245(_0x198f44,_0x14a656){return _0x155450(_0x198f44- -_0x985f27._0x2e00e8,_0x14a656);}return _0x4f278e[_0x16f245(-0x193,-_0x11b3e8._0xc4c5d7)](_0x5e7497,_0x447361);},'yqAWa':_0x4f278e['PiVzV'],'irUEb':'demand_ana'+_0x4710ca(_0x1c35fc._0x10ed21,_0x1c35fc._0x5f4d81),'XxrqP':function(_0x5dc99d,_0x1d19a3){return _0x5dc99d!==_0x1d19a3;},'byoLb':_0x4f278e['npBnP'],'FMwfc':_0x4f278e['JUpdK'],'oFthx':_0x4f278e[_0x4710ca(_0x1c35fc._0x2e6e9d,_0x1c35fc._0x1af398)],'dQvax':_0x4f278e[_0x4710ca(0x157,_0x1c35fc._0x555b0d)],'xrQjS':_0x155450(_0x1c35fc._0x164b8c,0xb8)+_0x155450(_0x1c35fc._0x5eef61,_0x1c35fc._0x48283d)};if(_0x4710ca(_0x1c35fc._0x3f3658,_0x1c35fc._0x270c73)==='aMOjb'){const _0x104fba={};_0x104fba[_0x4710ca(0x129,0x171)]=_0x347e65['pKxEz'];const _0x2ca2f2={};_0x2ca2f2[_0x155450(_0x1c35fc._0x7d5156,0xd7)]=_0x104fba;const _0x1e24b3=_0x15402d(_0xcb257f,_0x2ca2f2);_0x1e24b3['start']();const _0x23ba47=_0x1e24b3['getSnapsho'+'t']();_0xada034(_0x23ba47[_0x155450(_0x1c35fc._0x359da5,0xdc)])[_0x4710ca(_0x1c35fc._0x10b624,0x10c)](_0x347e65[_0x4710ca(_0x1c35fc._0x32ef57,_0x1c35fc._0x54c1d7)]),_0x23fc82(_0x23ba47[_0x155450(0x89,0x7b)][_0x155450(_0x1c35fc._0x1090bc,0x164)])[_0x155450(_0x1c35fc._0x5095b3,0xe6)](_0x347e65[_0x155450(_0x1c35fc._0x37c7a3,0x96)]),_0x3fa3fb(_0x23ba47['context']['parentId'])[_0x4710ca(0xd6,_0x1c35fc._0x156855)](),_0x43b766(_0x23ba47[_0x4710ca(_0x1c35fc._0x12260c,_0x1c35fc._0x208ad8)]['childIds'])[_0x4710ca(0xaa,_0x1c35fc._0x3e846e)]([]),_0x347e65[_0x155450(0x8e,0x23)](_0x3452cc,_0x23ba47[_0x4710ca(_0x1c35fc._0x13c48c,0xc0)]['currentOpe'+_0x155450(_0x1c35fc._0x18eb45,_0x1c35fc._0x16191f)])[_0x155450(0xd5,_0x1c35fc._0x5e7b9e)](''),_0x347e65['mbOvO'](_0x2e888e,_0x23ba47[_0x155450(_0x1c35fc._0x55cc8f,0x3c)]['currentSki'+'ll'])[_0x155450(_0x1c35fc._0x5095b3,_0x1c35fc._0x50a197)](''),_0x8e59c4(_0x23ba47[_0x155450(0x89,_0x1c35fc._0x363f9d)][_0x4710ca(_0x1c35fc._0x295f26,0x12e)+'t'])[_0x155450(0x7a,_0x1c35fc._0x1891da)](),_0x1e24b3[_0x155450(0x72,0x43)]();}else _0x4f278e[_0x155450(_0x1c35fc._0x3c2385,0x74)](test,_0x155450(0x119,_0x1c35fc._0x64cb13)+_0x155450(_0x1c35fc._0x2c50b5,_0x1c35fc._0x21255a)+_0x4710ca(0x12c,_0x1c35fc._0x2aabd8)+'流转',()=>{const _0x174701={_0x2208f:0x2ba},_0x3e7a42=[_0xa6fc7(-_0x204d75._0x41739e,-_0x204d75._0x5ac69e),_0x4f278e['HIHgQ'],'gamma'],_0x42ccd0=_0x4f278e[_0xa6fc7(-_0x204d75._0x5571d2,-0x1a7)](createAgentMachine,_0x3e7a42),_0x119a81={};_0x119a81[_0xa6fc7(-_0x204d75._0x128972,-_0x204d75._0x2512b3)]=_0xa6fc7(-_0x204d75._0x2fa6dd,-0x18c)+'om001';const _0x4d5dd4={};_0x4d5dd4[_0xa6fc7(-_0x204d75._0x10f34f,-_0x204d75._0x5296db)]=_0x119a81;const _0x357101=_0x4f278e[_0xa6fc7(-_0x204d75._0x29d0b6,-0x1a8)](createActor,_0x42ccd0,_0x4d5dd4);_0x357101[_0xa6fc7(-0x214,-_0x204d75._0x2209bf)]();const _0xb4dff={};_0xb4dff['type']=_0x4f278e['nZkiY'],_0x357101[_0x1f8e5b(_0x204d75._0x131fed,0x3f7)](_0xb4dff),_0x4f278e['KHZMX'](expect,_0x357101[_0x1f8e5b(0x491,_0x204d75._0x32bbca)+'t']()['value'])[_0xa6fc7(-_0x204d75._0x5171ba,-_0x204d75._0x14a6da)](_0xa6fc7(-_0x204d75._0x128972,-0x1d6));const _0x37dcd4={};_0x37dcd4[_0x1f8e5b(_0x204d75._0x4bb29f,_0x204d75._0xca7e3f)]=_0x4f278e[_0xa6fc7(-0x1b6,-0x21f)],_0x357101[_0x1f8e5b(0x3ad,_0x204d75._0x116228)](_0x37dcd4),expect(_0x357101[_0xa6fc7(-_0x204d75._0xa54b0c,-_0x204d75._0x50d94f)+'t']()[_0x1f8e5b(_0x204d75._0x2b69cf,_0x204d75._0x1b6b10)])['toBe'](_0xa6fc7(-0x1c6,-0x212));const _0x425f12={};_0x425f12[_0x1f8e5b(_0x204d75._0xe839e9,0x44e)]=_0x1f8e5b(0x4cf,0x499)+'LETE',_0x357101[_0x1f8e5b(_0x204d75._0x582558,_0x204d75._0x228209)](_0x425f12);function _0xa6fc7(_0x5c926c,_0x1ad8ba){return _0x155450(_0x1ad8ba- -_0x174701._0x2208f,_0x5c926c);}expect(_0x357101[_0x1f8e5b(0x4a9,0x474)+'t']()[_0x1f8e5b(0x416,_0x204d75._0x362004)])[_0xa6fc7(-_0x204d75._0x4f2cf9,-0x1e5)](_0x4f278e[_0xa6fc7(-0x2af,-_0x204d75._0x3dde3a)]);const _0x14d9c6={};function _0x1f8e5b(_0x37e23a,_0xf5b6da){return _0x155450(_0xf5b6da-0x378,_0x37e23a);}_0x14d9c6[_0x1f8e5b(0x43e,_0x204d75._0xca7e3f)]=_0x4f278e[_0xa6fc7(-_0x204d75._0x3e9fce,-0x21f)],_0x357101[_0xa6fc7(-0x239,-0x23b)](_0x14d9c6),expect(_0x357101[_0xa6fc7(-_0x204d75._0x3e5c77,-0x1be)+'t']()[_0x1f8e5b(0x44b,_0x204d75._0x4fcfd)])[_0x1f8e5b(_0x204d75._0xfb76f6,_0x204d75._0x4a1e76)](_0x4f278e['IlwSu']),expect(_0x357101[_0x1f8e5b(0x425,0x474)+'t']()[_0x1f8e5b(_0x204d75._0xc32848,_0x204d75._0x52b0c0)])[_0xa6fc7(-0x1d5,-_0x204d75._0x14a6da)]('done'),_0x357101[_0x1f8e5b(_0x204d75._0x314fb6,0x3ea)]();}),_0x4f278e[_0x4710ca(0xd9,_0x1c35fc._0x47e9b1)](test,_0x4f278e[_0x155450(_0x1c35fc._0x188736,_0x1c35fc._0x3446f5)],()=>{const _0x93e3a9={_0x498b0d:0x155,_0x1ad89b:0x19b,_0x56b209:0x16b,_0x4ebf72:0x116,_0x5169ca:0x475,_0x44ac5b:0x106,_0x3821d0:0x4f5,_0x5ef4ed:0x48f},_0x60d7aa={_0x3deea6:0xe5,_0x564c32:0xd5,_0x1bf5f5:0xf2,_0x1896ab:0x16c,_0x90671b:0x145,_0x8fa40:0x179,_0xb8bec9:0x149,_0x303463:0x152,_0x4bbc64:0x196,_0x2eecc7:0x65,_0x327a58:0x13a,_0x38bcf3:0x11c,_0x2c6661:0xa6,_0xa5fcd8:0xc8,_0x2d0dbe:0x11d,_0x53c081:0x1ca,_0x1e4706:0xf7,_0x4d5ce1:0x117,_0x479992:0x3d,_0x187196:0x63},_0x461180={_0x3c11b3:0x1bb};function _0x23ecff(_0x30ee1c,_0x56802d){return _0x4710ca(_0x56802d,_0x30ee1c- -_0x461180._0x3c11b3);}const _0x4f1dc5={'szEcQ':function(_0x1aa590,_0x56107c,_0x1b6884){return _0x1aa590(_0x56107c,_0x1b6884);},'ogZDf':_0x347e65['irUEb']};function _0x325b06(_0x215236,_0x3ad375){return _0x4710ca(_0x3ad375,_0x215236-0xc7);}if(_0x347e65[_0x325b06(_0x15c579._0x36639a,_0x15c579._0x5b155f)](_0x347e65[_0x23ecff(-_0x15c579._0x3a805a,-0x9f)],_0x347e65[_0x23ecff(-_0x15c579._0x516659,-0x132)])){const _0x3292f2=createAgentMachine(['only_phase']),_0x73736e={};_0x73736e[_0x23ecff(-0x4a,_0x15c579._0x3e1ab6)]=_0x347e65[_0x325b06(_0x15c579._0x1aed77,_0x15c579._0x2cd0ed)];const _0x2de4fa={};_0x2de4fa[_0x325b06(_0x15c579._0x21a764,_0x15c579._0x59ad83)]=_0x73736e;const _0x4c35d7=createActor(_0x3292f2,_0x2de4fa);_0x4c35d7[_0x23ecff(-_0x15c579._0x4a51e8,-0x3b)]();const _0x127e7c={};_0x127e7c[_0x23ecff(-0xae,-_0x15c579._0x5e416c)]=_0x347e65[_0x23ecff(-0x3d,-0x68)],_0x4c35d7[_0x325b06(0x17d,0x125)](_0x127e7c),expect(_0x4c35d7[_0x325b06(0x1fa,_0x15c579._0x14caaf)+'t']()[_0x325b06(0x1fd,_0x15c579._0x4d512d)])['toBe'](_0x325b06(_0x15c579._0x1fcc07,0x1c8));const _0x583c53={};_0x583c53['type']=_0x347e65[_0x325b06(_0x15c579._0x2b36e7,0x16e)],_0x4c35d7[_0x23ecff(-0x105,-0x108)](_0x583c53),expect(_0x4c35d7['getSnapsho'+'t']()[_0x23ecff(-0x85,-0xbe)])[_0x23ecff(-_0x15c579._0x2d44ff,-_0x15c579._0x5d8d52)]('completed'),_0x4c35d7[_0x325b06(_0x15c579._0x24b956,0x151)]();}else{const _0xf11030={_0x4a8fbb:0x16e},_0x485e0d={'Zlmcx':function(_0x1b91c4,_0x4b0fd5){const _0x3833ca={_0x30642b:0x150};function _0x5aba46(_0x4c42b7,_0x113df0){return _0x325b06(_0x113df0- -_0x3833ca._0x30642b,_0x4c42b7);}return _0x347e65[_0x5aba46(0xb5,0x72)](_0x1b91c4,_0x4b0fd5);},'xbyae':_0x325b06(_0x15c579._0x492fc2,_0x15c579._0x187446)+_0x23ecff(-0xe6,-0xa9)};_0x3beac9(_0x347e65['yqAWa'],()=>{const _0x38c808=_0xa6448e(),_0x217a96={};_0x217a96[_0x258214(_0x60d7aa._0x3deea6,0xca)]=_0x258214(_0x60d7aa._0x564c32,0xb3)+'ult001';function _0x598f4f(_0x102bf0,_0x32d12f){return _0x23ecff(_0x32d12f- -0xcb,_0x102bf0);}const _0x311279={};_0x311279[_0x598f4f(-_0x60d7aa._0x1bf5f5,-0x140)]=_0x217a96;const _0x3c8776=_0x438f31(_0x38c808,_0x311279);_0x3c8776[_0x598f4f(-_0x60d7aa._0x1896ab,-_0x60d7aa._0x90671b)]();const _0xa104de={};_0xa104de[_0x598f4f(-0x196,-_0x60d7aa._0x8fa40)]=_0x598f4f(-0x161,-_0x60d7aa._0xb8bec9),_0x3c8776['send'](_0xa104de),_0x485e0d[_0x598f4f(-_0x60d7aa._0x303463,-0x14b)](_0x1a00cc,_0x3c8776['getSnapsho'+'t']()[_0x598f4f(-_0x60d7aa._0x4bbc64,-0x150)])[_0x258214(0x24,_0x60d7aa._0x2eecc7)](_0x598f4f(-_0x60d7aa._0x327a58,-_0x60d7aa._0x38bcf3)+_0x258214(_0x60d7aa._0x2c6661,_0x60d7aa._0xa5fcd8));const _0x5c70a0={};_0x5c70a0['type']=_0x258214(_0x60d7aa._0x2d0dbe,0xb1)+_0x598f4f(-0x14d,-0x194);function _0x258214(_0x222468,_0xe16a7a){return _0x325b06(_0xe16a7a- -_0xf11030._0x4a8fbb,_0x222468);}_0x3c8776[_0x598f4f(-_0x60d7aa._0x53c081,-0x1d0)](_0x5c70a0),_0x5936a0(_0x3c8776[_0x598f4f(-_0x60d7aa._0x1e4706,-0x153)+'t']()[_0x598f4f(-_0x60d7aa._0x4d5ce1,-0x150)])[_0x258214(0x12,0x65)](_0x485e0d[_0x258214(_0x60d7aa._0x479992,_0x60d7aa._0x187196)]),_0x3c8776[_0x598f4f(-0x1ad,-0x1dd)]();}),_0x232b1d(_0x325b06(_0x15c579._0x5547b4,_0x15c579._0x43ac9a)+'ne\x20默认导出与\x20c'+_0x23ecff(-0xe4,-0x13b)+_0x325b06(_0x15c579._0x3f924f,0x226)+_0x23ecff(-_0x15c579._0xbd3b7e,-_0x15c579._0x97ed32),()=>{const _0x29c214={_0x34cf61:0x2f8},_0x112c9a={};_0x112c9a[_0x2609e8(0x530,0x542)]='agent_comp'+'at001';function _0x2609e8(_0x204d55,_0x19a8b3){return _0x325b06(_0x204d55-_0x29c214._0x34cf61,_0x19a8b3);}function _0x5e5044(_0xe42eab,_0x413bb7){return _0x325b06(_0xe42eab- -0x99,_0x413bb7);}const _0x566771={};_0x566771[_0x5e5044(0x174,_0x93e3a9._0x498b0d)]=_0x112c9a;const _0x26331d=_0x4f1dc5['szEcQ'](_0x2c803c,_0x481157,_0x566771);_0x26331d['start']();const _0x522cfc={};_0x522cfc[_0x5e5044(0x13b,_0x93e3a9._0x1ad89b)]=_0x5e5044(_0x93e3a9._0x56b209,_0x93e3a9._0x4ebf72),_0x26331d[_0x2609e8(_0x93e3a9._0x5169ca,0x446)](_0x522cfc),_0x5320b2(_0x26331d[_0x5e5044(0x161,_0x93e3a9._0x44ac5b)+'t']()[_0x2609e8(_0x93e3a9._0x3821d0,_0x93e3a9._0x5ef4ed)])['toBe'](_0x4f1dc5[_0x5e5044(0x182,0x158)]),_0x26331d['stop']();});}});}),describe(_0x4f278e[_0x394c54(-_0x293f3a._0x534a80,-0x139)],()=>{const _0x4e0603={_0x2ad538:0x12d,_0x1a374d:0x25c,_0x22773b:0x29f,_0x26cb5c:0x2b5,_0x4539c8:0x1fa,_0x2a7eff:0x1b8,_0x4efe21:0x29d,_0x19a3c2:0x131,_0x497800:0x1de,_0x4b1468:0x24c,_0x23ed89:0x1f5,_0x25a9a2:0x15e,_0xfe4f3a:0x2ce,_0x23d805:0x272,_0x5dde00:0x1b3,_0x1b9e30:0x2aa,_0x12f0f1:0x138,_0x5088d8:0x17f,_0x5de2dd:0x194,_0x39d4b6:0x163,_0x4c0dd7:0x1be,_0x4adcd1:0x225,_0x13d070:0x272,_0x2643a7:0x254},_0x5262f4={_0x3abe75:0x4af},_0x113cdd={_0x54a0fe:0xb6},_0x5be6bd={_0x5aefa0:0x1e7,_0x599248:0x279,_0x92833b:0x22b,_0x3c365a:0x25c,_0x14bf67:0x229,_0x4b9651:0x287,_0x14226d:0x254,_0x295577:0x220,_0x3ca7f3:0x2b3,_0x114cb3:0x2ad,_0xb27198:0x21d,_0x308e0b:0x271,_0x2e24a8:0x2a0,_0x416d34:0x2ab,_0xd41489:0x277,_0x3a13d0:0x251,_0x4899fd:0x28e,_0x4617dd:0x26d,_0x2d29d1:0x29d,_0x31c69a:0x2d7,_0x5af338:0x2a0,_0x3d7b23:0x1da,_0x558628:0x1c7,_0x4f618c:0x213,_0x4792bc:0x213},_0x178432={_0x12c5ed:0xd3},_0xfe26dd={_0xb03ba:0x2d},_0xd25b55={_0x3bcb3c:0x3f9};function _0x97f182(_0x536696,_0x21b8ad){return _0x40a06d(_0x536696,_0x21b8ad-_0xd25b55._0x3bcb3c);}function _0x123d57(_0x1917e9,_0x132a31){return _0x394c54(_0x132a31,_0x1917e9-0x42f);}const _0x27b1c6={'uGksE':function(_0x9ec45d,_0x1bdb18,_0x12badd){return _0x9ec45d(_0x1bdb18,_0x12badd);},'ugYtq':_0x123d57(0x397,0x3ef)+_0x97f182(_0x46b8fe._0x5d671b,0x479),'dDccS':_0x4f278e[_0x123d57(_0x46b8fe._0x4467bd,0x3a1)],'nugFu':function(_0x3ed56b,_0x5ee18d){return _0x3ed56b(_0x5ee18d);},'zbPJC':_0x123d57(_0x46b8fe._0x15c2ae,0x3b8)+'LETE','pfHhs':_0x4f278e[_0x97f182(_0x46b8fe._0x1ff142,_0x46b8fe._0x34470f)],'hvtZc':_0x4f278e[_0x97f182(0x42b,_0x46b8fe._0x117fb6)],'weeMS':_0x123d57(_0x46b8fe._0x42d7a3,0x2e4),'tmCSH':'mEOSS','eLsdQ':function(_0x5b61a6,_0xe257ee,_0x3a6823){function _0x15b9dc(_0x3c0658,_0x2c120b){return _0x123d57(_0x3c0658- -_0xfe26dd._0xb03ba,_0x2c120b);}return _0x4f278e[_0x15b9dc(0x2fe,0x2ad)](_0x5b61a6,_0xe257ee,_0x3a6823);},'EuKTN':_0x97f182(0x41c,_0x46b8fe._0x539844)+_0x123d57(_0x46b8fe._0x33e48d,_0x46b8fe._0x18c1b4)};test(_0x4f278e[_0x123d57(_0x46b8fe._0x12493d,_0x46b8fe._0x246dbf)],()=>{const _0x114ae1={_0x1e9d97:0x153},_0x241ae9=createAgentMachine(),_0x17cd3a=_0x27b1c6[_0x14c1e9(0x206,_0x5be6bd._0x5aefa0)](createActor,_0x241ae9,{'input':{'agentId':_0x27b1c6['ugYtq']}});_0x17cd3a[_0x14c1e9(_0x5be6bd._0x599248,_0x5be6bd._0x92833b)]();const _0x2c5dd4={};_0x2c5dd4[_0x14c1e9(_0x5be6bd._0x3c365a,0x1f7)]=_0x27b1c6[_0x374b13(_0x5be6bd._0x14bf67,_0x5be6bd._0x4b9651)],_0x17cd3a[_0x374b13(_0x5be6bd._0x14226d,_0x5be6bd._0x295577)](_0x2c5dd4),_0x27b1c6[_0x374b13(_0x5be6bd._0x3ca7f3,_0x5be6bd._0x114cb3)](expect,_0x17cd3a[_0x14c1e9(0x277,_0x5be6bd._0xb27198)+'t']()[_0x374b13(_0x5be6bd._0x308e0b,_0x5be6bd._0x2e24a8)])['toBe'](_0x374b13(0x337,0x2d4)+_0x14c1e9(0x208,0x259));function _0x374b13(_0x2e0216,_0x2b8cef){return _0x123d57(_0x2b8cef- -_0x178432._0x12c5ed,_0x2e0216);}const _0x9ea8c3={};_0x9ea8c3[_0x374b13(_0x5be6bd._0x416d34,_0x5be6bd._0xd41489)]=_0x27b1c6[_0x14c1e9(_0x5be6bd._0x3a13d0,0x260)],_0x17cd3a['send'](_0x9ea8c3),_0x27b1c6[_0x374b13(_0x5be6bd._0x4899fd,_0x5be6bd._0x114cb3)](expect,_0x17cd3a[_0x374b13(_0x5be6bd._0x4617dd,_0x5be6bd._0x2d29d1)+'t']()[_0x374b13(_0x5be6bd._0x31c69a,_0x5be6bd._0x5af338)])[_0x14c1e9(_0x5be6bd._0x3d7b23,0x1f6)](_0x27b1c6[_0x374b13(_0x5be6bd._0x558628,_0x5be6bd._0x14bf67)]);function _0x14c1e9(_0x360579,_0x3286aa){return _0x123d57(_0x3286aa- -_0x114ae1._0x1e9d97,_0x360579);}_0x17cd3a[_0x374b13(_0x5be6bd._0x4f618c,_0x5be6bd._0x4792bc)]();}),test(_0x4f278e[_0x123d57(_0x46b8fe._0x44f2d0,_0x46b8fe._0x8a0a9c)],()=>{const _0x1a3963={_0x5b3604:0x1e9,_0x4b6279:0x257,_0xbe425d:0x20e,_0x441c79:0x29f,_0x4a8b83:0x192,_0x2d3190:0x1b8,_0x1783c7:0x219,_0x5b3f3c:0x1d5,_0x3f8524:0x1be,_0x3d9878:0x278,_0x10c026:0x253,_0x1c9837:0x249,_0x496d89:0x1f1,_0x2aafd9:0x1c8,_0x1a170c:0x27f,_0x5ca99f:0x11d},_0x142810={_0x453705:0xf2},_0x247bb8={'hnNBy':function(_0x110192,_0x4f395b){function _0x134320(_0x2bbf9b,_0x448c33){return _0x55d9(_0x448c33- -0x22d,_0x2bbf9b);}return _0x27b1c6[_0x134320(-_0x113cdd._0x54a0fe,-0xd9)](_0x110192,_0x4f395b);},'lAQBz':_0x27b1c6[_0x37db29(-_0x4e0603._0x2ad538,-0xf3)],'UgeMX':function(_0x173f06,_0xedcac,_0x5c7209){const _0x305f99={_0x3fa201:0x26a};function _0x9c69d8(_0x121bc0,_0x5d2a1c){return _0x37db29(_0x121bc0-_0x305f99._0x3fa201,_0x5d2a1c);}return _0x27b1c6[_0x9c69d8(0xf5,_0x142810._0x453705)](_0x173f06,_0xedcac,_0x5c7209);},'oDnKF':_0x27b1c6[_0x304a96(0x29a,_0x4e0603._0x1a374d)],'sBYiG':_0x27b1c6[_0x304a96(_0x4e0603._0x22773b,_0x4e0603._0x26cb5c)],'DZumq':_0x27b1c6['weeMS'],'PQSKJ':_0x37db29(-0x193,-_0x4e0603._0x4539c8),'mGZww':'gamma','Uqbpu':'done'};function _0x37db29(_0x35858d,_0x15aa06){return _0x123d57(_0x35858d- -_0x5262f4._0x3abe75,_0x15aa06);}function _0x304a96(_0x325a44,_0xdc26c1){return _0x97f182(_0x325a44,_0xdc26c1- -0x201);}if(_0x27b1c6[_0x304a96(0x2c6,0x25d)]!==_0x37db29(-_0x4e0603._0x2a7eff,-0x16f)){const _0x24dd93=_0x27b1c6[_0x304a96(_0x4e0603._0x4efe21,0x271)](createActor,agentMachine,{'input':{'agentId':_0x27b1c6['EuKTN']}});_0x24dd93[_0x37db29(-_0x4e0603._0x19a3c2,-0x195)]();const _0x16619c={};_0x16619c[_0x304a96(_0x4e0603._0x497800,_0x4e0603._0x4b1468)]='START',_0x24dd93[_0x304a96(0x1bd,_0x4e0603._0x23ed89)](_0x16619c),_0x27b1c6[_0x37db29(-0x12f,-_0x4e0603._0x25a9a2)](expect,_0x24dd93[_0x304a96(_0x4e0603._0xfe4f3a,_0x4e0603._0x23d805)+'t']()[_0x304a96(0x2c4,0x275)])[_0x37db29(-0x166,-_0x4e0603._0x5dde00)](_0x304a96(_0x4e0603._0x1b9e30,0x2a9)+'lysis'),_0x24dd93['stop']();}else{const _0x1ffe1d={_0x98cfc0:0x3bf,_0x330632:0x3e1,_0x5c7d02:0x3a4,_0x3c4899:0x34e,_0x4c005f:0x363,_0x6847d3:0x63,_0x2dcccb:0x375,_0x4a63d4:0xfd,_0x34502d:0xee,_0x502c99:0x11,_0x1940a0:0x71,_0x4d74cc:0x89,_0x12997f:0x2cc,_0x570bb1:0x32a,_0x2a1780:0x341,_0x2bc7e3:0x3bb,_0x2602e6:0x82,_0x50d89b:0x352,_0x23f7c7:0x3c6,_0xd677d:0x36b,_0x4e179e:0xb7,_0x249a03:0x85,_0x2bcf8d:0xc1,_0x5e3641:0x35f,_0x2b4bd3:0x92,_0x82c257:0x71,_0x565b5d:0x334,_0x27dcf7:0xa4,_0x132f87:0x36b,_0x4e8431:0xaf},_0x5689ae={_0x4a6d59:0x4aa},_0x1e7383={_0x2ee5dd:0x1e4},_0x48fe2a={_0x38780d:0x3ca},_0x15b936={'VTvMM':_0x247bb8['PQSKJ'],'DBPGO':function(_0xe6f929,_0xe9f88e,_0x1e50b0){return _0x247bb8['UgeMX'](_0xe6f929,_0xe9f88e,_0x1e50b0);},'gNqVA':'agent_cust'+_0x304a96(0x2c1,0x2a8),'renNX':function(_0x1028b5,_0x4387df){function _0x3cbf7(_0x4861cd,_0x498714){return _0x304a96(_0x4861cd,_0x498714- -_0x48fe2a._0x38780d);}return _0x247bb8[_0x3cbf7(-0x182,-_0x1e7383._0x2ee5dd)](_0x1028b5,_0x4387df);},'YZiuh':_0x247bb8[_0x37db29(-_0x4e0603._0x12f0f1,-_0x4e0603._0x5088d8)],'ECUnJ':_0x37db29(-_0x4e0603._0x5de2dd,-_0x4e0603._0x39d4b6),'XGVsY':_0x247bb8[_0x37db29(-_0x4e0603._0x4c0dd7,-0x163)]};_0x6423b0('任意阶段序列:alp'+_0x304a96(_0x4e0603._0x4adcd1,0x251)+'→\x20gamma\x20正确'+'流转',()=>{const _0x36fafc=[_0x4b91ad(_0x1ffe1d._0x98cfc0,0x353),_0x15b936['VTvMM'],'gamma'],_0x5a7da2=_0x2a04d1(_0x36fafc),_0x5cc3df=_0x15b936[_0x4b91ad(_0x1ffe1d._0x330632,_0x1ffe1d._0x5c7d02)](_0x5bf07c,_0x5a7da2,{'input':{'agentId':_0x15b936[_0x4b91ad(_0x1ffe1d._0x3c4899,_0x1ffe1d._0x4c005f)]}});_0x5cc3df[_0x228588(-0x1a,-_0x1ffe1d._0x6847d3)]();function _0x4b91ad(_0x20357d,_0x59d8b5){return _0x37db29(_0x59d8b5-_0x5689ae._0x4a6d59,_0x20357d);}const _0x3f73a2={};_0x3f73a2['type']=_0x4b91ad(0x3dc,_0x1ffe1d._0x2dcccb),_0x5cc3df[_0x228588(-_0x1ffe1d._0x4a63d4,-_0x1ffe1d._0x34502d)](_0x3f73a2),_0x178775(_0x5cc3df[_0x228588(-_0x1ffe1d._0x502c99,-_0x1ffe1d._0x1940a0)+'t']()[_0x4b91ad(0x3b8,0x36e)])[_0x228588(-0xa9,-0x98)](_0x228588(-0x79,-_0x1ffe1d._0x4d74cc));const _0x24ac78={};_0x24ac78['type']=_0x228588(0x1f,-0x4c)+_0x4b91ad(_0x1ffe1d._0x12997f,_0x1ffe1d._0x570bb1);function _0x228588(_0x1afa12,_0x2983c6){return _0x37db29(_0x2983c6-0xce,_0x1afa12);}_0x5cc3df['send'](_0x24ac78),_0x15b936[_0x4b91ad(_0x1ffe1d._0x2a1780,0x376)](_0x4184bf,_0x5cc3df[_0x4b91ad(_0x1ffe1d._0x2bc7e3,0x36b)+'t']()[_0x228588(-_0x1ffe1d._0x2602e6,-0x6e)])[_0x4b91ad(_0x1ffe1d._0x50d89b,0x344)]('beta');const _0x29c169={};_0x29c169['type']=_0x228588(-0xa1,-0x4c)+'LETE',_0x5cc3df['send'](_0x29c169),_0x4caef2(_0x5cc3df[_0x4b91ad(_0x1ffe1d._0x23f7c7,_0x1ffe1d._0xd677d)+'t']()[_0x228588(-_0x1ffe1d._0x4e179e,-0x6e)])['toBe'](_0x15b936[_0x228588(-_0x1ffe1d._0x249a03,-_0x1ffe1d._0x2bcf8d)]);const _0x273beb={};_0x273beb[_0x228588(-0x78,-0x97)]='PHASE_COMP'+_0x4b91ad(_0x1ffe1d._0x5e3641,_0x1ffe1d._0x570bb1),_0x5cc3df[_0x228588(-0xc4,-0xee)](_0x273beb),_0x2846b1(_0x5cc3df[_0x228588(-_0x1ffe1d._0x2b4bd3,-_0x1ffe1d._0x82c257)+'t']()[_0x4b91ad(_0x1ffe1d._0x565b5d,0x36e)])['toBe'](_0x15b936[_0x228588(-0xb2,-_0x1ffe1d._0x27dcf7)]),_0x639c32(_0x5cc3df[_0x4b91ad(0x397,_0x1ffe1d._0x132f87)+'t']()[_0x228588(-0x26,-0x53)])['toBe'](_0x15b936[_0x228588(-0x58,-_0x1ffe1d._0x4e8431)]),_0x5cc3df[_0x228588(-0x121,-0xfb)]();}),_0x247bb8[_0x304a96(_0x4e0603._0x13d070,_0x4e0603._0x2643a7)](_0xfbfdef,'单阶段序列也能正常工'+'作',()=>{const _0x420881=_0x247bb8[_0x23630a(-_0x1a3963._0x5b3604,-_0x1a3963._0x4b6279)](_0x4409b0,[_0x247bb8['lAQBz']]),_0x43bad0={};_0x43bad0[_0x491008(0x249,0x285)]=_0x23630a(-_0x1a3963._0xbe425d,-0x237)+_0x491008(0x253,_0x1a3963._0x441c79);function _0x491008(_0x7252d3,_0x1f5bc5){return _0x37db29(_0x7252d3-0x34a,_0x1f5bc5);}const _0x5ce6d7={};_0x5ce6d7[_0x23630a(-_0x1a3963._0x4a8b83,-_0x1a3963._0x2d3190)]=_0x43bad0;const _0x83cd3a=_0x247bb8['UgeMX'](_0x46743e,_0x420881,_0x5ce6d7);_0x83cd3a[_0x491008(_0x1a3963._0x1783c7,_0x1a3963._0x5b3f3c)]();const _0x42dbd7={};_0x42dbd7['type']=_0x247bb8[_0x491008(0x1f0,0x23f)],_0x83cd3a['send'](_0x42dbd7),_0xa38a0a(_0x83cd3a[_0x491008(0x20b,0x1d7)+'t']()['value'])[_0x491008(0x1e4,_0x1a3963._0x3f8524)](_0x247bb8[_0x23630a(-_0x1a3963._0x3d9878,-_0x1a3963._0x10c026)]);const _0x4ce819={};_0x4ce819[_0x23630a(-_0x1a3963._0x1c9837,-_0x1a3963._0x496d89)]=_0x247bb8['sBYiG'],_0x83cd3a[_0x491008(0x18e,0x18c)](_0x4ce819);function _0x23630a(_0x21890d,_0x2a91a6){return _0x37db29(_0x2a91a6- -0x8c,_0x21890d);}_0x3c272c(_0x83cd3a[_0x23630a(-0x1c6,-0x1cb)+'t']()[_0x23630a(-0x1ad,-_0x1a3963._0x2aafd9)])['toBe'](_0x247bb8[_0x491008(0x245,_0x1a3963._0x1a170c)]),_0x83cd3a[_0x491008(0x181,_0x1a3963._0x5ca99f)]();});}});});});
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
interface ChildAgentRecord {
|
|
2
|
+
phase: string;
|
|
3
|
+
status: 'running' | 'completed';
|
|
4
|
+
task: string;
|
|
5
|
+
}
|
|
6
|
+
interface SupervisorContext {
|
|
7
|
+
agentId: string;
|
|
8
|
+
childAgents: Record<string, ChildAgentRecord>;
|
|
9
|
+
pendingTasks: string[];
|
|
10
|
+
currentPhase: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const supervisorMachine: import("xstate").StateMachine<SupervisorContext, {
|
|
13
|
+
type: "START_PHASE";
|
|
14
|
+
phase: string;
|
|
15
|
+
} | {
|
|
16
|
+
type: "DISPATCH_TASK";
|
|
17
|
+
childId: string;
|
|
18
|
+
task: string;
|
|
19
|
+
} | {
|
|
20
|
+
type: "CHILD_COMPLETE";
|
|
21
|
+
childId: string;
|
|
22
|
+
result: Record<string, unknown>;
|
|
23
|
+
} | {
|
|
24
|
+
type: "ALL_CHILDREN_DONE";
|
|
25
|
+
} | {
|
|
26
|
+
type: "PHASE_COMPLETE";
|
|
27
|
+
}, {
|
|
28
|
+
[x: string]: import("xstate").ActorRefFromLogic<import("xstate").StateMachine<import("../types/index.js").AgentContext, {
|
|
29
|
+
type: "START";
|
|
30
|
+
} | {
|
|
31
|
+
type: "PHASE_COMPLETE";
|
|
32
|
+
result?: Record<string, unknown>;
|
|
33
|
+
} | {
|
|
34
|
+
type: "UPDATE_OPERATION";
|
|
35
|
+
operation: string;
|
|
36
|
+
skill: string;
|
|
37
|
+
} | {
|
|
38
|
+
type: "SPAWN_CHILD";
|
|
39
|
+
childId: string;
|
|
40
|
+
} | {
|
|
41
|
+
type: "CHILD_COMPLETE";
|
|
42
|
+
childId: string;
|
|
43
|
+
result: Record<string, unknown>;
|
|
44
|
+
}, {}, never, {
|
|
45
|
+
type: "clearOperation";
|
|
46
|
+
params: import("xstate").NonReducibleUnknown;
|
|
47
|
+
} | {
|
|
48
|
+
type: "setOperation";
|
|
49
|
+
params: import("xstate").NonReducibleUnknown;
|
|
50
|
+
}, never, never, string, string, import("../types/index.js").AgentInput, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, {
|
|
51
|
+
id: "agent";
|
|
52
|
+
states: {
|
|
53
|
+
[x: string]: object;
|
|
54
|
+
};
|
|
55
|
+
}>> | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
src: "agentMachine";
|
|
58
|
+
logic: import("xstate").StateMachine<import("../types/index.js").AgentContext, {
|
|
59
|
+
type: "START";
|
|
60
|
+
} | {
|
|
61
|
+
type: "PHASE_COMPLETE";
|
|
62
|
+
result?: Record<string, unknown>;
|
|
63
|
+
} | {
|
|
64
|
+
type: "UPDATE_OPERATION";
|
|
65
|
+
operation: string;
|
|
66
|
+
skill: string;
|
|
67
|
+
} | {
|
|
68
|
+
type: "SPAWN_CHILD";
|
|
69
|
+
childId: string;
|
|
70
|
+
} | {
|
|
71
|
+
type: "CHILD_COMPLETE";
|
|
72
|
+
childId: string;
|
|
73
|
+
result: Record<string, unknown>;
|
|
74
|
+
}, {}, never, {
|
|
75
|
+
type: "clearOperation";
|
|
76
|
+
params: import("xstate").NonReducibleUnknown;
|
|
77
|
+
} | {
|
|
78
|
+
type: "setOperation";
|
|
79
|
+
params: import("xstate").NonReducibleUnknown;
|
|
80
|
+
}, never, never, string, string, import("../types/index.js").AgentInput, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, {
|
|
81
|
+
id: "agent";
|
|
82
|
+
states: {
|
|
83
|
+
[x: string]: object;
|
|
84
|
+
};
|
|
85
|
+
}>;
|
|
86
|
+
id: string | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
type: "spawnAgent";
|
|
89
|
+
params: import("xstate").NonReducibleUnknown;
|
|
90
|
+
} | {
|
|
91
|
+
type: "completeChild";
|
|
92
|
+
params: import("xstate").NonReducibleUnknown;
|
|
93
|
+
}, never, never, "idle" | "coordinating" | "evaluating", string, {
|
|
94
|
+
agentId: string;
|
|
95
|
+
}, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, {
|
|
96
|
+
id: "supervisor";
|
|
97
|
+
states: {
|
|
98
|
+
readonly idle: {};
|
|
99
|
+
readonly coordinating: {};
|
|
100
|
+
readonly evaluating: {};
|
|
101
|
+
};
|
|
102
|
+
}>;
|
|
103
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x5898f7,_0x4ec9c4){const _0x441a41={_0x3fc66f:0xb6,_0x223703:0xc6,_0xf58ac8:0xcf,_0x5a1b16:0xbd,_0x5ebae7:0xad,_0x49749f:0xc3,_0x1d0bba:0x38d,_0x52eb6d:0x396,_0x295e6e:0x371,_0xaf7455:0x394,_0x4a4459:0x37d};function _0x54f982(_0x4a0382,_0x425105){return _0x119b(_0x4a0382- -0x283,_0x425105);}const _0x21a5b9=_0x5898f7();function _0x2d1f9f(_0x596be4,_0x3f21b2){return _0x119b(_0x3f21b2-0x1c4,_0x596be4);}while(!![]){try{const _0xd0913e=-parseInt(_0x54f982(-_0x441a41._0x3fc66f,-0xbc))/(-0x6b*-0x3b+0x181+-0x1a29)*(parseInt(_0x54f982(-0xb0,-0xc1))/(-0x570+-0x11e*0x10+0x1752))+-parseInt(_0x54f982(-_0x441a41._0x223703,-_0x441a41._0xf58ac8))/(0x3*0x841+0x4*-0xd3+-0x1574*0x1)*(-parseInt(_0x54f982(-_0x441a41._0x5a1b16,-_0x441a41._0x5ebae7))/(0x2c3*0x3+0x343*0x1+-0xb88))+parseInt(_0x54f982(-_0x441a41._0x49749f,-0xc4))/(0xdcc+-0x397+0xa30*-0x1)+-parseInt(_0x2d1f9f(0x3a2,0x38d))/(0x3*-0x589+-0x8ac+-0x1*-0x194d)+-parseInt(_0x2d1f9f(_0x441a41._0x1d0bba,_0x441a41._0x52eb6d))/(-0xb46+0x10c1+-0x574)*(parseInt(_0x2d1f9f(_0x441a41._0x295e6e,0x387))/(0x23e8+0x21ad+-0x458d))+-parseInt(_0x2d1f9f(0x37c,_0x441a41._0xaf7455))/(-0x5fe*-0x2+0x1*0x74f+-0x1342)*(parseInt(_0x2d1f9f(_0x441a41._0x4a4459,0x37e))/(0x65d+-0x177d*-0x1+0xee8*-0x2))+parseInt(_0x54f982(-0xaf,-0x97))/(0x4c9+-0xdff*-0x1+-0x215*0x9);if(_0xd0913e===_0x4ec9c4)break;else _0x21a5b9['push'](_0x21a5b9['shift']());}catch(_0x377dbc){_0x21a5b9['push'](_0x21a5b9['shift']());}}}(_0x4908,-0x283f0+-0x5428*0x5+0x19*0x94a2));import{setup,assign,spawnChild,stopChild,enqueueActions}from'xstate';import{agentMachine}from'./agentMachine.js';const _0x46a655={};_0x46a655[_0x324f49(0x6,0x15)]={},_0x46a655[_0x1d6edb(-0xd6,-0xe3)]={},_0x46a655['input']={};const _0x477388={};_0x477388[_0x324f49(0x17,0x8)+'ne']=agentMachine;const _0x1c7753={};_0x1c7753[_0x1d6edb(-0xb9,-0xce)]=_0x324f49(0x23,0xe);const _0x1e679a={};_0x1e679a[_0x324f49(0x27,0x2d)]=_0x324f49(0x9,0xc)+_0x1d6edb(-0xd5,-0xe9);const _0x49232b={};_0x49232b[_0x1d6edb(-0xcc,-0xbe)]=_0x324f49(0x11,0x15);const _0x4755ed={};_0x4755ed[_0x324f49(0xd,0x15)+_0x1d6edb(-0xe7,-0xcf)]=_0x1c7753,_0x4755ed[_0x324f49(-0x4,-0x9)+_0x324f49(0x10,-0x4)]=_0x1e679a,_0x4755ed[_0x324f49(0x16,0x26)+_0x324f49(0x19,0x2f)]=_0x49232b;const _0x16ac37={};_0x16ac37['on']=_0x4755ed;const _0x359a31={};function _0x324f49(_0x249153,_0x532d51){const _0x167e1c={_0x129087:0x1ae};return _0x119b(_0x249153- -_0x167e1c._0x129087,_0x532d51);}function _0x4908(){const _0x4101ee=['C0LpB2W','mtG2odmWn0vArKzIwa','tevurq','zxzHBhvHDgLUzW','ndi4odK4nuX0sLPKsW','DhLWzq','DgfYz2v0','mZa3mtuXmKn1y3fbCW','quXmx0nisuXeuG','ywDLBNrnywnOAq','neXpC1v3uG','ru5Fre9orq','CgfYzw50swq','nZiXntu0rMjAvvjz','CgHHC2u','ueHbu0vFq09nua','y3vYCMvUDfbOyq','ntiZntK1zfr1vvvU','zLHMufy','y2HPBgrbz2vUDa','ody5nJDIExrzz1i','C3bHD25bz2vUDa','mtrZs2Xis2O','mKTAtxzUzW','mta3ndC0nJjNB0DVwNi','ywn0Aw9UCW','qvnl','C3vWzxj2AxnVCG','C3LZDgvTswq','q0HjterFq09nua','AwrSzq','Aw5WDxq','tNvlzxy','CNvUBMLUzW','y29VCMrPBMf0Aq','y29TCgXLDgvK','Ae5IC2q','y3jLyxrLtwfJAa','B2nnqwO','y29UDgv4Da','Aw5L','sgDTDwG','y29TCgXLDgvdAa','zxzLBNrZ','AwXK','mZGWrejLvw9t','reLtuefuq0HFva'];_0x4908=function(){return _0x4101ee;};return _0x4908();}_0x359a31[_0x1d6edb(-0xcc,-0xc1)]=_0x324f49(-0x3,-0x4);const _0x10adde={};_0x10adde[_0x324f49(0x1d,0x21)+_0x1d6edb(-0xd0,-0xcc)]=_0x359a31;function _0x1d6edb(_0x3263ac,_0x2296b9){return _0x119b(_0x3263ac- -0x28e,_0x2296b9);}function _0x119b(_0x4bbb8c,_0xdec5ab){_0x4bbb8c=_0x4bbb8c-(-0xd8*0x2c+-0x835+0x3e*0xc2);const _0x48bb76=_0x4908();let _0x2f927b=_0x48bb76[_0x4bbb8c];if(_0x119b['ctFTXv']===undefined){var _0x22247c=function(_0x1bd594){const _0x41a8cc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x46a655='',_0x477388='';for(let _0x4eb1c6=0x504+0x5ee*0x6+0x1b1*-0x18,_0xf29b28,_0x387823,_0x1c7753=-0x13e6+-0x17*0x62+0x2*0xe5a;_0x387823=_0x1bd594['charAt'](_0x1c7753++);~_0x387823&&(_0xf29b28=_0x4eb1c6%(-0x1*0x1696+-0x665*-0x3+-0xaf*-0x5)?_0xf29b28*(-0x1*0x1f+-0x1f68+0x1fc7)+_0x387823:_0x387823,_0x4eb1c6++%(0xda1+0x2534+0x1*-0x32d1))?_0x46a655+=String['fromCharCode'](-0x31f+-0x21fb+0x2619&_0xf29b28>>(-(0xca9+0x1618+0x3*-0xb95)*_0x4eb1c6&-0x142*0x14+0x24d3+-0xba5)):-0x1c21+-0x3*0x6f5+-0x380*-0xe){_0x387823=_0x41a8cc['indexOf'](_0x387823);}for(let _0x1e679a=-0x6c1+-0x18b*-0x4+-0x95*-0x1,_0x49232b=_0x46a655['length'];_0x1e679a<_0x49232b;_0x1e679a++){_0x477388+='%'+('00'+_0x46a655['charCodeAt'](_0x1e679a)['toString'](0x1e*0xcd+0x20f4+0xb62*-0x5))['slice'](-(-0x2096+-0x15*-0x1c+0x1e4c));}return decodeURIComponent(_0x477388);};_0x119b['ZmNYBu']=_0x22247c,_0x119b['rjPoGv']={},_0x119b['ctFTXv']=!![];}const _0x5e2688=_0x48bb76[0x12e3+0x1a*0x9+-0x13cd],_0x42dfd1=_0x4bbb8c+_0x5e2688,_0x2ce398=_0x119b['rjPoGv'][_0x42dfd1];return!_0x2ce398?(_0x2f927b=_0x119b['ZmNYBu'](_0x2f927b),_0x119b['rjPoGv'][_0x42dfd1]=_0x2f927b):_0x2f927b=_0x2ce398,_0x2f927b;}const _0x2e5fa2={};_0x2e5fa2['on']=_0x10adde;export const supervisorMachine=setup({'types':_0x46a655,'actors':_0x477388,'actions':{'spawnAgent':enqueueActions(({enqueue:_0x4e785f,event:_0x3c09b7})=>{const _0x3cf683={_0x5620db:0x20e,_0x4037c0:0x8,_0x3f33c0:0x12,_0x45f3da:0x207,_0x529288:0x1f2,_0x31c77f:0x3,_0x3531ab:0x13,_0xa0386:0x19,_0x443ddf:0x20f,_0x11f46f:0x1ff,_0x47edfb:0x1f,_0x1dc9c7:0xe},_0x1ddd38={'sIOol':function(_0x2e45a7,_0x592805){return _0x2e45a7!==_0x592805;},'Hgmuh':function(_0x5f312c,_0x214980,_0x123050){return _0x5f312c(_0x214980,_0x123050);},'NuKev':_0x24b3cb(0x208,_0x3cf683._0x5620db)+'ne','fXfPV':function(_0x20eac4,_0xb13d50){return _0x20eac4(_0xb13d50);}};if(_0x1ddd38[_0x4d05b0(0xd,-_0x3cf683._0x4037c0)](_0x3c09b7[_0x4d05b0(_0x3cf683._0x3f33c0,0x16)],'DISPATCH_T'+_0x24b3cb(0x1ef,0x1f0)))return;const {childId:_0x435d2d,task:_0x414bba}=_0x3c09b7,_0x5149b6={};_0x5149b6['id']=_0x435d2d,_0x5149b6[_0x24b3cb(_0x3cf683._0x45f3da,_0x3cf683._0x529288)]=_0x435d2d,_0x5149b6[_0x4d05b0(-_0x3cf683._0x31c77f,_0x3cf683._0x3531ab)]={},_0x5149b6[_0x4d05b0(-_0x3cf683._0x31c77f,_0x3cf683._0x3531ab)]['agentId']=_0x435d2d,_0x5149b6[_0x4d05b0(-_0x3cf683._0x31c77f,_0x3cf683._0x3531ab)][_0x4d05b0(_0x3cf683._0xa0386,0x2)]=undefined;function _0x24b3cb(_0x594192,_0x58b682){return _0x324f49(_0x58b682-0x1f7,_0x594192);}_0x4e785f(_0x1ddd38[_0x24b3cb(_0x3cf683._0x443ddf,_0x3cf683._0x11f46f)](spawnChild,_0x1ddd38[_0x4d05b0(-0x2,_0x3cf683._0x4037c0)],_0x5149b6));const _0x391b3b={};function _0x4d05b0(_0x52d384,_0x517e04){return _0x324f49(_0x52d384- -0x1,_0x517e04);}_0x391b3b[_0x4d05b0(0x20,0x36)+'s']=({context:_0x477626})=>({..._0x477626[_0x4d05b0(0x20,0x21)+'s'],[_0x435d2d]:{'phase':_0x477626[_0x4d05b0(0x1d,0x2c)+'se'],'status':_0x24b3cb(0x1df,0x1f7),'task':_0x414bba}}),_0x4e785f(_0x1ddd38[_0x4d05b0(_0x3cf683._0x47edfb,_0x3cf683._0x1dc9c7)](assign,_0x391b3b));}),'completeChild':enqueueActions(({enqueue:_0xc21e00,event:_0x2f70a7})=>{const _0x387ebe={_0x29fb4c:0x386,_0x3dfc95:0x1d6,_0x2a1c30:0x381,_0x5de502:0x376,_0x49fe22:0x376},_0x283587={'ocMAj':function(_0xba730c,_0xd4133a){return _0xba730c!==_0xd4133a;},'hNbsd':function(_0x45b6d2,_0x5af6b5){return _0x45b6d2(_0x5af6b5);}};if(_0x283587[_0x1e1eb5(-0x1dc,-0x1cd)](_0x2f70a7[_0x4b56b1(0x374,_0x387ebe._0x29fb4c)],_0x1e1eb5(-0x1e1,-_0x387ebe._0x3dfc95)+'LETE'))return;const {childId:_0x3a4209}=_0x2f70a7;function _0x1e1eb5(_0x38143e,_0x2b4d36){return _0x1d6edb(_0x2b4d36- -0xf2,_0x38143e);}_0xc21e00(_0x283587[_0x4b56b1(_0x387ebe._0x2a1c30,_0x387ebe._0x5de502)](stopChild,_0x3a4209));function _0x4b56b1(_0x21e107,_0x3472c6){return _0x324f49(_0x3472c6-0x373,_0x21e107);}const _0x53a928={};_0x53a928['childAgent'+'s']=({context:_0x5b8781})=>({..._0x5b8781[_0x4b56b1(0x392,0x394)+'s'],[_0x3a4209]:{..._0x5b8781[_0x1e1eb5(-0x19c,-0x1b1)+'s'][_0x3a4209],'status':_0x1e1eb5(-0x1e5,-0x1d0)}}),_0xc21e00(_0x283587[_0x4b56b1(0x38b,_0x387ebe._0x49fe22)](assign,_0x53a928));})}})[_0x1d6edb(-0xdc,-0xcf)+_0x1d6edb(-0xd9,-0xce)]({'id':_0x1d6edb(-0xe6,-0xd7),'initial':'idle','context':({input:_0x295143})=>({'agentId':_0x295143['agentId'],'childAgents':{},'pendingTasks':[],'currentPhase':''}),'states':{'idle':{'on':{'START_PHASE':{'target':_0x324f49(0x1,0x5)+'ng','actions':assign({'currentPhase':({event:_0x380271})=>_0x380271[_0x324f49(0x1c,0x2d)]})}}},'coordinating':_0x16ac37,'evaluating':_0x2e5fa2}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x386317(_0x16482c,_0x23e012){const _0xa5877c={_0x1279d7:0x101};return _0x4191(_0x16482c-_0xa5877c._0x1279d7,_0x23e012);}function _0x4191(_0x20a62a,_0x34b49d){_0x20a62a=_0x20a62a-(0x5*0x7ca+0x1104+-0x3a9*0xf);const _0x47877d=_0x4484();let _0x4b470b=_0x47877d[_0x20a62a];if(_0x4191['QIdktS']===undefined){var _0x2c278b=function(_0x5b1936){const _0x19d017='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a6002='',_0x72a364='';for(let _0x51a12e=0x9*0x26e+-0x1f74+0x2*0x4cb,_0x4d8a92,_0x39c435,_0x45b354=0x1*-0x2462+0x14ff+-0x65*-0x27;_0x39c435=_0x5b1936['charAt'](_0x45b354++);~_0x39c435&&(_0x4d8a92=_0x51a12e%(0x205f*0x1+0xae*0x33+0x993*-0x7)?_0x4d8a92*(-0x92*-0x22+0x1328+-0x993*0x4)+_0x39c435:_0x39c435,_0x51a12e++%(0xd81*-0x1+-0x2a5*-0xd+0xc*-0x1bd))?_0x1a6002+=String['fromCharCode'](0x269a+0x157f+-0x59*0xaa&_0x4d8a92>>(-(0x351*0x6+0x15fe+-0x29e2)*_0x51a12e&-0x5c5+-0x721+0x33b*0x4)):-0xa*-0x5+-0xdb*0x14+-0xa*-0x1b1){_0x39c435=_0x19d017['indexOf'](_0x39c435);}for(let _0x398454=-0x390+-0x114a+0x14da,_0x12bcc2=_0x1a6002['length'];_0x398454<_0x12bcc2;_0x398454++){_0x72a364+='%'+('00'+_0x1a6002['charCodeAt'](_0x398454)['toString'](0x6b8*0x4+0x2da*-0x9+-0x15*0xe))['slice'](-(0x1*0x128+-0x6d*-0x1d+-0xd7f));}return decodeURIComponent(_0x72a364);};_0x4191['iLiEYR']=_0x2c278b,_0x4191['QUNCkI']={},_0x4191['QIdktS']=!![];}const _0x218d88=_0x47877d[-0x13*-0x191+-0x15a7+0x15a*-0x6],_0x1eaffe=_0x20a62a+_0x218d88,_0x181737=_0x4191['QUNCkI'][_0x1eaffe];return!_0x181737?(_0x4b470b=_0x4191['iLiEYR'](_0x4b470b),_0x4191['QUNCkI'][_0x1eaffe]=_0x4b470b):_0x4b470b=_0x181737,_0x4b470b;}(function(_0x5701ea,_0x41ef1a){const _0x5885cc={_0x5e6a8c:0x201,_0x1c8a29:0x1e3,_0x209f9c:0x17e,_0x4dc28d:0x197,_0x4bbdcf:0x1eb,_0x16c791:0x1c5,_0x34921b:0x196,_0x535156:0x184,_0x1b6833:0x1e1,_0x282157:0x1c9,_0x2ce36a:0x172,_0x425d11:0x16e,_0x4f9a01:0x1fd,_0x203cb1:0x18c,_0x40192e:0x1bd},_0x41ed8d={_0x4b7485:0x2fa},_0x52bd4c=_0x5701ea();function _0x18ea2a(_0xd760d9,_0x48bb08){return _0x4191(_0x48bb08-0x4f,_0xd760d9);}function _0x41727a(_0x104bde,_0x55cd79){return _0x4191(_0x55cd79- -_0x41ed8d._0x4b7485,_0x104bde);}while(!![]){try{const _0x1f6102=-parseInt(_0x41727a(-_0x5885cc._0x5e6a8c,-_0x5885cc._0x1c8a29))/(-0xcdf*0x1+0x228c+-0x15ac)*(parseInt(_0x18ea2a(_0x5885cc._0x209f9c,_0x5885cc._0x4dc28d))/(-0x1480+0xbdf+0x8a3))+-parseInt(_0x41727a(-0x204,-_0x5885cc._0x4bbdcf))/(-0x134f+-0x1*-0x1501+0x1*-0x1af)+parseInt(_0x18ea2a(_0x5885cc._0x16c791,0x1af))/(-0x5bd+-0x1925*0x1+-0x46a*-0x7)*(parseInt(_0x41727a(-_0x5885cc._0x34921b,-_0x5885cc._0x535156))/(0x13f4+-0x1*0x12dd+-0x112))+-parseInt(_0x41727a(-_0x5885cc._0x1b6833,-_0x5885cc._0x282157))/(-0x1a*-0x98+-0x88*-0x3b+-0x2ec2)*(-parseInt(_0x18ea2a(_0x5885cc._0x2ce36a,_0x5885cc._0x425d11))/(-0x687+0x3*-0x33f+0x104b))+-parseInt(_0x18ea2a(_0x5885cc._0x4f9a01,0x1c8))/(-0x1af1+-0x257a+0x4073)+-parseInt(_0x41727a(-_0x5885cc._0x203cb1,-_0x5885cc._0x40192e))/(0x171+0x450*-0x4+0xc*0x152)+parseInt(_0x41727a(-0x1aa,-0x182))/(0x1010+0x41*0x79+0xf95*-0x3);if(_0x1f6102===_0x41ef1a)break;else _0x52bd4c['push'](_0x52bd4c['shift']());}catch(_0x1d6c4d){_0x52bd4c['push'](_0x52bd4c['shift']());}}}(_0x4484,0x3a*-0x2456+0x41fe7*0x3+0x1*0x23729));function _0x4484(){const _0x2d3279=['tufZyuW','ru5Fre9orsdKVB8G','BhvHDgLUzYdLM57LIla','xZaWmW','vujSquK','y29TCgXLDgvK','C3rVCa','igLKBgu','BMCG54Q25Ocb','xZaWnW','iow5TUIUSow9LEwiScbJAgLS','nJy1yM1www1L','tevurq','nZa3nZy5mgfnre1oEG','mJe4ody0mgffCuLVwa','mtm5mZyXn1b4tKP3ra','z2v0u25HChnOBW','CNzPC29YioI/M+wfPsa','5Q2J56gU6l+96lIQ','ignVBxbSzxrLza','ueHbu0vFq09nua','qKnpswW','CeznEuG','nZK3s3rnALve','CMvZDwX0','yw5HBhL6zsbYzq','ru5Fre9orq','qLDey2u','y29UDgv4Da','BhbdEKS','5AsA5A2qiefNzw50ioEUOq','mZe3mda5weLNsuvJ','ENPRsfy','55cg77YA5zce6iEQ54US56Ul5A6m5OIq77YmuW','ruHAC0C','CLLtB2G','CgvUzgLUz1rHCW','CgHHC2u','C3rHDhvZ','q0HjterFq09nua','Dg9fCxvHBa','ioEkTUAaGEACUG','reLtuefuq0HFva','zhDzzvu','tevursdKVB8GzxzH','s1vNDhO','zefNzw50CW','DMfSDwu','BwTLrg4','nJzTtwXpru0','CLnQELO','DhLWzq','CKnouhK','C3vWzxj2AxnVCG','zgvTyw5Kx2fUyq','uvroDxG','qsbKB25L','wxjJsfe','xZaWmq','tMnozxG','BhLZAxm','nteYnty1m1rkCfjTEa','Aw5WDxq','y2HPBgrFyq','DgfZAW','ioI9RowfPsbLDMfSDwe','y29VCMrPBMf0Aq','qvnlios6I+s7TIbZCge','zKfrBxG','C2vUza','xZaWnq','EhvwB1K','mZHuwhPxCfi','ywDLBNrjza','CNvUBMLUzW','uKHtz1O','swf6yKu','y2HPBgrjza','xZaWmG','sejvB0y','u3vWzxj2AxnVCG','rgLgAKO','qvnl','AxjUruW','s0D5rgG','CxvPCMvTzw50CW','u1rbuLrFueHbuW','y2HPBgrFmdaX','sMnQsvu','B3zez20','quXmx0nisuXeuG','D24G5A2qiefNzw50','zgf0yq','qwzUALm','rsdKUOVKU7BKVB8Gu3vWzq','xZaWna','mtyWndrSu0Hss1a','Dg9czq','yK9puNO','DxbLCNzPC29Yia','CxHQBKC','C3rHCNq','DgfZAYbc','y2HPBgrFyG','xZaWnG','qIbKB25L','y2HPBgrbz2vUDa'];_0x4484=function(){return _0x2d3279;};return _0x4484();}import{describe,test,expect}from'vitest';function _0x1be367(_0x6e2a33,_0x191008){const _0x1c837d={_0x5a8fea:0x122};return _0x4191(_0x191008-_0x1c837d._0x5a8fea,_0x6e2a33);}import{createActor}from'xstate';import{supervisorMachine}from'./supervisorMachine.js';describe(_0x386317(0x251,0x230)+_0x386317(0x22a,0x22a),()=>{const _0x2e064a={_0x5e250c:0xa7,_0x266b80:0x75,_0x1623c6:0x12d,_0x5ca679:0x49,_0x1a956e:0x103,_0x290ad7:0x113,_0x2cbce7:0x61,_0x6b454:0x54,_0x28df65:0x85,_0xfe1bfc:0x65,_0x1f4c2f:0x64,_0x28b93a:0x136,_0x6cb86:0x11e,_0x476ed9:0x12f,_0x4003a4:0x174,_0x972d32:0x159,_0x3cf916:0x8a,_0x2bd6ae:0x115,_0x3715a:0xbc,_0x2b7b6a:0x135,_0xce3462:0x163,_0x55f5d3:0x13f,_0x2391c7:0x61,_0x220fa6:0x41,_0x3a8583:0x12b,_0x2f3e35:0xb4,_0x2c55df:0xa3,_0x579d86:0x6c,_0x5b0db6:0x73,_0xcf48d0:0x8b,_0x5b8b45:0x5c,_0x51b2f6:0x8d,_0x2154f6:0x89,_0x592a7e:0x57,_0x55a152:0x111,_0x5217e6:0xfc,_0x55bff9:0x18,_0x41121f:0x4e,_0x42b7c0:0x104,_0x1b144b:0x10a,_0x1b7ac2:0x7a,_0x1d7729:0x71,_0x5c76cb:0x142,_0x5e6c25:0x9f},_0x3f0bad={_0x127f74:0x478,_0xbea4ac:0x477,_0x5994f1:0x46d,_0x4dffd4:0x454,_0x2397e8:0x60,_0x52bdf6:0x6b,_0x36c8a7:0x74,_0x3b7e79:0x8d,_0x3ebf78:0x4b1,_0x2c1b11:0x48e,_0x10315d:0x46b,_0x2aebef:0x97,_0x4f22d1:0x469,_0x299d54:0x46,_0x168770:0x36,_0x1f4409:0x69},_0x3901f4={_0x2db86:0x27d,_0xf4241a:0x266,_0x31f2ae:0x23c,_0x2f19b7:0x9d,_0x4b8389:0x202,_0x14ca70:0x231,_0x34158f:0xbc,_0x47fca3:0xb0,_0x5084da:0xb5,_0x145f67:0xac,_0x176971:0xa0,_0x3ac05b:0x226,_0x3d991a:0xe1,_0x21fcf0:0x1e1,_0x345c18:0x243,_0x319dcc:0x267,_0x2af802:0x24d,_0x102346:0x275,_0x4bea6b:0x269,_0x932d0a:0xca,_0x46330b:0xd3,_0x87ca74:0x91},_0x295109={_0x32881a:0x132},_0x266a19={_0x2c573e:0x521,_0x142ed7:0x4e4,_0x126b3f:0x513,_0x1f81fc:0x4f0,_0x2a03f6:0x515,_0x2cc0d6:0x429,_0x206c68:0x3d3,_0x126306:0x518,_0xc55ded:0x424,_0x33af24:0x3df,_0x366f96:0x546,_0x50f902:0x544,_0x5b2900:0x52d,_0x40bc4f:0x52e,_0x5af04f:0x3b1,_0x39c676:0x40e,_0x37b48c:0x53f,_0x31b31d:0x519,_0x1379c1:0x512,_0x27c539:0x4ff,_0x295dac:0x3d9,_0x4151f8:0x3bd,_0xe64d4c:0x408,_0x49d502:0x435,_0x2a6c41:0x54b,_0x4ca7f3:0x527,_0x3187eb:0x519,_0x15cd4f:0x51f,_0x88ee91:0x50d,_0x3d0b03:0x3ed,_0x50670f:0x3e6,_0x134e6e:0x412,_0x58c8e3:0x541,_0x9fd0e4:0x547,_0x36d7f8:0x3fb,_0x77d523:0x3e5,_0xfbd3a9:0x3ea,_0x7a4853:0x3d1,_0x5e5f6c:0x4f6,_0x543e92:0x544,_0x300e42:0x504,_0x34530c:0x51b,_0x4af517:0x544,_0x533dbd:0x42a,_0x154f9d:0x402,_0x50b9b0:0x4eb,_0x43c846:0x500,_0x310f58:0x41f,_0x54933d:0x50a,_0x44d86e:0x3c4,_0x5c5552:0x4c2,_0x29d256:0x545,_0x55b6e7:0x4f6,_0x392824:0x544,_0x4024ea:0x500,_0x509df8:0x522,_0x589179:0x53b,_0x32b62a:0x50e,_0xd7ad0c:0x54b},_0x165e05={_0x5a166e:0x8a,_0x3118a6:0x251,_0x127af9:0x222,_0x1c7a6f:0x27a,_0x3bfbaf:0x27d,_0x205274:0x2aa,_0x401675:0xab,_0x263b60:0x270,_0x1a8af2:0x293,_0x12ec4b:0xa3,_0x2ec971:0x9a,_0x5dd450:0x91,_0x4c0d84:0x7f,_0x13f5a5:0xc2,_0x2389c4:0xa3,_0x2808af:0x28c,_0x1fb23a:0x24c,_0x430417:0x260,_0x3b3cef:0x295,_0x1e5f28:0xf4,_0x516130:0x259,_0x49b6be:0x231},_0x37e153={_0x351d27:0x3a6,_0x455752:0x4ff,_0x36f89d:0x4e5,_0x633c82:0x3cb,_0x3f8022:0x4db,_0x1cc6a6:0x4ee,_0x537a0f:0x3a9,_0x168b8d:0x4b7,_0x12e485:0x4f5,_0x558565:0x4be,_0x3757f2:0x3b7,_0x45ff1e:0x387,_0x227849:0x4f6,_0x5439a2:0x3bf,_0x16016d:0x539,_0x436818:0x505,_0x1958c5:0x504,_0xb88dee:0x394,_0x469470:0x3c7,_0x5323ac:0x4cf,_0x25dd37:0x4dd},_0x3900b2={_0x129ee4:0x3c7},_0x52a075={_0x3e6b96:0x1d1},_0x4e8ff5={_0x154148:0x2a7,_0x11a901:0x4b5,_0x410972:0x241,_0x4e2f8:0x255,_0x5b0d41:0x4b6,_0x5eb5ff:0x2a3,_0x3f1efb:0x295,_0xa514b4:0x2a4,_0x2a7c62:0x476,_0x48302c:0x487},_0x3a975={_0x1f9cc5:0x2ea},_0x852816={_0x5f57ec:0x1a5,_0x5bf34d:0x17d,_0xff4441:0x2b9,_0x3056c5:0x132,_0x2fcc8e:0x161,_0x19f5a5:0x197,_0x3dffc2:0x170,_0x50e24d:0x16b,_0x1a50a4:0x2c9,_0x8b8fd2:0x2a3,_0x59f304:0x2ce,_0x3223d6:0x2ad,_0x5c10f8:0x2c1,_0x38d309:0x289,_0x517781:0x263,_0xa1d900:0x130,_0x1d28a7:0x2a1,_0x3bf331:0x151,_0x41fdb3:0x28f,_0x5a1ff4:0x29b,_0x563e32:0x192,_0x1c6311:0x18a,_0x282be5:0x293,_0x12a977:0x12c,_0x2ca650:0x15c,_0x54e338:0x275,_0x46ab10:0x274,_0x578be0:0x194,_0xf6113c:0x273,_0x2293f9:0x258,_0x3678bc:0x14d,_0x2a6116:0x16d,_0x50ac22:0x2a7,_0x107ed8:0x2db,_0x4b6e75:0x19a,_0x25cbeb:0x29f,_0x216f7f:0x27b,_0x4ec3d0:0x298,_0x33c3b7:0x2be,_0x12832f:0x2bb,_0x4e1e8d:0x142},_0x32ad30={'bOORz':_0x34c033(0xb8,0x87),'BWDce':'CHILD_COMP'+_0x34c033(0xdc,_0x2e064a._0x5e250c),'xuVoY':function(_0x4be44c,_0x322f06){return _0x4be44c===_0x322f06;},'ovDgm':function(_0x46370a,_0x1cb7f8,_0x1309a5){return _0x46370a(_0x1cb7f8,_0x1309a5);},'irnEL':function(_0x37ac5b,_0x1b4470){return _0x37ac5b(_0x1b4470);},'pFMyH':_0x34c033(_0x2e064a._0x266b80,0x66)+_0x291f73(_0x2e064a._0x1623c6,0x125),'KGyDh':function(_0x4b270f,_0x2bff88){return _0x4b270f(_0x2bff88);},'suXfH':_0x34c033(_0x2e064a._0x5ca679,0x72)+'ng','IazbE':'START_PHAS'+'E','MAsaL':function(_0x961575,_0x5e0d15){return _0x961575(_0x5e0d15);},'KUgtz':_0x291f73(0x163,0x133),'mkeDn':_0x291f73(_0x2e064a._0x1a956e,_0x2e064a._0x290ad7)+'ASK','lpCzK':_0x34c033(_0x2e064a._0x2cbce7,0x49)+_0x34c033(_0x2e064a._0x6b454,_0x2e064a._0x28df65),'OywSr':'done','qxjnG':function(_0x3a01c0,_0x44fa61){return _0x3a01c0(_0x44fa61);},'QTNux':_0x34c033(0x5b,_0x2e064a._0xfe1bfc)+_0x34c033(0x85,0x6a),'dwYeU':'idle','RHSgZ':function(_0x49dca6,_0x1b0ac8){return _0x49dca6(_0x1b0ac8);},'NcNex':_0x34c033(0x71,_0x2e064a._0x1f4c2f),'JcjIU':_0x291f73(_0x2e064a._0x28b93a,_0x2e064a._0x6cb86)+_0x291f73(0xfb,_0x2e064a._0x476ed9),'rYSoh':_0x291f73(_0x2e064a._0x4003a4,0x14f),'AfnjS':_0x34c033(0x89,0x6f),'fAQmx':_0x291f73(0x127,_0x2e064a._0x972d32),'EHZsG':'child_b','TvOWs':_0x291f73(0x14e,0x129),'HBUoF':_0x34c033(0xa0,_0x2e064a._0x3cf916)+_0x34c033(0x72,0x4a),'DiFjJ':_0x34c033(0x3f,0x44)+_0x291f73(0x129,_0x2e064a._0x2bd6ae)+_0x34c033(_0x2e064a._0x3715a,0x9d)+_0x291f73(_0x2e064a._0x2b7b6a,0x15b)};test('初始状态为\x20idle',()=>{function _0x40a204(_0x1c0f4d,_0x2fee8a){return _0x34c033(_0x2fee8a,_0x1c0f4d-0x22a);}function _0x1c3813(_0x14c005,_0x5151d7){return _0x291f73(_0x14c005,_0x5151d7- -0x29b);}const _0x104d94={'xLYVm':function(_0x30d901,_0x3b0760,_0x269707){return _0x30d901(_0x3b0760,_0x269707);},'VpBLt':_0x1c3813(-_0x852816._0x5f57ec,-_0x852816._0x5bf34d)+_0x40a204(_0x852816._0xff4441,0x2b2),'xDBzX':'DISPATCH_T'+_0x1c3813(-_0x852816._0x3056c5,-0x160),'zzkHV':_0x32ad30['bOORz'],'BCOIl':_0x32ad30[_0x1c3813(-_0x852816._0x2fcc8e,-_0x852816._0x19f5a5)],'rSjzZ':function(_0x11b678,_0xb7f7a2){return _0x11b678(_0xb7f7a2);}};if(_0x32ad30[_0x1c3813(-_0x852816._0x3dffc2,-_0x852816._0x50e24d)](_0x40a204(_0x852816._0x1a50a4,0x2d1),'UBlAI')){const _0x5ba66d={};_0x5ba66d[_0x40a204(_0x852816._0x8b8fd2,_0x852816._0x59f304)]=_0x40a204(0x28f,0x2b7)+'_001';const _0x1865fa={};_0x1865fa[_0x40a204(0x298,0x29e)]=_0x5ba66d;const _0x45ccd5=_0x32ad30['ovDgm'](createActor,supervisorMachine,_0x1865fa);_0x45ccd5['start']();const _0x1c55b2=_0x45ccd5['getSnapsho'+'t']();_0x32ad30[_0x40a204(_0x852816._0x3223d6,_0x852816._0x5c10f8)](expect,_0x1c55b2[_0x40a204(_0x852816._0x38d309,_0x852816._0x517781)])[_0x1c3813(-_0x852816._0xa1d900,-0x151)]('idle'),expect(_0x1c55b2[_0x40a204(0x276,_0x852816._0x1d28a7)]['agentId'])[_0x1c3813(-0x140,-_0x852816._0x3bf331)](_0x40a204(_0x852816._0x41fdb3,_0x852816._0x5a1ff4)+_0x1c3813(-_0x852816._0x563e32,-0x178)),expect(_0x1c55b2['context'][_0x40a204(0x2c4,0x2e8)+'s'])[_0x1c3813(-0x159,-_0x852816._0x1c6311)]({}),expect(_0x1c55b2[_0x40a204(0x276,0x282)][_0x40a204(0x27e,0x24e)+'ks'])[_0x40a204(0x282,_0x852816._0x282be5)]([]),_0x45ccd5['stop']();}else{const _0x4f612a=_0x104d94['xLYVm'](_0x5ecddd,_0x49ec89,{'input':{'agentId':_0x104d94['VpBLt']}});_0x4f612a[_0x1c3813(-0x11e,-0x14d)]();const _0x3e8ebf={};_0x3e8ebf[_0x1c3813(-0x166,-0x17f)]=_0x1c3813(-_0x852816._0x12a977,-_0x852816._0x2ca650)+'E',_0x3e8ebf['phase']=_0x1c3813(-0x164,-0x17c)+'lysis',_0x4f612a[_0x40a204(0x29f,_0x852816._0x54e338)](_0x3e8ebf);const _0x1be6f8={};_0x1be6f8[_0x40a204(0x28d,_0x852816._0x46ab10)]=_0x104d94['xDBzX'],_0x1be6f8['childId']=_0x104d94[_0x1c3813(-_0x852816._0x578be0,-0x192)],_0x1be6f8['task']=_0x40a204(_0x852816._0xf6113c,_0x852816._0x2293f9)+'quirements',_0x4f612a[_0x1c3813(-_0x852816._0x3678bc,-_0x852816._0x2a6116)](_0x1be6f8);const _0x44f300={};_0x44f300['summary']='done';const _0x11e063={};_0x11e063['type']=_0x104d94[_0x40a204(0x26f,0x295)],_0x11e063[_0x40a204(_0x852816._0x50ac22,_0x852816._0x107ed8)]='child_001',_0x11e063[_0x1c3813(-0x1a6,-_0x852816._0x4b6e75)]=_0x44f300,_0x4f612a[_0x40a204(_0x852816._0x25cbeb,_0x852816._0x216f7f)](_0x11e063);const _0x5cf1fd=_0x4f612a['getSnapsho'+'t']();_0x104d94[_0x40a204(0x28c,_0x852816._0x4ec3d0)](_0x1bece0,_0x5cf1fd['context'][_0x1c3813(-_0x852816._0x2a6116,-0x148)+'s'][_0x40a204(0x2b1,_0x852816._0x33c3b7)][_0x40a204(0x280,0x2b2)])[_0x40a204(_0x852816._0x12832f,0x2ba)](_0x1c3813(-0x163,-_0x852816._0x4e1e8d)),_0x4f612a[_0x1c3813(-0x12d,-0x141)]();}}),test(_0x291f73(_0x2e064a._0xce3462,_0x2e064a._0x55f5d3)+_0x34c033(0x9e,0x8e)+_0x34c033(_0x2e064a._0x2391c7,_0x2e064a._0x220fa6)+_0x291f73(0x127,_0x2e064a._0x3a8583)+_0x34c033(_0x2e064a._0x2f3e35,_0x2e064a._0x2c55df),()=>{const _0x1753ed={_0x576b2f:0x38e},_0x3da185={};function _0x5da898(_0x2c427a,_0x358c41){return _0x291f73(_0x2c427a,_0x358c41-_0x1753ed._0x576b2f);}function _0x1b5b2d(_0x242df4,_0x57d725){return _0x34c033(_0x242df4,_0x57d725- -_0x3a975._0x1f9cc5);}_0x3da185[_0x5da898(0x4d2,0x4c0)]=_0x1b5b2d(-_0x4e8ff5._0x154148,-0x285)+_0x5da898(0x4e9,0x4c5);const _0x5737e8={};_0x5737e8[_0x5da898(0x4c8,_0x4e8ff5._0x11a901)]=_0x3da185;const _0x3dfc51=createActor(supervisorMachine,_0x5737e8);_0x3dfc51[_0x1b5b2d(-_0x4e8ff5._0x410972,-_0x4e8ff5._0x4e2f8)]();const _0x520bff={};_0x520bff['type']=_0x5da898(_0x4e8ff5._0x5b0d41,0x4cd)+'E',_0x520bff[_0x1b5b2d(-_0x4e8ff5._0x5eb5ff,-_0x4e8ff5._0x3f1efb)]=_0x32ad30[_0x1b5b2d(-0x2d1,-_0x4e8ff5._0xa514b4)],_0x3dfc51[_0x5da898(0x49d,0x4bc)](_0x520bff),_0x32ad30['KGyDh'](expect,_0x3dfc51[_0x5da898(_0x4e8ff5._0x2a7c62,_0x4e8ff5._0x48302c)+'t']()[_0x5da898(0x4d4,0x4a6)])['toBe'](_0x32ad30['suXfH']),_0x3dfc51[_0x1b5b2d(-0x27e,-0x249)]();});function _0x34c033(_0x2b982f,_0x4a8010){return _0x386317(_0x4a8010- -_0x52a075._0x3e6b96,_0x2b982f);}test(_0x34c033(0x4e,0x5a)+_0x34c033(_0x2e064a._0x579d86,_0x2e064a._0x5b0db6)+_0x34c033(0xb3,_0x2e064a._0xcf48d0)+_0x291f73(0x17d,0x15e)+_0x34c033(_0x2e064a._0x5b8b45,0x5e),()=>{const _0x912b47={_0x5b48cc:0x32d},_0x42c345={};_0x42c345[_0x1d1fc4(0x39c,_0x37e153._0x351d27)]=_0x30c14a(_0x37e153._0x455752,_0x37e153._0x36f89d)+_0x1d1fc4(0x3d7,_0x37e153._0x633c82);const _0x33775d={};_0x33775d[_0x30c14a(_0x37e153._0x3f8022,_0x37e153._0x1cc6a6)]=_0x42c345;const _0x131f11=createActor(supervisorMachine,_0x33775d);_0x131f11[_0x1d1fc4(0x3e3,0x3c2)]();const _0xf469a1={};_0xf469a1[_0x1d1fc4(0x388,0x390)]=_0x32ad30[_0x1d1fc4(0x3b3,_0x37e153._0x537a0f)],_0xf469a1[_0x30c14a(_0x37e153._0x168b8d,0x4d5)]=_0x32ad30['pFMyH'],_0x131f11[_0x30c14a(0x506,_0x37e153._0x12e485)](_0xf469a1);function _0x30c14a(_0x270343,_0xa2e3e0){return _0x291f73(_0x270343,_0xa2e3e0-_0x3900b2._0x129ee4);}const _0x3a5639={};_0x3a5639[_0x30c14a(_0x37e153._0x558565,0x4e3)]=_0x1d1fc4(_0x37e153._0x3757f2,_0x37e153._0x45ff1e)+_0x30c14a(_0x37e153._0x227849,0x502),_0x3a5639['childId']=_0x32ad30[_0x1d1fc4(0x3a4,_0x37e153._0x5439a2)],_0x3a5639['task']=_0x30c14a(0x4f9,0x4c9)+_0x30c14a(_0x37e153._0x16016d,_0x37e153._0x436818),_0x131f11[_0x30c14a(_0x37e153._0x1958c5,_0x37e153._0x12e485)](_0x3a5639);const _0xf14b83=_0x131f11[_0x1d1fc4(0x34c,0x36d)+'t']();expect(_0xf14b83[_0x30c14a(0x4a7,0x4cc)][_0x1d1fc4(0x3de,0x3c7)+'s']['child_001'])['toBeDefine'+'d'](),_0x32ad30['MAsaL'](expect,_0xf14b83[_0x30c14a(0x4b4,0x4cc)][_0x1d1fc4(_0x37e153._0xb88dee,_0x37e153._0x469470)+'s']['child_001']['status'])['toBe'](_0x32ad30[_0x30c14a(_0x37e153._0x5323ac,_0x37e153._0x25dd37)]);function _0x1d1fc4(_0x5537d3,_0x1da07f){return _0x34c033(_0x5537d3,_0x1da07f-_0x912b47._0x5b48cc);}_0x131f11[_0x1d1fc4(0x403,0x3ce)]();}),_0x32ad30[_0x34c033(_0x2e064a._0x51b2f6,_0x2e064a._0x2154f6)](test,_0x34c033(0x6e,_0x2e064a._0x592a7e)+'LETE\x20事件更新子'+'\x20Agent\x20状态为'+_0x291f73(_0x2e064a._0x55a152,_0x2e064a._0x5217e6),()=>{const _0x463be5={_0x4455cd:0x2e},_0xe3c5ce={};_0xe3c5ce['agentId']=_0x15745e(0x93,_0x165e05._0x5a166e)+_0x115cca(-_0x165e05._0x3118a6,-_0x165e05._0x127af9);const _0x403728={};_0x403728['input']=_0xe3c5ce;const _0x38b330=createActor(supervisorMachine,_0x403728);_0x38b330['start']();const _0x578a09={};_0x578a09['type']=_0x32ad30['IazbE'],_0x578a09['phase']=_0x115cca(-_0x165e05._0x1c7a6f,-0x262)+_0x115cca(-0x274,-0x263),_0x38b330['send'](_0x578a09);const _0x3866cf={};function _0x15745e(_0x3a4b13,_0x52e87b){return _0x34c033(_0x52e87b,_0x3a4b13-_0x463be5._0x4455cd);}_0x3866cf[_0x115cca(-_0x165e05._0x3bfbaf,-_0x165e05._0x205274)]=_0x32ad30[_0x115cca(-0x280,-0x2ac)],_0x3866cf[_0x15745e(_0x165e05._0x401675,0xc4)]=_0x15745e(0xb5,0xb7),_0x3866cf[_0x115cca(-_0x165e05._0x263b60,-0x24b)]=_0x32ad30[_0x115cca(-_0x165e05._0x1a8af2,-_0x165e05._0x1c7a6f)],_0x38b330[_0x15745e(_0x165e05._0x12ec4b,_0x165e05._0x2ec971)](_0x3866cf);const _0x26bc2e={};function _0x115cca(_0x4a2bd5,_0x2ad05a){return _0x34c033(_0x2ad05a,_0x4a2bd5- -0x2e0);}_0x26bc2e[_0x15745e(_0x165e05._0x5dd450,_0x165e05._0x4c0d84)]=_0x32ad30[_0x115cca(-0x295,-0x2a7)],_0x26bc2e[_0x15745e(_0x165e05._0x401675,0x7e)]=_0x32ad30[_0x15745e(0xc0,_0x165e05._0x13f5a5)],_0x26bc2e['result']={},_0x26bc2e['result']['summary']=_0x32ad30['OywSr'],_0x38b330[_0x15745e(_0x165e05._0x2389c4,0xbb)](_0x26bc2e);const _0x1fbe5a=_0x38b330[_0x115cca(-0x2a0,-_0x165e05._0x2808af)+'t']();_0x32ad30[_0x115cca(-_0x165e05._0x1fb23a,-_0x165e05._0x430417)](expect,_0x1fbe5a[_0x115cca(-0x294,-_0x165e05._0x3b3cef)][_0x15745e(0xc8,_0x165e05._0x1e5f28)+'s'][_0x115cca(-_0x165e05._0x516130,-0x272)]['status'])[_0x115cca(-0x24f,-_0x165e05._0x49b6be)]('completed'),_0x38b330[_0x15745e(0xcf,0xb4)]();}),test(_0x34c033(_0x2e064a._0x55bff9,_0x2e064a._0x41121f)+_0x291f73(_0x2e064a._0x42b7c0,_0x2e064a._0x1b144b)+_0x34c033(0x6e,0x93)+_0x34c033(0x2a,0x42),()=>{const _0x47c0cd={_0x209ef7:0x393};function _0x16034c(_0x391b2f,_0x29cc5c){return _0x291f73(_0x391b2f,_0x29cc5c-0x3f1);}function _0x4bdd3e(_0x585035,_0x553357){return _0x34c033(_0x553357,_0x585035-_0x47c0cd._0x209ef7);}if(_0x32ad30[_0x16034c(0x501,_0x266a19._0x2c573e)](_0x16034c(_0x266a19._0x142ed7,_0x266a19._0x126b3f),_0x32ad30[_0x16034c(_0x266a19._0x1f81fc,_0x266a19._0x2a03f6)])){const _0x55d605={};_0x55d605['agentId']=_0x32ad30[_0x4bdd3e(0x3fa,0x3f5)];const _0x31d193={};_0x31d193[_0x4bdd3e(0x401,_0x266a19._0x2cc0d6)]=_0x55d605;const _0x496100=_0x436a9b(_0x376dd4,_0x31d193);_0x496100['start']();const _0x312bdf=_0x496100[_0x4bdd3e(_0x266a19._0x206c68,0x3f0)+'t']();_0x21778d(_0x312bdf[_0x16034c(0x53c,0x509)])[_0x16034c(0x530,0x53b)](_0x32ad30[_0x16034c(0x519,0x505)]),_0x32ad30[_0x16034c(_0x266a19._0x126306,0x525)](_0x4ce336,_0x312bdf['context'][_0x16034c(0x4ef,0x523)])[_0x4bdd3e(_0x266a19._0xc55ded,0x446)](_0x32ad30['QTNux']),_0x32ad30['qxjnG'](_0x1280ea,_0x312bdf[_0x4bdd3e(_0x266a19._0x33af24,0x3e4)][_0x16034c(_0x266a19._0x366f96,_0x266a19._0x50f902)+'s'])[_0x4bdd3e(0x3eb,0x420)]({}),_0x32ad30[_0x16034c(_0x266a19._0x5b2900,_0x266a19._0x40bc4f)](_0x573281,_0x312bdf[_0x4bdd3e(0x3df,0x3f5)][_0x4bdd3e(0x3e7,_0x266a19._0x5af04f)+'ks'])[_0x4bdd3e(0x3eb,_0x266a19._0x39c676)]([]),_0x496100['stop']();}else{const _0x54765d=_0x32ad30[_0x4bdd3e(0x41c,0x442)](createActor,supervisorMachine,{'input':{'agentId':_0x32ad30[_0x4bdd3e(0x41b,0x3ea)]}});_0x54765d[_0x16034c(0x553,_0x266a19._0x37b48c)]();const _0x43854f={};_0x43854f[_0x16034c(_0x266a19._0x31b31d,0x50d)]='START_PHAS'+'E',_0x43854f[_0x16034c(_0x266a19._0x1379c1,_0x266a19._0x27c539)]=_0x32ad30[_0x4bdd3e(_0x266a19._0x295dac,_0x266a19._0x4151f8)],_0x54765d[_0x4bdd3e(_0x266a19._0xe64d4c,_0x266a19._0x49d502)](_0x43854f);const _0x3142a9={};_0x3142a9[_0x4bdd3e(0x3f6,0x3e1)]=_0x32ad30[_0x4bdd3e(0x3f3,0x40e)],_0x3142a9[_0x16034c(_0x266a19._0x2a6c41,_0x266a19._0x4ca7f3)]=_0x16034c(0x527,_0x266a19._0x3187eb),_0x3142a9[_0x16034c(0x53f,0x51a)]='task\x20A',_0x54765d[_0x16034c(0x53a,_0x266a19._0x15cd4f)](_0x3142a9);const _0x5808d4={};_0x5808d4[_0x16034c(_0x266a19._0x2a03f6,_0x266a19._0x88ee91)]=_0x4bdd3e(_0x266a19._0x3d0b03,_0x266a19._0x50670f)+_0x4bdd3e(0x415,_0x266a19._0x134e6e),_0x5808d4['childId']=_0x16034c(0x574,_0x266a19._0x58c8e3),_0x5808d4[_0x16034c(0x536,0x51a)]=_0x32ad30[_0x16034c(0x4d1,0x4fd)],_0x54765d[_0x16034c(0x53b,0x51f)](_0x5808d4);const _0x186c94={};_0x186c94[_0x16034c(_0x266a19._0x9fd0e4,0x536)]=_0x4bdd3e(_0x266a19._0x36d7f8,0x3cd);const _0x49ba8d={};_0x49ba8d[_0x4bdd3e(0x3f6,_0x266a19._0x77d523)]=_0x4bdd3e(_0x266a19._0xfbd3a9,0x40e)+_0x16034c(0x55e,0x551),_0x49ba8d['childId']='child_a',_0x49ba8d[_0x4bdd3e(0x3db,0x404)]=_0x186c94,_0x54765d[_0x4bdd3e(0x408,0x41f)](_0x49ba8d);const _0x223b12=_0x54765d[_0x4bdd3e(_0x266a19._0x206c68,_0x266a19._0x7a4853)+'t']();expect(_0x223b12[_0x16034c(0x510,_0x266a19._0x5e5f6c)][_0x16034c(0x53e,_0x266a19._0x543e92)+'s'][_0x32ad30[_0x16034c(0x56a,0x537)]][_0x16034c(_0x266a19._0x300e42,0x500)])[_0x16034c(0x557,0x53b)](_0x32ad30['fAQmx']),expect(_0x223b12['context'][_0x16034c(_0x266a19._0x34530c,_0x266a19._0x4af517)+'s'][_0x4bdd3e(_0x266a19._0x533dbd,_0x266a19._0x154f9d)][_0x16034c(_0x266a19._0x50b9b0,_0x266a19._0x43c846)])[_0x16034c(0x559,0x53b)](_0x32ad30[_0x4bdd3e(0x3f0,0x415)]);const _0x34eb75={};_0x34eb75[_0x4bdd3e(_0x266a19._0x310f58,0x448)]=_0x4bdd3e(0x42c,0x460);const _0x464af9={};_0x464af9[_0x16034c(_0x266a19._0x54933d,_0x266a19._0x88ee91)]=_0x32ad30[_0x16034c(0x4ce,0x4f5)],_0x464af9[_0x16034c(0x4fe,0x527)]=_0x32ad30[_0x4bdd3e(0x3e5,_0x266a19._0x44d86e)],_0x464af9[_0x16034c(0x4e8,0x4f2)]=_0x34eb75,_0x54765d['send'](_0x464af9);const _0x3b10c9=_0x54765d[_0x16034c(_0x266a19._0x5c5552,0x4ea)+'t']();_0x32ad30[_0x16034c(_0x266a19._0x29d256,_0x266a19._0x40bc4f)](expect,_0x3b10c9[_0x16034c(0x4e6,_0x266a19._0x55b6e7)][_0x16034c(0x576,_0x266a19._0x392824)+'s']['child_b'][_0x16034c(0x4e2,_0x266a19._0x4024ea)])[_0x16034c(_0x266a19._0x509df8,_0x266a19._0x589179)](_0x32ad30[_0x16034c(_0x266a19._0x32b62a,0x51e)]),_0x54765d[_0x16034c(0x579,_0x266a19._0xd7ad0c)]();}}),test('ALL_CHILDR'+_0x291f73(0x169,0x155)+_0x34c033(_0x2e064a._0x1b7ac2,0x80)+_0x34c033(_0x2e064a._0x5b8b45,_0x2e064a._0x1d7729)+'ting\x20状态',()=>{const _0x3e0c81={};_0x3e0c81[_0x5c6097(-0xaf,-0xb9)]='supervisor'+_0x22a267(_0x3901f4._0x2db86,0x266);const _0xf621d5={};_0xf621d5[_0x22a267(_0x3901f4._0xf4241a,_0x3901f4._0x31f2ae)]=_0x3e0c81;const _0x27a0f1=createActor(supervisorMachine,_0xf621d5);_0x27a0f1[_0x5c6097(-0x85,-_0x3901f4._0x2f19b7)]();const _0x4751b2={};_0x4751b2[_0x22a267(_0x3901f4._0x4b8389,_0x3901f4._0x14ca70)]=_0x32ad30[_0x5c6097(-_0x3901f4._0x34158f,-0xb6)],_0x4751b2['phase']=_0x22a267(0x22d,0x234)+'lysis',_0x27a0f1['send'](_0x4751b2);const _0x131b47={};_0x131b47[_0x22a267(0x215,0x231)]='DISPATCH_T'+_0x5c6097(-0xd4,-_0x3901f4._0x47fca3),_0x131b47[_0x5c6097(-0xd6,-_0x3901f4._0x5084da)]=_0x32ad30[_0x5c6097(-_0x3901f4._0x145f67,-_0x3901f4._0x176971)],_0x131b47[_0x22a267(_0x3901f4._0x3ac05b,0x23e)]=_0x32ad30['TvOWs'],_0x27a0f1['send'](_0x131b47);const _0x4b84cb={};_0x4b84cb['done']=!![];const _0x2504c3={};function _0x5c6097(_0x47947b,_0x94f5d8){return _0x34c033(_0x47947b,_0x94f5d8- -_0x295109._0x32881a);}_0x2504c3['type']=_0x32ad30[_0x5c6097(-0xc7,-0xe7)],_0x2504c3[_0x5c6097(-_0x3901f4._0x3d991a,-0xb5)]=_0x5c6097(-0xca,-0xab),_0x2504c3[_0x22a267(_0x3901f4._0x21fcf0,0x216)]=_0x4b84cb,_0x27a0f1[_0x22a267(0x278,_0x3901f4._0x345c18)](_0x2504c3);const _0x56c0e7={};_0x56c0e7[_0x5c6097(-0xb5,-0xcf)]=_0x32ad30[_0x22a267(_0x3901f4._0x319dcc,_0x3901f4._0x2af802)];function _0x22a267(_0xdf10b9,_0x2b0647){return _0x34c033(_0xdf10b9,_0x2b0647-0x1ce);}_0x27a0f1[_0x22a267(_0x3901f4._0x102346,0x243)](_0x56c0e7),_0x32ad30[_0x22a267(0x28e,_0x3901f4._0x4bea6b)](expect,_0x27a0f1[_0x22a267(0x1e8,0x20e)+'t']()[_0x5c6097(-_0x3901f4._0x932d0a,-_0x3901f4._0x46330b)])[_0x5c6097(-0xd0,-0xa1)]('evaluating'),_0x27a0f1[_0x5c6097(-0xbc,-_0x3901f4._0x87ca74)]();});function _0x291f73(_0x10e9be,_0xe19ef6){return _0x1be367(_0x10e9be,_0xe19ef6- -0x139);}_0x32ad30[_0x291f73(0x13b,_0x2e064a._0x5c76cb)](test,_0x32ad30[_0x34c033(_0x2e064a._0x5e6c25,0x81)],()=>{const _0x59e1b2={};_0x59e1b2[_0x4501a5(0x483,0x474)]=_0x38c339(-0x72,-0x80)+_0x4501a5(0x4ae,0x4c5);const _0x2844bc={};_0x2844bc[_0x4501a5(_0x3f0bad._0x127f74,_0x3f0bad._0xbea4ac)]=_0x59e1b2;const _0x467a97=createActor(supervisorMachine,_0x2844bc);_0x467a97[_0x38c339(-0x42,-0x72)]();const _0x517cee={};function _0x38c339(_0x9c67f5,_0x165b85){return _0x291f73(_0x165b85,_0x9c67f5- -0x190);}_0x517cee[_0x4501a5(_0x3f0bad._0x5994f1,_0x3f0bad._0x4dffd4)]=_0x38c339(-0x51,-_0x3f0bad._0x2397e8)+'E',_0x517cee[_0x4501a5(0x45f,0x489)]=_0x38c339(-0x71,-0x9c)+_0x38c339(-_0x3f0bad._0x52bdf6,-_0x3f0bad._0x36c8a7),_0x467a97[_0x38c339(-0x62,-0x68)](_0x517cee);const _0x47ef45={};_0x47ef45['type']='ALL_CHILDR'+_0x38c339(-_0x3f0bad._0x3b7e79,-0x8c),_0x467a97['send'](_0x47ef45);const _0x40c003={};_0x40c003['type']='PHASE_COMP'+_0x4501a5(_0x3f0bad._0x3ebf78,0x4ba),_0x467a97['send'](_0x40c003);function _0x4501a5(_0x35636e,_0xc515a4){return _0x291f73(_0xc515a4,_0x35636e-0x351);}_0x32ad30[_0x4501a5(_0x3f0bad._0x2c1b11,_0x3f0bad._0x10315d)](expect,_0x467a97[_0x38c339(-_0x3f0bad._0x2aebef,-0x8d)+'t']()[_0x4501a5(_0x3f0bad._0x4f22d1,0x43e)])[_0x38c339(-_0x3f0bad._0x299d54,-0x66)]('idle'),_0x467a97[_0x38c339(-_0x3f0bad._0x168770,-_0x3f0bad._0x1f4409)]();});});
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AgentStateSchema: z.ZodObject<{
|
|
3
|
+
agentId: z.ZodString;
|
|
4
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
5
|
+
childIds: z.ZodArray<z.ZodString, "many">;
|
|
6
|
+
phase: z.ZodString;
|
|
7
|
+
currentOperation: z.ZodString;
|
|
8
|
+
currentSkill: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
currentOperation: string;
|
|
11
|
+
currentSkill: string;
|
|
12
|
+
agentId: string;
|
|
13
|
+
parentId: string | null;
|
|
14
|
+
childIds: string[];
|
|
15
|
+
phase: string;
|
|
16
|
+
}, {
|
|
17
|
+
currentOperation: string;
|
|
18
|
+
currentSkill: string;
|
|
19
|
+
agentId: string;
|
|
20
|
+
parentId: string | null;
|
|
21
|
+
childIds: string[];
|
|
22
|
+
phase: string;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const StateFileSchema: z.ZodObject<{
|
|
25
|
+
version: z.ZodNumber;
|
|
26
|
+
updatedAt: z.ZodString;
|
|
27
|
+
project: z.ZodObject<{
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
currentPhase: z.ZodString;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
currentPhase: string;
|
|
32
|
+
name: string;
|
|
33
|
+
}, {
|
|
34
|
+
currentPhase: string;
|
|
35
|
+
name: string;
|
|
36
|
+
}>;
|
|
37
|
+
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
38
|
+
agentId: z.ZodString;
|
|
39
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
40
|
+
childIds: z.ZodArray<z.ZodString, "many">;
|
|
41
|
+
phase: z.ZodString;
|
|
42
|
+
currentOperation: z.ZodString;
|
|
43
|
+
currentSkill: z.ZodString;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
currentOperation: string;
|
|
46
|
+
currentSkill: string;
|
|
47
|
+
agentId: string;
|
|
48
|
+
parentId: string | null;
|
|
49
|
+
childIds: string[];
|
|
50
|
+
phase: string;
|
|
51
|
+
}, {
|
|
52
|
+
currentOperation: string;
|
|
53
|
+
currentSkill: string;
|
|
54
|
+
agentId: string;
|
|
55
|
+
parentId: string | null;
|
|
56
|
+
childIds: string[];
|
|
57
|
+
phase: string;
|
|
58
|
+
}>>;
|
|
59
|
+
machineSnapshot: z.ZodUnknown;
|
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
|
61
|
+
version: number;
|
|
62
|
+
updatedAt: string;
|
|
63
|
+
project: {
|
|
64
|
+
currentPhase: string;
|
|
65
|
+
name: string;
|
|
66
|
+
};
|
|
67
|
+
agents: Record<string, {
|
|
68
|
+
currentOperation: string;
|
|
69
|
+
currentSkill: string;
|
|
70
|
+
agentId: string;
|
|
71
|
+
parentId: string | null;
|
|
72
|
+
childIds: string[];
|
|
73
|
+
phase: string;
|
|
74
|
+
}>;
|
|
75
|
+
machineSnapshot?: unknown;
|
|
76
|
+
}, {
|
|
77
|
+
version: number;
|
|
78
|
+
updatedAt: string;
|
|
79
|
+
project: {
|
|
80
|
+
currentPhase: string;
|
|
81
|
+
name: string;
|
|
82
|
+
};
|
|
83
|
+
agents: Record<string, {
|
|
84
|
+
currentOperation: string;
|
|
85
|
+
currentSkill: string;
|
|
86
|
+
agentId: string;
|
|
87
|
+
parentId: string | null;
|
|
88
|
+
childIds: string[];
|
|
89
|
+
phase: string;
|
|
90
|
+
}>;
|
|
91
|
+
machineSnapshot?: unknown;
|
|
92
|
+
}>;
|
|
93
|
+
export type AgentPersistState = z.infer<typeof AgentStateSchema>;
|
|
94
|
+
export type StateFile = z.infer<typeof StateFileSchema>;
|
|
95
|
+
export declare function validateStateFile(data: unknown): StateFile;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x3621(){const _0x107d64=['mJaYotG0nZjMqLjgveW','B2jQzwn0','ouXNyvrjDW','BwLU','BNvSBgfIBgu','nJiYotaXqLzZuunq','mtHVDMvUCvq','Dw5RBM93BG','nZi2nZy4sM9er1n0','Aw50','mJa3nti3nMXJvLHpsW','mJi0nZy0nfLfvwfwsW','C3rYAw5N','ndGWmJy2mhD1t0z4tq','mtG1mtGYofrVr3zLra','yxjYyxK','CMvJB3jK','CgfYC2u','Cg9ZAxrPDMu'];_0x3621=function(){return _0x107d64;};return _0x3621();}(function(_0x10b961,_0x1886b4){const _0x4b4002={_0x41ca06:0x20f,_0xd77e48:0xb5,_0x2e6d8b:0xb4,_0x19c0aa:0x200,_0x23702c:0x1f7,_0x3535eb:0xb0,_0x32dfc6:0x203,_0x3bb422:0x20d,_0x4b6c23:0xac},_0x9b575a={_0x8000d5:0x12d},_0x4bedcd={_0x5b869e:0x3e4};function _0x438427(_0x52543e,_0x15ec75){return _0x3d4c(_0x52543e- -_0x4bedcd._0x5b869e,_0x15ec75);}function _0x4b4fb2(_0x2d63ea,_0x4159d1){return _0x3d4c(_0x2d63ea- -_0x9b575a._0x8000d5,_0x4159d1);}const _0x3a2f8c=_0x10b961();while(!![]){try{const _0x789152=parseInt(_0x438427(-0x208,-_0x4b4002._0x41ca06))/(0xa48+-0x4f*-0x79+-0x2f9e)+parseInt(_0x4b4fb2(0xb8,0xb0))/(0x40*0x7c+-0x139f+-0xb5f)+parseInt(_0x438427(-0x205,-0x202))/(-0x13*0x12f+0x1*-0xf5+0x1775)+-parseInt(_0x4b4fb2(_0x4b4002._0xd77e48,_0x4b4002._0x2e6d8b))/(0x46*0x26+-0x1130+0x6d0)+parseInt(_0x438427(-_0x4b4002._0x19c0aa,-_0x4b4002._0x23702c))/(-0x1d*-0x4d+0x1a5f*-0x1+0x11ab*0x1)+-parseInt(_0x4b4fb2(_0x4b4002._0x3535eb,0xae))/(-0xbfe+0xfb*0x3+0x913)*(-parseInt(_0x438427(-_0x4b4002._0x32dfc6,-0x20c))/(0x25e7+0x1*0x1739+-0x3d19*0x1))+-parseInt(_0x438427(-_0x4b4002._0x3bb422,-0x210))/(-0x104d+0x1340+-0x2eb*0x1)*(parseInt(_0x4b4fb2(_0x4b4002._0x4b6c23,0xab))/(-0x1*0x1ed2+0xffb*0x1+-0x77*-0x20));if(_0x789152===_0x1886b4)break;else _0x3a2f8c['push'](_0x3a2f8c['shift']());}catch(_0x5cb989){_0x3a2f8c['push'](_0x3a2f8c['shift']());}}}(_0x3621,-0xab938+0x4*0x41ff9+-0x1*-0x27daf));import{z}from'zod';function _0x3d4c(_0x537ca6,_0x3f738e){_0x537ca6=_0x537ca6-(0x11*-0x13e+0x23c4+0x1*-0xccf);const _0x28a7d6=_0x3621();let _0x3c3c85=_0x28a7d6[_0x537ca6];if(_0x3d4c['rNToyq']===undefined){var _0x5d43a8=function(_0x2bf91e){const _0x5585f0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x17bdff='',_0x525739='';for(let _0x45fa51=-0x9*0x3c7+0xf5*0x1b+0x6*0x15c,_0x170a02,_0x1cc11b,_0x143d23=0x19eb*-0x1+-0x1*-0xa49+0x57*0x2e;_0x1cc11b=_0x2bf91e['charAt'](_0x143d23++);~_0x1cc11b&&(_0x170a02=_0x45fa51%(-0x6*0x541+0x199*0x11+0x461)?_0x170a02*(0x1*-0xb7+0x1675+0x72a*-0x3)+_0x1cc11b:_0x1cc11b,_0x45fa51++%(-0x2647+-0x1403+0x3a4e))?_0x17bdff+=String['fromCharCode'](-0x1bfa*-0x1+0x1b5*-0x2+-0x1791&_0x170a02>>(-(0x17e*0x11+0x393+-0x1*0x1cef)*_0x45fa51&-0x35*0x9d+0x2*0x255+-0x7*-0x3fb)):-0x2426*-0x1+0x2*0x33b+-0x2a9c){_0x1cc11b=_0x5585f0['indexOf'](_0x1cc11b);}for(let _0x2e84ba=-0x1*0x823+-0x2b*-0x7f+-0xd32,_0x3c4cb8=_0x17bdff['length'];_0x2e84ba<_0x3c4cb8;_0x2e84ba++){_0x525739+='%'+('00'+_0x17bdff['charCodeAt'](_0x2e84ba)['toString'](-0x202f+-0x49*0x41+0x32c8))['slice'](-(0x4*0x833+0x238d+0xdab*-0x5));}return decodeURIComponent(_0x525739);};_0x3d4c['KzzrVW']=_0x5d43a8,_0x3d4c['auexlJ']={},_0x3d4c['rNToyq']=!![];}const _0x1579dc=_0x28a7d6[0x2*0x45d+0x1d58+-0x2612],_0x381bab=_0x537ca6+_0x1579dc,_0x185c9f=_0x3d4c['auexlJ'][_0x381bab];return!_0x185c9f?(_0x3c3c85=_0x3d4c['KzzrVW'](_0x3c3c85),_0x3d4c['auexlJ'][_0x381bab]=_0x3c3c85):_0x3c3c85=_0x185c9f,_0x3c3c85;}const AgentPhaseSchema=z['string']()[_0x1481e5(0x320,0x324)](0x177b*0x1+-0x1f86+0xce*0xa);function _0x13c628(_0x398992,_0xa5d902){return _0x3d4c(_0xa5d902- -0x3cf,_0x398992);}export const AgentStateSchema=z[_0x13c628(-0x1f2,-0x1f7)]({'agentId':z[_0x13c628(-0x1e6,-0x1ec)](),'parentId':z[_0x1481e5(0x32d,0x32d)]()[_0x1481e5(0x320,0x325)](),'childIds':z[_0x1481e5(0x32c,0x330)](z[_0x13c628(-0x1f2,-0x1ec)]()),'phase':AgentPhaseSchema,'currentOperation':z[_0x1481e5(0x326,0x32d)](),'currentSkill':z[_0x13c628(-0x1ed,-0x1ec)]()});function _0x1481e5(_0x5465c9,_0x5b2a90){return _0x3d4c(_0x5b2a90-0x14a,_0x5465c9);}export const StateFileSchema=z[_0x1481e5(0x323,0x322)]({'version':z['number']()[_0x1481e5(0x326,0x32a)]()[_0x13c628(-0x1ef,-0x1e6)](),'updatedAt':z['string']()['datetime'](),'project':z['object']({'name':z[_0x13c628(-0x1ea,-0x1ec)](),'currentPhase':z[_0x1481e5(0x333,0x32d)]()}),'agents':z[_0x1481e5(0x32e,0x331)](z[_0x13c628(-0x1e4,-0x1ec)](),AgentStateSchema),'machineSnapshot':z[_0x13c628(-0x1f7,-0x1f1)]()});export function validateStateFile(_0x160f9e){const _0x2a0145={_0x2f70e5:0x507,_0x481e66:0x50b},_0x4fbbe9={_0x37fbae:0x6ee};function _0x37f34a(_0x3ad83e,_0x379622){return _0x13c628(_0x379622,_0x3ad83e-_0x4fbbe9._0x37fbae);}return StateFileSchema[_0x37f34a(_0x2a0145._0x2f70e5,_0x2a0145._0x481e66)](_0x160f9e);}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type StateFile, type AgentPersistState } from './schema.js';
|
|
2
|
+
export interface WriteData {
|
|
3
|
+
project: {
|
|
4
|
+
name: string;
|
|
5
|
+
currentPhase: string;
|
|
6
|
+
};
|
|
7
|
+
agents: Record<string, AgentPersistState>;
|
|
8
|
+
machineSnapshot: unknown;
|
|
9
|
+
}
|
|
10
|
+
export declare class StateFileManager {
|
|
11
|
+
private filePath;
|
|
12
|
+
private lastKnownVersion;
|
|
13
|
+
constructor(filePath: string);
|
|
14
|
+
read(): Promise<StateFile | null>;
|
|
15
|
+
write(data: WriteData): Promise<void>;
|
|
16
|
+
updateAgent(agentId: string, update: Partial<AgentPersistState>): Promise<void>;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x471b0e,_0x2687d9){const _0x595fd1={_0x1659d2:0x312,_0x4d1645:0x2fe,_0xc47e6c:0x2fd,_0x891d9f:0x304,_0x21405a:0x308,_0x1a2c35:0x177,_0x24cd2d:0x17a,_0x510d78:0x17d},_0x3d36c0={_0x13e396:0x202},_0x53b18e={_0x35f5d4:0x286};function _0x5fb3e7(_0x428c70,_0x1b1865){return _0x406f(_0x1b1865- -_0x53b18e._0x35f5d4,_0x428c70);}function _0x393213(_0x4a30ca,_0x130d00){return _0x406f(_0x4a30ca-_0x3d36c0._0x13e396,_0x130d00);}const _0x445521=_0x471b0e();while(!![]){try{const _0x47a485=parseInt(_0x393213(_0x595fd1._0x1659d2,0x322))/(-0x281*-0x3+-0xa*0x95+-0x48*0x6)*(parseInt(_0x393213(_0x595fd1._0x4d1645,0x2ee))/(-0x12cf+0x1504+-0x233))+-parseInt(_0x393213(_0x595fd1._0xc47e6c,_0x595fd1._0xc47e6c))/(-0x1*-0x1c3c+0x4*-0x5c5+-0x525)+-parseInt(_0x393213(_0x595fd1._0x891d9f,_0x595fd1._0x21405a))/(-0x13ea+-0x1*0x23e3+0x37d1)+parseInt(_0x5fb3e7(-_0x595fd1._0x1a2c35,-0x17b))/(0x1*0x1c+-0x7*-0x356+-0x1771)+parseInt(_0x393213(0x30c,0x314))/(0x9cb+0x12a3+0x71a*-0x4)+-parseInt(_0x5fb3e7(-0x167,-0x16f))/(0x4bb+0x720+-0xbd4)*(parseInt(_0x5fb3e7(-_0x595fd1._0x24cd2d,-_0x595fd1._0x510d78))/(0x9d+-0x1*-0xe62+-0xef7))+parseInt(_0x393213(0x316,0x316))/(-0xcbb+-0x1*-0xe09+-0x145);if(_0x47a485===_0x2687d9)break;else _0x445521['push'](_0x445521['shift']());}catch(_0x35f181){_0x445521['push'](_0x445521['shift']());}}}(_0x34ab,-0xd4791+-0x1*-0x4be89+-0x122c*-0x12a));function _0x34ab(){const _0x27333b=['r2HSr1K','mZC3mdq3mKHOr1D1sG','mZGYmZiWnNP4DwndCa','mtG5mZe0nu5sr0XLrW','sNz2r0W','BgfZDeTUB3DUvG','D3jPDgu','ywDLBNrZ','mJbtD0fxsMe','BwfJAgLUzvnUyq','ChnOB3q','qwDLBNqG5lIn5A2y5zYOoG','ndyWmtyWmuz6DvHbCq','zMLSzvbHDgG','DMvYC2LVBG','n0z1BNrQva','zxjZAw9U','5lMq6kEc6zsb5yAY56QboIdMNj/MNjVNIyG','DxrMltG','CMvHza','ode0ntKZthbptgLw','mte0mJyWsuPtsuTY','u0DruLq','5PU05PAWiefNzw50oIa','wNnJC0e','77Ym5A6E6zMf54Mi5PYSia','ChjVAMvJDa','ndm5otGWnfbuExjAtW','uhvqA04','Dg9ju09tDhjPBG','54Q25Ocb5PAh5lU25lIn5A2y5zYO77Ym5PEG5Rov','CMvJDxjZAxzL','DxbKyxrLqwDLBG'];_0x34ab=function(){return _0x27333b;};return _0x34ab();}import{readFileSync,mkdirSync,existsSync}from'node:fs';function _0x406f(_0x1a492f,_0x411f82){_0x1a492f=_0x1a492f-(0x6*-0x4d2+0x1*0x15e6+0x80*0x10);const _0x307e56=_0x34ab();let _0x39d948=_0x307e56[_0x1a492f];if(_0x406f['ILIuLU']===undefined){var _0x470d18=function(_0x4bff71){const _0x12e6e0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53d95c='',_0x32e9b9='';for(let _0x2aed31=-0x26e6+-0x5ca+0x2cb0,_0x2f4f39,_0x5aeefa,_0x53ba79=0x65*-0x2f+0xe3*-0x11+0x219e;_0x5aeefa=_0x4bff71['charAt'](_0x53ba79++);~_0x5aeefa&&(_0x2f4f39=_0x2aed31%(-0xa*-0x3e0+-0x27a*0x5+0x1a5a*-0x1)?_0x2f4f39*(-0x1*-0x22e7+-0x2*0x5d2+0x89*-0x2b)+_0x5aeefa:_0x5aeefa,_0x2aed31++%(0x1019+0xa*-0xe8+0x705*-0x1))?_0x53d95c+=String['fromCharCode'](-0x15*0x175+0x1a40+0x558&_0x2f4f39>>(-(0xd*0x3f+0x12e+0x175*-0x3)*_0x2aed31&-0x1b62+-0x1*-0xdc9+0x13d*0xb)):-0x1c8*-0x4+0xbf*0x1c+-0x1c04){_0x5aeefa=_0x12e6e0['indexOf'](_0x5aeefa);}for(let _0x23bb1c=-0x8*0x1ca+-0xb3*-0x29+-0xe5b,_0x3cd207=_0x53d95c['length'];_0x23bb1c<_0x3cd207;_0x23bb1c++){_0x32e9b9+='%'+('00'+_0x53d95c['charCodeAt'](_0x23bb1c)['toString'](-0x8*-0x331+-0x125f*-0x1+-0x2bd7*0x1))['slice'](-(-0x263f+-0x9e2+-0x1*-0x3023));}return decodeURIComponent(_0x32e9b9);};_0x406f['mTvCNm']=_0x470d18,_0x406f['kgyxlp']={},_0x406f['ILIuLU']=!![];}const _0x5daabf=_0x307e56[-0x82b+0x1*0x10a+0x16d*0x5],_0x1db6db=_0x1a492f+_0x5daabf,_0x47ff49=_0x406f['kgyxlp'][_0x1db6db];return!_0x47ff49?(_0x39d948=_0x406f['mTvCNm'](_0x39d948),_0x406f['kgyxlp'][_0x1db6db]=_0x39d948):_0x39d948=_0x47ff49,_0x39d948;}import{dirname}from'node:path';import _0x3142a5 from'write-file-atomic';import{StateFileSchema}from'./schema.js';function _0x34e2a3(_0x17e8de,_0x551453){return _0x406f(_0x17e8de-0x1e7,_0x551453);}function _0xc3375d(_0x1980ac,_0x37e1f2){const _0x4afaf7={_0xa810db:0x2};return _0x406f(_0x1980ac- -_0x4afaf7._0xa810db,_0x37e1f2);}export class StateFileManager{[_0x34e2a3(0x2fc,0x2f0)];[_0x34e2a3(0x2f4,0x2fc)+'ersion']=null;constructor(_0x55b733){const _0x5b43ec={_0x167900:0x3af};function _0x357b66(_0x52783f,_0x3259b0){return _0xc3375d(_0x52783f- -_0x5b43ec._0x167900,_0x3259b0);}this[_0x357b66(-0x29c,-0x28b)]=_0x55b733;}async[_0x34e2a3(0x2e1,0x2e1)](){const _0x46e30e={_0xf94b2:0x10f,_0x4ec02f:0x1fb,_0x1eca7a:0xea,_0x389e25:0x110},_0x40d17a={_0x5a598f:0xc},_0x274c00={_0x480791:0xf4},_0x56cd79={'PuPkN':function(_0x29be1b,_0x315e74){return _0x29be1b(_0x315e74);},'PbCah':function(_0x94161d,_0x167ba1,_0x25c785){return _0x94161d(_0x167ba1,_0x25c785);},'GhlGY':_0x54d5a6(0x10c,_0x46e30e._0xf94b2)};if(!_0x56cd79[_0x3e537a(0x1f6,_0x46e30e._0x4ec02f)](existsSync,this['filePath']))return null;const _0xba5861=_0x56cd79['PbCah'](readFileSync,this['filePath'],_0x56cd79[_0x54d5a6(0xfa,_0x46e30e._0x1eca7a)]),_0x1a0ac2=JSON['parse'](_0xba5861),_0x22fd3d=StateFileSchema['parse'](_0x1a0ac2);this[_0x54d5a6(0xff,0x102)+_0x54d5a6(0x10a,_0x46e30e._0x389e25)]=_0x22fd3d[_0x3e537a(0x209,0x20d)];function _0x3e537a(_0x2ea8d8,_0x7a019e){return _0x34e2a3(_0x2ea8d8- -_0x274c00._0x480791,_0x7a019e);}function _0x54d5a6(_0x348ee0,_0x1f2a3b){return _0xc3375d(_0x348ee0- -_0x40d17a._0x5a598f,_0x1f2a3b);}return _0x22fd3d;}async['write'](_0x5c99f5){const _0x1561a7={_0x473910:0x43,_0x198708:0x34,_0x5eab1d:0x22a,_0x58e12b:0x23d,_0xb222ea:0x23a,_0x27588f:0x29,_0x49a4ad:0x2e,_0x29ca0c:0x23b,_0x58a5a0:0x21,_0x55c30d:0x2c,_0x3228c3:0x222,_0x2ec1e2:0x238,_0x1c1d26:0x11,_0xd8b769:0x22,_0x26fb5c:0x28,_0x3745a5:0x21,_0x1aded8:0x234,_0x1b3a04:0x17,_0x3936f2:0x216,_0x507bb5:0x229,_0x86ea99:0x2b,_0x2e855c:0x39,_0x70b94:0x234,_0x5604c6:0x244,_0x519a50:0x237,_0x1612d1:0x22b,_0x10b61a:0x23a,_0x29ccb5:0x232},_0x23b508={_0x3bf5ab:0xc2},_0x1d837e={_0x285315:0x138},_0x2b081c={'ZscsA':function(_0x44af65,_0x5816c1){return _0x44af65(_0x5816c1);},'JvvGL':'utf-8','SGQRT':function(_0x17a5ca,_0x170cd3){return _0x17a5ca!==_0x170cd3;}},_0x445cbf=_0x2b081c[_0x128c7e(-0x4b,-0x3b)](dirname,this['filePath']);if(!existsSync(_0x445cbf)){const _0x5594ad={};_0x5594ad[_0x128c7e(-_0x1561a7._0x473910,-_0x1561a7._0x198708)]=!![],mkdirSync(_0x445cbf,_0x5594ad);}function _0x128c7e(_0x7063e3,_0x136ec7){return _0xc3375d(_0x136ec7- -_0x1d837e._0x285315,_0x7063e3);}let _0x283fcd=-0x1a89+-0x1e61+0x38ea;if(_0x2b081c['ZscsA'](existsSync,this[_0x306a63(_0x1561a7._0x5eab1d,0x23a)])){const _0x118424=readFileSync(this[_0x306a63(_0x1561a7._0x58e12b,_0x1561a7._0xb222ea)],_0x2b081c[_0x128c7e(-_0x1561a7._0x27588f,-_0x1561a7._0x49a4ad)]),_0x103d63=JSON['parse'](_0x118424);_0x283fcd=_0x103d63[_0x306a63(0x245,_0x1561a7._0x29ca0c)]??0x1*0x9d6+-0x3d*-0x3a+0x17a8*-0x1;if(this[_0x128c7e(-_0x1561a7._0x58a5a0,-0x2d)+_0x128c7e(-_0x1561a7._0x55c30d,-0x22)]!==null&&_0x2b081c[_0x306a63(0x218,_0x1561a7._0x3228c3)](_0x283fcd,this[_0x306a63(_0x1561a7._0x2ec1e2,0x232)+_0x128c7e(-_0x1561a7._0x1c1d26,-_0x1561a7._0xd8b769)]))throw new Error(_0x128c7e(-_0x1561a7._0x26fb5c,-_0x1561a7._0x3745a5)+'本\x20'+this[_0x306a63(_0x1561a7._0x1aded8,0x232)+_0x128c7e(-_0x1561a7._0x1b3a04,-0x22)]+_0x306a63(_0x1561a7._0x3936f2,0x225)+_0x283fcd);}const _0x26a5fb=_0x283fcd+(0x38b*0x1+-0x1643*-0x1+-0x19cd),_0x1788bc={'version':_0x26a5fb,'updatedAt':new Date()[_0x306a63(0x227,_0x1561a7._0x507bb5)+'g'](),'project':_0x5c99f5[_0x128c7e(-_0x1561a7._0x86ea99,-_0x1561a7._0x2e855c)],'agents':_0x5c99f5[_0x306a63(0x228,_0x1561a7._0x70b94)],'machineSnapshot':_0x5c99f5[_0x306a63(0x23d,0x236)+_0x306a63(_0x1561a7._0x5604c6,_0x1561a7._0x519a50)]};_0x3142a5['sync'](this[_0x306a63(_0x1561a7._0x1612d1,_0x1561a7._0x10b61a)],JSON['stringify'](_0x1788bc,null,-0x1a96+-0x1571*-0x1+0x527),_0x2b081c[_0x306a63(0x235,0x231)]);function _0x306a63(_0x1e45bf,_0x48c2e3){return _0x34e2a3(_0x48c2e3- -_0x23b508._0x3bf5ab,_0x1e45bf);}this[_0x306a63(0x228,_0x1561a7._0x29ccb5)+_0x306a63(0x230,_0x1561a7._0x58e12b)]=_0x26a5fb;}async[_0xc3375d(0x105,0x10f)+'t'](_0x4f7179,_0x32a6db){const _0x9c980c={_0x2180df:0x29a,_0x494956:0x29b,_0x28c572:0x2a2,_0x40143a:0x2a2,_0x2b2232:0x32e,_0x2aa854:0x29c,_0x42338b:0x291,_0x1fe683:0x28f,_0x54695a:0x296,_0x1df25b:0x288,_0x3810e8:0x342,_0x50700d:0x331,_0x4ce130:0x330,_0x3ed38d:0x32d},_0x3bc176={_0x97330f:0x39e};function _0x3f0d08(_0x19c78c,_0x14de4b){return _0xc3375d(_0x14de4b- -_0x3bc176._0x97330f,_0x19c78c);}const _0x343ca4=await this['read']();if(!_0x343ca4)throw new Error(_0x3f0d08(-_0x9c980c._0x2180df,-_0x9c980c._0x494956)+_0x3f0d08(-_0x9c980c._0x28c572,-_0x9c980c._0x40143a)+_0x4f7179);function _0x4b029c(_0x522ef0,_0x667b61){return _0xc3375d(_0x667b61-0x221,_0x522ef0);}const _0x55a5ed=_0x343ca4[_0x3f0d08(-0x297,-0x291)][_0x4f7179];if(!_0x55a5ed)throw new Error(_0x4b029c(0x328,0x332)+'\x20'+_0x4f7179);const _0x2c192c={..._0x55a5ed,..._0x32a6db};_0x343ca4[_0x4b029c(0x336,_0x9c980c._0x2b2232)][_0x4f7179]=_0x2c192c;const _0x5ef180={};_0x5ef180[_0x3f0d08(-_0x9c980c._0x2aa854,-0x29f)]=_0x343ca4['project'],_0x5ef180[_0x4b029c(0x33d,0x32e)]=_0x343ca4[_0x3f0d08(-0x28e,-_0x9c980c._0x42338b)],_0x5ef180[_0x3f0d08(-_0x9c980c._0x1fe683,-0x28f)+_0x3f0d08(-_0x9c980c._0x54695a,-0x28e)]=_0x343ca4[_0x3f0d08(-_0x9c980c._0x1df25b,-_0x9c980c._0x1fe683)+_0x4b029c(_0x9c980c._0x3810e8,_0x9c980c._0x50700d)],await this[_0x4b029c(_0x9c980c._0x4ce130,_0x9c980c._0x3ed38d)](_0x5ef180);}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x5633(_0x29323a,_0x498ca3){_0x29323a=_0x29323a-(0x1238+-0x4*0x6e5+-0x1*-0x9e3);const _0x326c0e=_0x29bb();let _0x337e04=_0x326c0e[_0x29323a];if(_0x5633['vSzeEs']===undefined){var _0xb83b4d=function(_0x469fc6){const _0x6658fd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x169ae6='',_0x46886b='';for(let _0xcfe175=-0x1373+0xb51+0x822,_0x34f061,_0x3e7d55,_0x37048b=0xee2+0x1a98+-0x297a;_0x3e7d55=_0x469fc6['charAt'](_0x37048b++);~_0x3e7d55&&(_0x34f061=_0xcfe175%(-0x2*0xd3a+0xd49+0xd2f)?_0x34f061*(-0x1*0x1532+0x1b*-0x28+0x12*0x16d)+_0x3e7d55:_0x3e7d55,_0xcfe175++%(-0x20e7+-0x4*-0x437+0x100f))?_0x169ae6+=String['fromCharCode'](0x1cd*0x4+-0x7f*-0x3e+-0x24f7&_0x34f061>>(-(-0xae4*-0x1+0x17c+-0xc5e)*_0xcfe175&0x1376+-0x730+-0xc40)):-0xca4+-0x1*0x1d3f+-0x1*-0x29e3){_0x3e7d55=_0x6658fd['indexOf'](_0x3e7d55);}for(let _0x23bc89=0x17ef*0x1+-0x118f+0x11*-0x60,_0x17add0=_0x169ae6['length'];_0x23bc89<_0x17add0;_0x23bc89++){_0x46886b+='%'+('00'+_0x169ae6['charCodeAt'](_0x23bc89)['toString'](0x12f4+0x2326+0x360a*-0x1))['slice'](-(-0xce8+-0x1af4+0xbd*0x36));}return decodeURIComponent(_0x46886b);};_0x5633['MckNDV']=_0xb83b4d,_0x5633['EqKRAD']={},_0x5633['vSzeEs']=!![];}const _0x2aa5df=_0x326c0e[0x6fe+0x56b+-0xc69],_0x14f811=_0x29323a+_0x2aa5df,_0xb4265=_0x5633['EqKRAD'][_0x14f811];return!_0xb4265?(_0x337e04=_0x5633['MckNDV'](_0x337e04),_0x5633['EqKRAD'][_0x14f811]=_0x337e04):_0x337e04=_0xb4265,_0x337e04;}(function(_0xdc69fa,_0x5a5373){const _0x34529b={_0x47a0c1:0x88,_0x5ac1f0:0x15b,_0x3b5444:0x177,_0x213fe7:0x52,_0x51bf82:0x73,_0x37cac2:0x163,_0x16de47:0x166,_0x309024:0x1b,_0x2241b2:0x124};function _0x40576e(_0x239442,_0x45ebc6){return _0x5633(_0x239442- -0x21b,_0x45ebc6);}function _0x2f904b(_0x30927a,_0x537a18){return _0x5633(_0x537a18- -0x10f,_0x30927a);}const _0x2e99f6=_0xdc69fa();while(!![]){try{const _0x1d78b0=parseInt(_0x2f904b(-_0x34529b._0x47a0c1,-0x66))/(0xa16+0x1*-0x2165+-0x8*-0x2ea)+parseInt(_0x40576e(-0x130,-_0x34529b._0x5ac1f0))/(0x173*-0xd+-0x20a0+0x3379*0x1)*(parseInt(_0x40576e(-0x14f,-_0x34529b._0x3b5444))/(-0x1*-0x16a3+-0xd*0x23d+0x679))+parseInt(_0x2f904b(-0x87,-_0x34529b._0x213fe7))/(-0xc*-0x293+0x1*-0x11ab+-0x1e3*0x7)+parseInt(_0x40576e(-0x16c,-0x161))/(0x84e+-0x25a3+0x2*0xead)*(-parseInt(_0x2f904b(-0x72,-0x7e))/(-0x25*-0xe4+0x262e*-0x1+-0x60*-0xe))+-parseInt(_0x2f904b(-0x9b,-_0x34529b._0x51bf82))/(0xd55*-0x2+-0x229d*0x1+0x3d4e)*(parseInt(_0x40576e(-_0x34529b._0x37cac2,-_0x34529b._0x16de47))/(0x1b23+0x23a9+-0x3ec4))+-parseInt(_0x40576e(-0x17b,-0x15c))/(-0x12ad+-0x866+-0x5*-0x56c)+parseInt(_0x2f904b(0x9,-_0x34529b._0x309024))/(0x1*-0x14ae+-0x2*-0xce8+0x1*-0x518)*(parseInt(_0x40576e(-_0x34529b._0x2241b2,-0x157))/(-0x10fe+-0x1cb7+0xc*0x3d0));if(_0x1d78b0===_0x5a5373)break;else _0x2e99f6['push'](_0x2e99f6['shift']());}catch(_0x27bddb){_0x2e99f6['push'](_0x2e99f6['shift']());}}}(_0x29bb,-0xfda5c+-0x18*0x82f6+0x1*0x2523fe));import{describe,test,expect,beforeEach,afterEach}from'vitest';import{mkdtempSync,rmSync,readFileSync}from'node:fs';import{join}from'node:path';import{tmpdir}from'node:os';function _0x215bec(_0x3f6f99,_0x554c5e){return _0x5633(_0x3f6f99-0x36,_0x554c5e);}import{StateFileSchema}from'./schema.js';import{StateFileManager}from'./stateFile.js';describe(_0x215bec(0x124,0x11e),()=>{const _0x193a97={_0x5eb1de:0x1b0,_0x5d3ca3:0x17f,_0x37176f:0x14b,_0x386b40:0x11e,_0x2f79f9:0x17d,_0x48e796:0x140,_0x11ce09:0x172,_0x127782:0x1fc,_0x525493:0x209,_0x166e63:0x188,_0x52c22f:0x1f5,_0x598c2a:0x1e3,_0x490a0e:0x148,_0x5e239b:0x10e,_0x18c6e3:0x165,_0x217ce4:0x13d,_0x3e6046:0x143,_0x2b405f:0x1f2,_0x562a90:0x197,_0x2dd2c5:0x1b1,_0x2950eb:0x198,_0x3596c3:0x1a3},_0x15952a={_0x16864c:0xd8,_0x5711ef:0xc2,_0x40abe1:0x30d,_0x4aea13:0x7b,_0x58f689:0x8d,_0xe565e5:0x79,_0x4c4d7c:0xe8,_0x634948:0xd3,_0x55738b:0x318,_0x42fd31:0x2e7,_0xc06379:0x9d,_0x3951e8:0x2eb,_0x3583c1:0xc6,_0x4b1472:0x315,_0x1657d5:0x332},_0x5f0461={_0x483725:0x9b,_0x552f49:0xc3,_0x4113d5:0x102,_0x25db56:0x92,_0x9da8d6:0xc8},_0x44064b={_0x16c5ca:0x42e,_0x237f6c:0x48d,_0x440fc4:0x462,_0x566af3:0x429,_0x21541b:0x444,_0x5281a5:0x44c,_0xe6008e:0x42d,_0x351a09:0x43a,_0x49754b:0x471,_0x6c1f55:0x430,_0x2f55bf:0x46a,_0x42bde5:0x415,_0x5753d0:0x438,_0x2aedbd:0x407,_0x271b:0x413,_0x157766:0x439,_0x1beb7b:0x488,_0x3df3f2:0x406,_0x1e8321:0x401},_0x149902={_0x531571:0x107,_0x168472:0x16f,_0x4a0bcf:0x13c,_0x2a6ddb:0x111,_0x4a784b:0x12f,_0x55bace:0x11e,_0x441ca4:0x451,_0x56d6ba:0x109,_0x241d06:0xfb,_0x3ffe83:0x121,_0x5b92c8:0x43f,_0x119700:0x14e,_0x20a68c:0xd9,_0x192eac:0x4bf,_0x16a754:0x128,_0x33429d:0xf1},_0x4a9818={_0x3dd452:0xe0,_0x2c9193:0xe4,_0x1378bb:0xe5,_0x466e5e:0xf3,_0x6fd99c:0xe8,_0x72031a:0xe2,_0x2611bc:0xde,_0x49422a:0xdf,_0x2abc54:0x14c,_0x477c6e:0xdc,_0x1175b7:0xe2,_0x257113:0xeb},_0x5171f6={_0x271318:0x35b,_0x3476eb:0x10,_0x1668b1:0x2b,_0x38bbe1:0x40},_0x202ce2={_0x305231:0x33c,_0x2001a1:0x2a7,_0xc929b9:0x2de,_0x5625b6:0x2fd,_0x240abd:0x3af,_0x1d9a30:0x379,_0x1b7321:0x3db,_0x8546fa:0x3d6,_0x3a5eaf:0x39b,_0x32475d:0x3a0,_0x1a638d:0x2d1,_0x24de4e:0x309,_0x4ff83a:0x3b2,_0xe9bb08:0x3e3},_0x2fb311={_0x51addc:0x186},_0x35a0f6={'fdsiI':function(_0x112b75,_0x190a0b,_0x2d593a){return _0x112b75(_0x190a0b,_0x2d593a);},'Sbocp':'state.json','irAfr':_0x179768(_0x193a97._0x5eb1de,_0x193a97._0x5d3ca3)+_0x1a6919(-0x180,-0x1b8),'noIdE':function(_0x3c624b,_0x58c7da){return _0x3c624b===_0x58c7da;},'EliEo':_0x1a6919(-0x132,-0x13d),'Jtsdl':function(_0x2ad4fb,_0x2f6062){return _0x2ad4fb!==_0x2f6062;},'XTqBA':_0x1a6919(-0x142,-0x135),'kLAMx':'合法的\x20StateF'+_0x1a6919(-_0x193a97._0x37176f,-_0x193a97._0x386b40),'fjJdu':function(_0x2c5280,_0x5a23bb,_0x30c309){return _0x2c5280(_0x5a23bb,_0x30c309);},'FvNFL':'demand_ana'+_0x1a6919(-0x18d,-_0x193a97._0x2f79f9),'LzKPN':function(_0x258047,_0x28a22){return _0x258047(_0x28a22);},'QarUz':_0x1a6919(-_0x193a97._0x48e796,-_0x193a97._0x11ce09),'JNhuZ':_0x179768(_0x193a97._0x127782,_0x193a97._0x525493),'JWyhe':_0x1a6919(-_0x193a97._0x166e63,-0x175)+_0x179768(_0x193a97._0x52c22f,_0x193a97._0x598c2a),'TsagX':function(_0x228e76,_0x3ae99e){return _0x228e76(_0x3ae99e);},'banrf':function(_0x402971,_0xdcb88a,_0x44ad88){return _0x402971(_0xdcb88a,_0x44ad88);},'bDsYO':_0x1a6919(-_0x193a97._0x490a0e,-0x129)+_0x1a6919(-0x131,-_0x193a97._0x5e239b)+'l','zoCeh':_0x1a6919(-0x197,-_0x193a97._0x18c6e3)+_0x1a6919(-0x170,-_0x193a97._0x217ce4)+_0x1a6919(-_0x193a97._0x3e6046,-0x175),'udqiP':'连续两次\x20write'+_0x179768(_0x193a97._0x2b405f,0x1bd)+_0x179768(_0x193a97._0x562a90,0x186),'wJdud':function(_0x30a47b,_0x385131,_0x51b881){return _0x30a47b(_0x385131,_0x51b881);},'erklh':function(_0x533d49,_0x49ef36,_0x248ca5){return _0x533d49(_0x49ef36,_0x248ca5);}};let _0x56df79,_0x2d1f5c;function _0x179768(_0x2a19e7,_0x42a423){return _0x215bec(_0x2a19e7-0xd6,_0x42a423);}beforeEach(()=>{const _0x88ca41={_0xe47623:0x305};_0x56df79=mkdtempSync(_0x35a0f6['fdsiI'](join,tmpdir(),_0x157f96(0x18a,0x18e)+'t-'));function _0x157f96(_0x185498,_0x405358){return _0x1a6919(_0x405358-_0x88ca41._0xe47623,_0x185498);}_0x2d1f5c=join(_0x56df79,'.specops',_0x35a0f6['Sbocp']);});function _0x1a6919(_0x3e5c0c,_0x216923){return _0x215bec(_0x3e5c0c- -0x25d,_0x216923);}_0x35a0f6['LzKPN'](afterEach,()=>{const _0x5a6010={_0x550fef:0x267,_0x31c6f6:0x28c},_0x2471f9={_0xacd088:0x30,_0x43d56d:0x208},_0x21a6e8={};function _0x469ce1(_0x47faaf,_0x4ea6ab){return _0x1a6919(_0x47faaf-0x528,_0x4ea6ab);}_0x21a6e8['SihpP']=_0x35a0f6['irAfr'];const _0x2c47a3=_0x21a6e8;function _0x23bee4(_0x28edd8,_0x379779){return _0x1a6919(_0x28edd8- -_0x2fb311._0x51addc,_0x379779);}if(_0x35a0f6[_0x23bee4(-0x326,-_0x202ce2._0x305231)](_0x23bee4(-0x2d0,-0x2e0),_0x23bee4(-0x2d0,-_0x202ce2._0x2001a1))){const _0x14c353={};_0x14c353[_0x23bee4(-_0x202ce2._0xc929b9,-_0x202ce2._0x5625b6)]=!![],_0x14c353['force']=!![],_0x35a0f6[_0x469ce1(_0x202ce2._0x240abd,_0x202ce2._0x1d9a30)](rmSync,_0x56df79,_0x14c353);}else{const _0x435a6d={_0x1a1d09:0x50a},_0x326fd1={_0x35426b:0x379},_0xbfbbde={};_0xbfbbde[_0x469ce1(0x3b5,_0x202ce2._0x1b7321)]='test-proje'+'ct',_0xbfbbde['HadKl']=_0x469ce1(_0x202ce2._0x8546fa,0x400)+_0x469ce1(_0x202ce2._0x3a5eaf,_0x202ce2._0x32475d);const _0x28052b=_0xbfbbde;_0x242b8e(_0x469ce1(0x3b6,0x3e8)+_0x23bee4(-_0x202ce2._0x1a638d,-_0x202ce2._0x24de4e),()=>{const _0x2b6275={};_0x2b6275['name']=_0x28052b[_0x3c94c4(0x1fc,0x211)],_0x2b6275[_0x1aaae8(0x1d,0x15)+'se']=_0x28052b[_0x3c94c4(0x218,0x22d)];function _0x1aaae8(_0x5be7b6,_0x10d0d6){return _0x469ce1(_0x10d0d6- -_0x326fd1._0x35426b,_0x5be7b6);}const _0x52ce73={'version':0x1,'updatedAt':new _0x13a787()[_0x1aaae8(0x12,_0x2471f9._0xacd088)+'g'](),'project':_0x2b6275,'agents':{},'machineSnapshot':null},_0x1c0818=_0x204666['safeParse'](_0x52ce73);function _0x3c94c4(_0x3651ff,_0xaca759){return _0x23bee4(_0xaca759-_0x435a6d._0x1a1d09,_0x3651ff);}_0x3cfadd(_0x1c0818[_0x3c94c4(0x209,_0x2471f9._0x43d56d)])[_0x3c94c4(0x1f8,0x216)](!![]);}),_0x560f6f(_0x2c47a3[_0x469ce1(_0x202ce2._0x4ff83a,_0x202ce2._0xe9bb08)],()=>{const _0x1af83f={_0x3223b5:0x7c},_0x2961ee={};_0x2961ee[_0x3be9de(-_0x5a6010._0x550fef,-0x245)]=0x1;function _0x3c350a(_0x492755,_0x34d717){return _0x23bee4(_0x34d717-0x58e,_0x492755);}function _0x3be9de(_0x4b3612,_0x218b88){return _0x23bee4(_0x218b88-_0x1af83f._0x3223b5,_0x4b3612);}const _0x5829f2=_0x2961ee,_0x32ec6b=_0x318055[_0x3c350a(0x2a5,0x28b)](_0x5829f2);_0x325fa5(_0x32ec6b[_0x3c350a(_0x5a6010._0x31c6f6,0x28c)])[_0x3c350a(0x267,0x29a)](![]);});}}),_0x35a0f6[_0x179768(0x19f,0x190)](describe,_0x179768(_0x193a97._0x2dd2c5,0x1b9),()=>{const _0x36bc67={_0x439218:0x2ad,_0xffd467:0x2ea,_0x5b2b82:0x307,_0x970dda:0x2ce,_0x4344f0:0x304,_0x5ea8ac:0x2dc,_0x2a734d:0x28d,_0x1a3b2e:0x2f6,_0x278590:0x2f5},_0x4e7ad4={_0x4a7222:0x720},_0x745507={_0x274ab5:0xaf,_0x45f879:0xc0,_0x2249bc:0x4b,_0x639009:0x8b,_0x3de9f5:0x69},_0x501cb7={_0x43fc3d:0x1af},_0x1bef34={_0x327657:0x46d},_0x238c55={'gmuti':function(_0x5b6d40){return _0x5b6d40();},'tsTqz':'kanban-tes'+'t-','vyjKI':_0x35a0f6[_0x5628b0(-_0x5171f6._0x271318,-0x33e)],'ZtyoD':function(_0x13855e,_0x48e48c){function _0x47c6c7(_0x47fd26,_0x42de8f){return _0x5628b0(_0x42de8f,_0x47fd26-0x7af);}return _0x35a0f6[_0x47c6c7(_0x1bef34._0x327657,0x46e)](_0x13855e,_0x48e48c);},'dwKPn':_0x35a0f6['XTqBA']};function _0x339c38(_0x3fe121,_0x4cc2fc){return _0x1a6919(_0x3fe121-0x16d,_0x4cc2fc);}function _0x5628b0(_0x370415,_0x1bb5b9){return _0x1a6919(_0x1bb5b9- -_0x501cb7._0x43fc3d,_0x370415);}test(_0x35a0f6[_0x339c38(0x39,_0x5171f6._0x3476eb)],()=>{const _0xb85736={_0x46f0c3:0x277},_0x41800a={_0x46ace4:0x78},_0x4989f9={};_0x4989f9['name']=_0xd2020b(_0x745507._0x274ab5,_0x745507._0x45f879)+'ct',_0x4989f9[_0xd2020b(_0x745507._0x2249bc,0x76)+'se']=_0x218ad4(-0x8a,-0xa3)+'lysis';const _0x4df98e={'version':0x1,'updatedAt':new Date()['toISOStrin'+'g'](),'project':_0x4989f9,'agents':{},'machineSnapshot':null};function _0xd2020b(_0x2cf5c3,_0x4e899f){return _0x339c38(_0x2cf5c3-_0x41800a._0x46ace4,_0x4e899f);}function _0x218ad4(_0x3c17d0,_0x36f60e){return _0x5628b0(_0x36f60e,_0x3c17d0-_0xb85736._0x46f0c3);}const _0x2f5420=StateFileSchema[_0xd2020b(0x68,_0x745507._0x639009)](_0x4df98e);expect(_0x2f5420[_0xd2020b(_0x745507._0x3de9f5,0x48)])['toBe'](!![]);}),_0x35a0f6[_0x5628b0(-0x30f,-0x2fe)](test,_0x35a0f6[_0x339c38(-_0x5171f6._0x1668b1,-_0x5171f6._0x38bbe1)],()=>{const _0x1440cf={_0x1413bc:0x2e6};function _0x51a639(_0x1109ee,_0x542a5f){return _0x5628b0(_0x542a5f,_0x1109ee-_0x4e7ad4._0x4a7222);}function _0x1c32b7(_0x11065b,_0x1437c2){return _0x339c38(_0x1437c2- -_0x1440cf._0x1413bc,_0x11065b);}if(_0x238c55[_0x51a639(0x417,0x41a)](_0x238c55[_0x1c32b7(-_0x36bc67._0x439218,-0x2d9)],'OEDuz'))_0xf66f59=_0x3fe737(_0x5215c5(_0x238c55[_0x1c32b7(-0x2f7,-_0x36bc67._0xffd467)](_0x24ac7b),_0x238c55[_0x1c32b7(-0x2f3,-_0x36bc67._0x5b2b82)])),_0x118b07=_0x1b27c1(_0x15d12b,_0x238c55[_0x1c32b7(-0x2b1,-_0x36bc67._0x970dda)],_0x1c32b7(-_0x36bc67._0x4344f0,-_0x36bc67._0x5ea8ac));else{const _0x476d3d={};_0x476d3d[_0x1c32b7(-_0x36bc67._0x2a734d,-0x2b4)]=0x1;const _0x1b5d3d=_0x476d3d,_0x93f0cb=StateFileSchema[_0x1c32b7(-0x2f3,-_0x36bc67._0x1a3b2e)](_0x1b5d3d);expect(_0x93f0cb[_0x1c32b7(-0x2f0,-_0x36bc67._0x278590)])['toBe'](![]);}});}),describe(_0x179768(_0x193a97._0x2950eb,0x1ca)+_0x179768(0x1c7,_0x193a97._0x3596c3),()=>{const _0x21b7f3={_0x4db3d3:0x9b,_0x4cbcc0:0x5a,_0x40e8f7:0x23,_0x13739e:0x43,_0x484957:0x6e,_0x5e7d9f:0x60,_0x3bd298:0x75,_0x698c83:0xaa,_0x20c405:0xa,_0x22ea61:0x8,_0x488164:0xa6,_0x53b5ed:0x34,_0x9bd734:0x77,_0x4f71e7:0x4e,_0x59e0c0:0x39,_0x4166f7:0x3e,_0x4d2c1f:0xc2,_0x4a55ad:0xa8,_0x502132:0x46,_0x4a080f:0xbf,_0x51bfe4:0x86,_0x2164ba:0x3f,_0x54a3f2:0x36,_0x2948b6:0x1a,_0x8ccd79:0x6a,_0x311961:0x92},_0x3993d7={_0x2eb14a:0x98},_0x13daf8={_0x24acce:0x1d},_0x419e52={_0x1fbfdd:0x24},_0x3d2cde={_0x165a19:0x3d3},_0x27b24e={_0x5458fc:0x489,_0x4d8fb9:0x93,_0x2a3ef0:0x4fa,_0x2a6b89:0x4cf,_0xd41ef0:0x5d,_0x3c9a71:0x3f},_0x2def00={_0x1f4838:0x143},_0xc4d31d={'vMQee':_0x3c49ba(-_0x15952a._0x16864c,-_0x15952a._0x5711ef),'XzoQS':function(_0x927ca3,_0x1d0f0d){return _0x35a0f6['noIdE'](_0x927ca3,_0x1d0f0d);},'UvqyA':_0x241b42(0x337,0x31b),'hzNkw':_0x3c49ba(-0xa9,-0x77)+'ct','WzLbN':_0x35a0f6['FvNFL'],'epEvy':function(_0x2db219,_0x5b34a6){return _0x2db219(_0x5b34a6);},'OeIkb':function(_0xcc8be3,_0x8099dd){function _0x3265fb(_0x515f15,_0x1d5a66){return _0x241b42(_0x1d5a66- -_0x2def00._0x1f4838,_0x515f15);}return _0x35a0f6[_0x3265fb(0x1f2,0x1ff)](_0xcc8be3,_0x8099dd);},'HIpIy':function(_0x4ee44d,_0x1d855f){return _0x35a0f6['TsagX'](_0x4ee44d,_0x1d855f);},'oqTCn':_0x35a0f6[_0x3c49ba(-0xcb,-0xb6)],'TMeTN':'HIcwC'};function _0x241b42(_0x3d2b09,_0x583ab2){return _0x179768(_0x3d2b09-0x149,_0x583ab2);}_0x35a0f6[_0x241b42(0x318,_0x15952a._0x40abe1)](test,_0x35a0f6[_0x3c49ba(-_0x15952a._0x4aea13,-0x8f)],async()=>{const _0x28ec03={_0xc74e2d:0x11b};function _0x1d1ccf(_0x8adc7a,_0x2b6b35){return _0x3c49ba(_0x2b6b35,_0x8adc7a-_0x28ec03._0xc74e2d);}function _0x5638cd(_0x1688bb,_0x37bf29){return _0x3c49ba(_0x1688bb,_0x37bf29-0x54b);}if(_0x5638cd(0x498,_0x27b24e._0x5458fc)===_0xc4d31d['vMQee']){const _0x1db337=new StateFileManager(_0x2d1f5c),_0xc1aa7f=await _0x1db337[_0x1d1ccf(0x8a,_0x27b24e._0x4d8fb9)]();expect(_0xc1aa7f)['toBeNull']();}else{const _0x29061b={};_0x29061b[_0x5638cd(_0x27b24e._0x2a3ef0,_0x27b24e._0x2a6b89)]=0x1;const _0xa3e69b=_0x29061b,_0xc14486=_0x1f3301[_0x1d1ccf(_0x27b24e._0xd41ef0,0x58)](_0xa3e69b);_0x4ce68c(_0xc14486[_0x1d1ccf(0x5e,_0x27b24e._0x3c9a71)])['toBe'](![]);}}),test(_0x35a0f6['zoCeh'],async()=>{const _0x17a108={_0x1f40d1:0x19e};function _0x3f313f(_0x3c0648,_0x207cfe){return _0x241b42(_0x3c0648- -0x3fb,_0x207cfe);}function _0x38c635(_0x38262d,_0x38713c){return _0x3c49ba(_0x38262d,_0x38713c-_0x17a108._0x1f40d1);}if(_0xc4d31d[_0x3f313f(-0xea,-0xf2)](_0x38c635(0x98,0xd1),_0xc4d31d[_0x38c635(_0x4a9818._0x3dd452,0x114)])){const _0x51250b={};_0x51250b['recursive']=!![],_0x51250b[_0x3f313f(-_0x4a9818._0x2c9193,-0xe8)]=!![],_0x25c630(_0x4db946,_0x51250b);}else{const _0x443d29=new StateFileManager(_0x2d1f5c),_0x5157a4={};_0x5157a4[_0x3f313f(-0xdc,-0xdb)]=_0xc4d31d[_0x3f313f(-_0x4a9818._0x1378bb,-0xe2)],_0x5157a4['currentPha'+'se']=_0xc4d31d[_0x3f313f(-_0x4a9818._0x466e5e,-_0x4a9818._0x6fd99c)];const _0xae0814={};_0xae0814['project']=_0x5157a4,_0xae0814[_0x38c635(0xee,_0x4a9818._0x72031a)]={},_0xae0814['machineSna'+_0x3f313f(-_0x4a9818._0x2611bc,-0xea)]=null;const _0x2d6e8d=_0xae0814;await _0x443d29['write'](_0x2d6e8d);const _0x1fa18e=readFileSync(_0x2d1f5c,'utf-8'),_0x56bee8=JSON[_0x3f313f(-0xd8,-_0x4a9818._0x49422a)](_0x1fa18e);expect(_0x56bee8[_0x3f313f(-0xba,-0xc3)])['toBe'](-0x5*0x19+-0x12a1+0x131f),_0xc4d31d[_0x3f313f(-0xc6,-0xd7)](expect,_0x56bee8['updatedAt'])[_0x3f313f(-0x11d,-_0x4a9818._0x2abc54)+'d'](),_0xc4d31d[_0x38c635(0xda,0x107)](expect,_0x56bee8[_0x38c635(_0x4a9818._0x477c6e,_0x4a9818._0x1175b7)])[_0x38c635(_0x4a9818._0x257113,0xfb)]({}),expect(_0x56bee8[_0x38c635(0xe8,0xbe)+'pshot'])['toBeNull']();}});function _0x3c49ba(_0x13d9b8,_0xc708bd){return _0x1a6919(_0xc708bd-0xbf,_0x13d9b8);}test(_0x3c49ba(-0xba,-_0x15952a._0x58f689)+_0x3c49ba(-0x7d,-_0x15952a._0xe565e5)+_0x3c49ba(-_0x15952a._0x4c4d7c,-_0x15952a._0x634948),async()=>{const _0x58b713={_0x3441b9:0x90},_0x365b52={_0x273505:0x153},_0x5beb72=new StateFileManager(_0x2d1f5c),_0x37f5d0={};_0x37f5d0['name']=_0xe4cd52(-0xd5,-_0x149902._0x531571)+'ct';function _0x44823f(_0x2b0f90,_0x215c42){return _0x241b42(_0x215c42-_0x365b52._0x273505,_0x2b0f90);}_0x37f5d0[_0xe4cd52(-_0x149902._0x168472,-0x16b)+'se']=_0xc4d31d['WzLbN'];const _0x1e9170={};_0x1e9170[_0x44823f(0x461,0x44a)]=_0xe4cd52(-_0x149902._0x4a0bcf,-_0x149902._0x2a6ddb);function _0xe4cd52(_0x4351f1,_0x17ab51){return _0x3c49ba(_0x4351f1,_0x17ab51- -_0x58b713._0x3441b9);}const _0x5e0047={};_0x5e0047[_0xe4cd52(-_0x149902._0x4a784b,-_0x149902._0x55bace)]=_0x37f5d0,_0x5e0047['agents']={},_0x5e0047[_0x44823f(_0x149902._0x441ca4,0x430)+_0xe4cd52(-_0x149902._0x56d6ba,-0x130)]=_0x1e9170;const _0x31b4e6=_0x5e0047;await _0x5beb72['write'](_0x31b4e6);const _0xa052f3=await _0x5beb72[_0xe4cd52(-_0x149902._0x241d06,-_0x149902._0x3ffe83)]();_0xc4d31d[_0x44823f(_0x149902._0x5b92c8,0x432)](expect,_0xa052f3)['not'][_0xe4cd52(-_0x149902._0x119700,-0x125)](),expect(_0xa052f3[_0xe4cd52(-_0x149902._0x20a68c,-0x10c)])['toBe'](-0x7c*0x28+0x2*-0x3e2+0x1b25),_0xc4d31d[_0x44823f(_0x149902._0x192eac,0x488)](expect,_0xa052f3[_0xe4cd52(-_0x149902._0x16a754,-0x11e)]['name'])['toBe'](_0xe4cd52(-_0x149902._0x33429d,-0x107)+'ct');const _0x3b3666={};_0x3b3666['value']=_0xc4d31d[_0x44823f(0x48e,0x471)],expect(_0xa052f3[_0xe4cd52(-0x1a0,-0x170)+'pshot'])[_0x44823f(0x45e,0x46d)](_0x3b3666);}),_0x35a0f6[_0x241b42(_0x15952a._0x55738b,_0x15952a._0x42fd31)](test,_0x35a0f6[_0x3c49ba(-0x85,-_0x15952a._0xc06379)],async()=>{function _0x6acc11(_0x310a00,_0x408e50){return _0x3c49ba(_0x408e50,_0x310a00-0x504);}function _0x313e16(_0x4e6e79,_0x54d93f){return _0x3c49ba(_0x54d93f,_0x4e6e79-0x4b5);}const _0x235a00={'jpAKf':_0xc4d31d['WzLbN'],'yRbvH':function(_0x2f2d7d,_0x19b3a4){function _0x32b91b(_0x11e958,_0x92d636){return _0x5633(_0x92d636-0x360,_0x11e958);}return _0xc4d31d[_0x32b91b(_0x3d2cde._0x165a19,0x3ea)](_0x2f2d7d,_0x19b3a4);}};if(_0x313e16(_0x44064b._0x16c5ca,0x40a)===_0xc4d31d[_0x313e16(0x3eb,0x3d9)]){const _0x225d9b={};_0x225d9b['name']=_0x6acc11(_0x44064b._0x237f6c,0x4b4)+'ct',_0x225d9b['currentPha'+'se']=_0x235a00[_0x6acc11(_0x44064b._0x440fc4,_0x44064b._0x566af3)];const _0x5a0989={'version':0x1,'updatedAt':new _0x3e8ce()[_0x6acc11(_0x44064b._0x21541b,_0x44064b._0x5281a5)+'g'](),'project':_0x225d9b,'agents':{},'machineSnapshot':null},_0x2b5ccb=_0x2042af['safeParse'](_0x5a0989);_0x235a00[_0x313e16(0x3fa,0x3cb)](_0xbfe45f,_0x2b5ccb[_0x6acc11(0x447,0x410)])[_0x6acc11(0x455,_0x44064b._0xe6008e)](!![]);}else{const _0x308e2d=new StateFileManager(_0x2d1f5c),_0x463c50={};_0x463c50['name']=_0xc4d31d[_0x313e16(0x40e,0x447)],_0x463c50[_0x6acc11(0x429,_0x44064b._0x351a09)+'se']=_0x6acc11(_0x44064b._0x49754b,0x43b)+_0x6acc11(0x436,_0x44064b._0x6c1f55);const _0x6b6726={};_0x6b6726[_0x6acc11(0x476,_0x44064b._0x2f55bf)]=_0x463c50,_0x6b6726['agents']={},_0x6b6726['machineSna'+_0x313e16(_0x44064b._0x42bde5,_0x44064b._0x5753d0)]=null;const _0xd348cb=_0x6b6726;await _0x308e2d[_0x313e16(0x407,0x3e7)](_0xd348cb),await _0x308e2d[_0x313e16(_0x44064b._0x2aedbd,_0x44064b._0x271b)](_0xd348cb);const _0x3ffb52=await _0x308e2d[_0x313e16(0x424,_0x44064b._0x157766)]();expect(_0x3ffb52[_0x6acc11(_0x44064b._0x1beb7b,0x499)])[_0x313e16(_0x44064b._0x3df3f2,_0x44064b._0x1e8321)](0x73a+0x13*-0x1d6+-0xdd5*-0x2);}}),_0x35a0f6['wJdud'](test,_0x241b42(_0x15952a._0x3951e8,0x2ca)+'并发写入,第二个抛出'+'错误',async()=>{const _0x5130c6=new StateFileManager(_0x2d1f5c),_0x1de042=new StateFileManager(_0x2d1f5c),_0x188e5f={};_0x188e5f[_0x36d432(-0xc2,-0xeb)]=_0x36d432(-_0x5f0461._0x483725,-_0x5f0461._0x552f49)+'ct',_0x188e5f['currentPha'+'se']=_0x35a0f6['FvNFL'];const _0x1a22cf={};function _0x2ad3cb(_0x577751,_0x57261b){return _0x241b42(_0x577751- -0x403,_0x57261b);}function _0x36d432(_0x3b010f,_0x5af1dd){return _0x3c49ba(_0x5af1dd,_0x3b010f- -_0x419e52._0x1fbfdd);}_0x1a22cf['project']=_0x188e5f,_0x1a22cf[_0x2ad3cb(-_0x5f0461._0x4113d5,-0x104)]={},_0x1a22cf['machineSna'+_0x36d432(-0xc4,-_0x5f0461._0x25db56)]=null;const _0x2b3702=_0x1a22cf;await _0x5130c6[_0x36d432(-0xd2,-0xe2)](_0x2b3702),await _0x5130c6['read'](),await _0x1de042['read'](),await _0x5130c6[_0x36d432(-0xd2,-_0x5f0461._0x9da8d6)](_0x2b3702),await _0x35a0f6['LzKPN'](expect,_0x1de042['write'](_0x2b3702))[_0x36d432(-0xef,-0xd0)][_0x2ad3cb(-0xf0,-0xd8)](/冲突|conflict|version/i);}),test(_0x3c49ba(-_0x15952a._0x3583c1,-0xa9)+'t()\x20更新单个\x20A'+_0x241b42(_0x15952a._0x4b1472,_0x15952a._0x1657d5),async()=>{const _0x10acfa=new StateFileManager(_0x2d1f5c),_0x5ec2f1={};_0x5ec2f1[_0x8a9f08(-_0x21b7f3._0x4db3d3,-0x81)]=_0x8a9f08(-0x3d,-_0x21b7f3._0x4cbcc0)+'ct',_0x5ec2f1[_0x31c579(-_0x21b7f3._0x40e8f7,-_0x21b7f3._0x13739e)+'se']=_0x35a0f6['FvNFL'];const _0x343a6a={};_0x343a6a[_0x8a9f08(-0x5b,-0x68)]=_0x8a9f08(-_0x21b7f3._0x484957,-0x5b),_0x343a6a[_0x8a9f08(-_0x21b7f3._0x5e7d9f,-_0x21b7f3._0x3bd298)]=null,_0x343a6a[_0x8a9f08(-0xa1,-_0x21b7f3._0x698c83)]=[],_0x343a6a['phase']=_0x35a0f6['QarUz'],_0x343a6a['currentOpe'+'ration']='',_0x343a6a[_0x8a9f08(-_0x21b7f3._0x3bd298,-0x53)+'ll']='';const _0x226a6f={};_0x226a6f['agent_001']=_0x343a6a;const _0xb8f422={};_0xb8f422[_0x31c579(0x2,_0x21b7f3._0x20c405)]=_0x5ec2f1;function _0x8a9f08(_0x209b90,_0x3fbb53){return _0x3c49ba(_0x209b90,_0x3fbb53-_0x13daf8._0x24acce);}_0xb8f422[_0x31c579(-_0x21b7f3._0x22ea61,-0x24)]=_0x226a6f,_0xb8f422[_0x8a9f08(-_0x21b7f3._0x488164,-0xc3)+_0x31c579(-_0x21b7f3._0x53b5ed,-0x8)]=null;const _0x4da1b1=_0xb8f422;function _0x31c579(_0x4dccc4,_0x1cdfe0){return _0x3c49ba(_0x4dccc4,_0x1cdfe0-_0x3993d7._0x2eb14a);}await _0x10acfa['write'](_0x4da1b1),await _0x10acfa['updateAgen'+'t'](_0x35a0f6[_0x8a9f08(-0x3f,-_0x21b7f3._0x9bd734)],{'phase':_0x35a0f6[_0x31c579(-_0x21b7f3._0x4f71e7,-_0x21b7f3._0x59e0c0)],'currentOperation':_0x31c579(-0x5f,-_0x21b7f3._0x4166f7),'currentSkill':_0x35a0f6[_0x8a9f08(-_0x21b7f3._0x4d2c1f,-_0x21b7f3._0x4a55ad)]});const _0x209b91=await _0x10acfa[_0x8a9f08(-_0x21b7f3._0x502132,-0x74)](),_0x1541c=_0x209b91[_0x8a9f08(-_0x21b7f3._0x4a080f,-0x9f)][_0x35a0f6[_0x8a9f08(-_0x21b7f3._0x51bfe4,-0x77)]];expect(_0x1541c[_0x31c579(_0x21b7f3._0x2164ba,0x22)])['toBe'](_0x8a9f08(-0x57,-0x76)+_0x31c579(-0x37,-_0x21b7f3._0x54a3f2)),_0x35a0f6['LzKPN'](expect,_0x1541c[_0x31c579(0x4a,0x18)+_0x31c579(_0x21b7f3._0x54a3f2,_0x21b7f3._0x2948b6)])[_0x8a9f08(-_0x21b7f3._0x8ccd79,-_0x21b7f3._0x311961)]('正在分析需求'),_0x35a0f6[_0x31c579(-0xe,-0x42)](expect,_0x1541c['currentSki'+'ll'])[_0x8a9f08(-0x86,-_0x21b7f3._0x311961)](_0x35a0f6['JWyhe']);});});});function _0x29bb(){const _0x53e678=['seLWsxK','6ycs5AkE5yIWidi','u3rHDgvgAwXLtq','y3vYCMvUDfbOyq','vhnHz1G','AxjbzNi','6AAw5QYH5yAz5ywL5yIB5BU654Q25Ocb5PAh5lU2','mtiXntu0rNLyCfrH','5Q2J5zYO5yIg5P6q6zYa5Rgc','zxjRBgG','sNrZzgW','DgvgAwXLiowVUEIXOq','5lMq6kEc6zsb5yAY56Qb77YA5lIK5lIQ5A6E5l6l','rNzorKW','rwXPrw8','DhnuCxO','BhLZAxm','q0LeDg0','mJi0n3LprLzfva','CMvQzwn0CW','ve1Lve4','CMvXDwLYzw1LBG','nJqYnJyYmuvcEgrssa','y2HPBgrjzhm','DMfSDwu','sLD5Agu','57Y65Bcr5B+f5AgR5A2x5Q6155Qe5PwW5O2U5QcH','u2nOzw1HioAGOEMQJa','z3HSyu0','6AQm5AsX6lsL','Dg9ju09tDhjPBG','nZeYodDds1Dqt3e','C2fMzvbHCNnL','C3vJy2vZCW','ywDLBNrZ','EvjIDKG','zMrZAuK','mJyWCgzzyLzJ','A2fUyMfUlxrLCW','u2LOCfa','uwfYvxO','v3PmyK4','u0Lou0C','5zci5Rov55Qeifn0yxrLrG','z211DgK','77Ym5yYf5zcRihzLCNnPBW','mJeYntzkDKXZs3a','Dg9czq','D3jPDgu','yw5Hz2vY','whPVuvm','mJKYoduWnfrjrg5itq','Dg9uAhjVDW','DxbKyxrLqwDLBG','z2vUDcdNIRBMGie','AhPoA3C','zM9Yy2u','yMfUCMy','C3rHDguUANnVBG','Dg9fCxvHBa','ANbbs2y','zhDlug4','ChnOB3q','B3fuq24','BMfTzq','DwrXAva','m3DMA1DfAa','wNr5B0q','CgfYC2u','CMvJDxjZAxzL','sgfKs2W','t2vjA2i','DNLQs0K','Dg9czu51BgW','sK5ODvO','zgvTyw5Kx2fUyq','CgfYzw50swq','CMvHza','zMPkzhu','yKrZwu8','ChjVAMvJDa','5yAz5ywL5zcoihjLywqOkq','AwXLioAvSoAnRUMaMUI/H+AGOEMQJa','whjZrvy','vxzXEue','5PAh5lU25lIn5A2y5zYO5PE2ihjLyq','zxbfDNK','reLyq28','vvj4ruG','ywDLBNrjza','BJ0X','t0veDxO','kcKG54Mi5PYS5y+35lUoideG','AwrSzq','y3vYCMvUDe9Wzq','Dc1HBMfSExPLCG','CMf0Aw9U','mJi4ntC2mNbuvMvjAG','DMvYC2LVBG','thPlue4','54Q25Ocb5OYb5lMf5yYw5Bgc','ioI/LowBNUATO+EHRUEAHcbtDge','ywDLBNrFmdaX','DgvZDc1WCM9Qzq','CgHHC2u','A0XbtxG','mti2ndyYmJbNqNfbAha','lNnWzwnVChm','zcGPioI/LowBNIbUDwW','mtfbt3j4whG','y3vYCMvUDfnRAq','BM9jzeu','BwfJAgLUzvnUyq','Dg9czurLzMLUzq'];_0x29bb=function(){return _0x53e678;};return _0x29bb();}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin 引擎 — 返回字符串结果的 API
|
|
3
|
+
*
|
|
4
|
+
* 与 engine.ts 的 console.log 版本不同,这里所有函数返回格式化字符串,
|
|
5
|
+
* 供 OpenCode Plugin 工具直接返回给 LLM。
|
|
6
|
+
* 直接操作 state.json,不依赖内存 Actor。
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* 获取项目状态
|
|
10
|
+
*/
|
|
11
|
+
export declare function getStatus(stateFilePath: string): Promise<string>;
|
|
12
|
+
/**
|
|
13
|
+
* 推进阶段
|
|
14
|
+
*/
|
|
15
|
+
export declare function advancePhase(stateFilePath: string, agentId?: string): Promise<string>;
|
|
16
|
+
/**
|
|
17
|
+
* 创建新项目
|
|
18
|
+
*/
|
|
19
|
+
export declare function newProject(stateFilePath: string, projectName: string): Promise<string>;
|
|
20
|
+
/**
|
|
21
|
+
* 更新操作
|
|
22
|
+
*/
|
|
23
|
+
export declare function updateOperation(stateFilePath: string, agentId: string, operation: string, skill: string): Promise<string>;
|
|
24
|
+
/**
|
|
25
|
+
* 注册 Agent
|
|
26
|
+
*/
|
|
27
|
+
export declare function registerAgent(stateFilePath: string, agentId: string, options?: {
|
|
28
|
+
parentId?: string;
|
|
29
|
+
phase?: string;
|
|
30
|
+
}): Promise<string>;
|
|
31
|
+
/**
|
|
32
|
+
* 注销 Agent
|
|
33
|
+
*/
|
|
34
|
+
export declare function deregisterAgent(stateFilePath: string, agentId: string): Promise<string>;
|
|
35
|
+
/**
|
|
36
|
+
* 显示详细项目进度
|
|
37
|
+
*/
|
|
38
|
+
export declare function showProgress(stateFilePath: string): Promise<string>;
|
|
39
|
+
/**
|
|
40
|
+
* 快速任务模式
|
|
41
|
+
*/
|
|
42
|
+
export declare function quickTask(stateFilePath: string, task: string): Promise<string>;
|