codebasesearch 0.1.4 → 0.1.6
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 +8 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# codebasesearch
|
|
2
2
|
|
|
3
3
|
Ultra-simple semantic code search with Jina embeddings and LanceDB. Supports both CLI and MCP protocol interfaces.
|
|
4
4
|
|
|
@@ -6,17 +6,17 @@ Ultra-simple semantic code search with Jina embeddings and LanceDB. Supports bot
|
|
|
6
6
|
|
|
7
7
|
### CLI
|
|
8
8
|
```bash
|
|
9
|
-
bunx
|
|
9
|
+
bunx codebasesearch "your search query"
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
### MCP (for Claude Code & IDE plugins)
|
|
13
13
|
```bash
|
|
14
|
-
bunx
|
|
14
|
+
bunx codebasesearch --mcp
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Example:
|
|
18
18
|
```bash
|
|
19
|
-
claude mcp add -s user
|
|
19
|
+
claude mcp add -s user codebasesearch -- bunx codebasesearch
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Features
|
|
@@ -36,15 +36,15 @@ claude mcp add -s user code-search -- bunx code-search
|
|
|
36
36
|
### Search from CLI
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
|
-
bunx
|
|
40
|
-
bunx
|
|
41
|
-
bunx
|
|
39
|
+
bunx codebasesearch "authentication middleware"
|
|
40
|
+
bunx codebasesearch "database connection pool"
|
|
41
|
+
bunx codebasesearch "error handling"
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
### Search from custom repository
|
|
45
45
|
|
|
46
46
|
```bash
|
|
47
|
-
bunx
|
|
47
|
+
bunx codebasesearch --repo /path/to/repo "query"
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
**Default Search Directory**: When no path is specified, searches the **current working directory** (project root), not the Claude Code plugins directory. In Claude Code, this defaults to your project context.
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codebasesearch",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Ultra-simple code search tool with Jina embeddings, LanceDB, and MCP protocol support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"codebasesearch": "./bin/code-search.js",
|
|
8
|
+
"codebasesearch-mcp": "./mcp.js"
|
|
9
9
|
},
|
|
10
10
|
"main": "src/cli.js",
|
|
11
11
|
"engines": {
|