wavebrain 0.3.0 → 0.4.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 +4 -4
- package/bin/wavebrain.mjs +11 -9
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# wavebrain
|
|
2
2
|
|
|
3
|
-
[WaveBrain](https://getwavebrain.com) is the audit log of what your AI agents do.
|
|
3
|
+
[WaveBrain](https://getwavebrain.com) is the audit log of what your AI agents do. Set it up for each agent:
|
|
4
4
|
|
|
5
5
|
| Agent | Install |
|
|
6
6
|
| --- | --- |
|
|
7
|
-
| Claude Code | `
|
|
8
|
-
| Codex CLI | `
|
|
7
|
+
| Claude Code | `claude plugin marketplace add tambo-ai-labs/wavebrain` then `claude plugin install wavebrain@wavebrain` |
|
|
8
|
+
| Codex CLI | `codex plugin marketplace add tambo-ai-labs/wavebrain` then `codex plugin add wavebrain@wavebrain` |
|
|
9
9
|
| Cursor | `npx wavebrain-cursor install` |
|
|
10
10
|
| Hermes Agent | `npx wavebrain-hermes install` |
|
|
11
11
|
|
|
12
12
|
Windsurf, VS Code, Claude Desktop and other MCP clients only need the MCP server: copy the config from [getwavebrain.com/dashboard/setup](https://getwavebrain.com/dashboard/setup).
|
|
13
13
|
|
|
14
|
-
`npx wavebrain` prints this list and marks the agents it finds on your machine.
|
|
14
|
+
`npx wavebrain` prints this list and marks the agents it finds on your machine.
|
package/bin/wavebrain.mjs
CHANGED
|
@@ -10,26 +10,28 @@ const onPath = (bin) =>
|
|
|
10
10
|
(env.PATH || "").split(path.delimiter).some((d) => d && fs.existsSync(path.join(d, bin)));
|
|
11
11
|
const exists = (...p) => fs.existsSync(path.join(home, ...p));
|
|
12
12
|
const AGENTS = [
|
|
13
|
-
["Claude Code", "claude-
|
|
14
|
-
["Codex CLI", "codex", () => onPath("codex") || Boolean(env.CODEX_HOME) || exists(".codex")],
|
|
15
|
-
["Cursor", "cursor", () => onPath("cursor") || exists(".cursor")],
|
|
16
|
-
["Hermes Agent", "hermes", () => onPath("hermes") || exists(".hermes")],
|
|
13
|
+
["Claude Code", ["claude plugin marketplace add tambo-ai-labs/wavebrain", "claude plugin install wavebrain@wavebrain"], () => onPath("claude") || exists(".claude.json") || exists(".claude")],
|
|
14
|
+
["Codex CLI", ["codex plugin marketplace add tambo-ai-labs/wavebrain", "codex plugin add wavebrain@wavebrain"], () => onPath("codex") || Boolean(env.CODEX_HOME) || exists(".codex")],
|
|
15
|
+
["Cursor", ["npx wavebrain-cursor install"], () => onPath("cursor") || exists(".cursor")],
|
|
16
|
+
["Hermes Agent", ["npx wavebrain-hermes install"], () => onPath("hermes") || exists(".hermes")],
|
|
17
17
|
];
|
|
18
18
|
const arg = process.argv[2];
|
|
19
19
|
if (arg === "-v" || arg === "--version") {
|
|
20
|
-
console.log("0.
|
|
20
|
+
console.log("0.4.0");
|
|
21
21
|
process.exit(0);
|
|
22
22
|
}
|
|
23
23
|
const found = AGENTS.filter(([, , d]) => d());
|
|
24
|
-
console.log("
|
|
25
|
-
for (const [label,
|
|
26
|
-
console.log(` ${label
|
|
24
|
+
console.log("Set up WaveBrain for each agent you use:\n");
|
|
25
|
+
for (const [label, cmds] of AGENTS) {
|
|
26
|
+
console.log(` ${label}${found.some((f) => f[0] === label) ? " (found on this machine)" : ""}`);
|
|
27
|
+
for (const c of cmds) console.log(` ${c}`);
|
|
27
28
|
}
|
|
29
|
+
console.log("\n Codex reads the key from WAVEBRAIN_API_KEY; Claude Code asks for it.");
|
|
28
30
|
console.log(
|
|
29
31
|
"\nWindsurf, VS Code, Claude Desktop and other MCP clients: copy the config from\n" +
|
|
30
32
|
"https://getwavebrain.com/dashboard/setup (no installer needed).",
|
|
31
33
|
);
|
|
32
34
|
if (arg === "init" || arg === "remove" || arg === "status" || arg === "uninstall") {
|
|
33
|
-
console.log(`\n"wavebrain ${arg}" was replaced by the
|
|
35
|
+
console.log(`\n"wavebrain ${arg}" was replaced by the commands above.`);
|
|
34
36
|
}
|
|
35
37
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wavebrain",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "WaveBrain, the audit log of what your AI agents do.
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "WaveBrain, the audit log of what your AI agents do. Prints how to set it up for each agent.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"wavebrain": "bin/wavebrain.mjs"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"homepage": "https://getwavebrain.com",
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/
|
|
25
|
+
"url": "git+https://github.com/tambo-ai-labs/wavebrain.git",
|
|
26
26
|
"directory": "packages/wavebrain"
|
|
27
27
|
},
|
|
28
28
|
"license": "UNLICENSED"
|