@alenfitz/spec-copilot 2.2.0 → 2.3.1

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 CHANGED
@@ -91,6 +91,32 @@ your-project/
91
91
  └── scripts/ ← Lint, gate, hook scripts
92
92
  ```
93
93
 
94
+ ## Gate System (Automated Quality Checks)
95
+
96
+ The CLI gate system blocks phase transitions until objective criteria are met:
97
+
98
+ ```bash
99
+ npx @alenfitz/spec-copilot gate <name> smoke
100
+ ```
101
+
102
+ | Gate | Checks |
103
+ |------|--------|
104
+ | `apply` | Spec completeness + task interleaving + frontend task granularity |
105
+ | `smoke` | **Build verification** + **skeleton detection** + TS any abuse + **E2E browser smoke** |
106
+ | `review` | Smoke sentinel + feature coverage + dead code + stub handlers + hype language |
107
+ | `archive` | Review sentinel + spec audit conclusion |
108
+
109
+ ### E2E Browser Smoke (v2.3.0)
110
+
111
+ Playwright-based end-to-end verification — catches "compiles but doesn't work" issues:
112
+
113
+ - **Auto-detects** tech stack (Spring Boot + Vue3, Vite, etc.) and starts dev servers
114
+ - **Spec-driven** route extraction from spec.md + project router files
115
+ - **Checks per page**: white screen, uncaught JS errors, API failures, framework error overlays
116
+ - **Zero config** for common stacks, optional flags: `--headed`, `--base-url`, `--no-e2e`
117
+
118
+ Uses system-installed Chrome — no extra installation needed. Just have Chrome on your machine.
119
+
94
120
  ## Complexity Tiers
95
121
 
96
122
  | Tier | Criteria | What's Required |
package/README.zh-CN.md CHANGED
@@ -92,6 +92,32 @@ npx @alenfitz/spec-copilot uninstall --confirm # 移除框架
92
92
  └── scripts/ ← Lint、门禁、Hook 脚本
93
93
  ```
94
94
 
95
+ ## 门禁系统(自动化质量检查)
96
+
97
+ CLI 门禁在阶段切换时执行客观检查,不通过则阻断:
98
+
99
+ ```bash
100
+ npx @alenfitz/spec-copilot gate <变更名> smoke
101
+ ```
102
+
103
+ | 门禁 | 检查项 |
104
+ |------|--------|
105
+ | `apply` | Spec 完整性 + 前后端 task 交织度 + 前端 task 粒度 |
106
+ | `smoke` | **构建验证** + **骨架检测** + TS any 泛滥 + **E2E 浏览器冒烟** |
107
+ | `review` | smoke 哨兵 + 功能点覆盖 + 死代码 + stub handler + 嗨语言 |
108
+ | `archive` | review 哨兵 + spec 审查结论 |
109
+
110
+ ### E2E 浏览器冒烟(v2.3.0)
111
+
112
+ 基于 Playwright 的端到端浏览器验证 — 抓住"能编译但不能用"的问题:
113
+
114
+ - **自动检测**技术栈(Spring Boot + Vue3、Vite 等)并启动开发服务器
115
+ - **Spec 驱动**路由提取:从 spec.md + 项目 router 文件自动生成测试页面
116
+ - **逐页面检查**:白屏、未捕获 JS 异常、API 连接失败、框架错误遮罩
117
+ - **零配置**适配常见栈,可选 flags:`--headed`、`--base-url`、`--no-e2e`
118
+
119
+ 使用系统已安装的 Chrome — 无需额外安装。只要电脑有 Chrome 即可。
120
+
95
121
  ## 复杂度分级
96
122
 
97
123
  | 级别 | 判定标准(按影响面) | 需要什么 |
package/adapters/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @alenfitz/spec-copilot v2.2.0
2
+ * @alenfitz/spec-copilot v2.3.1
3
3
  * Copyright (c) 2026 alenfitz. All rights reserved.
4
4
  *
5
5
  * This file is proprietary and obfuscated. Reverse engineering, decompilation,
@@ -8,4 +8,4 @@
8
8
  *
9
9
  * Bugs / feature requests: https://github.com/Alenfitz/spec_copilit/issues
10
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;
11
+ const _0x5c7b67=_0x15b8,_0x4206b8=_0x15b8;(function(_0x2cdc87,_0x2edbde){const _0x9c770d={_0x3b4226:0x157,_0x16ee4c:0x1af,_0x503d59:0x171},_0x1ebf6a=_0x15b8,_0x280a87=_0x15b8,_0x1bdca1=_0x2cdc87();while(!![]){try{const _0x32211a=parseInt(_0x1ebf6a(0x113))/(-0x3*-0x9ca+0x1*-0x2a5+-0x1ab8)*(parseInt(_0x280a87(_0x9c770d._0x3b4226))/(0x6b*-0x53+-0x7cd+0x1*0x2a80))+parseInt(_0x1ebf6a(0x179))/(0x2*0x10d7+-0xb6+-0x8f*0x3b)+-parseInt(_0x1ebf6a(0x193))/(-0x24db+0x1*0x1b0+-0x232f*-0x1)*(-parseInt(_0x280a87(0x154))/(0xbe4+0x855+-0x6bc*0x3))+parseInt(_0x1ebf6a(0x106))/(-0x59f+-0x151a+0x1abf)+-parseInt(_0x1ebf6a(_0x9c770d._0x16ee4c))/(-0x1*0x1d3+0x1b70+-0x1996)+parseInt(_0x1ebf6a(_0x9c770d._0x503d59))/(0x1*0x369+0x1f78+0xb*-0x32b)+-parseInt(_0x1ebf6a(0x122))/(-0xa5*-0x11+0x1299*-0x2+0x3b*0x72);if(_0x32211a===_0x2edbde)break;else _0x1bdca1['push'](_0x1bdca1['shift']());}catch(_0x5557d5){_0x1bdca1['push'](_0x1bdca1['shift']());}}}(_0x3b56,-0x30ffa+0x982c8+-0x63bc));const _0x48b226=(function(){const _0x6fc38a={_0xb53b19:0x1ab},_0x53659b={_0x59fc75:0x1a5},_0x22a6f3=_0x15b8,_0x3ae38a=_0x15b8,_0xf0b995={};_0xf0b995[_0x22a6f3(_0x6fc38a._0xb53b19)]=_0x3ae38a(0x14c);const _0x26a1a6=_0xf0b995;let _0x28336d=!![];return function(_0x239575,_0x36fd46){const _0x1ba85b={_0xf30400:0x19d},_0x4e4852=_0x22a6f3,_0x522494=_0x22a6f3,_0x3d1cf9={};_0x3d1cf9[_0x4e4852(0x19d)]=function(_0x54c445,_0x3f5cca){return _0x54c445===_0x3f5cca;},_0x3d1cf9[_0x522494(_0x53659b._0x59fc75)]=_0x26a1a6[_0x4e4852(0x1ab)];const _0x1f1164=_0x3d1cf9,_0x350ce8=_0x28336d?function(){const _0x40c4d5=_0x522494,_0x2e9ac6=_0x522494;if(_0x36fd46){if(_0x1f1164[_0x40c4d5(_0x1ba85b._0xf30400)](_0x1f1164['oUACQ'],_0x40c4d5(0x170)))return _0x29e166[_0x40c4d5(0x173)](_0x2dc9dd)[_0x40c4d5(0x18f)](_0x8e4687=>_0x8e4687[_0x2e9ac6(0x156)](_0x15d51a));else{const _0x270348=_0x36fd46[_0x2e9ac6(0x1b3)](_0x239575,arguments);return _0x36fd46=null,_0x270348;}}}:function(){};return _0x28336d=![],_0x350ce8;};}()),_0x3d0fe1=_0x48b226(this,function(){const _0x3b40e1=_0x15b8,_0x36e79f=_0x15b8,_0x9e4ee7={};_0x9e4ee7[_0x3b40e1(0x143)]=_0x36e79f(0x1ce)+'+$';const _0x55da2c=_0x9e4ee7;return _0x3d0fe1[_0x36e79f(0x180)]()['search'](_0x55da2c['Sexkp'])[_0x3b40e1(0x180)]()['constructo'+'r'](_0x3d0fe1)[_0x3b40e1(0x188)](_0x55da2c[_0x36e79f(0x143)]);});_0x3d0fe1();const fs=require('fs'),path=require('path');function _0x3b56(){const _0x479798=['v2LUzhn1CMy','5zg95lUK6lEV55sXcGRLVzpNLkJMIlFOVPm','zguGzxH0zw5ZAq','quKG57Yw56cb5y2p5l2C6kEe6iYdiG','Bw1HBMrZ','AhvIl2nVCgLSBW','u2v4A3a','D2TtvLO','CgfYC2vbz2vUDa','lM9Wzw5JB2rL','B3bLBMnVzgu','B3bPBg90l2nVBq','5ywL5lUL5lIl5zg95lUK5PE277Ym6k+75y+w5A+5','ywX3yxLZqxbWBa','CgLSB3qVy29TBq','ENbuD0q','twv0yq','AwXVDcaOlMDPDa','uvfbqxO','C3bSAxq','lM9Wzw5JB2rLlW','lMnSyxvKzs9JBW','DgrwzK4','mtC5mJe3mhvdwKvoyW','zxHWB3j0CW','zgv0zwn0','mZrhAeTcveK','AuXlqLa','lwnVCgLSB3qUBq','iga86zYa5RgcpMdJGifGpa','CNvSzxmVC3bLyW','B24Gkc5JBgLUzq','5lUK5zco5O+q5l6B55Qe5y+c5PwW44cccG','lMnSyxvKzs9HzW','r2XVyG','oMLUAxqUBwrGia','yhnWzwnFy29WAq','lMn1CNnVCI9YDq','zw50CW','zhmVC3bLyZPHCa','reuGkc53Aw5KCW','zgvZy3jPChrPBW','DhjPBq','rxvoCKm','CM9Szq','Ae12z3y','r3jLCa','Cg9Zzsa86zYa5RgcpMa','Aw9UCY5TzcK','yZPOB3rMAxGUBq','C3rYDwn0Aw9UCW','tgfWANe','mJm3ndi0vgXyD1j2','5y+y5PU05zcnpMdJGifGpoApJ+I/Sa','DMfSDwvZ','CNvJDgLVBNmUBq','zvz2yNq','zxn0idZLJ5JMM7tLKi0+ya','Cc5TzgaGFaP8ia','FcbGl3nWzwm6Aa','mty4otmYmu1OAvPADG','y1jesu8','DxjMl3j1BgvZlW','Dg9VBhm','yc9ZCgvJoNbYBW','BMfTzq','r2L0shvIienVCa','Dg9tDhjPBMC','B3qVy29TBwfUza','zwnFy29WAwXVDa','AxGGpowpMoABTowqJt5Gia','oNbYB3bVC2uUBq','C3bLyZPMBg93lG','D2HLBL90B191CW','yuznB1u','C2vHCMnO','zxHPC3rZu3LUyW','Dg9VBhm6','zwrPDa','yvbLrLC','y2XPBMu','yMj1Bvy','zMLSDgvY','CY9ZCgvJlwnVCa','sKLAsu8','C0DKDfq','ng1frKrHAq','BwfW','teKGkgDPDgH1yG','B2rLlwfPl29Wzq','C3bLyZPPBML0ya','AxzLlM1Kycb8cG','DwXLCW','ywDLBNq','D2LUzhn1CMy','lMnVBs9VCgvUyW','Ewjxr0q','BgvUz3rO','lMnSyxvKzq','Bwf0DgvY','v3jPDgu','FcbGl3nWzwm6Da','C3rYAw5N','ycb8igbZCgvJxW','B1vbq1e','AefvAuu','D3jPDgu','z2XVyG','EtOGDhj1zq','BwfUzhmVC3bLyW','B1fnDgy','77YAcGP8iowrVEs7Pcb8ia','BwrGihWkFcbGlW','C3bLyZPHChbSEq','otCYmdGZq3HwsujQ','BLfVr0q','lNDPBMrZDxjM','6k+75y+w5PAh5lU2ihWkFc0T','yxbWBhK','B3bLBMnVzguUAG','y29WAwXVDa','lNDPBMrZDxjMlW','FaP8igaVC3bLyW','vvPqzfq','B3rMAxGGpoApJ+I/Sd4','rejtsKq','CY9ZCgvJoNjLDG','Aw5JBhvKzxm','Dhj1zq','C3vWCg9YDgvKva','BgvZl3nWzwmTyW','y3vYC29Y','6k+75y+w5A+55BQu5PAh5lU25BM25OMN6kgm77Ym','q0XbvurflM1K','BJOG','cGOTls0kcImJia','CvHcD3C','pMaG5PU/5O2I5lI655sO5OI35zYO5zg9','BJOGiLnWzwmTra','yNvPBgrdB21Tyq','yZPIB290C3rYyq','wxffvui','ls0TlxWkFcbGlW','CgX5lM1Kycb8cG','ANfyzeO','kcGOlISPkYKRkq','A2v5CW','CNvSzxmVkq','zsbdteKGkefUDa','zgaGFaP8igaVCW','z3jLCa','B3bLBMnVzguGqW','y29WAwXVDc9JBW','zwn0Aw9U','mZuXmty5mKnVsuTktq','q3vYC29YieLerq','tNbdr1q','CgLSB3qTAw5ZDa','5y+y5PU05zcnpMaGFcbGCW','B29SCW','ywrHChrLCNm','D29nAxi','AwXVDc5Tza','lMnSAw5LCNvSzq','lMDPDgH1yI9JBW','CKfssLq','C2XPy2u','nJGZrhbdEMXv','Bwf0y2G','werbAxO','lNDPBMrZDxjMCG','zML4lM1Kycb8cG','icGUy3vYC29YlW','C3bLy19JB3bPBa','B3bPBg90lM1KyW','BMrsB3v0Aw5NuW','v2LUzhn1CMyGsq','vNLNyxa','ls0T','l3nWzwm6yxjJAa','yMfZAa','zgaGFaOk55sO5OI36l6t5ywL','oteWotuYmvHwq0vgAG','C29U','BMnVzguP','ihWGyhnWzwnFyW','qLPWr20','AM9PBG','Bg9WBwvUDcbgCG','y29WAwXVDc1PBG','lMn1CNnVCNj1Ba','y29TBwfUzhm','powpMoABTowqJt5GihWGya','Bw1HBMrZl3nWzq','quDftLrtlM1K','wu1qt1i','BgDPBMy','5zg95lUK5zco77YmkIRNQ4VLJBmQkG','ls0TlxWTls0Tlq','CMvHza','Bw9KztOGC3vIyq','lM1K','qMfZAa','CgvJoMzSB3CGpa','FcbGl3nWzwm6CW','CNvSzxmVkI5Tza','FcbGC3bLy19JBW','ycb8cNWGyc9ZCa','idZLJ5JMM7tLKi0+ycb8ia'];_0x3b56=function(){return _0x479798;};return _0x3b56();}function stripFrontmatter(_0x43a660){const _0x57057a=_0x15b8,_0x546976=_0x15b8,_0x4f31c2=_0x43a660[_0x57057a(0x114)](/^---\n[\s\S]*?\n---\n?/);return _0x4f31c2?_0x43a660[_0x57057a(0x112)](_0x4f31c2[-0x4c6+0x127b+0xdb5*-0x1]['length']):_0x43a660;}function parseAgentMeta(_0x471843){const _0x58d459={_0x38c558:0x1a3,_0x2cd506:0x1b0,_0xee5633:0x186,_0x18afab:0x114,_0x1ae102:0x167,_0x3827a1:0x17c,_0xc7104a:0x17c,_0x450159:0x194},_0x3e8c71=_0x15b8,_0xff8d08=_0x15b8,_0x1e6005={};_0x1e6005['BZpGm']=function(_0x4ea47c,_0x306924){return _0x4ea47c===_0x306924;},_0x1e6005[_0x3e8c71(0x18e)]=_0xff8d08(_0x58d459._0x38c558),_0x1e6005['CpezN']=_0xff8d08(_0x58d459._0x2cd506);const _0x53f724=_0x1e6005,_0x42517f=_0x471843[_0x3e8c71(0x114)](/^---\n([\s\S]*?)\n---/),_0x55cb74={};_0x55cb74[_0x3e8c71(0x17e)]='',_0x55cb74[_0xff8d08(0x169)]='',_0x55cb74[_0xff8d08(_0x58d459._0xee5633)+'e']='';if(!_0x42517f)return _0x55cb74;const _0x135b3d={};for(const _0x2e255f of _0x42517f[0x1*0xb41+0x3*-0x168+-0x708][_0xff8d08(0x150)]('\x0a')){const _0x4547ef=_0x2e255f[_0x3e8c71(_0x58d459._0x18afab)](/^(\w+):\s*(.+)$/);if(_0x4547ef)_0x135b3d[_0x4547ef[-0x316*0xc+-0x1614+-0x199*-0x25]]=_0x4547ef[-0x11*0x167+-0x2d3*-0x7+0x414][_0x3e8c71(_0x58d459._0x1ae102)]();}if(_0x135b3d[_0x3e8c71(_0x58d459._0x3827a1)]&&_0x53f724[_0xff8d08(0x126)](typeof _0x135b3d[_0xff8d08(_0x58d459._0x3827a1)],_0x53f724['bbumV'])){if(_0xff8d08(0x108)===_0x53f724['CpezN'])return _0x4caba8;else _0x135b3d[_0x3e8c71(_0x58d459._0x3827a1)]=_0x135b3d[_0xff8d08(_0x58d459._0xc7104a)][_0x3e8c71(0x150)](',')[_0x3e8c71(_0x58d459._0x450159)](_0x501580=>_0x501580[_0xff8d08(0x167)]())['filter'](Boolean);}return _0x135b3d;}function buildOpencodeAgentFrontmatter(_0x41a534){const _0x3e73f0={_0x565aa1:0x16a,_0x18925c:0x102,_0x2f66b8:0x133,_0x3538a4:0x120,_0x4d8f69:0x18b,_0x2df7aa:0x1c5,_0x2b7213:0x120,_0x54b642:0x17c,_0x168160:0x17c,_0x2b6931:0x19e,_0x42c869:0x17c,_0x1a5187:0x16a,_0x419da1:0x1a8,_0x436e51:0x14f,_0x200c6e:0x11e,_0x57a84c:0x18a},_0x1c740e=_0x15b8,_0xeaba65=_0x15b8,_0x50da72={};_0x50da72[_0x1c740e(_0x3e73f0._0x565aa1)]=_0xeaba65(_0x3e73f0._0x18925c),_0x50da72['cvKeA']=_0x1c740e(0x1a8),_0x50da72['SRYtE']=_0x1c740e(_0x3e73f0._0x2f66b8),_0x50da72[_0x1c740e(0x1ca)]=_0x1c740e(_0x3e73f0._0x3538a4),_0x50da72[_0x1c740e(0x14f)]=_0x1c740e(0x1a7),_0x50da72['jqXdJ']=_0xeaba65(_0x3e73f0._0x4d8f69),_0x50da72[_0x1c740e(_0x3e73f0._0x2df7aa)]=_0x1c740e(0x11e);const _0xbbd368=_0x50da72,_0x13de6e=[_0x1c740e(0x133),_0xbbd368[_0xeaba65(0x16a)],_0xbbd368['cvKeA'],_0x1c740e(_0x3e73f0._0x2b7213)],_0x3edf2a=_0x41a534[_0xeaba65(_0x3e73f0._0x54b642)]&&_0x41a534[_0x1c740e(_0x3e73f0._0x168160)][_0xeaba65(_0x3e73f0._0x2b6931)]>-0x1*-0x87e+-0x2378+0x3*0x8fe?_0x41a534[_0x1c740e(_0x3e73f0._0x42c869)]:_0x13de6e,_0x158c00=[_0xbbd368['SRYtE'],_0xbbd368[_0x1c740e(_0x3e73f0._0x1a5187)],_0x1c740e(_0x3e73f0._0x419da1),_0xbbd368[_0x1c740e(0x1ca)],_0xbbd368[_0x1c740e(_0x3e73f0._0x436e51)],_0xbbd368[_0x1c740e(0x1cd)]],_0x2567b3=_0x158c00[_0xeaba65(0x194)](_0x5c0e5d=>'\x20\x20'+_0x5c0e5d+':\x20'+(_0x3edf2a[_0x1c740e(0x1bc)](_0x5c0e5d)?_0x1c740e(0x1bd):'false'));return[_0x1c740e(_0x3e73f0._0x200c6e),'descriptio'+'n:\x20'+(_0x41a534[_0x1c740e(0x169)]||_0x41a534[_0x1c740e(0x17e)]),_0x1c740e(0x134)+'gent',_0xeaba65(_0x3e73f0._0x57a84c),..._0x2567b3,_0xbbd368['qXBww'],'']['join']('\x0a');}function buildClaudeCodeAgentFrontmatter(_0x48ab42){const _0x5b5496={_0x7167aa:0x168,_0x131c00:0x1a8,_0x4844a5:0x136,_0x5c49d5:0x144,_0x2a9ef8:0x130,_0x4f7ceb:0x102,_0x1beae4:0x17c,_0x3c568c:0x166,_0x1aa465:0x11e,_0x1b8fe7:0x127},_0x44e928=_0x15b8,_0x5bc9df=_0x15b8,_0x15a9eb={};_0x15a9eb[_0x44e928(0x11d)]='Read',_0x15a9eb[_0x5bc9df(0x18c)]=_0x5bc9df(0x16b),_0x15a9eb[_0x44e928(0x115)]=_0x44e928(0x15f),_0x15a9eb[_0x44e928(0x144)]=_0x44e928(0x1a1),_0x15a9eb[_0x5bc9df(0x130)]='Edit',_0x15a9eb[_0x44e928(_0x5b5496._0x7167aa)]=_0x5bc9df(0x133),_0x15a9eb['Xyxaw']=function(_0x2f626a,_0xd036cc){return _0x2f626a>_0xd036cc;};const _0x2b3e23=_0x15a9eb,_0x7c67f3={};_0x7c67f3[_0x44e928(0x133)]=_0x2b3e23['Vygap'],_0x7c67f3[_0x44e928(0x102)]=_0x2b3e23[_0x5bc9df(0x18c)],_0x7c67f3[_0x44e928(_0x5b5496._0x131c00)]=_0x2b3e23[_0x44e928(0x115)],_0x7c67f3[_0x44e928(0x120)]=_0x5bc9df(_0x5b5496._0x4844a5),_0x7c67f3[_0x44e928(0x1a7)]=_0x2b3e23[_0x44e928(_0x5b5496._0x5c49d5)],_0x7c67f3[_0x5bc9df(0x18b)]=_0x2b3e23[_0x44e928(_0x5b5496._0x2a9ef8)];const _0x38a17b=_0x7c67f3,_0x345c69=[_0x2b3e23['EuNrC'],_0x44e928(_0x5b5496._0x4f7ceb),_0x44e928(0x1a8),'bash'],_0xae2929=_0x48ab42[_0x44e928(_0x5b5496._0x1beae4)]&&_0x2b3e23['Xyxaw'](_0x48ab42['tools']['length'],0x380+0x26a0+0x2a20*-0x1)?_0x48ab42[_0x44e928(0x17c)]:_0x345c69,_0x1f5703=_0xae2929['map'](_0x25aaba=>_0x38a17b[_0x25aaba]||_0x25aaba)[_0x5bc9df(0x127)](',\x20');return['---','name:\x20'+_0x48ab42['name'],_0x44e928(_0x5b5496._0x3c568c)+_0x5bc9df(0x1c3)+(_0x48ab42[_0x44e928(0x169)]||_0x48ab42[_0x5bc9df(0x17e)]),'tools:\x20'+_0x1f5703,_0x44e928(_0x5b5496._0x1aa465),''][_0x44e928(_0x5b5496._0x1b8fe7)]('\x0a');}function buildCommandRoutingSection(){const _0x49235f={_0x2453b5:0x1c4,_0xeffee5:0x13e,_0x3af2d3:0x1ac,_0xae4f7:0x132,_0x3755f2:0x160,_0x50cb4b:0x177,_0x4a2a6f:0x125,_0x437f30:0x184,_0x2156a5:0x185,_0x342118:0x164,_0x467e09:0x138,_0x3252bd:0x12c,_0x1c762d:0x181,_0x50157e:0x1bb,_0x3eea33:0x183,_0x3ff459:0x13a,_0x5262ed:0x117,_0x366089:0x176,_0x1ffc95:0x1aa,_0x4e5394:0x10a,_0x1cee8e:0x11f,_0x42c519:0x198,_0x299fb5:0x1b9,_0x459191:0x1a4,_0x43a7da:0x12d,_0x31c662:0x16e,_0x2ea8a1:0x1c1,_0x2d6cf6:0x172},_0x5b1cff=_0x15b8,_0x1080b8=_0x15b8;return _0x5b1cff(_0x49235f._0x2453b5)+_0x5b1cff(_0x49235f._0xeffee5)+_0x1080b8(0x149)+'应文件并按其指令执行'+_0x1080b8(_0x49235f._0x3af2d3)+_0x5b1cff(0x1b2)+_0x5b1cff(_0x49235f._0xae4f7)+_0x1080b8(0x1cb)+_0x1080b8(0x197)+_0x1080b8(0x125)+_0x1080b8(0x148)+'mands/spec'+_0x5b1cff(_0x49235f._0x3755f2)+_0x1080b8(0x1b7)+':bootstrap'+_0x1080b8(0x1a4)+'copilot/co'+_0x5b1cff(0x12d)+_0x1080b8(0x1c9)+_0x5b1cff(_0x49235f._0x50cb4b)+_0x1080b8(0x17d)+_0x5b1cff(0x16c)+_0x1080b8(_0x49235f._0x4a2a6f)+_0x5b1cff(0x148)+_0x5b1cff(0x1aa)+_0x5b1cff(_0x49235f._0x437f30)+_0x5b1cff(0x1d2)+_0x5b1cff(0x137)+'需求>`\x20|\x20`sp'+_0x5b1cff(0x182)+'/commands/'+_0x1080b8(_0x49235f._0x2156a5)+_0x5b1cff(0x1ad)+_0x1080b8(0x1ae)+_0x5b1cff(0x13c)+_0x1080b8(0x161)+'lot/comman'+_0x1080b8(_0x49235f._0x342118)+_0x1080b8(0x1cc)+_0x1080b8(_0x49235f._0x467e09)+'moke\x20<变更名>'+_0x5b1cff(0x1a4)+_0x5b1cff(0x104)+'mmands/spe'+'c:smoke.md'+_0x5b1cff(0x13b)+'ec:review\x20'+_0x5b1cff(_0x49235f._0x3252bd)+_0x5b1cff(0x119)+_0x1080b8(_0x49235f._0x1c762d)+_0x5b1cff(_0x49235f._0x50157e)+'iew.md`\x20|\x0a'+'|\x20`/spec:f'+_0x1080b8(_0x49235f._0x3eea33)+_0x1080b8(_0x49235f._0x3ff459)+_0x5b1cff(0x14b)+'ands/spec:'+_0x1080b8(_0x49235f._0x5262ed)+_0x5b1cff(0x1a2)+_0x5b1cff(_0x49235f._0x366089)+_0x5b1cff(0x125)+_0x5b1cff(0x148)+_0x1080b8(_0x49235f._0x1ffc95)+':test.md`\x20'+_0x1080b8(0x1b7)+':archive\x20<'+_0x5b1cff(_0x49235f._0x4e5394)+'pec_copilo'+'t/commands'+_0x1080b8(_0x49235f._0x1cee8e)+_0x5b1cff(_0x49235f._0x42c519)+_0x5b1cff(0x178)+_0x1080b8(_0x49235f._0x299fb5)+_0x1080b8(_0x49235f._0x459191)+'copilot/co'+_0x5b1cff(_0x49235f._0x43a7da)+_0x5b1cff(_0x49235f._0x31c662)+_0x5b1cff(0x121)+_0x1080b8(0x131)+_0x5b1cff(_0x49235f._0x2ea8a1)+'不需要再次确认。\x0a将'+_0x1080b8(0x15a)+_0x1080b8(_0x49235f._0x2d6cf6)+_0x5b1cff(0x1c6)+_0x5b1cff(0x15d);}const adapters={'opencode':{'name':_0x5c7b67(0x147),'displayName':_0x4206b8(0x147),'description':_0x5c7b67(0x103)+_0x4206b8(0x195)+_0x4206b8(0x19c)+_0x5c7b67(0x196)+_0x5c7b67(0x124),'promptPath':_0x4206b8(0x12e),'commandsDir':'.opencode/'+_0x4206b8(0x12b),'hasNativeCommands':!![],'agentsDir':_0x5c7b67(0x151)+_0x4206b8(0x19a),'supportsSubagent':!![],'detect'(_0xed5c70){const _0x48cb62={_0x1e1917:0x10d,_0x3ae1d0:0x1b4,_0x13046d:0x189},_0x194e03=_0x5c7b67,_0x45cff1=_0x5c7b67,_0x2641ee={};_0x2641ee[_0x194e03(_0x48cb62._0x1e1917)]=_0x45cff1(0x146),_0x2641ee[_0x45cff1(0x153)]=_0x45cff1(_0x48cb62._0x3ae1d0)+_0x194e03(0x123);const _0x545cdd=_0x2641ee;return fs[_0x45cff1(_0x48cb62._0x13046d)](path['join'](_0xed5c70,_0x545cdd[_0x194e03(0x10d)]))||fs[_0x45cff1(_0x48cb62._0x13046d)](path['join'](_0xed5c70,_0x545cdd[_0x194e03(0x153)]));},'formatPrompt'(_0x239b5e){return _0x239b5e;},'formatCommand'(_0x4dbaee,_0x541b64){return _0x4dbaee;},'formatAgent'(_0x81ce8a,_0x22cf85){const _0x3e70eb={_0x25e31e:0x1b8},_0xa6d94=_0x4206b8,_0x1cf75e=_0x4206b8,_0x597aec={'YMPOR':function(_0xf7f184,_0x48f919){return _0xf7f184+_0x48f919;},'UZPdT':function(_0xcdf7bb,_0x4550bf){return _0xcdf7bb(_0x4550bf);}};return _0x597aec[_0xa6d94(0x12f)](buildOpencodeAgentFrontmatter(_0x22cf85),_0x597aec[_0x1cf75e(_0x3e70eb._0x25e31e)](stripFrontmatter,_0x81ce8a));},'cleanupPaths':[_0x4206b8(0x12e),_0x5c7b67(0x151)+_0x4206b8(0x12b)]},'claude-code':{'name':'claude-cod'+'e','displayName':'Claude\x20Cod'+'e','description':'Claude\x20Cod'+_0x4206b8(0x1d1)+'hropic)','promptPath':'CLAUDE.md','commandsDir':'.claude/co'+_0x5c7b67(0x141),'hasNativeCommands':!![],'agentsDir':_0x4206b8(0x15e)+_0x4206b8(0x163),'supportsSubagent':!![],'detect'(_0x31c67b){const _0x6eec1a={_0x23ecbb:0x191,_0x504f1c:0x1c2,_0x135e60:0x189},_0x358ad7=_0x4206b8,_0x5a3b66=_0x4206b8,_0x3451ba={};_0x3451ba[_0x358ad7(_0x6eec1a._0x23ecbb)]=_0x5a3b66(0x19f),_0x3451ba['sGdtT']=_0x5a3b66(_0x6eec1a._0x504f1c);const _0x1d9bc7=_0x3451ba;return fs[_0x5a3b66(_0x6eec1a._0x135e60)](path['join'](_0x31c67b,_0x1d9bc7['JIZIO']))||fs['existsSync'](path[_0x358ad7(0x127)](_0x31c67b,_0x1d9bc7[_0x5a3b66(0x192)]));},'formatPrompt'(_0x4b9c35){return _0x4b9c35;},'formatCommand'(_0x5ec8ee,_0x3bfefa){return _0x5ec8ee;},'formatAgent'(_0x6c0511,_0x29871f){const _0x1025a7=_0x4206b8,_0x175643={'rARJT':function(_0x1ea815,_0x12f092){return _0x1ea815(_0x12f092);}};return _0x175643[_0x1025a7(0x111)](buildClaudeCodeAgentFrontmatter,_0x29871f)+stripFrontmatter(_0x6c0511);},'cleanupPaths':[_0x5c7b67(0x1c2),_0x5c7b67(0x152)+_0x5c7b67(0x141)]},'cursor':{'name':_0x4206b8(0x1c0),'displayName':'Cursor','description':_0x4206b8(0x107)+_0x5c7b67(0x118)+_0x4206b8(0x139)+'c)','promptPath':'.cursor/ru'+_0x4206b8(0x1bf)+'opilot.mdc','commandsDir':null,'hasNativeCommands':![],'detect'(_0x3979df){const _0x1a30a4={_0x19a87f:0x175,_0x17e331:0x127},_0x339dd6=_0x4206b8,_0x530173=_0x4206b8,_0x11b00e={};_0x11b00e[_0x339dd6(_0x1a30a4._0x19a87f)]=_0x339dd6(0x12a)+'es';const _0x40d6ff=_0x11b00e;return fs[_0x530173(0x189)](path[_0x530173(0x127)](_0x3979df,'.cursor'))||fs[_0x530173(0x189)](path[_0x339dd6(_0x1a30a4._0x17e331)](_0x3979df,_0x40d6ff['eVvbt']));},'formatPrompt'(_0x47b6e6){const _0x2f5ded={_0x53d8f5:0x1c7,_0x381e0e:0x127,_0x444b15:0x17a},_0xca6c33=_0x4206b8,_0x84ff74=_0x4206b8,_0xc4c1fe={'iLKBP':_0xca6c33(0x11e),'aFMoU':function(_0x358e92,_0x1d5a88){return _0x358e92+_0x1d5a88;},'cRDIO':function(_0x589b27){return _0x589b27();}},_0x229ae2=[_0xc4c1fe[_0xca6c33(0x158)],_0xca6c33(0x166)+_0xca6c33(_0x2f5ded._0x53d8f5)+'riven\x20Deve'+_0xca6c33(0x128)+'amework\x20—\x20'+_0x84ff74(0x140),_0x84ff74(0x14a)+_0xca6c33(0x1a9),'---',''][_0xca6c33(_0x2f5ded._0x381e0e)]('\x0a');return _0xc4c1fe[_0xca6c33(0x187)](_0x229ae2,_0x47b6e6)+_0xc4c1fe[_0x84ff74(_0x2f5ded._0x444b15)](buildCommandRoutingSection);},'formatCommand'(_0x515a22,_0x416ca6){return _0x515a22;},'cleanupPaths':[_0x5c7b67(0x162)+_0x5c7b67(0x1bf)+_0x4206b8(0x11a)]},'windsurf':{'name':_0x5c7b67(0x19b),'displayName':_0x4206b8(0x13d),'description':_0x5c7b67(0x11c)+_0x4206b8(0x165)+_0x5c7b67(0x17b)+')','promptPath':_0x5c7b67(0x1b6)+_0x4206b8(0x15b)+'-copilot.m'+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0x506ab6){const _0x2074f4={_0x520c60:0x1b1,_0x25a353:0x127,_0x21c5f3:0x1ba,_0x4f2898:0x116},_0x34407d=_0x4206b8,_0x546afd=_0x4206b8,_0x16cbb7={};_0x16cbb7[_0x34407d(0x1ba)]=_0x546afd(_0x2074f4._0x520c60);const _0x3589e3=_0x16cbb7;return fs[_0x34407d(0x189)](path[_0x34407d(_0x2074f4._0x25a353)](_0x506ab6,_0x3589e3[_0x546afd(_0x2074f4._0x21c5f3)]))||fs[_0x546afd(0x189)](path[_0x34407d(0x127)](_0x506ab6,_0x34407d(_0x2074f4._0x4f2898)+_0x546afd(0x199)));},'formatPrompt'(_0x21f32c){return _0x21f32c+buildCommandRoutingSection();},'formatCommand'(_0x238935,_0x92f60d){return _0x238935;},'cleanupPaths':[_0x4206b8(0x1b6)+'rules/spec'+_0x5c7b67(0x159)+'d']},'copilot':{'name':_0x4206b8(0x1b5),'displayName':_0x5c7b67(0x17f)+'ilot','description':_0x5c7b67(0x17f)+_0x4206b8(0x14e)+_0x4206b8(0x142)+'t-instruct'+_0x4206b8(0x16d),'promptPath':_0x5c7b67(0x110)+_0x5c7b67(0x109)+_0x5c7b67(0x174)+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0x25630d){const _0x151df7={_0x29a939:0x189,_0x1b971d:0x127},_0x9c53c8=_0x4206b8,_0x3c1ad5=_0x4206b8,_0x533c59={};_0x533c59['QVmFB']=_0x9c53c8(0x129)+_0x3c1ad5(0x16f)+_0x9c53c8(0x135);const _0x25cc6b=_0x533c59;return fs[_0x3c1ad5(_0x151df7._0x29a939)](path[_0x9c53c8(_0x151df7._0x1b971d)](_0x25630d,'.github',_0x25cc6b['QVmFB']));},'formatPrompt'(_0xfe21f4){const _0x4b0a32={_0x3b96e5:0x1a6},_0x56e977=_0x5c7b67,_0x2aa71a={'hAUiE':function(_0x493f42){return _0x493f42();}};return _0xfe21f4+_0x2aa71a[_0x56e977(_0x4b0a32._0x3b96e5)](buildCommandRoutingSection);},'formatCommand'(_0x5958c6,_0x3cacfc){return _0x5958c6;},'cleanupPaths':['.github/co'+'pilot-inst'+_0x5c7b67(0x174)+'d']},'cline':{'name':_0x4206b8(0x18d),'displayName':'Cline','description':'Cline\x20VSCo'+_0x4206b8(0x13f)+_0x5c7b67(0x15c)+_0x4206b8(0x1d0),'promptPath':_0x4206b8(0x10f)+_0x4206b8(0x190)+_0x5c7b67(0x10e),'commandsDir':null,'hasNativeCommands':![],'detect'(_0x51a2c2){const _0x3d6940={_0x161c4f:0x127,_0x2d224f:0x127},_0xc34d23=_0x4206b8,_0xcf33d6=_0x4206b8;return fs[_0xc34d23(0x189)](path[_0xc34d23(_0x3d6940._0x161c4f)](_0x51a2c2,'.clinerule'+'s'))||fs[_0xc34d23(0x189)](path[_0xcf33d6(_0x3d6940._0x2d224f)](_0x51a2c2,'.cline'));},'formatPrompt'(_0x26e8ba){return _0x26e8ba+buildCommandRoutingSection();},'formatCommand'(_0x416389,_0x41486d){return _0x416389;},'cleanupPaths':['.clinerule'+_0x4206b8(0x190)+'ilot.md']}};function detectTools(_0x575d15){const _0x4cd6e6={_0x493c84:0x18f},_0x37ab69=_0x5c7b67,_0x27567e=_0x5c7b67;return Object[_0x37ab69(0x173)](adapters)[_0x37ab69(_0x4cd6e6._0x493c84)](_0x44a2e5=>_0x44a2e5[_0x37ab69(0x156)](_0x575d15));}function _0x15b8(_0xa789b7,_0x4e90ad){_0xa789b7=_0xa789b7-(0xf*0x55+0x6*0x2d9+-0x150f);const _0x534dce=_0x3b56();let _0x4ccaf7=_0x534dce[_0xa789b7];if(_0x15b8['xJGvHG']===undefined){var _0x53750d=function(_0x59ed70){const _0x4f7f6b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x429cd0='',_0x32dbeb='',_0x5e409e=_0x429cd0+_0x53750d,_0x29e166=(''+function(){return-0x19*0x39+0xd0e+-0x77d;})['indexOf']('\x0a')!==-(0x946*-0x3+0x581+0x1652);for(let _0x2dc9dd=-0x30*0x4a+-0x25a4+-0x15*-0x274,_0x13575c,_0x15d51a,_0x54f32e=-0x1*-0x1be7+0x91*-0x25+-0x6f2;_0x15d51a=_0x59ed70['charAt'](_0x54f32e++);~_0x15d51a&&(_0x13575c=_0x2dc9dd%(-0xb1b*-0x2+-0x2b6*0x1+-0x9be*0x2)?_0x13575c*(-0x284+-0x25e2*0x1+-0x28a6*-0x1)+_0x15d51a:_0x15d51a,_0x2dc9dd++%(0x195d+-0x1*-0x1615+-0x1d3*0x1a))?_0x429cd0+=_0x29e166||_0x5e409e['charCodeAt'](_0x54f32e+(-0xf4f+-0x19e5+0x293e))-(0x7*-0x10c+-0xc92+0x13f0)!==-0x205*0x5+0x2b*-0x91+0x2274?String['fromCharCode'](-0x4ce+-0x1f24+0x24f1&_0x13575c>>(-(-0x21*0xb3+0x15a*0xe+0x429)*_0x2dc9dd&0x10be+-0x1*0x1df2+0xd3a)):_0x2dc9dd:-0x259b+-0xfc8+0x3563){_0x15d51a=_0x4f7f6b['indexOf'](_0x15d51a);}for(let _0x250724=-0x1e3+-0x574*-0x6+-0x1ed5,_0x1014c3=_0x429cd0['length'];_0x250724<_0x1014c3;_0x250724++){_0x32dbeb+='%'+('00'+_0x429cd0['charCodeAt'](_0x250724)['toString'](-0x19c*-0x5+-0x2*-0x101e+-0x2838))['slice'](-(-0xb0d+0xf9*0x18+0x55*-0x25));}return decodeURIComponent(_0x32dbeb);};_0x15b8['JQmhfX']=_0x53750d,_0x15b8['aoxhMY']={},_0x15b8['xJGvHG']=!![];}const _0x1271af=_0x534dce[0x8e0+0x14c9*0x1+0x1da9*-0x1],_0x461602=_0xa789b7+_0x1271af,_0x330fca=_0x15b8['aoxhMY'][_0x461602];if(!_0x330fca){const _0x28cdc1=function(_0x4cc59d){this['uHJBgM']=_0x4cc59d,this['IQUqJn']=[0x14aa+-0xb2d+-0x1*0x97c,-0x21e5*-0x1+-0x1*-0x1e2+-0x23c7,0x1*0x1f89+-0x156b+-0xa1e],this['tNUziV']=function(){return'newState';},this['aiLtgv']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['XqzBRH']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x28cdc1['prototype']['dsNqFd']=function(){const _0x13eec2=new RegExp(this['aiLtgv']+this['XqzBRH']),_0x5a0612=_0x13eec2['test'](this['tNUziV']['toString']())?--this['IQUqJn'][-0xb*0x18f+0x732*0x5+-0x12d4]:--this['IQUqJn'][0x2078+0x2b*-0xc1+-0xd*0x1];return this['jpDjEL'](_0x5a0612);},_0x28cdc1['prototype']['jpDjEL']=function(_0x54cb1f){if(!Boolean(~_0x54cb1f))return _0x54cb1f;return this['FpfoiA'](this['uHJBgM']);},_0x28cdc1['prototype']['FpfoiA']=function(_0x216269){for(let _0x2e547f=0x1*-0x17e7+0xaf7+0x10*0xcf,_0x1c4b7c=this['IQUqJn']['length'];_0x2e547f<_0x1c4b7c;_0x2e547f++){this['IQUqJn']['push'](Math['round'](Math['random']())),_0x1c4b7c=this['IQUqJn']['length'];}return _0x216269(this['IQUqJn'][-0xad8+-0x1*0x545+0x101d]);},(''+function(){return 0x2*0x1037+-0x1222+-0x131*0xc;})['indexOf']('\x0a')===-(-0x99*0x11+0x1a0a+-0x7f*0x20)&&new _0x28cdc1(_0x15b8)['dsNqFd'](),_0x4ccaf7=_0x15b8['JQmhfX'](_0x4ccaf7),_0x15b8['aoxhMY'][_0x461602]=_0x4ccaf7;}else _0x4ccaf7=_0x330fca;return _0x4ccaf7;}function supportedTools(){const _0x3e71d5=_0x4206b8;return Object[_0x3e71d5(0x1cf)](adapters);}const _0x2e1a10={};_0x2e1a10[_0x5c7b67(0x10c)]=adapters,_0x2e1a10['detectTool'+'s']=detectTools,_0x2e1a10[_0x4206b8(0x1be)+_0x5c7b67(0x10b)]=supportedTools,_0x2e1a10[_0x4206b8(0x1c8)+_0x5c7b67(0x11b)+_0x5c7b67(0x105)]=buildCommandRoutingSection,_0x2e1a10['stripFront'+_0x5c7b67(0x1a0)]=stripFrontmatter,_0x2e1a10[_0x5c7b67(0x145)+_0x5c7b67(0x14d)]=parseAgentMeta,module[_0x4206b8(0x155)]=_0x2e1a10;