@hiveai/cli 0.9.0 → 0.9.3
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 +13 -11
- package/dist/index.js +4904 -719
- package/dist/index.js.map +1 -1
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -12,11 +12,12 @@ Stop re-explaining your project to every AI session. hAIve stores your team's co
|
|
|
12
12
|
npm install -g @hiveai/cli
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
This installs the `haive` command globally.
|
|
15
|
+
This installs the `haive` command globally. **The MCP server is bundled** — use `haive mcp --stdio` in your AI client (no separate `@hiveai/mcp` install required for normal use).
|
|
16
16
|
|
|
17
|
-
> **MCP server**: also install `@hiveai/mcp` to expose memories to Claude Code, Cursor, Copilot, and any MCP-compatible AI client.
|
|
18
17
|
> **Semantic search** (optional): install `@hiveai/embeddings` for local embedding-based search (no data leaves your machine).
|
|
19
18
|
|
|
19
|
+
> Legacy configs may still use the standalone `haive-mcp` binary from `@hiveai/mcp`; prefer `haive` so CLI and MCP versions always match.
|
|
20
|
+
|
|
20
21
|
---
|
|
21
22
|
|
|
22
23
|
## Quick start
|
|
@@ -29,7 +30,7 @@ haive init # autopilot: hooks + CI + code-map auto-conf
|
|
|
29
30
|
|
|
30
31
|
# 2. Point your AI client at the MCP server
|
|
31
32
|
# Add to ~/.claude.json / ~/.cursor/mcp.json:
|
|
32
|
-
# { "mcpServers": { "haive": { "command": "haive
|
|
33
|
+
# { "mcpServers": { "haive": { "command": "haive", "args": ["mcp", "--stdio", "--root", "/absolute/path"] } } }
|
|
33
34
|
|
|
34
35
|
# 3. Bootstrap the project context (run once in your AI client)
|
|
35
36
|
# → Use the bootstrap_project MCP prompt to analyze the codebase and fill .ai/project-context.md
|
|
@@ -101,11 +102,12 @@ Bridge files include mandatory rules that tell agents to call `post_task` and `m
|
|
|
101
102
|
|
|
102
103
|
### `haive mcp`
|
|
103
104
|
|
|
104
|
-
|
|
105
|
+
Run the hAIve MCP server over stdio (**bundled into this package** — same tools as legacy `haive-mcp`).
|
|
105
106
|
|
|
106
107
|
```bash
|
|
107
|
-
haive mcp
|
|
108
|
-
haive mcp
|
|
108
|
+
haive mcp --stdio # typical MCP client args (stdio marker optional but recommended)
|
|
109
|
+
haive mcp -d /path/to/project # resolve project root from this directory
|
|
110
|
+
haive mcp --root /path/to/project # alias for legacy haive-mcp --root
|
|
109
111
|
```
|
|
110
112
|
|
|
111
113
|
**Claude Code** (`~/.claude.json`):
|
|
@@ -113,8 +115,8 @@ haive mcp --root /path/to/project # Explicit project root
|
|
|
113
115
|
{
|
|
114
116
|
"mcpServers": {
|
|
115
117
|
"haive": {
|
|
116
|
-
"command": "haive
|
|
117
|
-
"args": ["--root", "/absolute/path/to/your/project"]
|
|
118
|
+
"command": "haive",
|
|
119
|
+
"args": ["mcp", "--stdio", "--root", "/absolute/path/to/your/project"]
|
|
118
120
|
}
|
|
119
121
|
}
|
|
120
122
|
}
|
|
@@ -125,8 +127,8 @@ haive mcp --root /path/to/project # Explicit project root
|
|
|
125
127
|
{
|
|
126
128
|
"mcpServers": {
|
|
127
129
|
"haive": {
|
|
128
|
-
"command": "haive
|
|
129
|
-
"args": ["--root", "/absolute/path/to/your/project"]
|
|
130
|
+
"command": "haive",
|
|
131
|
+
"args": ["mcp", "--stdio", "--root", "/absolute/path/to/your/project"]
|
|
130
132
|
}
|
|
131
133
|
}
|
|
132
134
|
}
|
|
@@ -134,7 +136,7 @@ haive mcp --root /path/to/project # Explicit project root
|
|
|
134
136
|
|
|
135
137
|
**VS Code**:
|
|
136
138
|
```bash
|
|
137
|
-
code --add-mcp '{"name":"haive","command":"haive
|
|
139
|
+
code --add-mcp '{"name":"haive","command":"haive","args":["mcp","--stdio","--root","/path/to/project"]}'
|
|
138
140
|
```
|
|
139
141
|
|
|
140
142
|
---
|