@brainbase-labs/cli 0.2.4 → 0.3.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 +19 -6
- package/dist/index.js +49187 -5257
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# brainbase
|
|
2
2
|
|
|
3
|
-
Pack, share, and install agent templates across harnesses (Claude Code, Codex).
|
|
3
|
+
Pack, share, and install agent templates across harnesses (Claude Code, Codex, Kafka).
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -22,13 +22,26 @@ brainbase template onboard <creator/slug> # install or refresh a template
|
|
|
22
22
|
|
|
23
23
|
Run `brainbase help` to see every command.
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Feature support by harness
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Each component type is stored in the place that harness already reads from at runtime — the CLI doesn't impose its own layout. "Native" cells describe where the install lands; "—" means the harness does not support that component type.
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
| Component | Claude Code | Codex | Kafka |
|
|
30
|
+
|---|---|---|---|
|
|
31
|
+
| **Skill** | `.claude/skills/<slug>/` (folder per skill, w/ provenance marker) | `~/.codex/skills/<slug>/` (global) or `.agents/skills/<slug>/` (project) | `.kafka/skills/<slug>/` |
|
|
32
|
+
| **MCP server** | Project: `.mcp.json`. Global: `~/.claude.json` → `mcpServers`. Never `settings.json` (Claude ignores it there). | Embedded in `~/.codex/config.toml` as `[mcp_servers.<slug>]` blocks | Embedded in `.kafka/kafka.json` (no sidecar — the Kafka SDK reads MCPs straight from settings) |
|
|
33
|
+
| **Command** (slash command / prompt) | `.claude/commands/<slug>.md` | `~/.codex/prompts/<slug>.md` (Codex has no documented project-scope prompts dir) | `.kafka/commands/<slug>.md` (the Kafka runtime calls these "playbooks" internally, but the CLI keeps the `command` type for cross-harness symmetry) |
|
|
34
|
+
| **Sub-agent** | `.claude/agents/<slug>.md` | — (Codex uses a different agent schema) | `.kafka/agents/<slug>.md` |
|
|
35
|
+
| **Playbook** | `.claude/playbooks/<slug>.md` + auto-managed table at the bottom of `CLAUDE.md` | `.codex/playbooks/<slug>.md` + auto-managed table at the bottom of `AGENTS.md` | `.kafka/playbooks/<slug>.md` + auto-managed table at the bottom of `KAFKA.md` |
|
|
36
|
+
| **Instruction** | Block in `CLAUDE.md` between `<!-- brainbase:start name=<template> -->` / `:end` markers | Same block convention in `AGENTS.md` | Same block convention in `KAFKA.md` |
|
|
37
|
+
| **Hook** | — (todo) | — | — |
|
|
38
|
+
| **File** | Arbitrary copy: single file or directory to a target path relative to `cwd` | Same | Same |
|
|
39
|
+
|
|
40
|
+
Playbook files carry a small YAML frontmatter (`title`, `description`) — the CLI parses it to build the table injected into each harness's instructions file. The table is bracketed by `<!-- brainbase:playbooks:start -->` / `:end` markers and regenerated on every pull, so removed playbooks drop out of the table automatically.
|
|
41
|
+
|
|
42
|
+
### Project root (harness-agnostic)
|
|
43
|
+
|
|
44
|
+
- Auto-detected `ONBOARDING.md` and any extra files/folders you point `--file <path>` at — packed as `file` components and replayed at install time.
|
|
32
45
|
|
|
33
46
|
## Configuration
|
|
34
47
|
|