@alenfitz/spec-copilot 2.5.1 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -117,23 +117,24 @@ Playwright-based end-to-end verification — catches "compiles but doesn't work"
117
117
 
118
118
  Uses system-installed Chrome — no extra installation needed. Just have Chrome on your machine.
119
119
 
120
- ### Guard System (v2.5.0) — Code-Enforced Guardrails
120
+ ### Guard System (v2.6.0) — Code-Enforced Guardrails
121
121
 
122
- AI tools ignore prompt-based rules. Guard moves critical constraints into git pre-commit hooks that **no AI tool can bypass**:
122
+ AI tools ignore prompt-based rules. Guard uses **hash verification at gate time** AI can modify files, but modified files fail the gate:
123
123
 
124
124
  ```bash
125
- npx @alenfitz/spec-copilot guard install # Install pre-commit hook
126
- npx @alenfitz/spec-copilot guard status # View protection status
127
- npx @alenfitz/spec-copilot guard lock # Lock files by phase
125
+ npx @alenfitz/spec-copilot guard install # Initialize protection (record hashes)
126
+ npx @alenfitz/spec-copilot guard status # View protection & integrity status
127
+ npx @alenfitz/spec-copilot guard lock # Lock files (record hash, auto by phase)
128
+ npx @alenfitz/spec-copilot guard unlock # Human unlock (clear hash record)
128
129
  ```
129
130
 
130
- **What the hook blocks:**
131
+ **Gate blocks when protected files are tampered:**
131
132
  - ❌ Modifying `spec.md` after approval (auto-locked when gate passes)
132
133
  - ❌ Modifying `domain-rules.md` / `project-context.md` (permanently protected)
133
- - ❌ Committing skeleton `.vue` components (placeholder-only)
134
- - ❌ Skipping smoke gate before review
134
+ - ❌ Committing skeleton `.vue` components (optional git hook)
135
135
 
136
- Works with **all AI tools**: Claude Code, Cursor, Windsurf, Copilot, Cline, opencode. Human emergency override: `git commit --no-verify`.
136
+ **Zero dependencies**: no git, no chmod, no special permissions. Works on all platforms.
137
+ Works with **all AI tools**: Claude Code, Cursor, Windsurf, Copilot, Cline, opencode. Human unlock: `spec-copilot guard unlock <file>`.
137
138
 
138
139
  ## Complexity Tiers
139
140
 
package/README.zh-CN.md CHANGED
@@ -118,24 +118,25 @@ npx @alenfitz/spec-copilot gate <变更名> smoke
118
118
 
119
119
  使用系统已安装的 Chrome — 无需额外安装。只要电脑有 Chrome 即可。
120
120
 
121
- ### Guard 代码级护栏(v2.5.0)
121
+ ### Guard 代码级护栏(v2.6.0)
122
122
 
123
- AI 工具会无视提示词中的"铁律"。Guard 把关键约束搬到 git pre-commit hook,**所有 AI 工具绕不过**:
123
+ AI 工具会无视提示词中的"铁律"。Guard **hash 校验 @ gate 时** 做硬拦截 — AI 可以改文件,但改了过不了 gate:
124
124
 
125
125
  ```bash
126
- npx @alenfitz/spec-copilot guard install # 安装 pre-commit hook
127
- npx @alenfitz/spec-copilot guard status # 查看保护状态
128
- npx @alenfitz/spec-copilot guard lock # 按阶段锁定文件
126
+ npx @alenfitz/spec-copilot guard install # 初始化保护(记录 hash)
127
+ npx @alenfitz/spec-copilot guard status # 查看保护状态与完整性
128
+ npx @alenfitz/spec-copilot guard lock # 锁定文件(记录 hash,按阶段自动锁定)
129
+ npx @alenfitz/spec-copilot guard unlock # 人类解锁(清除 hash 记录)
129
130
  ```
130
131
 
131
- **Hook 自动拦截:**
132
+ **Gate 拦截被保护文件篡改:**
132
133
  - ❌ 审批后修改 `spec.md`(gate 通过后自动锁定)
133
134
  - ❌ 修改 `domain-rules.md` / `project-context.md`(永久保护)
134
- - ❌ 提交骨架 `.vue` 组件(仅占位符)
135
- - ❌ 跳过 smoke 直接 review
135
+ - ❌ 提交骨架 `.vue` 组件(可选 git hook)
136
136
 
137
+ **零依赖**:不需要 git / chmod / 特殊权限,所有平台通用。
137
138
  **所有 AI 工具通用**:Claude Code / Cursor / Windsurf / Copilot / Cline / opencode。
138
- 人类紧急操作:`git commit --no-verify`。
139
+ 人类解锁:`spec-copilot guard unlock <文件>`。
139
140
 
140
141
  ## 复杂度分级
141
142
 
package/adapters/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @alenfitz/spec-copilot v2.5.1
2
+ * @alenfitz/spec-copilot v2.7.0
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_copilot/issues
10
10
  */
11
- const _0x2c4a1c=_0xe562,_0x51341d=_0xe562;(function(_0x5ddfbb,_0x437a38){const _0x177172={_0x10e580:0x23f,_0x2be72c:0x1ad,_0x147a27:0x1a4,_0x4404fe:0x221,_0x2ddc6e:0x1ca,_0x2e8abd:0x1ce,_0x58e846:0x1f9},_0x3dc192=_0xe562,_0x2471cd=_0xe562,_0x402579=_0x5ddfbb();while(!![]){try{const _0x2804b0=-parseInt(_0x3dc192(0x1c3))/(-0x1d18+0x33*-0x9d+0x3c60)*(parseInt(_0x3dc192(0x1bc))/(0x1b2*-0xa+0x1371+-0x27b))+parseInt(_0x2471cd(0x235))/(-0xdc1*-0x2+0xa99*-0x2+-0x64d)+parseInt(_0x3dc192(_0x177172._0x10e580))/(0x1774+-0x17ea+0x1*0x7a)*(-parseInt(_0x2471cd(_0x177172._0x2be72c))/(-0x30*-0x59+0x1*-0x10bc+0x1*0x11))+parseInt(_0x3dc192(_0x177172._0x147a27))/(0xf27*-0x2+-0x254a+0x1e*0x241)+parseInt(_0x3dc192(_0x177172._0x4404fe))/(0xb32+0x513*0x1+-0x103e)*(-parseInt(_0x3dc192(_0x177172._0x2ddc6e))/(0x750+-0x90d+0x1c5))+parseInt(_0x3dc192(0x1f4))/(-0x7*0x121+-0xb*-0x139+-0x583)*(parseInt(_0x2471cd(_0x177172._0x2e8abd))/(-0x2*0x830+-0x59*-0x53+-0xc71))+-parseInt(_0x2471cd(0x239))/(0x5*0x2c8+0xa1f+-0x17fc)*(-parseInt(_0x3dc192(_0x177172._0x58e846))/(-0x1449+-0x1998+-0x3*-0xf4f));if(_0x2804b0===_0x437a38)break;else _0x402579['push'](_0x402579['shift']());}catch(_0x3c2076){_0x402579['push'](_0x402579['shift']());}}}(_0x35f9,0x45e1c+0x1cb7*0x5+-0x23484));const _0x17342e=(function(){let _0x31c846=!![];return function(_0x59ceab,_0x530e89){const _0x2266a7={'OXyEa':function(_0x4a6d52){return _0x4a6d52();}},_0xd9c332=_0x31c846?function(){const _0x59bfc2=_0xe562,_0x329539=_0xe562;if('AEyma'!=='AEyma')return _0x1f590f+_0x2266a7[_0x59bfc2(0x19b)](_0x2f310b);else{if(_0x530e89){const _0x19d9d6=_0x530e89[_0x329539(0x1b6)](_0x59ceab,arguments);return _0x530e89=null,_0x19d9d6;}}}:function(){};return _0x31c846=![],_0xd9c332;};}()),_0x3eed16=_0x17342e(this,function(){const _0xf82e7f={_0xf24d53:0x1de,_0x31b634:0x1da,_0x433e57:0x19f,_0x16b0ba:0x195,_0x4607c6:0x1de},_0x4805de=_0xe562,_0x4fe1d0=_0xe562,_0x49106d={};_0x49106d[_0x4805de(_0xf82e7f._0xf24d53)]=_0x4fe1d0(_0xf82e7f._0x31b634)+'+$';const _0x406302=_0x49106d;return _0x3eed16[_0x4fe1d0(_0xf82e7f._0x433e57)]()[_0x4805de(_0xf82e7f._0x16b0ba)](_0x406302[_0x4fe1d0(_0xf82e7f._0x4607c6)])['toString']()['constructo'+'r'](_0x3eed16)['search'](_0x4fe1d0(0x1da)+'+$');});_0x3eed16();const fs=require('fs'),path=require(_0x2c4a1c(0x1af));function stripFrontmatter(_0x306faf){const _0x43e7ae={_0x370694:0x1b1},_0x2b0472=_0x2c4a1c,_0x34e676=_0x2c4a1c,_0x21db4b=_0x306faf[_0x2b0472(_0x43e7ae._0x370694)](/^---\n[\s\S]*?\n---\n?/);return _0x21db4b?_0x306faf[_0x2b0472(0x209)](_0x21db4b[-0x1*-0x891+0x1672+-0x1f03][_0x34e676(0x1f2)]):_0x306faf;}function parseAgentMeta(_0x34b0a8){const _0x1a42e2={_0x267586:0x206,_0x1efc86:0x1b1,_0x31782e:0x1a1,_0x136eb0:0x1ed,_0x15cbfc:0x1ed,_0x5324f5:0x237,_0x44328e:0x1d6},_0x1cd426=_0x2c4a1c,_0x384d4c=_0x2c4a1c,_0x116045={};_0x116045[_0x1cd426(_0x1a42e2._0x267586)]=function(_0x1120d3,_0x56a0e7){return _0x1120d3===_0x56a0e7;},_0x116045[_0x1cd426(0x237)]=function(_0x1937fd,_0x2ef630){return _0x1937fd!==_0x2ef630;};const _0x307bde=_0x116045,_0x47d2d1=_0x34b0a8[_0x384d4c(_0x1a42e2._0x1efc86)](/^---\n([\s\S]*?)\n---/),_0x2357af={};_0x2357af['name']='',_0x2357af['role']='',_0x2357af[_0x1cd426(_0x1a42e2._0x31782e)+'e']='';if(!_0x47d2d1)return _0x2357af;const _0x62fb2e={};for(const _0x5afc81 of _0x47d2d1[0x1efc+0x23e5+-0x42e0][_0x384d4c(0x1ac)]('\x0a')){if(_0x307bde['rARNV'](_0x1cd426(0x24a),_0x1cd426(0x24a))){const _0x58e9d3=_0x5afc81[_0x384d4c(_0x1a42e2._0x1efc86)](/^(\w+):\s*(.+)$/);if(_0x58e9d3)_0x62fb2e[_0x58e9d3[-0x1ad6+0x18ca+0x20d]]=_0x58e9d3[0x1db2+0x19*-0x17f+0x1*0x7b7][_0x1cd426(0x20d)]();}else{const _0xc7583b=_0x10a12f[_0x384d4c(0x1b1)](/^---\n[\s\S]*?\n---\n?/);return _0xc7583b?_0x28df4a[_0x1cd426(0x209)](_0xc7583b[0x247f+0xb2*-0x1+-0x23cd][_0x384d4c(0x1f2)]):_0x3bc549;}}if(_0x62fb2e[_0x384d4c(_0x1a42e2._0x136eb0)]&&typeof _0x62fb2e[_0x384d4c(_0x1a42e2._0x15cbfc)]===_0x1cd426(0x1db)){if(_0x307bde[_0x384d4c(_0x1a42e2._0x5324f5)](_0x1cd426(0x1f3),_0x384d4c(0x1f3)))return _0x57093f;else _0x62fb2e[_0x384d4c(0x1ed)]=_0x62fb2e['tools'][_0x384d4c(0x1ac)](',')[_0x384d4c(_0x1a42e2._0x44328e)](_0x1cdb90=>_0x1cdb90[_0x384d4c(0x20d)]())[_0x1cd426(0x207)](Boolean);}return _0x62fb2e;}function buildOpencodeAgentFrontmatter(_0x108299){const _0x5299c3={_0x1d91bb:0x1dd,_0x307ab3:0x1b2,_0x2ce6a5:0x216,_0xf77a0b:0x1ae,_0x4eb288:0x225,_0xf8ccee:0x1d5,_0x40b21c:0x1ed,_0x4619f8:0x1d5,_0x3a1158:0x21c,_0x1342ec:0x23e,_0xdf34ee:0x22d,_0x1794b6:0x1f1,_0x45fe70:0x233},_0x5de0ae=_0x2c4a1c,_0x47f894=_0x2c4a1c,_0x4cb2ed={};_0x4cb2ed['hSdwu']='read',_0x4cb2ed[_0x5de0ae(0x21c)]=_0x5de0ae(_0x5299c3._0x1d91bb),_0x4cb2ed['mClXk']=function(_0x4230e2,_0x55549a){return _0x4230e2>_0x55549a;},_0x4cb2ed[_0x5de0ae(0x246)]=_0x47f894(_0x5299c3._0x307ab3),_0x4cb2ed[_0x5de0ae(0x211)]=_0x5de0ae(_0x5299c3._0x2ce6a5),_0x4cb2ed[_0x47f894(0x1fa)]=_0x47f894(0x193),_0x4cb2ed[_0x47f894(0x1d2)]=_0x47f894(0x229)+_0x47f894(_0x5299c3._0xf77a0b);const _0x155952=_0x4cb2ed,_0x359293=[_0x155952[_0x47f894(_0x5299c3._0x4eb288)],_0x5de0ae(_0x5299c3._0xf8ccee),_0x155952['ftRzT'],_0x47f894(0x1b2)],_0x17412d=_0x108299['tools']&&_0x155952['mClXk'](_0x108299[_0x5de0ae(0x1ed)][_0x47f894(0x1f2)],-0x2c*-0x8e+0x1fab+-0x3813)?_0x108299[_0x5de0ae(_0x5299c3._0x40b21c)]:_0x359293,_0x583c53=['read',_0x47f894(_0x5299c3._0x4619f8),_0x155952[_0x47f894(_0x5299c3._0x3a1158)],_0x155952[_0x47f894(0x246)],_0x155952[_0x47f894(0x211)],_0x5de0ae(0x19e)],_0x5e7790=_0x583c53[_0x47f894(0x1d6)](_0xa426fb=>'\x20\x20'+_0xa426fb+':\x20'+(_0x17412d[_0x47f894(0x240)](_0xa426fb)?_0x47f894(0x1fd):'false'));return[_0x155952[_0x5de0ae(0x1fa)],_0x47f894(0x1cf)+_0x47f894(_0x5299c3._0x1342ec)+(_0x108299[_0x5de0ae(_0x5299c3._0xdf34ee)]||_0x108299['name']),_0x155952['wrEUN'],_0x47f894(_0x5299c3._0x1794b6),..._0x5e7790,_0x155952[_0x47f894(0x1fa)],''][_0x5de0ae(_0x5299c3._0x45fe70)]('\x0a');}function buildClaudeCodeAgentFrontmatter(_0x4b4aa3){const _0x2fd31e={_0x16f0b5:0x1eb,_0x30e0b3:0x203,_0x5e3273:0x1dd,_0x3f520d:0x216,_0x551665:0x1b8,_0x395d4a:0x1d5,_0x16bd46:0x1ed,_0x2cc5d0:0x1ed,_0x3f8fa0:0x193,_0x571739:0x1cc,_0x15e0fc:0x1cf,_0x3a7ac0:0x23e,_0x59e71c:0x233},_0x395631=_0x2c4a1c,_0x1ca14c=_0x2c4a1c,_0x14bdca={};_0x14bdca['sUvHl']=_0x395631(0x1f5),_0x14bdca['kRPyz']=_0x1ca14c(0x22c),_0x14bdca[_0x1ca14c(0x1b8)]='Write',_0x14bdca[_0x395631(_0x2fd31e._0x16f0b5)]=_0x395631(_0x2fd31e._0x30e0b3),_0x14bdca[_0x395631(0x24f)]=_0x1ca14c(0x1b2),_0x14bdca[_0x395631(0x1c0)]=_0x1ca14c(0x193);const _0x3445bc=_0x14bdca,_0x5d2d39={};_0x5d2d39['read']=_0x3445bc[_0x395631(0x245)],_0x5d2d39[_0x395631(0x1d5)]='Grep',_0x5d2d39[_0x395631(_0x2fd31e._0x5e3273)]=_0x1ca14c(0x1f8),_0x5d2d39['bash']=_0x3445bc['kRPyz'],_0x5d2d39[_0x395631(_0x2fd31e._0x3f520d)]=_0x3445bc[_0x395631(_0x2fd31e._0x551665)],_0x5d2d39['edit']=_0x3445bc['YZULo'];const _0x57c0f2=_0x5d2d39,_0x21197b=[_0x395631(0x1be),_0x1ca14c(_0x2fd31e._0x395d4a),_0x395631(0x1dd),_0x3445bc[_0x395631(0x24f)]],_0x4ed059=_0x4b4aa3[_0x1ca14c(0x1ed)]&&_0x4b4aa3[_0x1ca14c(_0x2fd31e._0x16bd46)][_0x1ca14c(0x1f2)]>-0x1*0x1c22+-0x726+-0x2348*-0x1?_0x4b4aa3[_0x395631(_0x2fd31e._0x2cc5d0)]:_0x21197b,_0x5e60bc=_0x4ed059['map'](_0x3961a9=>_0x57c0f2[_0x3961a9]||_0x3961a9)['join'](',\x20');return[_0x395631(_0x2fd31e._0x3f8fa0),_0x1ca14c(_0x2fd31e._0x571739)+_0x4b4aa3[_0x395631(0x1df)],_0x395631(_0x2fd31e._0x15e0fc)+_0x395631(_0x2fd31e._0x3a7ac0)+(_0x4b4aa3['role']||_0x4b4aa3[_0x395631(0x1df)]),_0x395631(0x1d0)+_0x5e60bc,_0x3445bc['zZwwo'],''][_0x1ca14c(_0x2fd31e._0x59e71c)]('\x0a');}function _0x35f9(){const _0xf9029d=['DMfSDwvZ','5zg95lUK6lEV55sXcGRLVzpNLkJMIlFOVPm','BJOG','mteZndy0tuTqzNDI','Aw5JBhvKzxm','D2LUzhn1CMy','B2rLlwfPl29Wzq','B3bPBg90l2nVBq','DxjMl3j1BgvZlW','C1v2sgW','wePeA1a','yw1LD29YAYdIGjqG','lMnSAw5LCNvSzq','C3bLyZPMBg93lG','zwnTB0C','5y+y5PU05zcnpMaGFcbGCW','BgvZl3nWzwmTyW','v2LUzhn1CMyGsq','AwXVDa','rKvNyuO','FcbGl3nWzwm6Da','lwnVCgLSB3qUBq','B3bLBMnVzgu','BMnVzguP','yZPOB3rMAxGUBq','ls0T','CNvJDgLVBNmUBq','C2vHCMnO','zguGzxH0zw5ZAq','lNDPBMrZDxjMlW','y2XPBMu','zsbdteKGkefUDa','l3nWzwm6yxjJAa','t1H5rwe','lM1K','FcbGl3nWzwm6Aa','zwrPDa','Dg9tDhjPBMC','C3bLyZPPBML0ya','D2HLBL90B191CW','y2XHDwrLlwnVza','reuGkc53Aw5KCW','ody3nZG2txflCgPS','EgjxvuC','5y+y5PU05zcnpMdJGifGpoApJ+I/Sa','B3qVy29TBwfUza','q2XPBMuGvLndBW','y29WAwXVDc9JBW','B3bPBg90lM1KyW','powpMoABTowqJt5GihWGya','C3bSAxq','mtvqEfL0Cgi','z2vUDa','Cgf0Aa','lMn1CNnVCI9YDq','Bwf0y2G','yMfZAa','oNbYB3bVC2uUBq','FcbGC3bLy19JBW','AxzLlM1Kycb8cG','yxbWBhK','wgXur1m','sgXSrw8','AhvIl2nVCgLSBW','lM9Wzw5JB2rLlW','FaP8igaVC3bLyW','ndaXmLrgvwLwrq','lMnSyxvKzs9JBW','CMvHza','ycb8cNWGyc9ZCa','ELP3D28','5lIn6zYa6kAb5yAn5QYH56gU6k6K44cccUwWHG','Awv3lM1Kycb8cG','mtiYCvDKz1DS','B3bLBMnVzguUAG','lMDPDgH1yI9JBW','5zg95lUK5zco77YmkIRNQ4VLJBmQkG','Bg90l2nVBw1HBG','zxn0idZLJ5JMM7tLKi0+ya','CgLSB3qTAw5ZDa','nZi0mJy0vNfTDgzx','y29WAwXVDa','BMfTztOG','EtOGDhj1zq','otbbywjOt3O','zgvZy3jPChrPBW','Dg9VBhm6ia','lMnSyxvKzs9HzW','D3jfvu4','Avb5wNq','C3rYAxbgCM9UDa','z3jLCa','BwfW','AhjVCgLJkq','pMaG5PU/5O2I5lI655sO5OI35zYO5zg9','q2XPBMu','kcGOlISPkYKRkq','C3rYAw5N','C3vWCg9YDgvKva','z2XVyG','Bgnnsw8','BMfTzq','A2v5CW','q2XHDwrLienVza','CML2zw4Grgv2zq','zxHPC3rZu3LUyW','yc9ZCgvJoNbYBW','BwfbBfO','CNvSzxmVC3bLyW','6k+75y+w5PAh5lU2ihWkFc0T','6zYa5RgcpMaGFcbGC3a','oMfYy2HPDMuGpa','C3rYDwn0Aw9UCW','wvPvtg8','lMn1CNnVCNj1Ba','Dg9VBhm','yhnWzwnFy29WAq','DM94v0e','zwm6CMv2Awv3ia','Dg9VBhm6','BgvUz3rO','ALjLtwu','mJu4ntDpuvvqAem','uMvHza','zw50CW','lNDPBMrZDxjMCG','r2XVyG','ndqYnda1mKrwtMrdyG','EgX1DMO','BJOGiLnWzwmTra','AwXVDcaOlMDPDa','Dhj1zq','BMrsB3v0Aw5NuW','zgaGFaOk55sO5OI36l6t5ywL','C29U','C3bLy19JB3bPBa','CNvSzxmVkI5Tza','rwrPDa','C3bLyZPHChbSEq','q3vYC29Y','CKfstLy','zMLSDgvY','CY9ZCgvJoNjLDG','C2XPy2u','icGUy3vYC29YlW','quKG57Yw56cb5y2p5l2C6kEe6iYdiG','lMnSyxvKzq','DhjPBq','quDftLrtlM1K','yZPZBw9Rzs5Tza','zwnFy29WAwXVDa','DMHZB3e','yZPIB290C3rYyq','B29SCW','oNrLC3qUBwrGia','6k+75y+w5A+55BQu5PAh5lU25BM25OMN6kgm77Ym','D3jPDgu','ywrHChrLCNm','CgvJx2nVCgLSBW','AwXVDc5Tza','l2nVBw1HBMrZlW','5lUK5zco5O+q5l6B55Qe5y+c5PwW44cccG','zNrsELq','BwfUzhmVC3bLyW','zwn0Aw9U','CNvSzxmVkq','Dc9JB21Tyw5KCW','mtrVy1fgv3u','lMn1CNnVCG','y29TBwfUzhm','77YAcGP8iowrVEs7Pcb8ia','AfnKD3u','CgLSB3qVy29TBq','y29WAwXVDc1PBG','yNvPBgrdB21Tyq','Bw9KztOGC3vIyq','ihWGyhnWzwnFyW','oMjVB3rZDhjHCa','qMfZAa','CM9Szq','DhveBuS','y3vYC29Y','ycb8igbZCgvJxW','zhmVC3bLyZPHCa','Bw1HBMrZ','AM9PBG','lM9Wzw5JB2rL','nduWnJm2sg5TsuTk','Bg9WBwvUDcbgCG','ALHnsvK','Bw9Rzsa85y+y5PU05zcnpG','mtftAvr6z1e','Cc5TzgaGFaP8ia','Bwf0DgvY'];_0x35f9=function(){return _0xf9029d;};return _0x35f9();}function buildCommandRoutingSection(){const _0x2fa5d0={_0x34a4cb:0x224,_0x3a5c5c:0x1e7,_0x5e44b0:0x1bb,_0x13ce70:0x22b,_0x1080f6:0x230,_0x1577c7:0x1a9,_0x5102ec:0x212,_0x33fca9:0x1e4,_0x3ebebc:0x210,_0x2f777a:0x249,_0x23c0e9:0x204,_0x3e2000:0x1ee,_0x373fd:0x1c7,_0x2a4bdd:0x231,_0x310b05:0x238,_0x5005a3:0x1a9,_0x3125eb:0x20f,_0x5dcb1e:0x1bf,_0x48274b:0x1ab,_0x2ed7cb:0x201,_0x1c604e:0x208,_0x3b32f7:0x226,_0x55009d:0x214,_0x48c556:0x24b,_0xaaf3c3:0x220,_0x273872:0x192,_0x11931f:0x1ff,_0x4d94aa:0x1c6,_0x10b7c4:0x215,_0x1a12d3:0x1a6,_0x1c5b9f:0x21b},_0x52d9ec=_0x2c4a1c,_0x44d7f8=_0x2c4a1c;return'\x0a\x0a---\x0a\x0a##\x20'+_0x52d9ec(0x23d)+'入以下命令时,读取对'+'应文件并按其指令执行'+_0x52d9ec(_0x2fa5d0._0x34a4cb)+_0x44d7f8(_0x2fa5d0._0x3a5c5c)+'----|-----'+'----|\x0a|\x20`/'+_0x52d9ec(0x1a0)+'\x20|\x20`spec_c'+_0x44d7f8(0x243)+_0x44d7f8(0x21d)+':init.md`\x20'+_0x44d7f8(_0x2fa5d0._0x5e44b0)+_0x44d7f8(_0x2fa5d0._0x13ce70)+_0x52d9ec(_0x2fa5d0._0x1080f6)+_0x52d9ec(_0x2fa5d0._0x1577c7)+'mmands/spe'+_0x44d7f8(_0x2fa5d0._0x5102ec)+_0x52d9ec(0x23a)+_0x52d9ec(_0x2fa5d0._0x33fca9)+'pose\x20<需求>`'+_0x44d7f8(0x22a)+'opilot/com'+_0x52d9ec(0x21d)+_0x52d9ec(0x1b3)+'d`\x20|\x0a|\x20`/s'+'pec:flow\x20<'+_0x52d9ec(0x1e8)+_0x52d9ec(_0x2fa5d0._0x3ebebc)+_0x44d7f8(0x21a)+_0x44d7f8(_0x2fa5d0._0x2f777a)+'md`\x20|\x0a|\x20`/'+_0x52d9ec(_0x2fa5d0._0x23c0e9)+'\x20<变更名>`\x20|\x20'+_0x52d9ec(_0x2fa5d0._0x3e2000)+_0x44d7f8(_0x2fa5d0._0x373fd)+_0x52d9ec(_0x2fa5d0._0x2a4bdd)+'ply.md`\x20|\x0a'+'|\x20`/spec:s'+_0x44d7f8(_0x2fa5d0._0x310b05)+'`\x20|\x20`spec_'+_0x44d7f8(_0x2fa5d0._0x5005a3)+'mmands/spe'+_0x52d9ec(_0x2fa5d0._0x3125eb)+_0x52d9ec(_0x2fa5d0._0x5dcb1e)+_0x44d7f8(0x1f0)+_0x44d7f8(_0x2fa5d0._0x48274b)+_0x44d7f8(_0x2fa5d0._0x2ed7cb)+_0x44d7f8(0x1a7)+_0x52d9ec(_0x2fa5d0._0x1c604e)+_0x44d7f8(0x1c2)+'|\x20`/spec:f'+'ix\x20<变更名>`\x20'+_0x44d7f8(0x1b4)+_0x44d7f8(_0x2fa5d0._0x3b32f7)+'ands/spec:'+'fix.md`\x20|\x0a'+_0x44d7f8(0x250)+_0x44d7f8(0x1c8)+'\x20|\x20`spec_c'+'opilot/com'+'mands/spec'+_0x44d7f8(_0x2fa5d0._0x55009d)+_0x44d7f8(_0x2fa5d0._0x5e44b0)+_0x44d7f8(0x1e9)+_0x52d9ec(_0x2fa5d0._0x48c556)+_0x52d9ec(0x218)+_0x44d7f8(_0x2fa5d0._0xaaf3c3)+_0x44d7f8(0x19a)+_0x44d7f8(0x1b5)+_0x52d9ec(0x19d)+'otfix\x20<描述>'+_0x44d7f8(_0x2fa5d0._0x1080f6)+'copilot/co'+'mmands/spe'+_0x52d9ec(_0x2fa5d0._0x273872)+_0x44d7f8(_0x2fa5d0._0x11931f)+_0x44d7f8(_0x2fa5d0._0x4d94aa)+_0x44d7f8(_0x2fa5d0._0x10b7c4)+_0x44d7f8(0x1c1)+'\x20`<需求>`、`<'+_0x44d7f8(_0x2fa5d0._0x1a12d3)+_0x52d9ec(0x1d8)+_0x44d7f8(_0x2fa5d0._0x1c5b9f);}const adapters={'opencode':{'name':'opencode','displayName':_0x51341d(0x252),'description':'opencode\x20C'+'LI\x20(github'+'.com/openc'+_0x2c4a1c(0x242)+_0x2c4a1c(0x253),'promptPath':_0x51341d(0x20e),'commandsDir':_0x51341d(0x1ba)+'commands','hasNativeCommands':!![],'agentsDir':_0x2c4a1c(0x1ba)+'agent','supportsSubagent':!![],'detect'(_0x42af8b){const _0xdf2971={_0x90c5e:0x1e3,_0x44615d:0x233,_0x1d1e88:0x234,_0x1866c4:0x1e3,_0x5be59c:0x1c4},_0x770e47=_0x2c4a1c,_0xd19e67=_0x2c4a1c;return fs[_0x770e47(_0xdf2971._0x90c5e)](path[_0xd19e67(_0xdf2971._0x44615d)](_0x42af8b,_0x770e47(_0xdf2971._0x1d1e88)))||fs[_0xd19e67(_0xdf2971._0x1866c4)](path['join'](_0x42af8b,_0xd19e67(_0xdf2971._0x5be59c)+_0xd19e67(0x200)));},'formatPrompt'(_0x30cab4){return _0x30cab4;},'formatCommand'(_0x3a769d,_0x38e240){return _0x3a769d;},'formatAgent'(_0x5bc274,_0x5b75cf){const _0x1979f8={_0x39b003:0x1e5},_0x3a720a=_0x51341d,_0x35bcdd=_0x51341d,_0x10cf3a={};_0x10cf3a[_0x3a720a(0x1e5)]=function(_0x2e6ed0,_0x1c0e40){return _0x2e6ed0+_0x1c0e40;};const _0x521426=_0x10cf3a;return _0x521426[_0x3a720a(_0x1979f8._0x39b003)](buildOpencodeAgentFrontmatter(_0x5b75cf),stripFrontmatter(_0x5bc274));},'cleanupPaths':[_0x2c4a1c(0x20e),'.opencode/'+_0x2c4a1c(0x223)]},'claude-code':{'name':_0x2c4a1c(0x1a2)+'e','displayName':_0x51341d(0x1e1)+'e','description':_0x51341d(0x1e1)+_0x51341d(0x199)+_0x51341d(0x1d7),'promptPath':'CLAUDE.md','commandsDir':'.claude/co'+_0x51341d(0x232),'hasNativeCommands':!![],'agentsDir':_0x51341d(0x1d1)+_0x2c4a1c(0x1f6),'supportsSubagent':!![],'detect'(_0x76f193){const _0x327aed={_0x33f044:0x1e3,_0x22a8a5:0x233,_0x4c6562:0x20c},_0x2b8a1e=_0x2c4a1c,_0x146ea2=_0x2c4a1c;return fs[_0x2b8a1e(_0x327aed._0x33f044)](path[_0x2b8a1e(_0x327aed._0x22a8a5)](_0x76f193,_0x146ea2(_0x327aed._0x4c6562)))||fs[_0x2b8a1e(0x1e3)](path[_0x146ea2(0x233)](_0x76f193,'CLAUDE.md'));},'formatPrompt'(_0x46d337){return _0x46d337;},'formatCommand'(_0x2b1533,_0x5d387d){return _0x2b1533;},'formatAgent'(_0x1deb71,_0x5b45e2){const _0x4031e7={_0x5b6c45:0x1b7},_0x13488a=_0x2c4a1c,_0x45fd23={'XlTGS':function(_0x487102,_0x356117){return _0x487102(_0x356117);},'Ktrhj':function(_0x5d039e,_0x382ba2){return _0x5d039e(_0x382ba2);}};return _0x45fd23[_0x13488a(_0x4031e7._0x5b6c45)](buildClaudeCodeAgentFrontmatter,_0x5b45e2)+_0x45fd23['Ktrhj'](stripFrontmatter,_0x1deb71);},'cleanupPaths':['CLAUDE.md',_0x51341d(0x1bd)+_0x51341d(0x232)]},'cursor':{'name':_0x2c4a1c(0x22f),'displayName':_0x2c4a1c(0x205),'description':'Cursor\x20IDE'+_0x2c4a1c(0x20a)+_0x51341d(0x202)+'c)','promptPath':_0x51341d(0x1b0)+_0x2c4a1c(0x24c)+'opilot.mdc','commandsDir':null,'hasNativeCommands':![],'detect'(_0x2f79a4){const _0x127f50={_0x283d59:0x1e3,_0x28616c:0x222,_0x460c58:0x233,_0x3358f5:0x1ec},_0x464245=_0x2c4a1c,_0x53dfb3=_0x2c4a1c;return fs[_0x464245(_0x127f50._0x283d59)](path['join'](_0x2f79a4,_0x464245(_0x127f50._0x28616c)))||fs['existsSync'](path[_0x464245(_0x127f50._0x460c58)](_0x2f79a4,_0x53dfb3(_0x127f50._0x3358f5)+'es'));},'formatPrompt'(_0x5a097f){const _0x122d57={_0x1dcaaf:0x1cf,_0x323b61:0x1e2,_0x46ec59:0x236,_0x3a0fe8:0x247,_0x12fa36:0x22e,_0x2adad0:0x1a5,_0x31cc09:0x1cd},_0x11286a=_0x51341d,_0x3b6cdb=_0x51341d,_0x7f7357={};_0x7f7357['xbWUG']=_0x11286a(_0x122d57._0x1dcaaf)+_0x11286a(0x1fb)+_0x3b6cdb(_0x122d57._0x323b61)+_0x3b6cdb(_0x122d57._0x46ec59)+_0x3b6cdb(_0x122d57._0x3a0fe8)+_0x11286a(0x20b),_0x7f7357[_0x3b6cdb(_0x122d57._0x12fa36)]=_0x3b6cdb(0x193),_0x7f7357['ECoGg']=function(_0x2db8cf,_0x502e3d){return _0x2db8cf+_0x502e3d;};const _0x1d1f1f=_0x7f7357,_0xef8ac0=[_0x11286a(0x193),_0x1d1f1f[_0x3b6cdb(_0x122d57._0x2adad0)],'alwaysAppl'+_0x3b6cdb(_0x122d57._0x31cc09),_0x1d1f1f[_0x11286a(0x22e)],''][_0x11286a(0x233)]('\x0a');return _0x1d1f1f['ECoGg'](_0xef8ac0,_0x5a097f)+buildCommandRoutingSection();},'formatCommand'(_0x103cd0,_0x3138f1){return _0x103cd0;},'cleanupPaths':[_0x2c4a1c(0x1b0)+_0x2c4a1c(0x24c)+_0x2c4a1c(0x1aa)]},'windsurf':{'name':_0x51341d(0x241),'displayName':'Windsurf','description':_0x51341d(0x24d)+_0x51341d(0x1a3)+_0x51341d(0x244)+')','promptPath':_0x2c4a1c(0x197)+'rules/spec'+_0x2c4a1c(0x251)+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0x4990a2){const _0x36c754={_0x1891b0:0x1ef,_0x3d717:0x233},_0x4df059=_0x2c4a1c,_0x3b960a=_0x2c4a1c,_0x3cbfab={};_0x3cbfab[_0x4df059(_0x36c754._0x1891b0)]='.windsurf';const _0x36eecb=_0x3cbfab;return fs[_0x4df059(0x1e3)](path[_0x4df059(_0x36c754._0x3d717)](_0x4990a2,_0x36eecb[_0x4df059(0x1ef)]))||fs['existsSync'](path[_0x3b960a(0x233)](_0x4990a2,_0x4df059(0x1f7)+'ules'));},'formatPrompt'(_0x56187e){return _0x56187e+buildCommandRoutingSection();},'formatCommand'(_0x41e5d0,_0x5965b2){return _0x41e5d0;},'cleanupPaths':['.windsurf/'+_0x51341d(0x1e6)+_0x2c4a1c(0x251)+'d']},'copilot':{'name':_0x51341d(0x1cb),'displayName':'GitHub\x20Cop'+_0x2c4a1c(0x24e),'description':'GitHub\x20Cop'+_0x51341d(0x1fc)+_0x51341d(0x1b9)+'t-instruct'+'ions.md)','promptPath':_0x2c4a1c(0x1c5)+_0x51341d(0x1c9)+_0x2c4a1c(0x194)+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0x270d9a){const _0x335cc5={_0x94e5c3:0x1e3,_0x5d7e39:0x1ea},_0x14ba3c=_0x51341d,_0x17ab88=_0x51341d,_0x5c8f4c={};_0x5c8f4c[_0x14ba3c(0x1d3)]='.github';const _0x2f4446=_0x5c8f4c;return fs[_0x14ba3c(_0x335cc5._0x94e5c3)](path['join'](_0x270d9a,_0x2f4446[_0x17ab88(0x1d3)],_0x14ba3c(0x227)+_0x17ab88(_0x335cc5._0x5d7e39)+_0x14ba3c(0x19c)));},'formatPrompt'(_0x44eadc){return _0x44eadc+buildCommandRoutingSection();},'formatCommand'(_0x476cc1,_0x336179){return _0x476cc1;},'cleanupPaths':[_0x2c4a1c(0x1c5)+_0x2c4a1c(0x1c9)+_0x51341d(0x194)+'d']},'cline':{'name':_0x2c4a1c(0x198),'displayName':_0x2c4a1c(0x1d9),'description':_0x51341d(0x1a8)+_0x51341d(0x196)+'on\x20(.cline'+_0x51341d(0x21f),'promptPath':_0x2c4a1c(0x248)+'s/spec-cop'+_0x51341d(0x219),'commandsDir':null,'hasNativeCommands':![],'detect'(_0x5c4a5b){const _0xbdbc91={_0x74a4b1:0x248,_0x21bd03:0x233},_0x5efd2a=_0x51341d,_0x2eb8ae=_0x51341d;return fs['existsSync'](path[_0x5efd2a(0x233)](_0x5c4a5b,_0x2eb8ae(_0xbdbc91._0x74a4b1)+'s'))||fs[_0x2eb8ae(0x1e3)](path[_0x5efd2a(_0xbdbc91._0x21bd03)](_0x5c4a5b,'.cline'));},'formatPrompt'(_0x1b4514){return _0x1b4514+buildCommandRoutingSection();},'formatCommand'(_0x432117,_0x4b1ca2){return _0x432117;},'cleanupPaths':[_0x51341d(0x248)+'s/spec-cop'+_0x2c4a1c(0x219)]}};function detectTools(_0x48884b){const _0x270379={_0x222153:0x23c},_0x32aea5=_0x2c4a1c,_0x5ac685=_0x2c4a1c;return Object[_0x32aea5(_0x270379._0x222153)](adapters)[_0x32aea5(0x207)](_0x2e7e34=>_0x2e7e34['detect'](_0x48884b));}function supportedTools(){const _0x3f350c={_0x175fc6:0x1e0},_0x97c47b=_0x2c4a1c;return Object[_0x97c47b(_0x3f350c._0x175fc6)](adapters);}const _0x32873f={};function _0xe562(_0x21f05f,_0x1f84a3){_0x21f05f=_0x21f05f-(-0xcb8+-0x78*-0x52+-0x232*0xb);const _0x1c5b17=_0x35f9();let _0x63a153=_0x1c5b17[_0x21f05f];if(_0xe562['WjxTqX']===undefined){var _0x535e91=function(_0x3f82d3){const _0x55b846='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c9457='',_0x6cc2d8='',_0x2f4177=_0x4c9457+_0x535e91,_0x45e031=(''+function(){return-0x639+-0x382+-0x1*-0x9bb;})['indexOf']('\x0a')!==-(-0x58*0x11+0xeeb+-0x56*0x1b);for(let _0xf4541a=-0x1*0x1972+-0x596+0x1f08,_0x527e1a,_0x4895d5,_0x2a76a6=0xf4d+-0x19d3+0x6*0x1c1;_0x4895d5=_0x3f82d3['charAt'](_0x2a76a6++);~_0x4895d5&&(_0x527e1a=_0xf4541a%(-0x15a4+0x148e+0x11a)?_0x527e1a*(0x26e6+-0x382*-0x5+-0xe8*0x3e)+_0x4895d5:_0x4895d5,_0xf4541a++%(0x1f3+-0xa*-0x13e+-0x4b*0x31))?_0x4c9457+=_0x45e031||_0x2f4177['charCodeAt'](_0x2a76a6+(-0xc5*0x2b+0x241a+0x1*-0x2f9))-(-0x1aa9+-0x2*-0x11bd+-0x8c7)!==0x61*-0x25+-0x1740+0x2545?String['fromCharCode'](0x619+0xfe8+0x1*-0x1502&_0x527e1a>>(-(-0xb60+-0x9*-0x16b+-0x161)*_0xf4541a&0x1*0x287+-0x1*-0x204b+0x22cc*-0x1)):_0xf4541a:-0x2*0x107+-0x246d*0x1+0x267b*0x1){_0x4895d5=_0x55b846['indexOf'](_0x4895d5);}for(let _0x4a55ef=-0x2435*-0x1+-0x1aab+-0x98a,_0x2aa8e4=_0x4c9457['length'];_0x4a55ef<_0x2aa8e4;_0x4a55ef++){_0x6cc2d8+='%'+('00'+_0x4c9457['charCodeAt'](_0x4a55ef)['toString'](0xe78+-0xefe+0x3*0x32))['slice'](-(0x7a7*0x5+-0x20da+-0x567));}return decodeURIComponent(_0x6cc2d8);};_0xe562['FCiMAs']=_0x535e91,_0xe562['HPsuMi']={},_0xe562['WjxTqX']=!![];}const _0x1a71d0=_0x1c5b17[-0x2243+-0x12ee+-0x321*-0x11],_0x1f590f=_0x21f05f+_0x1a71d0,_0x2f310b=_0xe562['HPsuMi'][_0x1f590f];if(!_0x2f310b){const _0x3b2ff1=function(_0x1ede82){this['QDhbPD']=_0x1ede82,this['JlVDlh']=[0x109b+-0x7e4*0x4+0xef6,-0xd*-0x14+-0x7d+0x87*-0x1,0x1c95+-0x1*0x1a38+0x5*-0x79],this['aFMrsr']=function(){return'newState';},this['zXPkke']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['cisqTi']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3b2ff1['prototype']['ulvOlc']=function(){const _0x4690a6=new RegExp(this['zXPkke']+this['cisqTi']),_0x18a60f=_0x4690a6['test'](this['aFMrsr']['toString']())?--this['JlVDlh'][-0x11e3+0xa60+0x1a*0x4a]:--this['JlVDlh'][-0x3*-0xb0e+-0x211a*-0x1+0x2122*-0x2];return this['vBcjpC'](_0x18a60f);},_0x3b2ff1['prototype']['vBcjpC']=function(_0x52c65c){if(!Boolean(~_0x52c65c))return _0x52c65c;return this['mLDuyA'](this['QDhbPD']);},_0x3b2ff1['prototype']['mLDuyA']=function(_0x2bce62){for(let _0x344a3d=-0x2305+0x2b*-0x37+0x2c42,_0x307b67=this['JlVDlh']['length'];_0x344a3d<_0x307b67;_0x344a3d++){this['JlVDlh']['push'](Math['round'](Math['random']())),_0x307b67=this['JlVDlh']['length'];}return _0x2bce62(this['JlVDlh'][0x203d+0x1f05+0x2*-0x1fa1]);},(''+function(){return 0x971*-0x1+0x16*0x10f+-0x5*0x2c5;})['indexOf']('\x0a')===-(0x222a+0x37*0xb+-0x16*0x1a9)&&new _0x3b2ff1(_0xe562)['ulvOlc'](),_0x63a153=_0xe562['FCiMAs'](_0x63a153),_0xe562['HPsuMi'][_0x1f590f]=_0x63a153;}else _0x63a153=_0x2f310b;return _0x63a153;}_0x32873f[_0x51341d(0x217)]=adapters,_0x32873f['detectTool'+'s']=detectTools,_0x32873f[_0x2c4a1c(0x1dc)+_0x2c4a1c(0x213)]=supportedTools,_0x32873f[_0x2c4a1c(0x228)+_0x2c4a1c(0x1fe)+_0x2c4a1c(0x21e)]=buildCommandRoutingSection,_0x32873f[_0x51341d(0x1d4)+_0x51341d(0x23b)]=stripFrontmatter,_0x32873f['parseAgent'+'Meta']=parseAgentMeta,module['exports']=_0x32873f;
11
+ function _0x1b88(_0x3c59d6,_0x54ce53){_0x3c59d6=_0x3c59d6-(-0xce7+-0x1d5d*-0x1+-0xd*0x133);const _0x3fc58e=_0x4dfd();let _0x30db5f=_0x3fc58e[_0x3c59d6];if(_0x1b88['SPBLph']===undefined){var _0x237d4d=function(_0xe8b952){const _0x170abc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31897c='',_0xc25fb6='',_0x524e96=_0x31897c+_0x237d4d,_0x21183b=(''+function(){return-0x12d6+-0xfd8+0x22ae;})['indexOf']('\x0a')!==-(0xd24+-0xe*0xa+-0xb*0x125);for(let _0x36abb3=-0x7*-0x559+-0x1948+-0xc27,_0x20f8a8,_0x3fc409,_0x249b81=0x238+-0x2198+0x1f60;_0x3fc409=_0xe8b952['charAt'](_0x249b81++);~_0x3fc409&&(_0x20f8a8=_0x36abb3%(0x1cda*-0x1+0xfed+0xcf1)?_0x20f8a8*(0xfce+-0x280+-0xd0e)+_0x3fc409:_0x3fc409,_0x36abb3++%(0xb4a*0x2+-0x1c68+0x5d8))?_0x31897c+=_0x21183b||_0x524e96['charCodeAt'](_0x249b81+(-0x1*-0x94f+0x2*0x75+-0x365*0x3))-(-0xe01+-0x498+0x12a3*0x1)!==0xef9+0x767+-0x1660?String['fromCharCode'](0x1*0xe31+-0xa13*0x2+0x6f4&_0x20f8a8>>(-(0x2496+-0x119b*0x1+0x653*-0x3)*_0x36abb3&0x953+0x3*-0x72d+0x272*0x5)):_0x36abb3:-0x1b81+-0x161e+-0x319f*-0x1){_0x3fc409=_0x170abc['indexOf'](_0x3fc409);}for(let _0x1836d1=0xf7f+0x1*0x26ad+0x4*-0xd8b,_0x3f9aa4=_0x31897c['length'];_0x1836d1<_0x3f9aa4;_0x1836d1++){_0xc25fb6+='%'+('00'+_0x31897c['charCodeAt'](_0x1836d1)['toString'](-0x134b+-0x1c*-0x52+-0x1*-0xa63))['slice'](-(-0xd30+0xd1d+0x7*0x3));}return decodeURIComponent(_0xc25fb6);};_0x1b88['HJGpAo']=_0x237d4d,_0x1b88['ZondkN']={},_0x1b88['SPBLph']=!![];}const _0x2b3256=_0x3fc58e[-0x1da*0x1+-0x3b*0x39+0xefd],_0x4542e3=_0x3c59d6+_0x2b3256,_0x32cd59=_0x1b88['ZondkN'][_0x4542e3];if(!_0x32cd59){const _0x4792b4=function(_0x35927c){this['qwhbeo']=_0x35927c,this['BVRenL']=[-0x1*0x2242+0x175*-0xf+0x1*0x381e,0x1*-0x149b+0x1*0x1244+0x257,0x21c8+0x24a6+-0x466e],this['SrxmqO']=function(){return'newState';},this['IdclcR']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['HrxGTv']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4792b4['prototype']['eCFDso']=function(){const _0x4e71c3=new RegExp(this['IdclcR']+this['HrxGTv']),_0x41ca05=_0x4e71c3['test'](this['SrxmqO']['toString']())?--this['BVRenL'][-0xabd+0x1*0x19f+0x91f]:--this['BVRenL'][-0x1283*-0x1+-0x1*-0x611+0x1894*-0x1];return this['hQocCP'](_0x41ca05);},_0x4792b4['prototype']['hQocCP']=function(_0x45a918){if(!Boolean(~_0x45a918))return _0x45a918;return this['jwXBhR'](this['qwhbeo']);},_0x4792b4['prototype']['jwXBhR']=function(_0x8105fb){for(let _0x151829=0xd*-0x26d+0x1*0x1573+0x2*0x50b,_0x24e247=this['BVRenL']['length'];_0x151829<_0x24e247;_0x151829++){this['BVRenL']['push'](Math['round'](Math['random']())),_0x24e247=this['BVRenL']['length'];}return _0x8105fb(this['BVRenL'][0x565+-0x1c87+-0x149*-0x12]);},(''+function(){return 0x9c+-0x445*0x8+-0x218c*-0x1;})['indexOf']('\x0a')===-(-0xa03*0x1+-0xd*-0x1e7+-0xeb7)&&new _0x4792b4(_0x1b88)['eCFDso'](),_0x30db5f=_0x1b88['HJGpAo'](_0x30db5f),_0x1b88['ZondkN'][_0x4542e3]=_0x30db5f;}else _0x30db5f=_0x32cd59;return _0x30db5f;}const _0x73767b=_0x1b88,_0x4b2419=_0x1b88;(function(_0x16de70,_0x298cab){const _0x3493d2={_0x3eccc9:0x123,_0x222949:0x141,_0x14685d:0x107,_0x5b1cc9:0xe7,_0xef852d:0x11f,_0x4b658e:0x196,_0x81998a:0xdf},_0x3300e7=_0x1b88,_0x47cb63=_0x1b88,_0x167e27=_0x16de70();while(!![]){try{const _0x387610=-parseInt(_0x3300e7(_0x3493d2._0x3eccc9))/(0x1d35*0x1+-0x1*-0x2cc+-0x2000)*(-parseInt(_0x3300e7(_0x3493d2._0x222949))/(0x90f+0x6ed*0x5+-0x2bae))+-parseInt(_0x3300e7(_0x3493d2._0x14685d))/(-0xa*-0x39e+-0x42c*0x4+0x3e5*-0x5)+-parseInt(_0x3300e7(_0x3493d2._0x5b1cc9))/(-0x2*0x63e+-0xc2b+-0x3*-0x839)+parseInt(_0x3300e7(_0x3493d2._0xef852d))/(0x2475+-0x1be*0xb+-0x1146)*(parseInt(_0x47cb63(0x102))/(-0x1fcd+0x198a+0x649))+parseInt(_0x47cb63(0x1a0))/(0x38a+-0x10e7+-0x4*-0x359)*(-parseInt(_0x3300e7(_0x3493d2._0x4b658e))/(0x1a34+0x196c+-0x3398))+-parseInt(_0x47cb63(0x177))/(0x19f*-0xe+0x177f+-0xc4)*(-parseInt(_0x3300e7(0x174))/(-0x2557+0x6a*0x11+-0x3*-0xa1d))+parseInt(_0x3300e7(_0x3493d2._0x81998a))/(0xe9*0x1b+0x4d3+0x9c9*-0x3);if(_0x387610===_0x298cab)break;else _0x167e27['push'](_0x167e27['shift']());}catch(_0x2ee349){_0x167e27['push'](_0x167e27['shift']());}}}(_0x4dfd,-0x11208e+-0x882b7+0x1d*0x15e81));const _0xd01a54=(function(){const _0x430cb3={_0xeb14b8:0x169,_0x4206e2:0x13f},_0x3096d3={_0x4f740f:0x170},_0x21003d={'QcADm':function(_0x20271,_0x1548bc){return _0x20271(_0x1548bc);},'TxnID':function(_0x155134,_0x3b4e71){return _0x155134===_0x3b4e71;},'cKduY':'rIrel'};let _0x284103=!![];return function(_0x4c579d,_0x5267a7){const _0x43acb1=_0x1b88,_0x17fd6a=_0x1b88,_0x761417={'hMVNt':function(_0x2a5e38,_0x1265c9){return _0x2a5e38+_0x1265c9;},'WPXFF':function(_0x4a7389,_0x2cc764){return _0x21003d['QcADm'](_0x4a7389,_0x2cc764);}};if(_0x21003d['TxnID'](_0x21003d[_0x43acb1(0x119)],_0x17fd6a(_0x430cb3._0xeb14b8)))return _0x761417[_0x43acb1(_0x430cb3._0x4206e2)](_0x761417['WPXFF'](_0x5bd3c2,_0x44e162),_0x1823e3(_0x3aa243));else{const _0x49537f=_0x284103?function(){const _0x573bd8=_0x17fd6a;if(_0x5267a7){const _0x3d4b62=_0x5267a7[_0x573bd8(_0x3096d3._0x4f740f)](_0x4c579d,arguments);return _0x5267a7=null,_0x3d4b62;}}:function(){};return _0x284103=![],_0x49537f;}};}()),_0x559054=_0xd01a54(this,function(){const _0x13d9ec={_0x69d4f2:0xe2,_0x4c1da2:0x110},_0x4147bf=_0x1b88,_0x267b47=_0x1b88,_0x5d4510={};_0x5d4510['wOdYM']=_0x4147bf(0x12b)+'+$';const _0x454b0f=_0x5d4510;return _0x559054[_0x4147bf(_0x13d9ec._0x69d4f2)]()['search'](_0x4147bf(0x12b)+'+$')[_0x4147bf(0xe2)]()[_0x4147bf(0x155)+'r'](_0x559054)['search'](_0x454b0f[_0x4147bf(_0x13d9ec._0x4c1da2)]);});_0x559054();const fs=require('fs'),path=require(_0x73767b(0x122));function stripFrontmatter(_0x4c7fb9){const _0x9b761a=_0x73767b,_0x1ee341=_0x73767b,_0x3d40d1=_0x4c7fb9['match'](/^---\n[\s\S]*?\n---\n?/);return _0x3d40d1?_0x4c7fb9[_0x9b761a(0x134)](_0x3d40d1[-0x69a+0x18f0+-0x1256*0x1][_0x1ee341(0x163)]):_0x4c7fb9;}function parseAgentMeta(_0x3886d4){const _0x19a905={_0x513426:0x105,_0x1c9faa:0x10b,_0x31631d:0x14e,_0x11109b:0x178,_0x19368d:0x18b,_0x5af77d:0x183,_0x39abf6:0x1a2},_0x344c57=_0x73767b,_0x1689ee=_0x73767b,_0x19809a={};_0x19809a[_0x344c57(_0x19a905._0x513426)]=_0x344c57(_0x19a905._0x1c9faa);const _0x35865f=_0x19809a,_0x3b8e66=_0x3886d4[_0x344c57(_0x19a905._0x31631d)](/^---\n([\s\S]*?)\n---/),_0x2f7ec8={};_0x2f7ec8[_0x1689ee(_0x19a905._0x11109b)]='',_0x2f7ec8[_0x1689ee(_0x19a905._0x19368d)]='',_0x2f7ec8['when_to_us'+'e']='';if(!_0x3b8e66)return _0x2f7ec8;const _0x537cb6={};for(const _0x2d0734 of _0x3b8e66[0x1f5f+-0x2*-0x1c9+-0x22f0][_0x344c57(_0x19a905._0x5af77d)]('\x0a')){const _0x1af8b5=_0x2d0734['match'](/^(\w+):\s*(.+)$/);if(_0x1af8b5)_0x537cb6[_0x1af8b5[-0x564+-0x1*-0x19cf+0x6*-0x367]]=_0x1af8b5[0x1810+-0x2*-0x581+-0x2310][_0x344c57(0xf5)]();}if(_0x537cb6['tools']&&typeof _0x537cb6[_0x1689ee(0x145)]===_0x344c57(0x14d)){if(_0x344c57(_0x19a905._0x39abf6)===_0x35865f[_0x1689ee(0x105)])return _0x4d9328;else _0x537cb6[_0x1689ee(0x145)]=_0x537cb6[_0x1689ee(0x145)][_0x1689ee(0x183)](',')[_0x1689ee(0x18c)](_0x52a126=>_0x52a126[_0x1689ee(0xf5)]())['filter'](Boolean);}return _0x537cb6;}function buildOpencodeAgentFrontmatter(_0x4c1e1e){const _0x37ce3a={_0x46c3fa:0x16b,_0x151e85:0x147,_0x19fd49:0x187,_0x3e76e3:0x160,_0xccb726:0x14a,_0x31d234:0x145,_0xbc26a4:0x14f,_0x44d22d:0x168,_0x475979:0x18d,_0x169aeb:0x132,_0x556150:0x18c,_0x2b573f:0x15f,_0x3531ad:0x144,_0x2ce1bf:0x17f,_0x53af3b:0x104},_0x5061db=_0x73767b,_0xcd2489=_0x73767b,_0x50eead={};_0x50eead['rCsDF']=_0x5061db(_0x37ce3a._0x46c3fa),_0x50eead['nJMie']=_0xcd2489(0x18d),_0x50eead[_0x5061db(_0x37ce3a._0x151e85)]=_0x5061db(0xfa),_0x50eead[_0x5061db(0x197)]=_0xcd2489(_0x37ce3a._0x19fd49),_0x50eead['TdNDv']=_0xcd2489(_0x37ce3a._0x3e76e3)+'gent';const _0x28d122=_0x50eead,_0x54cd01=['read',_0x28d122[_0xcd2489(0x168)],_0x28d122[_0xcd2489(_0x37ce3a._0xccb726)],_0xcd2489(0x132)],_0x4fed05=_0x4c1e1e[_0x5061db(_0x37ce3a._0x31d234)]&&_0x4c1e1e[_0xcd2489(0x145)][_0xcd2489(0x163)]>-0x131b+0x2636*-0x1+-0xdb*-0x43?_0x4c1e1e['tools']:_0x54cd01,_0x2ca876=[_0x5061db(_0x37ce3a._0xbc26a4),_0x28d122[_0xcd2489(_0x37ce3a._0x44d22d)],_0x5061db(_0x37ce3a._0x475979),_0xcd2489(_0x37ce3a._0x169aeb),_0x28d122[_0x5061db(_0x37ce3a._0x151e85)],_0x28d122['ZOVsS']],_0x1d54e2=_0x2ca876[_0x5061db(_0x37ce3a._0x556150)](_0x597d6c=>'\x20\x20'+_0x597d6c+':\x20'+(_0x4fed05[_0xcd2489(0x10e)](_0x597d6c)?_0xcd2489(0x151):_0xcd2489(0x103)));return[_0x5061db(_0x37ce3a._0x2b573f),_0xcd2489(_0x37ce3a._0x3531ad)+_0x5061db(_0x37ce3a._0x2ce1bf)+(_0x4c1e1e[_0xcd2489(0x18b)]||_0x4c1e1e['name']),_0x28d122['TdNDv'],_0x5061db(_0x37ce3a._0x53af3b),..._0x1d54e2,_0xcd2489(0x15f),'']['join']('\x0a');}function buildClaudeCodeAgentFrontmatter(_0x252285){const _0x4802a0={_0x4f53f6:0x11c,_0x349578:0xea,_0x5783a6:0x11d,_0x5cd612:0xf4,_0x15c5c2:0x198,_0x8e59e:0xe6,_0x965090:0x18d,_0x4d5d83:0x132,_0x1cbae1:0x158,_0x44b263:0xfa,_0x4cd549:0x118,_0x236605:0x145,_0x4ec24a:0x145,_0x70a504:0xfc,_0x1a3569:0x190},_0x13e654=_0x73767b,_0x518802=_0x73767b,_0x44283b={};_0x44283b[_0x13e654(0xe1)]=_0x518802(_0x4802a0._0x4f53f6),_0x44283b[_0x518802(0x167)]='Grep',_0x44283b[_0x518802(0x157)]=_0x13e654(_0x4802a0._0x349578),_0x44283b[_0x13e654(0x158)]=_0x518802(0xe5),_0x44283b[_0x518802(_0x4802a0._0x5783a6)]=_0x518802(_0x4802a0._0x5cd612),_0x44283b[_0x13e654(0x140)]=_0x518802(_0x4802a0._0x15c5c2),_0x44283b[_0x518802(_0x4802a0._0x8e59e)]=_0x13e654(0x14f),_0x44283b[_0x518802(0x118)]=_0x518802(0x18d),_0x44283b[_0x13e654(0x15d)]=_0x518802(0x132),_0x44283b[_0x13e654(0xec)]='---';const _0xa71cc6=_0x44283b,_0x1d734a={};_0x1d734a['read']=_0xa71cc6[_0x518802(0xe1)],_0x1d734a['grep']=_0xa71cc6['bHmgm'],_0x1d734a[_0x13e654(_0x4802a0._0x965090)]=_0xa71cc6[_0x518802(0x157)],_0x1d734a[_0x13e654(_0x4802a0._0x4d5d83)]=_0xa71cc6[_0x518802(_0x4802a0._0x1cbae1)],_0x1d734a[_0x13e654(_0x4802a0._0x44b263)]=_0xa71cc6['UwRyU'],_0x1d734a[_0x13e654(0x187)]=_0xa71cc6['xUzzH'];const _0x257d21=_0x1d734a,_0x4e926d=[_0xa71cc6['OSpYI'],_0x13e654(0x16b),_0xa71cc6[_0x518802(_0x4802a0._0x4cd549)],_0xa71cc6[_0x13e654(0x15d)]],_0x56ae6f=_0x252285[_0x13e654(0x145)]&&_0x252285[_0x518802(_0x4802a0._0x236605)][_0x13e654(0x163)]>-0x6b+-0xa5c+0xac7?_0x252285[_0x518802(_0x4802a0._0x4ec24a)]:_0x4e926d,_0x112fa9=_0x56ae6f['map'](_0x423c90=>_0x257d21[_0x423c90]||_0x423c90)['join'](',\x20');return[_0x518802(0x15f),_0x518802(_0x4802a0._0x70a504)+_0x252285['name'],'descriptio'+'n:\x20'+(_0x252285['role']||_0x252285['name']),_0x518802(0x173)+_0x112fa9,_0xa71cc6['dRotX'],''][_0x518802(_0x4802a0._0x1a3569)]('\x0a');}function _0x4dfd(){const _0x373090=['BKPnAwu','CNvSzxmVkI5Tza','CgvJx2nVCgLSBW','C3rYAw5N','Bwf0y2G','CMvHza','C3bLyZPPBML0ya','Dhj1zq','Aw9UCY5TzcK','sg5Ozu0','Bg90l2nVBw1HBG','y29UC3rYDwn0BW','C3rYDwn0Aw9UCW','yu1XALe','rxHuvw8','oMfYy2HPDMuGpa','BwfUzhmVC3bLyW','yw1LD29YAYdIGjqG','oNbYB3bVC2uUBq','DeDAuLa','CY9ZCgvJlwnVCa','ls0T','Bw9KztOGC3vIyq','y29WAwXVDa','5lIn6zYa6kAb5yAn5QYH56gU6k6K44cccUwWHG','BgvUz3rO','DMfSDwvZ','yhnWzwnFy29WAq','BMrsB3v0Aw5NuW','yKHTz20','CKnZrey','DKzqEKG','5zg95lUK6lEV55sXcGRLVzpNLkJMIlFOVPm','z3jLCa','y3vYC29Y','BMnVzguP','lNDPBMrZDxjMCG','A2rOq3i','yxbWBhK','lMnSyxvKzs9JBW','uLnerLC','Dg9VBhm6ia','ndbnvMjsrhy','lM1K','C3bLyZPMBg93lG','mtaWntuXnKnkuNDwsG','BMfTzq','s2rJDw0','Bw1HBMrZ','lMnSyxvKzq','twv0yq','B1rdAM8','B3rMAxGGpoApJ+I/Sd4','BJOG','lM9Wzw5JB2rLlW','B2rLlwfPl29Wzq','q2XPBMuGvLndBW','C3bSAxq','B29SCW','zwm6CMv2Awv3ia','CY9ZCgvJoNjLDG','zwrPDa','zgaGFaOk55sO5OI36l6t5ywL','lMn1CNnVCNj1Ba','6zYa5RgcpMaGFcbGC3a','CM9Szq','BwfW','z2XVyG','pMaG5PU/5O2I5lI655sO5OI35zYO5zg9','zxn0idZLJ5JMM7tLKi0+ya','AM9PBG','DxjMl3j1BgvZlW','s3DHwwG','zMLSDgvY','AfLly28','5zg95lUK5zco77YmkIRNQ4VLJBmQkG','nJi2nJyWofzMzuXVqG','wK9wC1m','rwrPDa','Bw1HBMrZl3nWzq','B3bPBg90l2nVBq','icGUy3vYC29YlW','lM9Wzw5JB2rL','l3nWzwm6yxjJAa','ywX3yxLZqxbWBa','tMnrvvu','n1LHEvfpwa','AwXVDc5Tza','vK1WqLu','q3vYC29YieLerq','y29WAwXVDc9JBW','CgLSB3qTAw5ZDa','y2XPBMu','mta5odGXmJbuve9PEhi','lNDPBMrZDxjMlW','tNjgAMO','Dg9tDhjPBMC','AhvIl2nVCgLSBW','yZPOB3rMAxGUBq','qMfZAa','t1nWwuK','ndy3mtyWofvAswLRra','C3bLyZPHChbSEq','lMn1CNnVCG','r2XVyG','quKG57Yw56cb5y2p5l2C6kEe6iYdiG','zfjVDfG','lMn1CNnVCI9YDq','lMnSAw5LCNvSzq','oMLUAxqUBwrGia','DwXLCW','y29WAwXVDc1PBG','B3bPBg90lM1KyW','y0jVDui','v3jPDgu','DhjPBq','zxHWB3j0CW','Cc5TzgaGFaP8ia','6k+75y+w5A+55BQu5PAh5lU25BM25OMN6kgm77Ym','CNvSzxmVC3bLyW','D3jPDgu','B3bLBMnVzguGqW','BMfTztOG','A2v5CW','FaP8igaVC3bLyW','Bwf0DgvY','Awv3lM1Kycb8cG','FcbGC3bLy19JBW','nZy4nZy3neHYB3f4ta','zMfSC2u','Dg9VBhm6','thD3s2y','Bw9Rzsa85y+y5PU05zcnpG','mJmXoti1mLrrt015Eq','ueTYzLK','zhmVC3bLyZPHCa','oNrLC3qUBwrGia','Ee9NEfi','FcbGl3nWzwm6CW','yZPIB290C3rYyq','Aw5JBhvKzxm','lwnVCgLSB3qUBq','D09Kwu0','yw5KCY9ZCgvJoG','q2XHDwrLienVza','FcbGl3nWzwm6Aa','zwnFy29WAwXVDa','D2LUzhn1CMy','ycb8cNWGyc9ZCa','ywrHChrLCNm','wfPYEfq','y0TKDvK','AxzLlM1Kycb8cG','5BQu5PAh5lU25BM25OYj5yw25OYh5lUK5OMN6kgm','uMvHza','vxDsEvu','C3bLy19JB3bPBa','nxzUzw5UEq','r2L0shvIienVCa','ls0TlxWTls0Tlq','Cgf0Aa','mtCZmvrcuwfHBa','lMDPDgH1yI9JBW','CgX5lM1Kycb8cG','y2XHDwrLlwnVza','CML2zw4Grgv2zq','q3vYC29Y','C29U','zxHPC3rZu3LUyW','kcGOlISPkYKRkq','lMnSyxvKzs9HzW','lMDPDgH1yG','Dc1PBNn0CNvJDa','AwXVDcaOlMDPDa','FcbGl3nWzwm6zG','v2LUzhn1CMy','yMfZAa','zgv0zwn0','C2XPy2u','ls0TlxWkFcbGlW','oMjVB3rZDhjHCa','EtOGDhj1zq','yZPZBw9Rzs5Tza','CgfYC2vbz2vUDa','quDftLrtlM1K','ycb8igbZCgvJxW','BgvZl3nWzwmTyW','ihWGyhnWzwnFyW','cGOTls0kcImJia','Ae1wtNq','Efv6EKG','mta2mKXXv0TfDq','zsbdteKGkefUDa','ywDLBNq','zgvZy3jPChrPBW','Dg9VBhm','uLPxBeO','Evf1r0S','uKTtvfa','AhjVCgLJkq'];_0x4dfd=function(){return _0x373090;};return _0x4dfd();}function buildCommandRoutingSection(){const _0x43d1a3={_0x35b301:0x11b,_0x3932a2:0x135,_0x533133:0x150,_0x7b66ee:0x13d,_0xb79eb0:0x19a,_0x5ec59f:0x15a,_0x48ef55:0xef,_0x58f96e:0x136,_0x373624:0x13b,_0x27cb6d:0x199,_0xccd944:0x10d,_0x23cd30:0x18a,_0x20fb49:0x176,_0x26dbb0:0x125,_0x4397ac:0x106,_0x4ec8a8:0x1a4,_0x3dd016:0x199,_0x28cc3e:0x138,_0x4a556f:0x11e,_0x4ece20:0x101,_0x2085c6:0x111,_0x13ecc2:0x19a,_0x9e31bb:0x159,_0x348ac5:0x17e,_0x1c5218:0x199,_0x5ca6ab:0xf8,_0x46aa0a:0x162},_0x3525b0=_0x73767b,_0x183050=_0x73767b;return _0x3525b0(0x13e)+_0x183050(0x16a)+'入以下命令时,读取对'+_0x3525b0(_0x43d1a3._0x35b301)+':\x0a\x0a|\x20命令\x20|\x20'+'读取文件\x20|\x0a|--'+_0x183050(0x121)+_0x3525b0(_0x43d1a3._0x3932a2)+_0x183050(_0x43d1a3._0x533133)+_0x183050(_0x43d1a3._0x7b66ee)+_0x3525b0(_0x43d1a3._0xb79eb0)+_0x3525b0(_0x43d1a3._0x5ec59f)+_0x183050(_0x43d1a3._0x48ef55)+'|\x0a|\x20`/spec'+_0x183050(_0x43d1a3._0x58f96e)+_0x183050(_0x43d1a3._0x373624)+_0x183050(0x1a4)+_0x183050(_0x43d1a3._0x27cb6d)+_0x3525b0(_0x43d1a3._0xccd944)+_0x3525b0(0xf7)+'`/spec:pro'+'pose\x20<需求>`'+'\x20|\x20`spec_c'+_0x3525b0(0x19a)+_0x3525b0(0x15a)+_0x183050(0x15c)+'d`\x20|\x0a|\x20`/s'+'pec:flow\x20<'+_0x3525b0(_0x43d1a3._0x23cd30)+_0x183050(0x114)+'/commands/'+_0x3525b0(_0x43d1a3._0x20fb49)+'md`\x20|\x0a|\x20`/'+_0x3525b0(0xe8)+'\x20<变更名>`\x20|\x20'+_0x3525b0(0x165)+_0x183050(0x154)+_0x3525b0(0x109)+_0x3525b0(_0x43d1a3._0x26dbb0)+_0x183050(0x10c)+_0x183050(_0x43d1a3._0x4397ac)+'`\x20|\x20`spec_'+_0x3525b0(_0x43d1a3._0x4ec8a8)+_0x183050(_0x43d1a3._0x3dd016)+_0x3525b0(_0x43d1a3._0x28cc3e)+_0x183050(0x116)+_0x183050(0x185)+'<变更名>`\x20|\x20`'+_0x3525b0(_0x43d1a3._0x4a556f)+'ot/command'+_0x3525b0(0x186)+_0x3525b0(0x100)+_0x3525b0(0x130)+'ix\x20<变更名>`\x20'+_0x3525b0(_0x43d1a3._0x4ece20)+'pilot/comm'+_0x3525b0(_0x43d1a3._0x2085c6)+'fix.md`\x20|\x0a'+'|\x20`/spec:t'+_0x3525b0(0x18f)+_0x3525b0(0x13d)+_0x3525b0(_0x43d1a3._0x13ecc2)+_0x183050(_0x43d1a3._0x5ec59f)+_0x3525b0(0x10a)+_0x3525b0(0xfe)+_0x3525b0(_0x43d1a3._0x9e31bb)+'变更名>`\x20|\x20`s'+_0x3525b0(0x14c)+'t/commands'+_0x3525b0(0x19d)+_0x183050(0x11a)+_0x183050(0x113)+_0x3525b0(_0x43d1a3._0x348ac5)+_0x3525b0(0x13b)+'copilot/co'+_0x3525b0(_0x43d1a3._0x1c5218)+_0x183050(0xe4)+_0x3525b0(0x188)+_0x3525b0(0x195)+_0x3525b0(_0x43d1a3._0x5ca6ab)+_0x183050(_0x43d1a3._0x46aa0a)+'\x20`<需求>`、`<'+'变更名>`、`<描述'+_0x183050(0x18e)+'令后提供的参数。\x0a';}const adapters={'opencode':{'name':'opencode','displayName':'opencode','description':_0x4b2419(0xfb)+'LI\x20(github'+'.com/openc'+_0x73767b(0x181)+_0x4b2419(0x16d),'promptPath':'AGENTS.md','commandsDir':'.opencode/'+'commands','hasNativeCommands':!![],'agentsDir':_0x73767b(0x180)+_0x73767b(0x143),'supportsSubagent':!![],'detect'(_0x2424aa){const _0x317a7f={_0x2d04ae:0x194,_0x11fe1a:0x129,_0x770f0d:0x12a},_0x50ce85=_0x4b2419,_0x4d40ee=_0x4b2419,_0x250bb1={};_0x250bb1['NcQUU']=_0x50ce85(0x19c),_0x250bb1[_0x4d40ee(_0x317a7f._0x2d04ae)]='opencode.j'+_0x4d40ee(_0x317a7f._0x11fe1a);const _0x5cd888=_0x250bb1;return fs[_0x4d40ee(_0x317a7f._0x770f0d)](path[_0x50ce85(0x190)](_0x2424aa,_0x5cd888[_0x50ce85(0x19f)]))||fs[_0x50ce85(0x12a)](path[_0x50ce85(0x190)](_0x2424aa,_0x5cd888[_0x50ce85(_0x317a7f._0x2d04ae)]));},'formatPrompt'(_0x1a1209){return _0x1a1209;},'formatCommand'(_0xd70504,_0x4203a2){return _0xd70504;},'formatAgent'(_0x34bc54,_0x79d88f){const _0x84da12={_0x542fcc:0x146,_0x38d280:0x172},_0x3127b0=_0x4b2419,_0x513625=_0x4b2419,_0x1cb4ca={'RZWlJ':function(_0x251ebc,_0x32dca7){return _0x251ebc+_0x32dca7;},'RSDFW':function(_0x594e8c,_0x1a2075){return _0x594e8c(_0x1a2075);}};return _0x1cb4ca[_0x3127b0(_0x84da12._0x542fcc)](_0x1cb4ca[_0x3127b0(_0x84da12._0x38d280)](buildOpencodeAgentFrontmatter,_0x79d88f),_0x1cb4ca[_0x3127b0(0x172)](stripFrontmatter,_0x34bc54));},'cleanupPaths':[_0x73767b(0x13a),'.opencode/'+'commands']},'claude-code':{'name':_0x4b2419(0x126)+'e','displayName':'Claude\x20Cod'+'e','description':_0x73767b(0x112)+_0x4b2419(0x142)+_0x73767b(0x149),'promptPath':'CLAUDE.md','commandsDir':_0x4b2419(0x171)+_0x73767b(0x17a),'hasNativeCommands':!![],'agentsDir':_0x73767b(0x12c)+'ents','supportsSubagent':!![],'detect'(_0x54d271){const _0x41d3c4={_0x35ec30:0x190,_0xaa6f4f:0x190},_0x3926de=_0x4b2419,_0x19d14b=_0x4b2419;return fs[_0x3926de(0x12a)](path[_0x3926de(_0x41d3c4._0x35ec30)](_0x54d271,_0x19d14b(0x17b)))||fs['existsSync'](path[_0x3926de(_0x41d3c4._0xaa6f4f)](_0x54d271,'CLAUDE.md'));},'formatPrompt'(_0x18cdec){return _0x18cdec;},'formatCommand'(_0x5cf78d,_0x2c7aa9){return _0x5cf78d;},'formatAgent'(_0x5cd5e8,_0x3d9c3b){const _0x430198={_0x14be34:0xf3},_0x1d36a7=_0x73767b,_0x15a0d8=_0x73767b,_0x30ebb3={'JfzNL':function(_0x2ce483,_0x466d05){return _0x2ce483+_0x466d05;},'HnheM':function(_0xb1491c,_0x4fed00){return _0xb1491c(_0x4fed00);},'cBouB':function(_0x1f0be9,_0x4dbc24){return _0x1f0be9(_0x4dbc24);}};return _0x30ebb3['JfzNL'](_0x30ebb3[_0x1d36a7(0x153)](buildClaudeCodeAgentFrontmatter,_0x3d9c3b),_0x30ebb3[_0x1d36a7(_0x430198._0x14be34)](stripFrontmatter,_0x5cd5e8));},'cleanupPaths':['CLAUDE.md','.claude/co'+_0x4b2419(0x17a)]},'cursor':{'name':_0x4b2419(0x16c),'displayName':_0x73767b(0x128),'description':_0x4b2419(0x1a3)+_0x73767b(0x19b)+_0x4b2419(0x14b)+'c)','promptPath':_0x73767b(0xed)+_0x73767b(0x13c)+_0x73767b(0xf2),'commandsDir':null,'hasNativeCommands':![],'detect'(_0x240a91){const _0x5d98c4={_0x14fa5d:0x12a,_0x543243:0xe9,_0xa89ded:0x190,_0x50ffcc:0x189},_0x55aa72=_0x73767b,_0x16f070=_0x73767b;return fs[_0x55aa72(_0x5d98c4._0x14fa5d)](path['join'](_0x240a91,_0x16f070(_0x5d98c4._0x543243)))||fs[_0x55aa72(_0x5d98c4._0x14fa5d)](path[_0x55aa72(_0x5d98c4._0xa89ded)](_0x240a91,_0x16f070(_0x5d98c4._0x50ffcc)+'es'));},'formatPrompt'(_0x1bf1ba){const _0x41411a={_0x11de4b:0x148,_0xcc823:0x127,_0x28a5bf:0x137,_0x18a361:0x17d,_0x4a9411:0x16f,_0xc233b7:0x190},_0x4290e1=_0x4b2419,_0x5bf898=_0x4b2419,_0x11489f={};_0x11489f[_0x4290e1(_0x41411a._0x11de4b)]=_0x4290e1(0x15f),_0x11489f['oTCjo']=_0x4290e1(0x144)+'n:\x20\x22Spec-D'+_0x5bf898(_0x41411a._0xcc823)+'lopment\x20Fr'+_0x4290e1(0x15b)+_0x4290e1(0xeb),_0x11489f['kdhCr']=_0x4290e1(0x19e)+_0x4290e1(_0x41411a._0x28a5bf);const _0x3684d8=_0x11489f,_0x1033fa=[_0x3684d8[_0x5bf898(0x148)],_0x3684d8[_0x5bf898(_0x41411a._0x18a361)],_0x3684d8[_0x4290e1(_0x41411a._0x4a9411)],_0x3684d8[_0x4290e1(0x148)],''][_0x4290e1(_0x41411a._0xc233b7)]('\x0a');return _0x1033fa+_0x1bf1ba+buildCommandRoutingSection();},'formatCommand'(_0x4d45dc,_0x368530){return _0x4d45dc;},'cleanupPaths':[_0x73767b(0xed)+_0x73767b(0x13c)+_0x73767b(0xf2)]},'windsurf':{'name':_0x73767b(0x115),'displayName':_0x73767b(0x131),'description':'Windsurf\x20I'+'DE\x20(.winds'+_0x73767b(0x191)+')','promptPath':_0x4b2419(0xe0)+_0x4b2419(0xf9)+_0x4b2419(0x10f)+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0xe9e026){const _0x43675d={_0x4f465a:0x108,_0x43a5ca:0x190},_0x4a49b2=_0x73767b,_0x4c2730=_0x73767b,_0x26745d={};_0x26745d[_0x4a49b2(_0x43675d._0x4f465a)]=_0x4c2730(0x16e)+_0x4a49b2(0xf0);const _0x4007d9=_0x26745d;return fs['existsSync'](path[_0x4c2730(0x190)](_0xe9e026,'.windsurf'))||fs[_0x4a49b2(0x12a)](path[_0x4a49b2(_0x43675d._0x43a5ca)](_0xe9e026,_0x4007d9[_0x4c2730(0x108)]));},'formatPrompt'(_0x3d67f0){const _0x49f462={_0x314aba:0x179,_0x548048:0x192},_0x4d2e50=_0x73767b,_0x21bace=_0x73767b,_0x35b6ea={'Kdcum':function(_0x5100f0,_0x56167f){return _0x5100f0+_0x56167f;},'KwaYh':function(_0x24ad52){return _0x24ad52();}};return _0x35b6ea[_0x4d2e50(_0x49f462._0x314aba)](_0x3d67f0,_0x35b6ea[_0x4d2e50(_0x49f462._0x548048)](buildCommandRoutingSection));},'formatCommand'(_0x43d4b1,_0x398217){return _0x43d4b1;},'cleanupPaths':[_0x4b2419(0xe0)+'rules/spec'+_0x4b2419(0x10f)+'d']},'copilot':{'name':_0x73767b(0x161),'displayName':_0x73767b(0x120)+'ilot','description':_0x4b2419(0x120)+_0x73767b(0x12f)+_0x73767b(0xe3)+_0x4b2419(0x12e)+_0x4b2419(0x152),'promptPath':'.github/co'+_0x73767b(0x1a5)+'ructions.m'+'d','commandsDir':null,'hasNativeCommands':![],'detect'(_0x1d6668){const _0x419534={_0xa3ca0b:0x190,_0x1d34ad:0x156},_0x456d02=_0x73767b,_0x30055f=_0x73767b;return fs['existsSync'](path[_0x456d02(_0x419534._0xa3ca0b)](_0x1d6668,_0x30055f(0x12d),_0x456d02(0xf1)+_0x30055f(_0x419534._0x1d34ad)+_0x456d02(0x175)));},'formatPrompt'(_0x417579){return _0x417579+buildCommandRoutingSection();},'formatCommand'(_0x105214,_0xad8cc){return _0x105214;},'cleanupPaths':[_0x4b2419(0x124)+_0x73767b(0x1a5)+'ructions.m'+'d']},'cline':{'name':_0x73767b(0x1a6),'displayName':'Cline','description':_0x73767b(0x182)+'de\x20extensi'+'on\x20(.cline'+'rules/)','promptPath':_0x4b2419(0xee)+_0x73767b(0x15e)+'ilot.md','commandsDir':null,'hasNativeCommands':![],'detect'(_0x49749b){const _0x4e7a0b={_0x2674d4:0x12a,_0x1aaab0:0x190},_0x30df35=_0x73767b,_0x527647=_0x73767b;return fs[_0x30df35(_0x4e7a0b._0x2674d4)](path[_0x30df35(_0x4e7a0b._0x1aaab0)](_0x49749b,_0x30df35(0xee)+'s'))||fs['existsSync'](path[_0x527647(0x190)](_0x49749b,'.cline'));},'formatPrompt'(_0x28d682){const _0x49dab2={'SCZlH':function(_0x4114fb){return _0x4114fb();}};return _0x28d682+_0x49dab2['SCZlH'](buildCommandRoutingSection);},'formatCommand'(_0x2c4d87,_0x1c53ec){return _0x2c4d87;},'cleanupPaths':['.clinerule'+'s/spec-cop'+_0x4b2419(0x1a1)]}};function detectTools(_0x1bd025){const _0x371275={_0x4e9415:0x193},_0x49840a=_0x4b2419,_0x24a833=_0x4b2419;return Object[_0x49840a(0x164)](adapters)[_0x24a833(_0x371275._0x4e9415)](_0x50ab5a=>_0x50ab5a[_0x24a833(0x133)](_0x1bd025));}function supportedTools(){const _0x487dc8={_0x208922:0xfd},_0x4f121e=_0x73767b;return Object[_0x4f121e(_0x487dc8._0x208922)](adapters);}const _0x33eb24={};_0x33eb24[_0x73767b(0x117)]=adapters,_0x33eb24['detectTool'+'s']=detectTools,_0x33eb24['supportedT'+_0x4b2419(0x184)]=supportedTools,_0x33eb24['buildComma'+_0x4b2419(0x166)+'ection']=buildCommandRoutingSection,_0x33eb24['stripFront'+_0x73767b(0xff)]=stripFrontmatter,_0x33eb24[_0x73767b(0x139)+_0x73767b(0x17c)]=parseAgentMeta,module[_0x4b2419(0xf6)]=_0x33eb24;