hacker-bob-kimi 1.3.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/README.md +29 -0
- package/bin/hacker-bob-kimi.js +16 -0
- package/package.json +27 -0
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# hacker-bob-kimi
|
|
2
|
+
|
|
3
|
+
Hacker Bob — Kimi CLI adapter wrapper.
|
|
4
|
+
|
|
5
|
+
This package pins `--adapter kimi` and delegates to the canonical `hacker-bob` CLI. Use it when you want Kimi CLI as the default host adapter.
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx -y hacker-bob-kimi install /path/to/project
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Equivalent to:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx -y hacker-bob --adapter kimi install /path/to/project
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
After install, launch Kimi CLI with:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
kimi --mcp-config-file .kimi/mcp.json
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Then run:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
/skill:bob-hunt target.com
|
|
29
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
// hacker-bob-kimi is the Hacker Bob Kimi CLI adapter wrapper. It injects
|
|
5
|
+
// `--adapter kimi` as the default when the operator has not supplied one,
|
|
6
|
+
// then delegates to the canonical hacker-bob CLI. Explicit `--adapter ...`
|
|
7
|
+
// is preserved so the wrapper does not block multi-adapter installs.
|
|
8
|
+
const args = process.argv.slice(2);
|
|
9
|
+
const hasAdapter = args.some(
|
|
10
|
+
(arg) => arg === "--adapter" || arg.startsWith("--adapter="),
|
|
11
|
+
);
|
|
12
|
+
if (!hasAdapter) {
|
|
13
|
+
process.argv.push("--adapter", "kimi");
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
require("hacker-bob/bin/hacker-bob.js");
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hacker-bob-kimi",
|
|
3
|
+
"version": "1.3.5",
|
|
4
|
+
"description": "Hacker Bob — Kimi CLI adapter wrapper. Pins --adapter kimi and delegates to the canonical hacker-bob CLI.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/vmihalis/hacker-bob.git"
|
|
9
|
+
},
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/vmihalis/hacker-bob/issues"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/vmihalis/hacker-bob#readme",
|
|
14
|
+
"bin": {
|
|
15
|
+
"hacker-bob-kimi": "bin/hacker-bob-kimi.js"
|
|
16
|
+
},
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=20"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"bin/hacker-bob-kimi.js",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"hacker-bob": "1.3.5"
|
|
26
|
+
}
|
|
27
|
+
}
|