basemind-opencode 0.1.1 → 0.2.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 +7 -13
- package/commands/bm-stats.md +16 -0
- package/commands/bm.md +24 -0
- package/package.json +6 -9
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# basemind-opencode
|
|
2
2
|
|
|
3
|
-
OpenCode plugin for [basemind](https://github.com/Goldziher/basemind) —
|
|
4
|
-
tree-sitter code-map + git context MCP server.
|
|
3
|
+
OpenCode plugin for [basemind](https://github.com/Goldziher/basemind) — full AI context layer for coding agents.
|
|
5
4
|
|
|
6
5
|
## Install
|
|
7
6
|
|
|
@@ -13,10 +12,7 @@ Add to your `opencode.json` (global or project-level):
|
|
|
13
12
|
}
|
|
14
13
|
```
|
|
15
14
|
|
|
16
|
-
Restart OpenCode.
|
|
17
|
-
skills directory.
|
|
18
|
-
|
|
19
|
-
You also need the `basemind` binary on your `PATH`:
|
|
15
|
+
Restart OpenCode. You also need the `basemind` binary on your `PATH`:
|
|
20
16
|
|
|
21
17
|
```bash
|
|
22
18
|
npm install -g basemind # or: pip install basemind / cargo install basemind
|
|
@@ -31,14 +27,12 @@ basemind scan
|
|
|
31
27
|
|
|
32
28
|
## What this registers
|
|
33
29
|
|
|
34
|
-
- **MCP server** named `basemind` running `basemind serve` over stdio. Exposes
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- **Skills directory** with two pre-authored skills (`basemind`,
|
|
38
|
-
`basemind-stats`) that document how to drive the MCP toolset.
|
|
30
|
+
- **MCP server** named `basemind` running `basemind serve` over stdio. Exposes the full
|
|
31
|
+
code-map, git, documents, and memory toolset.
|
|
32
|
+
- **Skills directory** with pre-authored skills that document how to drive the MCP toolset.
|
|
39
33
|
|
|
40
|
-
See the [
|
|
41
|
-
|
|
34
|
+
See the [main README](https://github.com/Goldziher/basemind#readme) for the full MCP tool
|
|
35
|
+
reference, architecture, and configuration.
|
|
42
36
|
|
|
43
37
|
## License
|
|
44
38
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bm-stats
|
|
3
|
+
description: Show basemind activity dashboard — tool calls, per-tool histogram, estimated tokens saved.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# bm-stats — basemind activity dashboard
|
|
7
|
+
|
|
8
|
+
Call the basemind MCP tool `telemetry_summary` and render the result as a
|
|
9
|
+
markdown dashboard.
|
|
10
|
+
|
|
11
|
+
Default window is `today`. If the user asks for a specific range, map it to one
|
|
12
|
+
of `today`, `1h`, `24h`, `all`.
|
|
13
|
+
|
|
14
|
+
Always end with a one-sentence disclosure that the savings number is heuristic:
|
|
15
|
+
tools without a realistic baseline (memory, document search, git wrappers)
|
|
16
|
+
report 0 saved.
|
package/commands/bm.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bm
|
|
3
|
+
description: Ask basemind anything about the current codebase — outlines, refs, callers, git history, blame, diffs, docs, memory.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# bm — ask basemind anything about this codebase
|
|
7
|
+
|
|
8
|
+
Use the basemind MCP server to answer the user's question: $ARGUMENTS
|
|
9
|
+
|
|
10
|
+
Prefer basemind tools over reading files when navigating large or unfamiliar
|
|
11
|
+
codebases. Routing:
|
|
12
|
+
|
|
13
|
+
- "where is X defined?" → `search_symbols`
|
|
14
|
+
- "what calls X?" → `find_references` (any name) or `find_callers` (specific def)
|
|
15
|
+
- "shape of this file?" → `outline` (add `l2: true` for calls + docs)
|
|
16
|
+
- "what changed recently?" → `recent_changes`, `commits_touching`, `symbol_history`
|
|
17
|
+
- "who last touched this?" → `blame_file` / `blame_symbol`
|
|
18
|
+
- "where's the churn?" → `hot_files`
|
|
19
|
+
- "semantic search across PDFs/docs in the repo?" → `search_documents`
|
|
20
|
+
- "recall something the agent remembered earlier?" → `memory_get`
|
|
21
|
+
/ `memory_list` / `memory_search`
|
|
22
|
+
- "remember this for later sessions?" → `memory_put` (delete with `memory_delete`)
|
|
23
|
+
- "refresh the index after editing code?" → `rescan` (or `rescan { paths: [...] }`
|
|
24
|
+
to limit to changed files)
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basemind-opencode",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Full AI context layer over MCP — tree-sitter code-map, document RAG (PDF/Office/HTML/email + OCR + reranker), shared agent memory, on-demand web crawl, git history + blame + per-symbol diff. 300+ languages, 8 coding-agent harnesses, content-addressed Fjall + LanceDB.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "basemind.js",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"mcp",
|
|
9
|
-
"
|
|
9
|
+
"agent-context",
|
|
10
|
+
"rag",
|
|
10
11
|
"code-map",
|
|
11
|
-
"
|
|
12
|
-
"indexer"
|
|
12
|
+
"tree-sitter"
|
|
13
13
|
],
|
|
14
14
|
"author": {
|
|
15
15
|
"name": "Na'aman Hirschfeld",
|
|
@@ -25,13 +25,10 @@
|
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/Goldziher/basemind/issues"
|
|
27
27
|
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"prepack": "rm -rf skills && cp -R ../skills skills",
|
|
30
|
-
"postpack": "rm -rf skills"
|
|
31
|
-
},
|
|
32
28
|
"files": [
|
|
33
29
|
"basemind.js",
|
|
34
30
|
"skills/",
|
|
31
|
+
"commands/",
|
|
35
32
|
"README.md"
|
|
36
33
|
],
|
|
37
34
|
"engines": {
|