@crewx/search 0.1.10-rc.170 → 0.1.10-rc.171
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 +1 -1
- package/SKILL.md +11 -11
- package/package.json +3 -3
package/README.md
CHANGED
package/SKILL.md
CHANGED
|
@@ -34,19 +34,19 @@ npm install
|
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
36
|
# Search markdown files (default)
|
|
37
|
-
|
|
37
|
+
crewx search "launcher architecture" .
|
|
38
38
|
|
|
39
39
|
# Specific directory
|
|
40
|
-
|
|
40
|
+
crewx search "API endpoint" ./docs
|
|
41
41
|
|
|
42
42
|
# JS/TS file search
|
|
43
|
-
|
|
43
|
+
crewx search "authentication" ./src --glob="**/*.{js,ts}"
|
|
44
44
|
|
|
45
45
|
# Limit result count
|
|
46
|
-
|
|
46
|
+
crewx search "error handling" . --limit=10
|
|
47
47
|
|
|
48
48
|
# JSON output
|
|
49
|
-
|
|
49
|
+
crewx search "database" . --json
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
## Options
|
|
@@ -101,7 +101,7 @@ Each result includes `matchedField` showing which field drove the match.
|
|
|
101
101
|
### Document Search
|
|
102
102
|
```bash
|
|
103
103
|
# Find documents related to CrewX launcher
|
|
104
|
-
|
|
104
|
+
crewx search "CrewX launcher electron architecture" ./docs
|
|
105
105
|
|
|
106
106
|
# Result:
|
|
107
107
|
# [17.5] docs/launcher/architecture.md
|
|
@@ -111,7 +111,7 @@ npx search "CrewX launcher electron architecture" ./docs
|
|
|
111
111
|
### Code Search
|
|
112
112
|
```bash
|
|
113
113
|
# Find authentication-related code
|
|
114
|
-
|
|
114
|
+
crewx search "authentication JWT token" ./src --glob="**/*.ts"
|
|
115
115
|
|
|
116
116
|
# Result:
|
|
117
117
|
# [15.2] src/auth/jwt.service.ts
|
|
@@ -121,7 +121,7 @@ npx search "authentication JWT token" ./src --glob="**/*.ts"
|
|
|
121
121
|
### Multi-language Search
|
|
122
122
|
```bash
|
|
123
123
|
# Find error handling content
|
|
124
|
-
|
|
124
|
+
crewx search "error handling exception" . --glob="**/*.md"
|
|
125
125
|
|
|
126
126
|
# Result:
|
|
127
127
|
# [3] docs/troubleshooting.md
|
|
@@ -131,17 +131,17 @@ npx search "error handling exception" . --glob="**/*.md"
|
|
|
131
131
|
### OKF Highlight-Scoped Search
|
|
132
132
|
```bash
|
|
133
133
|
# Search only what the user highlighted as important
|
|
134
|
-
|
|
134
|
+
crewx search "important decision" ./docs --scope=highlights
|
|
135
135
|
|
|
136
136
|
# Result:
|
|
137
137
|
# [8.0] docs/design.md [highlightQuotes]
|
|
138
138
|
# Design Spec
|
|
139
139
|
|
|
140
140
|
# Prioritize full body over highlights
|
|
141
|
-
|
|
141
|
+
crewx search "architecture" ./docs --scope=body
|
|
142
142
|
|
|
143
143
|
# Apply extra 2x boost on highlights
|
|
144
|
-
|
|
144
|
+
crewx search "API design" ./docs --highlight-boost=2
|
|
145
145
|
```
|
|
146
146
|
|
|
147
147
|
## How It Works
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewx/search",
|
|
3
|
-
"version": "0.1.10-rc.
|
|
3
|
+
"version": "0.1.10-rc.171",
|
|
4
4
|
"description": "BM25 full-text search engine for CrewX documents and code",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/src/engine.js",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"glob": "^10.0.0",
|
|
37
|
-
"@crewx/shared": "0.0.6-rc.
|
|
38
|
-
"@crewx/knowledge-core": "0.1.17-rc.
|
|
37
|
+
"@crewx/shared": "0.0.6-rc.90",
|
|
38
|
+
"@crewx/knowledge-core": "0.1.17-rc.185"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^20.0.0",
|