agent-bypass 2.11.4 → 2.11.5

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/SKILL.md CHANGED
@@ -10,7 +10,7 @@ description: >
10
10
  ctf/全能模式/渗透作战/逆向深挖/内存工程 等触发词时使用本技能。
11
11
  license: MIT
12
12
  metadata:
13
- version: "2.11.4"
13
+ version: "2.11.5"
14
14
  ---
15
15
 
16
16
  # agent-bypass — Ck · 万能执行员
package/bin/install.js CHANGED
@@ -314,7 +314,7 @@ function uninstallGrok() {
314
314
  // 技能库主副本(SSOT)两种位置(设置里可选):
315
315
  // A. ~/.agents/skills/agent-bypass/(Agent Skills 开放标准,Grok 等直读)
316
316
  // B. ~/.cc-switch/skills/agent-bypass/(CC Switch 默认)
317
- // 策略:主副本已存在(已纳管)→ 覆盖更新(软链自动穿透到真身);未纳管 → 不制造孤立目录,提示导入。
317
+ // 策略:主副本已存在(已纳管)→ 覆盖更新(软链自动穿透到真身);不存在 → 首次建立主副本,随后在 CC Switch 中导入纳管。
318
318
  function ccswitchSso() {
319
319
  const cands = [path.join(HOME, '.agents', 'skills', 'agent-bypass'), path.join(HOME, '.cc-switch', 'skills', 'agent-bypass')];
320
320
  for (const p of cands) if (exists(p)) return p;
@@ -329,8 +329,11 @@ function installCcswitch() {
329
329
  return;
330
330
  }
331
331
  if (exists(path.join(HOME, '.cc-switch'))) {
332
- info('CC Switch 技能库中尚无 agent-bypass(未纳管)');
333
- info('如需纳管:在 CC Switch \u2192 Skills 中导入应用目录的 agent-bypass,之后重跑本安装器即可同步更新');
332
+ // 首次建立 SSOT:技能库位置按设置选 ~/.agents/skills(Agent Skills 开放标准)——直接写入主副本
333
+ const init = path.join(HOME, '.agents', 'skills', 'agent-bypass');
334
+ installSkills(init);
335
+ info('已在 CC Switch 技能库位置建立 agent-bypass 主副本(~/.agents/skills)');
336
+ info('下一步:在 CC Switch \u2192 Skills 中对 agent-bypass 执行导入/纳管;此后本命令一步同步全平台');
334
337
  } else {
335
338
  info('未检测到 ~/.cc-switch,跳过');
336
339
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-bypass",
3
- "version": "2.11.4",
3
+ "version": "2.11.5",
4
4
  "description": "Cknb 全能技术操作员 — Agent Skills 技能包(自动安装到 Pi / OpenCode / Claude Code / Grok Build / OpenMinis)",
5
5
  "bin": {
6
6
  "agent-bypass": "bin/install.js"