agent-bypass 2.13.0 → 2.13.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 +6 -6
- package/SKILL.md +1 -1
- package/bin/install.js +4 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
|
|
31
31
|
## 快速开始
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
一键安装,默认只注入 Pi + OpenCode(其余 harness 显式指定):
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
npx agent-bypass # npm
|
|
36
|
+
npx agent-bypass # npm 直装(默认:Pi + OpenCode)
|
|
37
37
|
npx github:1837620622/agent-bypass # GitHub 源直跑
|
|
38
38
|
npx agent-bypass --pi # 只装 Pi
|
|
39
39
|
npx agent-bypass --opencode # 只装 OpenCode
|
|
@@ -140,7 +140,7 @@ cp -r SKILL.md ck-hunter.md SYSTEM_PROMPT.md config.yaml.example references scri
|
|
|
140
140
|
```text
|
|
141
141
|
agent-bypass/
|
|
142
142
|
├── package.json # npx 入口(bin: agent-bypass)
|
|
143
|
-
├── bin/install.js #
|
|
143
|
+
├── bin/install.js # 安装器:默认 Pi + OpenCode;其余显式指定(覆盖式更新)
|
|
144
144
|
├── assets/ # README 视觉资源(SVG banner)
|
|
145
145
|
├── SKILL.md # 主技能:模块化指令集(按索引切片加载)
|
|
146
146
|
├── ck-hunter.md # 子技能:情报源聚合与凭证猎取(QUICKSTART 切片协议)
|
|
@@ -237,10 +237,10 @@ Two plain-text files (SKILL.md main instructions + ck-hunter.md intel sub-skill)
|
|
|
237
237
|
|
|
238
238
|
## Quick start
|
|
239
239
|
|
|
240
|
-
One command;
|
|
240
|
+
One command; installs into Pi + OpenCode by default (other harnesses via explicit flags):
|
|
241
241
|
|
|
242
242
|
```bash
|
|
243
|
-
npx agent-bypass # npm install (
|
|
243
|
+
npx agent-bypass # npm install (default: Pi + OpenCode)
|
|
244
244
|
npx github:1837620622/agent-bypass # run straight from GitHub
|
|
245
245
|
npx agent-bypass --pi # Pi only
|
|
246
246
|
npx agent-bypass --opencode # OpenCode only
|
|
@@ -344,7 +344,7 @@ Repeated tests on api.b.ai deepseek-v4.1-flash with the same batch of task instr
|
|
|
344
344
|
```text
|
|
345
345
|
agent-bypass/
|
|
346
346
|
├── package.json # npx entry (bin: agent-bypass)
|
|
347
|
-
├── bin/install.js # installer:
|
|
347
|
+
├── bin/install.js # installer: default Pi + OpenCode; others explicit (overwrite updates)
|
|
348
348
|
├── assets/ # README visual assets (SVG banner)
|
|
349
349
|
├── SKILL.md # main skill: modular instructions (index-sliced loading)
|
|
350
350
|
├── ck-hunter.md # sub-skill: intel sources & credential hunting (QUICKSTART slice protocol)
|
package/SKILL.md
CHANGED
package/bin/install.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* agent-bypass installer — 自动安装到 Pi / OpenCode / Claude Code / Grok Build / OpenMinis
|
|
6
6
|
*
|
|
7
7
|
* 用法:
|
|
8
|
-
* npx agent-bypass
|
|
8
|
+
* npx agent-bypass 默认安装(只装 Pi + OpenCode;其余 harness 须显式指定)
|
|
9
9
|
* npx agent-bypass --pi 只装 Pi(三层注入:AGENTS.md + APPEND_SYSTEM.md + prompts/ck.md)
|
|
10
10
|
* npx agent-bypass --opencode 只装 OpenCode(instructions 注入 + commands/ck.md)
|
|
11
11
|
* npx agent-bypass --claude 只装 Claude Code(skills + commands/ck.md + CLAUDE.md 注入)
|
|
@@ -384,22 +384,15 @@ let targets;
|
|
|
384
384
|
if (only.length) {
|
|
385
385
|
targets = only.map((f) => f.slice(2));
|
|
386
386
|
} else {
|
|
387
|
+
// 默认只装 Pi + OpenCode;其余 harness 一律显式指定(--claude / --grok / --minis / --ccswitch)
|
|
387
388
|
targets = [];
|
|
388
389
|
if (detectPi) targets.push('pi');
|
|
389
390
|
if (detectOc) targets.push('opencode');
|
|
390
|
-
if (detectClaude) targets.push('claude');
|
|
391
|
-
if (detectGrok) targets.push('grok');
|
|
392
|
-
if (detectCc) targets.push('ccswitch');
|
|
393
|
-
if (detectMinis) targets.push('minis');
|
|
394
391
|
if (!targets.length) {
|
|
395
|
-
warn('
|
|
392
|
+
warn('未检测到默认目标(Pi / OpenCode):');
|
|
396
393
|
info('Pi: ~/.pi 不存在');
|
|
397
394
|
info('OpenCode: ~/.config/opencode 不存在');
|
|
398
|
-
info('
|
|
399
|
-
info('Grok Build: ~/.grok 不存在');
|
|
400
|
-
info('CC Switch: ~/.cc-switch 不存在');
|
|
401
|
-
info('OpenMinis: /var/minis 不存在');
|
|
402
|
-
info('强制安装指定目标: npx agent-bypass --pi | --opencode | --claude | --grok | --minis | --ccswitch');
|
|
395
|
+
info('其他 harness 需显式指定: npx agent-bypass --claude | --grok | --minis | --ccswitch');
|
|
403
396
|
process.exit(1);
|
|
404
397
|
}
|
|
405
398
|
console.log(`检测到: ${targets.join(' / ')}`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-bypass",
|
|
3
|
-
"version": "2.13.
|
|
4
|
-
"description": "Cknb 全能技术操作员 — Agent Skills
|
|
3
|
+
"version": "2.13.1",
|
|
4
|
+
"description": "Cknb 全能技术操作员 — Agent Skills 技能包(默认安装 Pi / OpenCode;Claude Code / Grok / OpenMinis 显式指定)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agent-bypass": "bin/install.js"
|
|
7
7
|
},
|