@alenfitz/spec-copilot 2.1.0 → 2.2.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/adapters/index.js +11 -1
- package/bin/cli.js +11 -1
- package/bin/frontend-checks.js +11 -0
- package/commands/spec:apply.md +3 -0
- package/commands/spec:smoke.md +28 -9
- package/framework/AGENTS.md.template +9 -3
- package/framework/CHANGELOG.md +37 -0
- package/framework/VERSION +1 -1
- package/package.json +1 -1
package/adapters/index.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
const _0x11d6b6=_0x2fcc,_0x53b81f=_0x2fcc;(function(_0x369b41,_0x1a5fdb){const _0x2b8663={_0x17fe85:0x148,_0xbb5e72:0x161,_0x39dcb0:0x13f},_0x3a1ee0=_0x2fcc,_0x224c82=_0x2fcc,_0x4a816=_0x369b41();while(!![]){try{const _0x1e7669=parseInt(_0x3a1ee0(_0x2b8663._0x17fe85))/(0x1e43+0xd2d+-0x2b6f*0x1)*(-parseInt(_0x224c82(0xbf))/(-0xb8c+-0x1eb+0xd79))+parseInt(_0x224c82(0xc2))/(-0x28+-0x1985+0x10*0x19b)+-parseInt(_0x224c82(0x129))/(0x32d*0x7+-0x154b+-0xec)*(-parseInt(_0x224c82(_0x2b8663._0xbb5e72))/(-0x20a6+-0x142f*0x1+-0x21*-0x19a))+parseInt(_0x3a1ee0(0x9d))/(0x34d+-0x2eb*-0xa+-0x7*0x4a3)+-parseInt(_0x224c82(0x119))/(0x3fb*0x1+0x2493+-0x53*0x7d)+parseInt(_0x224c82(_0x2b8663._0x39dcb0))/(-0x26ba+-0xf03+0x35c5)+-parseInt(_0x3a1ee0(0x138))/(0x10*-0x61+-0x23e4+0x29fd);if(_0x1e7669===_0x1a5fdb)break;else _0x4a816['push'](_0x4a816['shift']());}catch(_0x1c699a){_0x4a816['push'](_0x4a816['shift']());}}}(_0x312c,-0x52ca2+0x2d975+0x53f20));const _0x59bc3c=(function(){const _0x576cc7={_0x26e45a:0x100,_0x120564:0x146},_0x12e5a5={_0x5004d3:0xa9,_0x30ee27:0x100,_0xa7189e:0x146,_0x2481f0:0xc9,_0x5ace2a:0x99},_0x1c98d0={_0x38188a:0x102,_0x25716a:0xca,_0x5c8fc0:0x12e},_0xfcb682=_0x2fcc,_0x22a82e=_0x2fcc,_0x16bf77={};_0x16bf77[_0xfcb682(_0x576cc7._0x26e45a)]='.opencode',_0x16bf77[_0xfcb682(_0x576cc7._0x120564)]=function(_0x2c4f27,_0x4b8309){return _0x2c4f27!==_0x4b8309;},_0x16bf77[_0x22a82e(0xc9)]=_0x22a82e(0x149);const _0x4cd85a=_0x16bf77;let _0x28bdaf=!![];return function(_0x2e16d9,_0x2fba1b){const _0xde00a1=_0x22a82e,_0x432e0d=_0x22a82e,_0x2312c2={};_0x2312c2['zweiD']=_0xde00a1(0x102),_0x2312c2[_0xde00a1(_0x12e5a5._0x5004d3)]=_0x4cd85a[_0xde00a1(_0x12e5a5._0x30ee27)];const _0x54d83a=_0x2312c2;if(_0x4cd85a[_0x432e0d(_0x12e5a5._0xa7189e)](_0x432e0d(0xd5),_0x4cd85a[_0xde00a1(_0x12e5a5._0x2481f0)])){const _0x351efe=_0x28bdaf?function(){const _0x19f131=_0x432e0d,_0x46a250=_0x432e0d,_0x204928={'esUTu':function(_0x51068c,_0x2a5478){return _0x51068c+_0x2a5478;},'YewbC':function(_0x5170f5){return _0x5170f5();}};if(_0x2fba1b){if(_0x54d83a[_0x19f131(0xd2)]===_0x19f131(_0x1c98d0._0x38188a)){const _0x1476d8=_0x2fba1b[_0x46a250(_0x1c98d0._0x25716a)](_0x2e16d9,arguments);return _0x2fba1b=null,_0x1476d8;}else return _0x204928['esUTu'](_0x554de9,_0x204928[_0x46a250(_0x1c98d0._0x5c8fc0)](_0x4e8cd7));}}:function(){};return _0x28bdaf=![],_0x351efe;}else return _0x4328ac[_0xde00a1(_0x12e5a5._0x5ace2a)](_0x4c1f46[_0xde00a1(0x15b)](_0x274fb9,_0x54d83a[_0xde00a1(_0x12e5a5._0x5004d3)]))||_0x5ea172['existsSync'](_0x29059c[_0xde00a1(0x15b)](_0x4f2ac9,_0x432e0d(0xcd)+_0xde00a1(0xb1)));};}()),_0x1431f5=_0x59bc3c(this,function(){const _0x476fb8={_0x13b610:0x14d,_0x19aaa3:0x141,_0x3e2c73:0x14d,_0x352255:0xf8,_0x4e6eb7:0x13c},_0x1e474b=_0x2fcc,_0x14a56e=_0x2fcc,_0x1ece20={};_0x1ece20[_0x1e474b(0xbc)]=_0x1e474b(0x13c)+'+$';const _0x4134d0=_0x1ece20;return _0x1431f5[_0x14a56e(_0x476fb8._0x13b610)]()[_0x1e474b(_0x476fb8._0x19aaa3)](_0x4134d0['yeGtD'])[_0x14a56e(_0x476fb8._0x3e2c73)]()[_0x1e474b(_0x476fb8._0x352255)+'r'](_0x1431f5)[_0x14a56e(0x141)](_0x14a56e(_0x476fb8._0x4e6eb7)+'+$');});_0x1431f5();const fs=require('fs'),path=require(_0x11d6b6(0xc0));function stripFrontmatter(_0xfd2dc6){const _0x3a7ef9={_0x2ef78c:0xb0},_0x5eb081=_0x11d6b6,_0x54d021=_0x11d6b6,_0x301d6b=_0xfd2dc6[_0x5eb081(0x11a)](/^---\n[\s\S]*?\n---\n?/);return _0x301d6b?_0xfd2dc6[_0x5eb081(_0x3a7ef9._0x2ef78c)](_0x301d6b[-0xad*-0x26+0x33*-0x13+-0x15e5]['length']):_0xfd2dc6;}function parseAgentMeta(_0x52ffac){const _0x3ff0f8={_0x92b98d:0x154,_0xdc1d22:0x11a,_0x3bbf53:0x9c,_0x540c11:0xfc,_0x449253:0xe4,_0x98ab4c:0xfc,_0x457a8e:0x13b,_0xc45f8d:0x10a},_0x2de066=_0x11d6b6,_0x5cb5f7=_0x11d6b6,_0x25da58={};_0x25da58[_0x2de066(_0x3ff0f8._0x92b98d)]=function(_0x567b79,_0x155b74){return _0x567b79===_0x155b74;};const _0x2ac480=_0x25da58,_0x1e9ca8=_0x52ffac[_0x5cb5f7(0x11a)](/^---\n([\s\S]*?)\n---/),_0x9b6846={};_0x9b6846[_0x5cb5f7(0x9f)]='',_0x9b6846[_0x5cb5f7(0x133)]='',_0x9b6846[_0x2de066(0xe8)+'e']='';if(!_0x1e9ca8)return _0x9b6846;const _0x28176c={};for(const _0x2f8f22 of _0x1e9ca8[-0x8*-0x30b+-0x22d9+-0x5*-0x21a]['split']('\x0a')){const _0x229918=_0x2f8f22[_0x2de066(_0x3ff0f8._0xdc1d22)](/^(\w+):\s*(.+)$/);if(_0x229918)_0x28176c[_0x229918[0x6a+0x2583+0xca4*-0x3]]=_0x229918[0x1127+0x13+-0x1138][_0x5cb5f7(_0x3ff0f8._0x3bbf53)]();}return _0x28176c[_0x2de066(_0x3ff0f8._0x540c11)]&&_0x2ac480['PhRKQ'](typeof _0x28176c[_0x5cb5f7(0xfc)],_0x5cb5f7(_0x3ff0f8._0x449253))&&(_0x28176c[_0x5cb5f7(_0x3ff0f8._0x98ab4c)]=_0x28176c[_0x2de066(_0x3ff0f8._0x540c11)][_0x5cb5f7(_0x3ff0f8._0x457a8e)](',')[_0x5cb5f7(_0x3ff0f8._0xc45f8d)](_0x2cf36b=>_0x2cf36b[_0x5cb5f7(0x9c)]())['filter'](Boolean)),_0x28176c;}function _0x2fcc(_0x13abb4,_0x554de9){_0x13abb4=_0x13abb4-(-0x84*-0x2e+0x1*-0x1d07+-0x5e7*-0x1);const _0x4e8cd7=_0x312c();let _0x391b70=_0x4e8cd7[_0x13abb4];if(_0x2fcc['wyzcYU']===undefined){var _0x474dd7=function(_0x36e0af){const _0x552e74='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4533cf='',_0x7ce121='',_0x499602=_0x4533cf+_0x474dd7,_0x1cd4d7=(''+function(){return-0x35e*0x3+-0x1bb*0x7+0x1637;})['indexOf']('\x0a')!==-(0x2564+0x4eb+-0x6*0x70d);for(let _0x16d594=-0x1cf5+-0x3*0x26d+0x243c,_0x47976a,_0x561fe0,_0x10182d=-0x1*-0x186b+0x2b9*0x9+0x1*-0x30ec;_0x561fe0=_0x36e0af['charAt'](_0x10182d++);~_0x561fe0&&(_0x47976a=_0x16d594%(-0x1*0xfd+0x1*0x691+-0x8*0xb2)?_0x47976a*(-0x1d27+-0x5f3*-0x1+0x1774)+_0x561fe0:_0x561fe0,_0x16d594++%(-0x269e+0x281*0x2+0x21a0))?_0x4533cf+=_0x1cd4d7||_0x499602['charCodeAt'](_0x10182d+(-0xc00+-0xda3*0x2+0x2750))-(-0x217d+0x2*-0x73c+0x2fff)!==0x1a*-0x156+0x1c31+0x1*0x68b?String['fromCharCode'](0x875+-0x185*0x14+0x16ee&_0x47976a>>(-(-0xad7+0x25*0xb3+-0x2*0x783)*_0x16d594&0x446*0x9+-0x576+0x6*-0x57f)):_0x16d594:-0x15*-0x81+-0x1b*0xac+-0x1*-0x78f){_0x561fe0=_0x552e74['indexOf'](_0x561fe0);}for(let _0x52fe6c=-0x2*0x6c9+-0x25c+-0x2*-0x7f7,_0x302636=_0x4533cf['length'];_0x52fe6c<_0x302636;_0x52fe6c++){_0x7ce121+='%'+('00'+_0x4533cf['charCodeAt'](_0x52fe6c)['toString'](-0x5*0xc7+0x7*-0x2c9+0x1772))['slice'](-(0x116*-0x21+-0x5*0x23b+0x2eff));}return decodeURIComponent(_0x7ce121);};_0x2fcc['Dizkqz']=_0x474dd7,_0x2fcc['zUUSFa']={},_0x2fcc['wyzcYU']=!![];}const _0x187cdf=_0x4e8cd7[0x5*-0xe3+-0x42b+0x89a],_0x5a7913=_0x13abb4+_0x187cdf,_0x14ef41=_0x2fcc['zUUSFa'][_0x5a7913];if(!_0x14ef41){const _0x3d1298=function(_0x3e4f2a){this['YPVFfX']=_0x3e4f2a,this['KuSnbO']=[-0x1*-0x1421+-0x1eeb+-0xacb*-0x1,0x1356+0xdac+-0x2102,-0x228c+-0x27*0x2f+0xde7*0x3],this['BtCJTi']=function(){return'newState';},this['dQNFMS']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['vxXRRK']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3d1298['prototype']['FzfIjZ']=function(){const _0x10a1b9=new RegExp(this['dQNFMS']+this['vxXRRK']),_0x9ccbc7=_0x10a1b9['test'](this['BtCJTi']['toString']())?--this['KuSnbO'][-0x1*-0x18ed+0x1f6*-0x2+-0x1500]:--this['KuSnbO'][0x3*0x147+0x84d+-0xc22];return this['bpxxFs'](_0x9ccbc7);},_0x3d1298['prototype']['bpxxFs']=function(_0x5b5532){if(!Boolean(~_0x5b5532))return _0x5b5532;return this['fwaozt'](this['YPVFfX']);},_0x3d1298['prototype']['fwaozt']=function(_0x110653){for(let _0x4e7a6c=0x1fd+-0x1*0xac7+-0x2*-0x465,_0x1cb85e=this['KuSnbO']['length'];_0x4e7a6c<_0x1cb85e;_0x4e7a6c++){this['KuSnbO']['push'](Math['round'](Math['random']())),_0x1cb85e=this['KuSnbO']['length'];}return _0x110653(this['KuSnbO'][0x16f0+0x1695+-0x10f*0x2b]);},(''+function(){return 0x14d3+-0x790*0x4+0x96d;})['indexOf']('\x0a')===-(-0x1*0x1f49+-0x14e*-0xb+0x10f0*0x1)&&new _0x3d1298(_0x2fcc)['FzfIjZ'](),_0x391b70=_0x2fcc['Dizkqz'](_0x391b70),_0x2fcc['zUUSFa'][_0x5a7913]=_0x391b70;}else _0x391b70=_0x14ef41;return _0x391b70;}function buildOpencodeAgentFrontmatter(_0x2ba59b){const _0x202500={_0x1b5fa6:0x12b,_0x1deb0c:0x10c,_0x394929:0xf3,_0x4994c7:0xd1,_0x4d0014:0xa5,_0x32ee44:0x10d,_0x215ef7:0x108,_0x542f3f:0x10e,_0x25879c:0x10d,_0x4bd9d9:0x166,_0x213fad:0x124,_0x29b531:0xc5,_0x694681:0x133,_0x50c0f2:0xc1},_0x4d88fa=_0x11d6b6,_0x2232e4=_0x11d6b6,_0x4e5409={};_0x4e5409[_0x4d88fa(0x10d)]=_0x2232e4(0xdc),_0x4e5409['rxIaj']=_0x4d88fa(_0x202500._0x1b5fa6),_0x4e5409[_0x2232e4(_0x202500._0x1deb0c)]=function(_0x1c1a8d,_0x2a996e){return _0x1c1a8d>_0x2a996e;},_0x4e5409['lgWry']=_0x2232e4(0xd7),_0x4e5409[_0x4d88fa(_0x202500._0x394929)]=_0x2232e4(_0x202500._0x4994c7),_0x4e5409['wEuhQ']=_0x4d88fa(_0x202500._0x4d0014);const _0x3fc996=_0x4e5409,_0x4b0029=[_0x3fc996[_0x4d88fa(_0x202500._0x32ee44)],_0x3fc996[_0x2232e4(_0x202500._0x215ef7)],_0x4d88fa(0x166),_0x4d88fa(0xd7)],_0x3efbf8=_0x2ba59b['tools']&&_0x3fc996[_0x4d88fa(0x10c)](_0x2ba59b[_0x4d88fa(0xfc)][_0x4d88fa(_0x202500._0x542f3f)],0xd14+-0x773*0x1+-0x5a1)?_0x2ba59b[_0x4d88fa(0xfc)]:_0x4b0029,_0x359b00=[_0x3fc996[_0x2232e4(_0x202500._0x25879c)],_0x3fc996[_0x4d88fa(0x108)],_0x4d88fa(_0x202500._0x4bd9d9),_0x3fc996[_0x2232e4(_0x202500._0x213fad)],_0x4d88fa(0xf2),_0x3fc996['vWHZD']],_0x4efc14=_0x359b00['map'](_0x35ef1f=>'\x20\x20'+_0x35ef1f+':\x20'+(_0x3efbf8[_0x2232e4(0xaf)](_0x35ef1f)?_0x2232e4(0x130):'false'));return[_0x3fc996['wEuhQ'],'descriptio'+_0x4d88fa(_0x202500._0x29b531)+(_0x2ba59b[_0x4d88fa(_0x202500._0x694681)]||_0x2ba59b['name']),_0x2232e4(0x11e)+'gent',_0x2232e4(0x121),..._0x4efc14,_0x3fc996[_0x2232e4(_0x202500._0x50c0f2)],'']['join']('\x0a');}function buildClaudeCodeAgentFrontmatter(_0x2d4ca9){const _0x1913b8={_0x466e18:0x10f,_0xce98a1:0x147,_0x280b32:0x135,_0x5d5b7a:0xdc,_0x4b2cc9:0xd7,_0x3488d6:0xc8,_0x558dd:0xdc,_0x253bf2:0x166,_0x2fbe4b:0x104,_0x302ddf:0xf2,_0x148d41:0x14b,_0x88ead5:0x12b,_0x132e31:0xfc,_0x3c177f:0xfc,_0x53b1eb:0x10a,_0x3f1ce7:0xa5,_0x4a8895:0x133,_0x6d0c7c:0xa5,_0x1474c2:0x15b},_0x201d2a=_0x11d6b6,_0x176cfc=_0x11d6b6,_0x52499c={};_0x52499c[_0x201d2a(0xc6)]=_0x176cfc(0xba),_0x52499c[_0x201d2a(_0x1913b8._0x466e18)]='Grep',_0x52499c[_0x201d2a(0x11b)]=_0x176cfc(0x151),_0x52499c['wQNbT']=_0x176cfc(_0x1913b8._0xce98a1),_0x52499c[_0x176cfc(0x14b)]='Write',_0x52499c['FkaMD']=_0x201d2a(_0x1913b8._0x280b32),_0x52499c['UKJDr']=_0x201d2a(_0x1913b8._0x5d5b7a),_0x52499c[_0x176cfc(0x14f)]='glob',_0x52499c['NNKXD']=_0x201d2a(_0x1913b8._0x4b2cc9),_0x52499c[_0x176cfc(_0x1913b8._0x3488d6)]=function(_0x13b39d,_0x4a98ff){return _0x13b39d>_0x4a98ff;};const _0x27b9fb=_0x52499c,_0x1db714={};_0x1db714[_0x201d2a(_0x1913b8._0x558dd)]=_0x27b9fb[_0x201d2a(0xc6)],_0x1db714[_0x201d2a(0x12b)]=_0x27b9fb[_0x201d2a(_0x1913b8._0x466e18)],_0x1db714[_0x176cfc(_0x1913b8._0x253bf2)]=_0x27b9fb[_0x201d2a(0x11b)],_0x1db714[_0x201d2a(0xd7)]=_0x27b9fb[_0x201d2a(_0x1913b8._0x2fbe4b)],_0x1db714[_0x176cfc(_0x1913b8._0x302ddf)]=_0x27b9fb[_0x201d2a(_0x1913b8._0x148d41)],_0x1db714['edit']=_0x27b9fb[_0x201d2a(0xdb)];const _0x2a0b00=_0x1db714,_0x182edf=[_0x27b9fb['UKJDr'],_0x201d2a(_0x1913b8._0x88ead5),_0x27b9fb['OydgB'],_0x27b9fb['NNKXD']],_0x561698=_0x2d4ca9[_0x201d2a(_0x1913b8._0x132e31)]&&_0x27b9fb['FZEnk'](_0x2d4ca9[_0x176cfc(_0x1913b8._0x132e31)]['length'],-0x1f74+0x4*0x926+-0x524)?_0x2d4ca9[_0x201d2a(_0x1913b8._0x3c177f)]:_0x182edf,_0x1e331d=_0x561698[_0x201d2a(_0x1913b8._0x53b1eb)](_0x3300bf=>_0x2a0b00[_0x3300bf]||_0x3300bf)[_0x176cfc(0x15b)](',\x20');return[_0x201d2a(_0x1913b8._0x3f1ce7),'name:\x20'+_0x2d4ca9['name'],_0x201d2a(0xf5)+'n:\x20'+(_0x2d4ca9[_0x176cfc(_0x1913b8._0x4a8895)]||_0x2d4ca9[_0x176cfc(0x9f)]),_0x201d2a(0xab)+_0x1e331d,_0x201d2a(_0x1913b8._0x6d0c7c),''][_0x201d2a(_0x1913b8._0x1474c2)]('\x0a');}function buildCommandRoutingSection(){const _0x8c8165={_0x380096:0x136,_0x48aea1:0xe7,_0x1d5ebe:0x164,_0xde9576:0x122,_0x497c90:0x10b,_0x1398bf:0x125,_0x5df390:0x165,_0x236aa2:0x145,_0x2e2719:0xf9,_0x2a0ee5:0x9e,_0x2d883f:0xb9,_0x11abed:0xc4,_0x2d8d55:0xf0,_0x107a5f:0xac,_0xceed31:0x155,_0x9fc9ef:0x162,_0x41c641:0x160,_0x416952:0x15c,_0x2ff0fe:0xa2,_0xf1709a:0xfb,_0x1ce623:0xef,_0x516aac:0xe6,_0x365e62:0x101,_0x50b945:0xde,_0xbd7256:0xa7,_0x7c96c5:0xd6,_0x3a3fd7:0xbd},_0x443533=_0x11d6b6,_0x587621=_0x11d6b6;return _0x443533(_0x8c8165._0x380096)+_0x587621(_0x8c8165._0x48aea1)+_0x587621(_0x8c8165._0x1d5ebe)+_0x443533(_0x8c8165._0xde9576)+_0x443533(0x126)+_0x587621(_0x8c8165._0x497c90)+_0x443533(0x156)+_0x443533(0x9a)+'spec:init`'+_0x587621(0x9e)+_0x587621(0xb9)+'mands/spec'+_0x443533(_0x8c8165._0x1398bf)+_0x443533(0x14c)+':bootstrap'+_0x443533(0x162)+_0x443533(_0x8c8165._0x5df390)+'mmands/spe'+_0x443533(_0x8c8165._0x236aa2)+'p.md`\x20|\x0a|\x20'+_0x443533(_0x8c8165._0x2e2719)+_0x587621(0x15f)+_0x587621(_0x8c8165._0x2a0ee5)+_0x443533(_0x8c8165._0x2d883f)+_0x443533(0xb8)+_0x443533(0xed)+'d`\x20|\x0a|\x20`/s'+_0x443533(_0x8c8165._0x11abed)+_0x587621(0xd8)+_0x443533(_0x8c8165._0x2d8d55)+'/commands/'+'spec:flow.'+_0x443533(0x107)+_0x587621(0xb2)+_0x443533(_0x8c8165._0x107a5f)+'`spec_copi'+'lot/comman'+_0x443533(0xe1)+'ply.md`\x20|\x0a'+_0x443533(_0x8c8165._0xceed31)+'moke\x20<变更名>'+_0x443533(_0x8c8165._0x9fc9ef)+'copilot/co'+_0x587621(_0x8c8165._0x41c641)+_0x443533(0x11d)+_0x443533(0x158)+_0x443533(_0x8c8165._0x416952)+_0x443533(0x134)+'spec_copil'+_0x443533(_0x8c8165._0x2ff0fe)+_0x587621(0xe0)+_0x443533(0xf7)+_0x587621(0x114)+'ix\x20<变更名>`\x20'+_0x587621(_0x8c8165._0xf1709a)+_0x443533(_0x8c8165._0x1ce623)+_0x443533(_0x8c8165._0x516aac)+_0x587621(0x9b)+_0x587621(_0x8c8165._0x365e62)+_0x443533(0xec)+_0x587621(_0x8c8165._0x2a0ee5)+_0x443533(_0x8c8165._0x2d883f)+'mands/spec'+':test.md`\x20'+_0x443533(0x14c)+_0x587621(0x111)+'变更名>`\x20|\x20`s'+_0x587621(0xd0)+'t/commands'+_0x443533(_0x8c8165._0x50b945)+'ive.md`\x20|\x0a'+_0x443533(_0x8c8165._0xbd7256)+'otfix\x20<描述>'+_0x443533(_0x8c8165._0x9fc9ef)+'copilot/co'+_0x443533(0x160)+_0x587621(0xae)+_0x443533(0x128)+_0x443533(0xeb)+_0x443533(0x14a)+_0x443533(0x13d)+_0x443533(_0x8c8165._0x7c96c5)+_0x443533(_0x8c8165._0x3a3fd7)+'>`\x20替换为用户在命'+'令后提供的参数。\x0a';}const adapters={'opencode':{'name':'opencode','displayName':_0x53b81f(0x127),'description':_0x11d6b6(0x140)+_0x11d6b6(0xdd)+_0x11d6b6(0xad)+_0x11d6b6(0xfe)+_0x11d6b6(0xcc),'promptPath':_0x11d6b6(0xff),'commandsDir':'.opencode/'+_0x53b81f(0xfa),'hasNativeCommands':!![],'agentsDir':'.opencode/'+'agent','supportsSubagent':!![],'detect'(_0x41af6e){const _0x5e7421={_0xda7778:0x98,_0x103ff2:0xcd,_0x3a118a:0x15b,_0x2cfb1d:0xf4},_0x330fb4=_0x53b81f,_0x2d8db3=_0x53b81f,_0x29755e={};_0x29755e[_0x330fb4(_0x5e7421._0xda7778)]=_0x2d8db3(_0x5e7421._0x103ff2)+_0x330fb4(0xb1);const _0xeaca16=_0x29755e;return fs[_0x2d8db3(0x99)](path[_0x330fb4(_0x5e7421._0x3a118a)](_0x41af6e,_0x330fb4(_0x5e7421._0x2cfb1d)))||fs['existsSync'](path[_0x330fb4(0x15b)](_0x41af6e,_0xeaca16[_0x330fb4(0x98)]));},'formatPrompt'(_0x4658d2){return _0x4658d2;},'formatCommand'(_0x213089,_0x3e658b){return _0x213089;},'formatAgent'(_0x447a7c,_0x3527dc){const _0x106dd1={};_0x106dd1['xkpAR']=function(_0x38ce69,_0x336017){return _0x38ce69+_0x336017;};const _0x1c75a6=_0x106dd1;return _0x1c75a6['xkpAR'](buildOpencodeAgentFrontmatter(_0x3527dc),stripFrontmatter(_0x447a7c));},'cleanupPaths':['AGENTS.md',_0x53b81f(0xea)+_0x11d6b6(0xfa)]},'claude-code':{'name':_0x11d6b6(0x105)+'e','displayName':'Claude\x20Cod'+'e','description':_0x53b81f(0xd9)+_0x53b81f(0xce)+'hropic)','promptPath':_0x11d6b6(0xe5),'commandsDir':'.claude/co'+_0x53b81f(0xa0),'hasNativeCommands':!![],'agentsDir':_0x11d6b6(0xb6)+'ents','supportsSubagent':!![],'detect'(_0xc308b9){const _0x705a59={_0x3d802b:0x110,_0xb057c8:0x99,_0x114500:0x15b,_0x40ed8f:0x110},_0x16b2b4=_0x11d6b6,_0x58b549=_0x11d6b6,_0x5b3d26={};_0x5b3d26[_0x16b2b4(_0x705a59._0x3d802b)]=_0x58b549(0xe5);const _0x80ef01=_0x5b3d26;return fs[_0x16b2b4(_0x705a59._0xb057c8)](path[_0x16b2b4(0x15b)](_0xc308b9,_0x16b2b4(0xdf)))||fs['existsSync'](path[_0x16b2b4(_0x705a59._0x114500)](_0xc308b9,_0x80ef01[_0x16b2b4(_0x705a59._0x40ed8f)]));},'formatPrompt'(_0x512024){return _0x512024;},'formatCommand'(_0x493536,_0x287fcd){return _0x493536;},'formatAgent'(_0x5193c1,_0x4eab30){const _0x59f8fd={_0x2ca992:0x150},_0x4c0c55=_0x11d6b6,_0x24b0ba=_0x11d6b6,_0x3052b0={};_0x3052b0[_0x4c0c55(0x150)]=function(_0x57d97c,_0x223def){return _0x57d97c+_0x223def;};const _0x30bca5=_0x3052b0;return _0x30bca5[_0x24b0ba(_0x59f8fd._0x2ca992)](buildClaudeCodeAgentFrontmatter(_0x4eab30),stripFrontmatter(_0x5193c1));},'cleanupPaths':[_0x11d6b6(0xe5),'.claude/co'+_0x53b81f(0xa0)]},'cursor':{'name':_0x53b81f(0x117),'displayName':'Cursor','description':'Cursor\x20IDE'+'\x20(.cursor/'+_0x53b81f(0x15d)+'c)','promptPath':_0x53b81f(0x123)+_0x53b81f(0x112)+_0x11d6b6(0xc3),'commandsDir':null,'hasNativeCommands':![],'detect'(_0x426e7f){const _0x17d3c3={_0xf557:0x120},_0x507c6d=_0x53b81f,_0x500e95=_0x53b81f,_0x3d3460={};_0x3d3460[_0x507c6d(_0x17d3c3._0xf557)]=_0x507c6d(0x106)+'es';const _0x1ace63=_0x3d3460;return fs[_0x507c6d(0x99)](path[_0x500e95(0x15b)](_0x426e7f,_0x507c6d(0xa6)))||fs[_0x500e95(0x99)](path[_0x507c6d(0x15b)](_0x426e7f,_0x1ace63[_0x507c6d(0x120)]));},'formatPrompt'(_0xd8be21){const _0x5c5058={_0x53cbda:0xa5,_0x2c1389:0x11c,_0x2528e7:0xee,_0x262c1c:0xa3,_0x3719b2:0x15b},_0x3fe5db=_0x53b81f,_0xa8ef88=_0x53b81f,_0x521758={};_0x521758['VOkaY']=_0x3fe5db(_0x5c5058._0x53cbda),_0x521758[_0x3fe5db(0xfd)]=function(_0x27e99d,_0x1410e4){return _0x27e99d+_0x1410e4;},_0x521758['MJoJz']=function(_0x10775b,_0x51ab8a){return _0x10775b+_0x51ab8a;};const _0x3b92a6=_0x521758,_0x27ab1c=[_0x3fe5db(0xa5),_0xa8ef88(0xf5)+_0x3fe5db(0x118)+_0x3fe5db(_0x5c5058._0x2c1389)+_0x3fe5db(_0x5c5058._0x2528e7)+_0x3fe5db(_0x5c5058._0x262c1c)+_0x3fe5db(0xaa),'alwaysAppl'+'y:\x20true',_0x3b92a6[_0x3fe5db(0x132)],''][_0xa8ef88(_0x5c5058._0x3719b2)]('\x0a');return _0x3b92a6[_0xa8ef88(0xfd)](_0x3b92a6['MJoJz'](_0x27ab1c,_0xd8be21),buildCommandRoutingSection());},'formatCommand'(_0x4807ab,_0x1bc0b9){return _0x4807ab;},'cleanupPaths':[_0x53b81f(0x123)+_0x53b81f(0x112)+_0x11d6b6(0xc3)]},'windsurf':{'name':_0x11d6b6(0xe2),'displayName':'Windsurf','description':'Windsurf\x20I'+_0x53b81f(0x12a)+'urf/rules/'+')','promptPath':_0x11d6b6(0xcb)+_0x53b81f(0xa8)+_0x11d6b6(0x115)+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0x295046){const _0x43cd50={_0x305687:0xb3,_0x9cb11b:0x15b,_0x45da4f:0x15b,_0x3d15d8:0xb5,_0x46404e:0x159},_0x1e5cf8=_0x11d6b6,_0x261ef4=_0x11d6b6,_0xfad324={};_0xfad324[_0x1e5cf8(_0x43cd50._0x305687)]='.windsurf';const _0x14e65c=_0xfad324;return fs['existsSync'](path[_0x1e5cf8(_0x43cd50._0x9cb11b)](_0x295046,_0x14e65c[_0x261ef4(_0x43cd50._0x305687)]))||fs[_0x1e5cf8(0x99)](path[_0x1e5cf8(_0x43cd50._0x45da4f)](_0x295046,_0x261ef4(_0x43cd50._0x3d15d8)+_0x1e5cf8(_0x43cd50._0x46404e)));},'formatPrompt'(_0x40a57){const _0x3d61eb=_0x11d6b6,_0x1f87b6={'IvLfW':function(_0x3921ff,_0x32616f){return _0x3921ff+_0x32616f;},'DQGWL':function(_0x2569f5){return _0x2569f5();}};return _0x1f87b6['IvLfW'](_0x40a57,_0x1f87b6[_0x3d61eb(0xc7)](buildCommandRoutingSection));},'formatCommand'(_0x342380,_0x4beb7d){return _0x342380;},'cleanupPaths':[_0x11d6b6(0xcb)+_0x11d6b6(0xa8)+_0x53b81f(0x115)+'d']},'copilot':{'name':_0x11d6b6(0x12c),'displayName':_0x11d6b6(0x15e)+_0x11d6b6(0x137),'description':_0x53b81f(0x15e)+_0x53b81f(0xd3)+_0x53b81f(0x113)+_0x11d6b6(0x13a)+_0x53b81f(0xd4),'promptPath':_0x11d6b6(0xbe)+_0x53b81f(0x157)+_0x11d6b6(0x11f)+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0x565f1c){const _0x49efca={_0x56efd9:0xa4,_0xa697a9:0x15b,_0xb54fee:0x12d},_0x3659d8=_0x11d6b6,_0x12459a=_0x11d6b6,_0x5c5cbe={};_0x5c5cbe[_0x3659d8(0x15a)]=_0x12459a(0xf1)+_0x3659d8(_0x49efca._0x56efd9)+_0x3659d8(0xa1);const _0x209781=_0x5c5cbe;return fs[_0x12459a(0x99)](path[_0x12459a(_0x49efca._0xa697a9)](_0x565f1c,_0x3659d8(_0x49efca._0xb54fee),_0x209781['eNPtW']));},'formatPrompt'(_0x82c758){return _0x82c758+buildCommandRoutingSection();},'formatCommand'(_0x4d7d6d,_0x170e3e){return _0x4d7d6d;},'cleanupPaths':['.github/co'+_0x53b81f(0x157)+_0x53b81f(0x11f)+'d']},'cline':{'name':_0x11d6b6(0x152),'displayName':_0x11d6b6(0xe3),'description':_0x53b81f(0x163)+_0x11d6b6(0x143)+_0x53b81f(0xf6)+'rules/)','promptPath':_0x11d6b6(0x142)+_0x11d6b6(0x116)+_0x11d6b6(0x139),'commandsDir':null,'hasNativeCommands':![],'detect'(_0x2525d8){const _0x3d7ebb={_0x1e334e:0xda,_0x926cea:0x144},_0xc11a67=_0x53b81f,_0x3b483e=_0x53b81f,_0x4a6f44={};_0x4a6f44[_0xc11a67(_0x3d7ebb._0x1e334e)]=_0x3b483e(0x142)+'s';const _0x3b3ba2=_0x4a6f44;return fs['existsSync'](path['join'](_0x2525d8,_0x3b3ba2[_0xc11a67(0xda)]))||fs[_0xc11a67(0x99)](path['join'](_0x2525d8,_0xc11a67(_0x3d7ebb._0x926cea)));},'formatPrompt'(_0x290424){return _0x290424+buildCommandRoutingSection();},'formatCommand'(_0xd85adc,_0x67a008){return _0xd85adc;},'cleanupPaths':[_0x53b81f(0x142)+_0x53b81f(0x116)+_0x53b81f(0x139)]}};function _0x312c(){const _0xbfc02e=['yw1LD29YAYdIGjqG','C3rYDwn0Aw9UCW','ls0T','lMn1CNnVCG','FcbGl3nWzwm6Aa','CNvSzxmVC3bLyW','rhfNC0q','quKG57Yw56cb5y2p5l2C6kEe6iYdiG','Dg9VBhm6ia','idZLJ5JMM7tLKi0+ycb8ia','lMnVBs9VCgvUyW','yZPOB3rMAxGUBq','Aw5JBhvKzxm','C2XPy2u','C29U','C3bLyZPHChbSEq','wu10tem','twv0yq','lNDPBMrZDxjMCG','lMnSyxvKzs9HzW','B29SCW','BwfUzhmVC3bLyW','B3bPBg90l2nVBq','uMvHza','DMfSDwvZ','EwvhDeq','5y+y5PU05zcnpMdJGifGpoApJ+I/Sa','lMDPDgH1yI9JBW','mtiYnZyYBfLbwfHv','Cgf0Aa','D0v1Afe','nZKZnJa1yuXcsLnQ','B3bPBg90lM1KyW','CgvJoMzSB3CGpa','BJOG','Dgf1zw4','rffhv0W','rLPfBMS','DwHACKe','yxbWBhK','lNDPBMrZDxjMlW','BMnVzguP','B3bLBMnVzguUAG','zsbdteKGkefUDa','C3vWCg9YDgvKva','CgvJx2nVCgLSBW','zwrPDa','ENDLAuq','AwXVDcaOlMDPDa','Aw9UCY5TzcK','A2jACKK','iga86zYa5RgcpMdJGifGpa','yMfZAa','6zYa5RgcpMaGFcbGC3a','q2XHDwrLienVza','uxnUvLC','rMTHtuq','CMvHza','teKGkgDPDgH1yG','l3nWzwm6yxjJAa','lMnSyxvKzq','CY9ZCgvJoNjLDG','zhmVC3bLyZPHCa','D2LUzhn1CMy','q2XPBMu','C3rYAw5N','q0XbvurflM1K','yw5KCY9ZCgvJoG','5zg95lUK6lEV55sXcGRLVzpNLkJMIlFOVPm','D2HLBL90B191CW','ywrHChrLCNm','lM9Wzw5JB2rLlW','5zg95lUK5zco77YmkIRNQ4VLJBmQkG','zxn0idZLJ5JMM7tLKi0+ya','oNbYB3bVC2uUBq','Bg9WBwvUDcbgCG','CgLSB3qVy29TBq','zwnFy29WAwXVDa','y29WAwXVDc1PBG','D3jPDgu','DLDiwKq','lM9Wzw5JB2rL','zgvZy3jPChrPBW','B24Gkc5JBgLUzq','Awv3lM1Kycb8cG','y29UC3rYDwn0BW','yc9ZCgvJoNbYBW','y29TBwfUzhm','FcbGC3bLy19JBW','Dg9VBhm','DK5IBwG','B2rLlwfPl29Wzq','quDftLrtlM1K','CLLzChK','FcbGl3nWzwm6Da','y2PMwgO','zgv0zwn0vg9VBa','D1foyLq','y2XHDwrLlwnVza','lMn1CNnVCNj1Ba','BwrGihWkFcbGlW','CNHjywO','zwn0Aw9U','BwfW','6k+75y+w5PAh5lU2ihWkFc0T','shL6rxu','r2H5De8','BgvUz3rO','CxrLAfK','q0XHrMe','oMfYy2HPDMuGpa','BgvZl3nWzwmTyW','AhvIl2nVCgLSBW','FcbGl3nWzwm6zG','lwnVCgLSB3qUBq','CY9ZCgvJlwnVCa','y3vYC29Y','BJOGiLnWzwmTra','mtGXnZy5B0zirLbz','Bwf0y2G','BfjvyK0','CML2zw4Grgv2zq','yZPZBw9Rzs5Tza','Bw9KztOGC3vIyq','CNvJDgLVBNmUBq','yvDKqM0','Dg9VBhm6','5BQu5PAh5lU25BM25OYj5yw25OYh5lUK5OMN6kgm','lMn1CNnVCI9YDq','BgDxCNK','oMLUAxqUBwrGia','77YAcGP8iowrVEs7Pcb8ia','B3bLBMnVzgu','zgaGFaOk55sO5OI36l6t5ywL','mJaWzez4uLfb','reuGkc53Aw5KCW','z3jLCa','y29WAwXVDa','lMDPDgH1yG','wwv3yKm','C3rYAxbgCM9UDa','Dhj1zq','CgfYC2vbz2vUDa','vK9RyvK','CM9Szq','powpMoABTowqJt5GihWGya','rwrPDa','cGOTls0kcImJia','AwXVDa','mZm1mtmZmgPny2D0AW','AwXVDc5Tza','Dc1PBNn0CNvJDa','C3bSAxq','kcGOlISPkYKRkq','5lIn6zYa6kAb5yAn5QYH56gU6k6K44cccUwWHG','yNvPBgrdB21Tyq','ntuZndy0tLHrEunO','B3bLBMnVzguGqW','C2vHCMnO','lMnSAw5LCNvSzq','zguGzxH0zw5ZAq','lMnSAw5L','yZPIB290C3rYyq','ALLIsMC','qMfZAa','nwL1rKPkyG','DLPhsNq','6k+75y+w5A+55BQu5PAh5lU25BM25OMN6kgm77Ym','zNntDu0','FaP8igaVC3bLyW','Dg9tDhjPBMC','zxHWB3j0CW','t3LKz0i','EwvjEuW','r2XVyG','y2XPBMu','zMLSDgvY','ugHss1e','FcbGl3nWzwm6CW','ls0TlxWTls0Tlq','CgLSB3qTAw5ZDa','ycb8cNWGyc9ZCa','DwXLCW','zu5qDfC','AM9PBG','zwm6CMv2Awv3ia','CNvSzxmVkI5Tza','r2L0shvIienVCa','Cg9Zzsa86zYa5RgcpMa','Bw1HBMrZl3nWzq','mtGXmtvQBvzIqMG','ycb8igbZCgvJxW','q2XPBMuGvLndBW','5ywL5lUL5lIl5zg95lUK5PE277Ym6k+75y+w5A+5','y29WAwXVDc9JBW','z2XVyG','qwXHAKi','zxHPC3rZu3LUyW','ls0TlxWkFcbGlW','zML4lM1Kycb8cG','DhjPBq','mJi5mta5ngzIwuDNwG','ihWGyhnWzwnFyW','BMfTzq','Bw1HBMrZ','lM1K','B3qVy29TBwfUza'];_0x312c=function(){return _0xbfc02e;};return _0x312c();}function detectTools(_0x2a6000){const _0x5a4e39={_0x5a2d37:0xbb},_0x112d00=_0x53b81f,_0x25fe51=_0x53b81f;return Object[_0x112d00(_0x5a4e39._0x5a2d37)](adapters)[_0x112d00(0x153)](_0x2b8219=>_0x2b8219['detect'](_0x2a6000));}function supportedTools(){return Object['keys'](adapters);}const _0x38b30a={};_0x38b30a[_0x53b81f(0xe9)]=adapters,_0x38b30a[_0x53b81f(0x103)+'s']=detectTools,_0x38b30a[_0x53b81f(0xcf)+_0x11d6b6(0xb7)]=supportedTools,_0x38b30a[_0x53b81f(0x13e)+'ndRoutingS'+_0x11d6b6(0x109)]=buildCommandRoutingSection,_0x38b30a[_0x53b81f(0x12f)+'matter']=stripFrontmatter,_0x38b30a[_0x53b81f(0x131)+_0x11d6b6(0xb4)]=parseAgentMeta,module[_0x53b81f(0x14e)]=_0x38b30a;
|
|
1
|
+
/*!
|
|
2
|
+
* @alenfitz/spec-copilot v2.2.0
|
|
3
|
+
* Copyright (c) 2026 alenfitz. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* This file is proprietary and obfuscated. Reverse engineering, decompilation,
|
|
6
|
+
* disassembly, or unauthorized redistribution of any kind is strictly prohibited.
|
|
7
|
+
* Source code is NOT licensed under MIT/Apache and is NOT available for derivative work.
|
|
8
|
+
*
|
|
9
|
+
* Bugs / feature requests: https://github.com/Alenfitz/spec_copilit/issues
|
|
10
|
+
*/
|
|
11
|
+
const _0x745394=_0x1d63,_0x200231=_0x1d63;(function(_0x549d98,_0x120d84){const _0x286804={_0x28b102:0x133,_0x3f7bdd:0x191,_0xb421fa:0x13a,_0x226370:0x19e,_0x5dc8c8:0x12a},_0x36cb4a=_0x1d63,_0x392b26=_0x1d63,_0x5c9fba=_0x549d98();while(!![]){try{const _0x1ab92e=parseInt(_0x36cb4a(0xf3))/(0x2c2+-0x5*0x137+-0xaa*-0x5)+-parseInt(_0x392b26(0x12f))/(0x1e8b+0x1281*-0x1+-0xc08)*(-parseInt(_0x36cb4a(0x147))/(0xb0b+-0xaa5+-0x63))+-parseInt(_0x36cb4a(_0x286804._0x28b102))/(0x13ad+-0x98+-0x1311)*(parseInt(_0x392b26(_0x286804._0x3f7bdd))/(-0x23d+-0x4d*-0x6b+0xa3*-0x2f))+-parseInt(_0x36cb4a(_0x286804._0xb421fa))/(0x35*0x39+0x2298+-0x2e5f)*(parseInt(_0x36cb4a(0x1af))/(-0x4*0x527+0x1e6d+-0xb3*0xe))+parseInt(_0x36cb4a(0x160))/(0x1*0x229a+0x1fc9+-0x425b)+parseInt(_0x392b26(0x14f))/(0xf50+-0x9*0xd+-0xed2)*(-parseInt(_0x36cb4a(0x185))/(0x1b8a+-0x303*0x5+-0xc71))+parseInt(_0x36cb4a(_0x286804._0x226370))/(-0x161a+-0xa*-0x5+0x15f3)*(parseInt(_0x36cb4a(_0x286804._0x5dc8c8))/(0x1749+-0x4*-0x792+-0x11d7*0x3));if(_0x1ab92e===_0x120d84)break;else _0x5c9fba['push'](_0x5c9fba['shift']());}catch(_0x305126){_0x5c9fba['push'](_0x5c9fba['shift']());}}}(_0x42e3,0x9ffe*0xd+-0x3*-0xbaaf+-0x7*0xacde));const _0x580b34=(function(){let _0x3d66ec=!![];return function(_0xd7d5a0,_0x1ec98f){const _0x483b81=_0x3d66ec?function(){if(_0x1ec98f){const _0x1a52b9=_0x1ec98f['apply'](_0xd7d5a0,arguments);return _0x1ec98f=null,_0x1a52b9;}}:function(){};return _0x3d66ec=![],_0x483b81;};}()),_0x5022e2=_0x580b34(this,function(){const _0x52e6c1={_0x4a4768:0x1b0,_0x3e2510:0x170},_0x1d119e=_0x1d63,_0x51939e=_0x1d63;return _0x5022e2[_0x1d119e(_0x52e6c1._0x4a4768)]()[_0x51939e(0xf4)](_0x1d119e(0x170)+'+$')[_0x1d119e(0x1b0)]()['constructo'+'r'](_0x5022e2)['search'](_0x1d119e(_0x52e6c1._0x3e2510)+'+$');});_0x5022e2();function _0x42e3(){const _0x23364a=['Cg9Zzsa86zYa5RgcpMa','m21LEMrOza','CNvSzxmVkq','Bwf0y2G','yc9ZCgvJoNbYBW','AhvIl2nVCgLSBW','DwXLCW','v3jPDgu','uNfKufi','ovP5BhzrAG','yxD5Bui','zxn0idZLJ5JMM7tLKi0+ya','BwfUzhmVC3bLyW','B24Gkc5JBgLUzq','zvPYt0S','Cgf0Aa','CgX5lM1Kycb8cG','ze9csNm','D2LUzhn1CMy','r2L0shvIienVCa','cGOTls0kcImJia','zxHWB3j0CW','B3bLBMnVzguUAG','quToq3O','BwrkAeu','lMnSAw5L','mZC0mJC0neTYtfrVsq','6k+75y+w5A+55BQu5PAh5lU25BM25OMN6kgm77Ym','Cc5TzgaGFaP8ia','C3bSAxq','B3bLBMnVzguGqW','quKG57Yw56cb5y2p5l2C6kEe6iYdiG','C2XPy2u','C0PWufq','CY9ZCgvJlwnVCa','CgvJoMzSB3CGpa','lM9Wzw5JB2rLlW','oMfYy2HPDMuGpa','5y+y5PU05zcnpMdJGifGpoApJ+I/Sa','Bw9KztOGC3vIyq','ywrHChrLCNm','zhmVC3bLyZPHCa','kcGOlISPkYKRkq','D2HLBL90B191CW','5BQu5PAh5lU25BM25OYj5yw25OYh5lUK5OMN6kgm','BMnVzguP','y29WAwXVDc9JBW','BJOG','q0XbvurflM1K','q3vYC29Y','FcbGl3nWzwm6CW','y2XHDwrLlwnVza','Dc9JB21Tyw5KCW','zgv0zwn0vg9VBa','BJOGiLnWzwmTra','AKrhAKu','Bw9Rzsa85y+y5PU05zcnpG','lMnSyxvKzs9HzW','rwrPDa','wefJCfa','lMDPDgH1yI9JBW','r2XVyG','qwDHzvK','nty1nte1mgvKvNz5yG','zMfSC2u','AwXVDc5Tza','Dg9VBhm6ia','sfHowgi','oNrLC3qUBwrGia','CgLSB3qVy29TBq','Aw5JBhvKzxm','zw50CW','vg5JvxO','CM9Szq','yw5KCY9ZCgvJoG','mZu3mdC3nundDgr1rq','wNnOEhy','y29WAwXVDa','BgvUz3rO','v2LUzhn1CMyGsq','lMnVBs9VCgvUyW','y29TBwfUzhm','thrlsvG','zgvZy3jPChrPBW','C1nMB1K','CwDJD1i','yMfZAa','lMnSAw5LCNvSzq','mtmWnJKXEfbsy2jx','DKHVB3y','qMfZAa','z3jLCa','Bg90l2nVBw1HBG','AhjVCgLJkq','B3qVy29TBwfUza','B3rMAxGGpoApJ+I/Sd4','B3bLBMnVzgu','yhnWzwnFy29WAq','C3bLy19JB3bPBa','lMDPDgH1yG','oNbYB3bVC2uUBq','q3vYC29YieLerq','ls0TlxWTls0Tlq','ywDLBNq','pMaG5PU/5O2I5lI655sO5OI35zYO5zg9','mti2DNDZwMve','Dg9tDhjPBMC','lwnVCgLSB3qUBq','oMjVB3rZDhjHCa','zgXPu0q','CY9ZCgvJoNjLDG','AxzLlM1Kycb8cG','q2XHDwrLienVza','Bw1HBMrZl3nWzq','Bw1HBMrZ','icGUy3vYC29YlW','powpMoABTowqJt5GihWGya','zxHPC3rZu3LUyW','77YAcGP8iowrVEs7Pcb8ia','lM9Wzw5JB2rL','zwm6CMv2Awv3ia','zej0s1q','ihWGyhnWzwnFyW','mti0otiXthfTBer0','C2vHCMnO','CMvHza','CNvSzxmVkI5Tza','ycb8igbZCgvJxW','zgv0zwn0','quDftLrtlM1K','FaP8igaVC3bLyW','AwXVDa','v2LUzhn1CMy','zwn0Aw9U','ls0TlxWkFcbGlW','ywX3yxLZqxbWBa','B2rLlwfPl29Wzq','v2Xxuwy','C3rYAxbgCM9UDa','5lIn6zYa6kAb5yAn5QYH56gU6k6K44cccUwWHG','DwnPsMe','C3rYAw5N','Dg9VBhm','lNDPBMrZDxjMCG','5ywL5lUL5lIl5zg95lUK5PE277Ym6k+75y+w5A+5','reuGkc53Aw5KCW','CNvJDgLVBNmUBq','lMn1CNnVCNj1Ba','C3bLyZPHChbSEq','sxnor2C','BgvZl3nWzwmTyW','Dg9VBhm6','Aw9UCY5TzcK','ycb8cNWGyc9ZCa','yZPZBw9Rzs5Tza','z2vUDa','FcbGl3nWzwm6zG','BwfW','DNzmsxu','q2XPBMuGvLndBW','zML4lM1Kycb8cG','6k+75y+w5PAh5lU2ihWkFc0T','B3bPBg90l2nVBq','CgfYC2vbz2vUDa','twv0yq','l2nVBw1HBMrZlW','B3bPBg90lM1KyW','AwXVDcaOlMDPDa','lMn1CNnVCI9YDq','qLLJsfm','BMfTzq','yNvPBgrdB21Tyq','D3jPDgu','A29rt1m','l3nWzwm6yxjJAa','FcbGC3bLy19JBW','teKGkgDPDgH1yG','y3vYC29Y','nti4zg5wDMjp','AM9PBG','wejKEwq','CxnSrNO','Evv3Ew4','mtiWmdq1ofDyC2HfvG','zwrPDa','BwrGihWkFcbGlW','ugTRDKu','ngLdvevTsW','BhDYt2W','FcbGl3nWzwm6Da','oMLUAxqUBwrGia','ls0T','v0DiwM0','lMn1CNnVCG','mJmZndzeCMPYzgy','AxGGpowpMoABTowqJt5Gia','FcbGl3nWzwm6Aa','Bwf0DgvY','DhjPBq','CNvSzxmVC3bLyW','Dhj1zq','z2XVyG','q2XPBMu','iga86zYa5RgcpMdJGifGpa','CgvJx2nVCgLSBW','lNDPBMrZDxjMlW'];_0x42e3=function(){return _0x23364a;};return _0x42e3();}const fs=require('fs'),path=require(_0x745394(0x155));function stripFrontmatter(_0x4e6572){const _0x55812d={_0x1d27a8:0x166,_0x1523b8:0x194},_0x38a8f4=_0x745394,_0x44ff27=_0x745394,_0x4abff6=_0x4e6572[_0x38a8f4(0x149)](/^---\n[\s\S]*?\n---\n?/);return _0x4abff6?_0x4e6572[_0x38a8f4(_0x55812d._0x1d27a8)](_0x4abff6[0x131b+0x1b8a+0x2ea5*-0x1][_0x38a8f4(_0x55812d._0x1523b8)]):_0x4e6572;}function parseAgentMeta(_0x5a3e21){const _0x333065={_0x2e4c57:0x17d,_0x4d8485:0x122,_0x3679ab:0x171,_0xc79406:0x163,_0x5bacda:0x149,_0x51c48a:0x106,_0x18f431:0x19b,_0x4ab97e:0x106},_0x5be324=_0x745394,_0x3e1f32=_0x745394,_0x309182={};_0x309182[_0x5be324(0x19b)]=function(_0x25e6da,_0x53d461){return _0x25e6da===_0x53d461;},_0x309182[_0x3e1f32(_0x333065._0x2e4c57)]=_0x3e1f32(0x105);const _0x132253=_0x309182,_0x59fcd2=_0x5a3e21[_0x3e1f32(0x149)](/^---\n([\s\S]*?)\n---/),_0x46ac7e={};_0x46ac7e[_0x3e1f32(_0x333065._0x4d8485)]='',_0x46ac7e['role']='',_0x46ac7e[_0x5be324(_0x333065._0x3679ab)+'e']='';if(!_0x59fcd2)return _0x46ac7e;const _0x164a97={};for(const _0x2ba3c5 of _0x59fcd2[0x2d3+0x232b+-0x799*0x5][_0x3e1f32(_0x333065._0xc79406)]('\x0a')){const _0x5020f3=_0x2ba3c5[_0x3e1f32(_0x333065._0x5bacda)](/^(\w+):\s*(.+)$/);if(_0x5020f3)_0x164a97[_0x5020f3[0xb1*-0x1f+0xf25*-0x2+0x33ba]]=_0x5020f3[0x18ec+0x7f4+-0x20de][_0x5be324(0x13e)]();}return _0x164a97[_0x5be324(_0x333065._0x51c48a)]&&_0x132253[_0x5be324(_0x333065._0x18f431)](typeof _0x164a97[_0x3e1f32(_0x333065._0x51c48a)],_0x132253[_0x5be324(0x17d)])&&(_0x164a97[_0x5be324(0x106)]=_0x164a97[_0x5be324(_0x333065._0x4ab97e)]['split'](',')[_0x5be324(0x115)](_0x1a4df7=>_0x1a4df7[_0x5be324(0x13e)]())['filter'](Boolean)),_0x164a97;}function buildOpencodeAgentFrontmatter(_0x28574f){const _0xd4dbb9={_0x42a683:0x14e,_0x10cd22:0xf5,_0x1bd80b:0x130,_0x44cded:0x167,_0x26ff87:0x137,_0x5ce396:0xf5,_0x204e4a:0x141,_0x2226bb:0x106,_0x155efe:0x124,_0x1867a1:0x115,_0x469eb3:0x167,_0x5643c1:0x199,_0x22ba52:0x18f,_0x80383d:0x122},_0x4285b2=_0x745394,_0x33ae94=_0x745394,_0x4bc7ef={};_0x4bc7ef[_0x4285b2(_0xd4dbb9._0x42a683)]=_0x4285b2(_0xd4dbb9._0x10cd22),_0x4bc7ef[_0x4285b2(0x15e)]=_0x33ae94(0x1a1),_0x4bc7ef['baORZ']=_0x33ae94(0x19c),_0x4bc7ef[_0x4285b2(0x104)]=_0x4285b2(_0xd4dbb9._0x1bd80b),_0x4bc7ef[_0x4285b2(_0xd4dbb9._0x44cded)]=_0x4285b2(_0xd4dbb9._0x26ff87),_0x4bc7ef['TncUz']=_0x33ae94(0x10f);const _0x5f31c3=_0x4bc7ef,_0x5e3f1d=[_0x4285b2(_0xd4dbb9._0x5ce396),'grep',_0x33ae94(_0xd4dbb9._0x204e4a),'bash'],_0x3592a9=_0x28574f['tools']&&_0x28574f['tools']['length']>0x127f*0x1+-0xf89+-0x2f6?_0x28574f[_0x33ae94(_0xd4dbb9._0x2226bb)]:_0x5e3f1d,_0x17ecd2=[_0x5f31c3[_0x33ae94(_0xd4dbb9._0x42a683)],_0x5f31c3['mdJhE'],_0x4285b2(0x141),_0x5f31c3['baORZ'],_0x33ae94(_0xd4dbb9._0x155efe),_0x5f31c3['uciJa']],_0x4d5ae1=_0x17ecd2[_0x4285b2(_0xd4dbb9._0x1867a1)](_0x11b3d5=>'\x20\x20'+_0x11b3d5+':\x20'+(_0x3592a9[_0x4285b2(0x18c)](_0x11b3d5)?_0x33ae94(0x140):_0x4285b2(0x186)));return[_0x5f31c3[_0x4285b2(_0xd4dbb9._0x469eb3)],_0x33ae94(_0xd4dbb9._0x5643c1)+_0x4285b2(0x175)+(_0x28574f[_0x33ae94(_0xd4dbb9._0x22ba52)]||_0x28574f[_0x33ae94(_0xd4dbb9._0x80383d)]),_0x4285b2(0x16d)+_0x4285b2(0x113),_0x5f31c3[_0x4285b2(0x18e)],..._0x4d5ae1,_0x5f31c3[_0x4285b2(_0xd4dbb9._0x469eb3)],''][_0x4285b2(0x12b)]('\x0a');}function buildClaudeCodeAgentFrontmatter(_0x36c743){const _0x4fe9bc={_0x4e06d3:0x184,_0x3c6e21:0x1a0,_0x2d06de:0x132,_0x132eda:0x19f,_0x18ea1a:0x12d,_0x8dad51:0x19c,_0x26eb68:0x141,_0x29d962:0x124,_0x1e16b9:0x132,_0xee1ef4:0x1a1,_0x3d987d:0x12c,_0x28548c:0x106,_0x18b4aa:0x106,_0x46c66c:0x194,_0x272c41:0x137},_0x16442e=_0x745394,_0x42630d=_0x745394,_0x23b2ad={};_0x23b2ad[_0x16442e(_0x4fe9bc._0x4e06d3)]=_0x16442e(_0x4fe9bc._0x3c6e21),_0x23b2ad['dliSD']=_0x42630d(0x14d),_0x23b2ad[_0x16442e(_0x4fe9bc._0x2d06de)]=_0x42630d(0x180),_0x23b2ad[_0x16442e(_0x4fe9bc._0x132eda)]='read',_0x23b2ad[_0x16442e(_0x4fe9bc._0x18ea1a)]='glob',_0x23b2ad['XBdyd']=_0x16442e(_0x4fe9bc._0x8dad51);const _0xa0a9c2=_0x23b2ad,_0x5b136a={};_0x5b136a['read']='Read',_0x5b136a[_0x16442e(0x1a1)]='Grep',_0x5b136a[_0x16442e(_0x4fe9bc._0x26eb68)]=_0x16442e(0x183),_0x5b136a[_0x16442e(_0x4fe9bc._0x8dad51)]=_0xa0a9c2[_0x16442e(_0x4fe9bc._0x4e06d3)],_0x5b136a[_0x16442e(_0x4fe9bc._0x29d962)]=_0xa0a9c2[_0x42630d(0x1b3)],_0x5b136a[_0x42630d(0x130)]=_0xa0a9c2[_0x42630d(_0x4fe9bc._0x1e16b9)];const _0x5db17e=_0x5b136a,_0xa91c9f=[_0xa0a9c2[_0x16442e(0x19f)],_0x16442e(_0x4fe9bc._0xee1ef4),_0xa0a9c2[_0x42630d(_0x4fe9bc._0x18ea1a)],_0xa0a9c2[_0x42630d(_0x4fe9bc._0x3d987d)]],_0x3e9ced=_0x36c743[_0x16442e(_0x4fe9bc._0x28548c)]&&_0x36c743[_0x16442e(_0x4fe9bc._0x18b4aa)][_0x16442e(_0x4fe9bc._0x46c66c)]>0x1e22+0x1*-0xb7d+-0x12a5?_0x36c743[_0x42630d(0x106)]:_0xa91c9f,_0x1904cb=_0x3e9ced[_0x16442e(0x115)](_0x1644c6=>_0x5db17e[_0x1644c6]||_0x1644c6)[_0x42630d(0x12b)](',\x20');return[_0x42630d(_0x4fe9bc._0x272c41),'name:\x20'+_0x36c743[_0x16442e(0x122)],'descriptio'+_0x16442e(0x175)+(_0x36c743[_0x16442e(0x18f)]||_0x36c743['name']),_0x16442e(0x188)+_0x1904cb,_0x42630d(_0x4fe9bc._0x272c41),''][_0x42630d(0x12b)]('\x0a');}function buildCommandRoutingSection(){const _0x2ec7ef={_0x403b36:0x15a,_0x308506:0x1bc,_0x473614:0xfe,_0x262415:0x11a,_0x50c4eb:0x136,_0x1b6397:0xfa,_0x40fe22:0xf7,_0x53508b:0x162,_0x5f3533:0x14a,_0x5ae235:0x146,_0x1c6068:0x152,_0x181e2c:0x1aa,_0x133fac:0x169,_0x15b86d:0x11d,_0x5abba2:0x131,_0x2d22d6:0x1a2,_0x455594:0x178,_0x2f764f:0x17e,_0x3e1674:0x1b7,_0x8c689:0xf0,_0x3e4c77:0x1ba,_0x5111ba:0x1a8,_0x6789a:0x1b4,_0x135de1:0x127,_0x5103f4:0x18b,_0x8943f4:0x190,_0x26788b:0x151,_0x2166ee:0x18a,_0x35a16e:0x16b,_0x3675fd:0x126,_0x5e33d4:0x13c,_0x39e70f:0x1a5,_0x39ac4b:0x174,_0x18925b:0x161,_0x47f5ef:0x103,_0x6a525b:0x1ae},_0xe87f16=_0x745394,_0x2b77f8=_0x745394;return _0xe87f16(_0x2ec7ef._0x403b36)+'命令路由\x0a\x0a当用户输'+_0x2b77f8(0x108)+_0x2b77f8(0x172)+_0x2b77f8(_0x2ec7ef._0x308506)+_0x2b77f8(0x119)+_0xe87f16(0x1ac)+_0x2b77f8(_0x2ec7ef._0x473614)+'spec:init`'+_0xe87f16(0xf2)+_0xe87f16(_0x2ec7ef._0x262415)+_0x2b77f8(0x152)+_0x2b77f8(_0x2ec7ef._0x50c4eb)+_0x2b77f8(_0x2ec7ef._0x1b6397)+_0xe87f16(0x1b2)+_0xe87f16(_0x2ec7ef._0x40fe22)+_0x2b77f8(0x174)+_0xe87f16(0x1b7)+'c:bootstra'+_0xe87f16(_0x2ec7ef._0x53508b)+_0xe87f16(_0x2ec7ef._0x5f3533)+_0x2b77f8(_0x2ec7ef._0x5ae235)+'\x20|\x20`spec_c'+'opilot/com'+_0xe87f16(_0x2ec7ef._0x1c6068)+_0x2b77f8(_0x2ec7ef._0x181e2c)+'d`\x20|\x0a|\x20`/s'+_0x2b77f8(_0x2ec7ef._0x133fac)+'需求>`\x20|\x20`sp'+'ec_copilot'+_0xe87f16(_0x2ec7ef._0x15b86d)+'spec:flow.'+_0xe87f16(_0x2ec7ef._0x5abba2)+_0x2b77f8(0x10c)+'\x20<变更名>`\x20|\x20'+_0xe87f16(0x1a7)+_0xe87f16(_0x2ec7ef._0x2d22d6)+_0x2b77f8(0x16f)+_0x2b77f8(0x156)+_0xe87f16(_0x2ec7ef._0x455594)+_0x2b77f8(_0x2ec7ef._0x2f764f)+_0xe87f16(_0x2ec7ef._0x40fe22)+_0xe87f16(0x174)+_0xe87f16(_0x2ec7ef._0x3e1674)+_0xe87f16(0x112)+_0x2b77f8(0x111)+_0x2b77f8(_0x2ec7ef._0x8c689)+_0x2b77f8(_0x2ec7ef._0x3e4c77)+_0x2b77f8(_0x2ec7ef._0x5111ba)+_0xe87f16(0x1a4)+_0x2b77f8(_0x2ec7ef._0x6789a)+'iew.md`\x20|\x0a'+_0xe87f16(0x114)+_0x2b77f8(0x13b)+_0x2b77f8(_0x2ec7ef._0x135de1)+_0x2b77f8(_0x2ec7ef._0x5103f4)+_0xe87f16(_0x2ec7ef._0x8943f4)+_0xe87f16(0x118)+_0x2b77f8(0x135)+_0x2b77f8(_0x2ec7ef._0x26788b)+_0xe87f16(0xf2)+'opilot/com'+_0xe87f16(0x152)+_0xe87f16(_0x2ec7ef._0x2166ee)+_0x2b77f8(0xfa)+_0x2b77f8(_0x2ec7ef._0x35a16e)+'变更名>`\x20|\x20`s'+_0xe87f16(0x144)+_0x2b77f8(0x17a)+_0x2b77f8(_0x2ec7ef._0x3675fd)+_0x2b77f8(0x1b5)+_0xe87f16(_0x2ec7ef._0x5e33d4)+_0xe87f16(_0x2ec7ef._0x39e70f)+'`\x20|\x20`spec_'+_0xe87f16(_0x2ec7ef._0x39ac4b)+_0xe87f16(0x1b7)+'c:hotfix.m'+'d`\x20|\x0a\x0a用户输入'+'命令后,**立即**'+_0x2b77f8(_0x2ec7ef._0x18925b)+_0x2b77f8(_0x2ec7ef._0x47f5ef)+_0xe87f16(0x143)+_0xe87f16(0x16c)+_0xe87f16(_0x2ec7ef._0x6a525b)+'令后提供的参数。\x0a';}function _0x1d63(_0x226406,_0x21240f){_0x226406=_0x226406-(0x185*0xb+0x6*0x4c7+-0x2c71);const _0x2ec588=_0x42e3();let _0x1389a2=_0x2ec588[_0x226406];if(_0x1d63['soUAsO']===undefined){var _0x37d0d3=function(_0xbbaa10){const _0x4fe77f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x591c95='',_0x25736d='',_0x444ca7=_0x591c95+_0x37d0d3,_0x54b918=(''+function(){return-0x2*0x1367+0x89*0x5+0x2421;})['indexOf']('\x0a')!==-(0x429*0x7+-0x1a1e+-0x300*0x1);for(let _0x390007=0x43e*-0x9+-0x1c1d+-0x424b*-0x1,_0x255b35,_0x37468a,_0x257b11=0x5*0x585+-0x1*0x2531+0x998;_0x37468a=_0xbbaa10['charAt'](_0x257b11++);~_0x37468a&&(_0x255b35=_0x390007%(-0x2126*0x1+0x1*0x1ade+0x3e*0x1a)?_0x255b35*(0x2f6*0x6+-0x95c*0x2+0x2c*0x7)+_0x37468a:_0x37468a,_0x390007++%(-0x837+-0x1c4d+-0x14e*-0x1c))?_0x591c95+=_0x54b918||_0x444ca7['charCodeAt'](_0x257b11+(0x1df*-0x5+-0xce3*0x1+0xb24*0x2))-(-0x2*-0x1246+-0x26c2+0x240)!==-0x1*0xcb3+0xe5*-0x1+0x1b3*0x8?String['fromCharCode'](0x1fca+-0x3*-0x7a1+-0x35ae&_0x255b35>>(-(-0x2d2+0x1574+-0x12a0)*_0x390007&-0x85f*0x3+-0x15*0xba+-0x17f*-0x1b)):_0x390007:-0x216f+0x628+0x1b47){_0x37468a=_0x4fe77f['indexOf'](_0x37468a);}for(let _0xe2bd49=-0x99e*0x3+0x10fd+0xbdd,_0x4371f9=_0x591c95['length'];_0xe2bd49<_0x4371f9;_0xe2bd49++){_0x25736d+='%'+('00'+_0x591c95['charCodeAt'](_0xe2bd49)['toString'](-0x3*0xb61+-0x1*0x1261+-0x1*-0x3494))['slice'](-(-0x1*0x552+0x1d*-0xeb+0x1*0x1ff3));}return decodeURIComponent(_0x25736d);};_0x1d63['aAtHMC']=_0x37d0d3,_0x1d63['YYElJf']={},_0x1d63['soUAsO']=!![];}const _0x444f5b=_0x2ec588[-0x2*-0x812+-0x1336+0x312],_0x187cc4=_0x226406+_0x444f5b,_0x18c2d2=_0x1d63['YYElJf'][_0x187cc4];if(!_0x18c2d2){const _0x676b2f=function(_0x29daaf){this['OaKdCH']=_0x29daaf,this['REbKIp']=[-0x7*0x157+-0xd*-0x1b9+0xd03*-0x1,0x1c99*0x1+-0xb0c+-0x118d,-0x2009+-0x7c6*-0x1+-0x1843*-0x1],this['ihvmOo']=function(){return'newState';},this['Kfwmiu']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['bqLyHA']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x676b2f['prototype']['dGxSIb']=function(){const _0x5d64ff=new RegExp(this['Kfwmiu']+this['bqLyHA']),_0x1bb422=_0x5d64ff['test'](this['ihvmOo']['toString']())?--this['REbKIp'][-0x132f+-0x1*0x212b+-0xd*-0x407]:--this['REbKIp'][-0x19be+-0x2020*-0x1+-0x662];return this['eaYGQB'](_0x1bb422);},_0x676b2f['prototype']['eaYGQB']=function(_0x49c610){if(!Boolean(~_0x49c610))return _0x49c610;return this['zwoGPY'](this['OaKdCH']);},_0x676b2f['prototype']['zwoGPY']=function(_0x4a50fc){for(let _0x53e692=-0x23c0+-0x1800+0x778*0x8,_0x1ad637=this['REbKIp']['length'];_0x53e692<_0x1ad637;_0x53e692++){this['REbKIp']['push'](Math['round'](Math['random']())),_0x1ad637=this['REbKIp']['length'];}return _0x4a50fc(this['REbKIp'][-0x9c4*-0x4+0x1267*-0x1+0x6e3*-0x3]);},(''+function(){return 0x6cb+0x1f*-0x8d+0x178*0x7;})['indexOf']('\x0a')===-(0x102f+-0x1c9d+0xc6f)&&new _0x676b2f(_0x1d63)['dGxSIb'](),_0x1389a2=_0x1d63['aAtHMC'](_0x1389a2),_0x1d63['YYElJf'][_0x187cc4]=_0x1389a2;}else _0x1389a2=_0x18c2d2;return _0x1389a2;}const adapters={'opencode':{'name':_0x200231(0x1a6),'displayName':'opencode','description':_0x745394(0x164)+_0x200231(0x128)+_0x745394(0x196)+_0x200231(0x100)+_0x745394(0x173),'promptPath':_0x200231(0xf9),'commandsDir':'.opencode/'+_0x745394(0x197),'hasNativeCommands':!![],'agentsDir':_0x200231(0x16a)+_0x745394(0x1ad),'supportsSubagent':!![],'detect'(_0x48df31){const _0x3f9bdb={_0xd99e35:0x116,_0x607f3d:0x15c,_0x4b9d06:0x1bb,_0x20e1c5:0x1bd},_0x4d7f44=_0x200231,_0x50aa42=_0x200231,_0x42fa0a={};_0x42fa0a[_0x4d7f44(_0x3f9bdb._0xd99e35)]=_0x4d7f44(_0x3f9bdb._0x607f3d)+'son';const _0x16d133=_0x42fa0a;return fs[_0x4d7f44(_0x3f9bdb._0x4b9d06)](path[_0x50aa42(0x12b)](_0x48df31,_0x4d7f44(_0x3f9bdb._0x20e1c5)))||fs[_0x4d7f44(_0x3f9bdb._0x4b9d06)](path[_0x4d7f44(0x12b)](_0x48df31,_0x16d133[_0x50aa42(0x116)]));},'formatPrompt'(_0x2e2f79){return _0x2e2f79;},'formatCommand'(_0x332b3d,_0x3d53f5){return _0x332b3d;},'formatAgent'(_0x56d0f7,_0x28a9bc){const _0x31733b={_0x2a10e5:0x10d},_0x20c4e2=_0x745394,_0x1b0ca6={'IsNGg':function(_0x20e99e,_0x19d238){return _0x20e99e+_0x19d238;},'oteGy':function(_0x20b335,_0xd9b94){return _0x20b335(_0xd9b94);}};return _0x1b0ca6[_0x20c4e2(_0x31733b._0x2a10e5)](buildOpencodeAgentFrontmatter(_0x28a9bc),_0x1b0ca6['oteGy'](stripFrontmatter,_0x56d0f7));},'cleanupPaths':[_0x745394(0xf9),'.opencode/'+_0x200231(0x197)]},'claude-code':{'name':_0x745394(0x179)+'e','displayName':_0x745394(0x1b6)+'e','description':'Claude\x20Cod'+'e\x20CLI\x20(Ant'+_0x745394(0x1a3),'promptPath':_0x200231(0x176),'commandsDir':'.claude/co'+_0x200231(0x1b8),'hasNativeCommands':!![],'agentsDir':_0x200231(0x17f)+_0x200231(0x18d),'supportsSubagent':!![],'detect'(_0x58ba6f){const _0x1a60d6={_0x63251a:0x198,_0x3490b5:0x176},_0x368069=_0x745394,_0x203bde=_0x745394,_0x490dd7={};_0x490dd7[_0x368069(_0x1a60d6._0x63251a)]='.claude';const _0x1c7b49=_0x490dd7;return fs['existsSync'](path['join'](_0x58ba6f,_0x1c7b49[_0x368069(_0x1a60d6._0x63251a)]))||fs['existsSync'](path['join'](_0x58ba6f,_0x368069(_0x1a60d6._0x3490b5)));},'formatPrompt'(_0x55e7a1){return _0x55e7a1;},'formatCommand'(_0x4428aa,_0x2a6300){return _0x4428aa;},'formatAgent'(_0x2c9833,_0xa882cf){const _0xc78e77={'dyuOS':function(_0x5da2c9,_0x41a65a){return _0x5da2c9(_0x41a65a);},'CbVbY':function(_0x4ea9d2,_0x3bf1ae){return _0x4ea9d2(_0x3bf1ae);}};return _0xc78e77['dyuOS'](buildClaudeCodeAgentFrontmatter,_0xa882cf)+_0xc78e77['CbVbY'](stripFrontmatter,_0x2c9833);},'cleanupPaths':['CLAUDE.md','.claude/co'+_0x745394(0x1b8)]},'cursor':{'name':_0x200231(0x129),'displayName':_0x200231(0x177),'description':_0x745394(0x1ab)+_0x745394(0x1b9)+_0x745394(0xf6)+'c)','promptPath':_0x745394(0x120)+_0x200231(0x10e)+'opilot.mdc','commandsDir':null,'hasNativeCommands':![],'detect'(_0x29e649){const _0x1fbdd0={_0x29ce08:0x150,_0x295388:0x134,_0x2104ed:0x10b,_0x1dce6f:0x12b},_0x35e78f=_0x200231,_0x55c056=_0x200231,_0x564dd5={};_0x564dd5[_0x35e78f(_0x1fbdd0._0x29ce08)]=_0x55c056(0x139),_0x564dd5[_0x55c056(_0x1fbdd0._0x295388)]=_0x35e78f(_0x1fbdd0._0x2104ed)+'es';const _0x57dd2c=_0x564dd5;return fs[_0x55c056(0x1bb)](path[_0x55c056(_0x1fbdd0._0x1dce6f)](_0x29e649,_0x57dd2c['awymB']))||fs[_0x35e78f(0x1bb)](path['join'](_0x29e649,_0x57dd2c[_0x55c056(0x134)]));},'formatPrompt'(_0x2ec70f){const _0x3e6104={_0x21d321:0xff,_0x6a8259:0x137,_0xa1a42:0x165,_0x3047a6:0x125,_0x30434a:0x138,_0xb6cee7:0x121},_0x1ea08a=_0x200231,_0x12dbad=_0x200231,_0x2ddfef={'yUwyn':_0x1ea08a(_0x3e6104._0x21d321)+'y:\x20true','koQOS':_0x12dbad(0x137),'WGHZm':function(_0x111d72,_0x429fff){return _0x111d72+_0x429fff;},'BYcHS':function(_0x4573e3){return _0x4573e3();}},_0x1c4569=[_0x12dbad(_0x3e6104._0x6a8259),'descriptio'+_0x12dbad(0x17c)+'riven\x20Deve'+'lopment\x20Fr'+'amework\x20—\x20'+_0x12dbad(_0x3e6104._0xa1a42),_0x2ddfef[_0x1ea08a(0x12e)],_0x2ddfef[_0x12dbad(_0x3e6104._0x3047a6)],'']['join']('\x0a');return _0x2ddfef[_0x12dbad(_0x3e6104._0x30434a)](_0x1c4569,_0x2ec70f)+_0x2ddfef[_0x1ea08a(_0x3e6104._0xb6cee7)](buildCommandRoutingSection);},'formatCommand'(_0x5ad3c1,_0x344fba){return _0x5ad3c1;},'cleanupPaths':[_0x745394(0x120)+_0x745394(0x10e)+_0x200231(0x11e)]},'windsurf':{'name':_0x200231(0x158),'displayName':_0x200231(0xfc),'description':_0x745394(0x195)+_0x745394(0x109)+'urf/rules/'+')','promptPath':_0x745394(0x145)+_0x200231(0x13f)+_0x200231(0x1b1)+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0x5803a3){const _0x5b3c4d={_0x5ebe5d:0xf1,_0x2cb0a2:0x14c,_0x4ababd:0x1bb,_0x48de0e:0x12b,_0x4477c1:0x12b},_0x2c57ac=_0x745394,_0x53380d=_0x745394,_0x4d289a={};_0x4d289a[_0x2c57ac(_0x5b3c4d._0x5ebe5d)]='.windsurf',_0x4d289a[_0x2c57ac(0x157)]=_0x2c57ac(0x107)+_0x2c57ac(_0x5b3c4d._0x2cb0a2);const _0x46c096=_0x4d289a;return fs[_0x53380d(_0x5b3c4d._0x4ababd)](path[_0x53380d(_0x5b3c4d._0x48de0e)](_0x5803a3,_0x46c096[_0x53380d(0xf1)]))||fs[_0x2c57ac(0x1bb)](path[_0x53380d(_0x5b3c4d._0x4477c1)](_0x5803a3,_0x46c096[_0x2c57ac(0x157)]));},'formatPrompt'(_0x41d432){const _0x4c9299={_0x535bbf:0x15d},_0x19dbfa=_0x200231,_0x5bc2a6={'AKNCz':function(_0x1bc607){return _0x1bc607();}};return _0x41d432+_0x5bc2a6[_0x19dbfa(_0x4c9299._0x535bbf)](buildCommandRoutingSection);},'formatCommand'(_0x496fbe,_0x911e5b){return _0x496fbe;},'cleanupPaths':['.windsurf/'+_0x200231(0x13f)+'-copilot.m'+'d']},'copilot':{'name':_0x745394(0x193),'displayName':_0x200231(0x159)+_0x745394(0xfb),'description':_0x200231(0x159)+_0x200231(0x11f)+_0x200231(0x14b)+'t-instruct'+_0x200231(0x110),'promptPath':_0x200231(0x182)+'pilot-inst'+_0x745394(0x10a)+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0x2e60ec){const _0x327f5a={_0x417c7c:0x1a9,_0x5a019b:0x154},_0x5f3935=_0x745394,_0xf8431d=_0x745394,_0xce2df1={};_0xce2df1[_0x5f3935(0x189)]=_0x5f3935(_0x327f5a._0x417c7c),_0xce2df1['eZrOK']='copilot-in'+'structions'+'.md';const _0x38d522=_0xce2df1;return fs['existsSync'](path[_0x5f3935(0x12b)](_0x2e60ec,_0x38d522[_0xf8431d(0x189)],_0x38d522[_0x5f3935(_0x327f5a._0x5a019b)]));},'formatPrompt'(_0x1b667c){const _0x2130db={_0x1a2d92:0x101},_0x5baa21=_0x745394,_0x1a9fbd={'WlWQf':function(_0x6e1d89){return _0x6e1d89();}};return _0x1b667c+_0x1a9fbd[_0x5baa21(_0x2130db._0x1a2d92)](buildCommandRoutingSection);},'formatCommand'(_0x37093e,_0x34c9bb){return _0x37093e;},'cleanupPaths':[_0x745394(0x182)+'pilot-inst'+'ructions.m'+'d']},'cline':{'name':'cline','displayName':_0x745394(0x142),'description':_0x200231(0x117)+'de\x20extensi'+_0x200231(0x153)+_0x200231(0x148),'promptPath':_0x745394(0x19d)+_0x745394(0x168)+_0x745394(0x187),'commandsDir':null,'hasNativeCommands':![],'detect'(_0x2823af){const _0x3a7ac0={_0x44a975:0x15f,_0x8940b8:0x12b},_0xd17eec=_0x745394,_0xad8e78=_0x745394,_0x1fb20e={};_0x1fb20e[_0xd17eec(0x181)]=_0xad8e78(_0x3a7ac0._0x44a975);const _0x16c752=_0x1fb20e;return fs[_0xd17eec(0x1bb)](path[_0xad8e78(0x12b)](_0x2823af,_0xd17eec(0x19d)+'s'))||fs['existsSync'](path[_0xd17eec(_0x3a7ac0._0x8940b8)](_0x2823af,_0x16c752[_0xad8e78(0x181)]));},'formatPrompt'(_0x520d34){const _0x2300f7={_0x32eca9:0x192,_0x33fc26:0x19a},_0x179258=_0x745394,_0x154763=_0x745394,_0x3612de={'Zshxv':function(_0xcebefa,_0x5db6d5){return _0xcebefa+_0x5db6d5;},'sSfoY':function(_0x110f29){return _0x110f29();}};return _0x3612de[_0x179258(_0x2300f7._0x32eca9)](_0x520d34,_0x3612de[_0x154763(_0x2300f7._0x33fc26)](buildCommandRoutingSection));},'formatCommand'(_0x3a5857,_0x178b01){return _0x3a5857;},'cleanupPaths':[_0x200231(0x19d)+_0x745394(0x168)+_0x745394(0x187)]}};function detectTools(_0x39d959){const _0xd3867b=_0x745394;return Object['values'](adapters)['filter'](_0x3af0a7=>_0x3af0a7[_0xd3867b(0xf8)](_0x39d959));}function supportedTools(){return Object['keys'](adapters);}const _0x2235d2={};_0x2235d2[_0x745394(0x16e)]=adapters,_0x2235d2[_0x200231(0x17b)+'s']=detectTools,_0x2235d2['supportedT'+'ools']=supportedTools,_0x2235d2[_0x200231(0x123)+'ndRoutingS'+_0x745394(0xfd)]=buildCommandRoutingSection,_0x2235d2[_0x200231(0x102)+_0x200231(0x13d)]=stripFrontmatter,_0x2235d2[_0x745394(0x11b)+_0x745394(0x11c)]=parseAgentMeta,module[_0x200231(0x15b)]=_0x2235d2;
|