@gkoreli/ghx 2.1.16 → 2.1.19
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 +9 -16
- package/package.json +11 -7
package/README.md
CHANGED
|
@@ -41,10 +41,10 @@ brew install gkoreli/tap/ghx
|
|
|
41
41
|
npm install -g @gkoreli/ghx
|
|
42
42
|
|
|
43
43
|
# Go
|
|
44
|
-
go install github.com/gkoreli/ghx/v2@latest
|
|
44
|
+
go install github.com/gkoreli/ghx/v2/cmd/ghx@latest
|
|
45
45
|
|
|
46
46
|
# Build from source
|
|
47
|
-
|
|
47
|
+
go build -o ghx ./cmd/ghx
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Requires: [gh CLI](https://cli.github.com/) authenticated (`gh auth login`).
|
|
@@ -145,24 +145,17 @@ Codemode runs JS in a [goja](https://github.com/nicholasgasior/goja) sandbox wit
|
|
|
145
145
|
## Architecture
|
|
146
146
|
|
|
147
147
|
```
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
148
|
+
cmd/ghx/ — binary entrypoint
|
|
149
|
+
internal/cli/ — CLI frontend (cobra) + MCP server commands
|
|
150
|
+
internal/ghx/ — core library (Explore, Read, Search, Repos, Tree, Glob)
|
|
151
|
+
internal/codemode/ — JS executor (goja sandbox, TS transpilation, type generation)
|
|
152
|
+
internal/mapengine/ — parser-backed map engine (GoAST, TreeSitter, Regex, engine routing)
|
|
153
|
+
internal/sidecar/ — sidecar runtime, sessions, reports, and ACP integration
|
|
154
|
+
internal/skilldoc/ — embedded CLI and MCP agent skill markdown
|
|
153
155
|
```
|
|
154
156
|
|
|
155
157
|
See [docs/adr/](docs/adr/) for architectural decisions.
|
|
156
158
|
|
|
157
|
-
## v1 (bash)
|
|
158
|
-
|
|
159
|
-
The original bash implementation is in [`v1/`](v1/). Zero dependencies beyond `gh` and `jq` — useful if you just want a shell script you can drop anywhere without compiling Go.
|
|
160
|
-
|
|
161
|
-
```bash
|
|
162
|
-
npm install -g @gkoreli/ghx # npm
|
|
163
|
-
cp v1/ghx /usr/local/bin/ghx # manual
|
|
164
|
-
```
|
|
165
|
-
|
|
166
159
|
## License
|
|
167
160
|
|
|
168
161
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gkoreli/ghx",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.19",
|
|
4
4
|
"description": "Agent-first GitHub code exploration. GraphQL batching, code maps, codemode TypeScript sandbox, MCP server.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ghx": "npm/bin/ghx"
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "git+https://github.com/gkoreli/ghx.git"
|
|
20
20
|
},
|
|
21
|
+
"packageManager": "pnpm@10.22.0",
|
|
22
|
+
"workspaces": [
|
|
23
|
+
"packages/*"
|
|
24
|
+
],
|
|
21
25
|
"files": [
|
|
22
26
|
"npm/bin/ghx",
|
|
23
27
|
"README.md",
|
|
@@ -27,11 +31,11 @@
|
|
|
27
31
|
"node": ">=16"
|
|
28
32
|
},
|
|
29
33
|
"optionalDependencies": {
|
|
30
|
-
"@gkoreli/ghx-darwin-arm64": "2.1.
|
|
31
|
-
"@gkoreli/ghx-darwin-x64": "2.1.
|
|
32
|
-
"@gkoreli/ghx-linux-arm64": "2.1.
|
|
33
|
-
"@gkoreli/ghx-linux-x64": "2.1.
|
|
34
|
-
"@gkoreli/ghx-win32-arm64": "2.1.
|
|
35
|
-
"@gkoreli/ghx-win32-x64": "2.1.
|
|
34
|
+
"@gkoreli/ghx-darwin-arm64": "2.1.19",
|
|
35
|
+
"@gkoreli/ghx-darwin-x64": "2.1.19",
|
|
36
|
+
"@gkoreli/ghx-linux-arm64": "2.1.19",
|
|
37
|
+
"@gkoreli/ghx-linux-x64": "2.1.19",
|
|
38
|
+
"@gkoreli/ghx-win32-arm64": "2.1.19",
|
|
39
|
+
"@gkoreli/ghx-win32-x64": "2.1.19"
|
|
36
40
|
}
|
|
37
41
|
}
|