@ghx-dev/core 0.3.1 → 0.4.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/.claude-plugin/plugin.json +1 -1
- package/bin/ghx +13 -0
- package/dist/{chunk-VCBQTH5J.js → chunk-ISLM2HRZ.js} +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/index.js +1 -1
- package/hooks/hooks.json +14 -0
- package/package.json +4 -1
- package/scripts/plugin/setup-env.sh +6 -0
- /package/dist/{chunk-VCBQTH5J.js.map → chunk-ISLM2HRZ.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ghx",
|
|
3
3
|
"description": "Route GitHub operations through deterministic adapters instead of fragile shell scraping. 70+ capabilities covering issues, PRs, repos, releases, and projects — each with validated input, normalized output, and automatic fallback routing.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Arye Kogan"
|
|
7
7
|
},
|
package/bin/ghx
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { main } from "../dist/cli/index.js"
|
|
3
|
+
|
|
4
|
+
main().then(
|
|
5
|
+
(exitCode) => {
|
|
6
|
+
process.exitCode = exitCode
|
|
7
|
+
},
|
|
8
|
+
(error) => {
|
|
9
|
+
const message = error instanceof Error ? error.message : String(error)
|
|
10
|
+
process.stderr.write(`${message}\n`)
|
|
11
|
+
process.exit(1)
|
|
12
|
+
},
|
|
13
|
+
)
|
|
@@ -833,7 +833,7 @@ function createLogger(config) {
|
|
|
833
833
|
}
|
|
834
834
|
function write(level, msg, ctx) {
|
|
835
835
|
if (levelIndex(level) < minIndex) return;
|
|
836
|
-
const version = true ? "0.
|
|
836
|
+
const version = true ? "0.4.1" : "unknown";
|
|
837
837
|
const entry = {
|
|
838
838
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
839
839
|
pid: config.pid,
|
|
@@ -6219,4 +6219,4 @@ export {
|
|
|
6219
6219
|
createGithubClientFromToken,
|
|
6220
6220
|
createGithubClient
|
|
6221
6221
|
};
|
|
6222
|
-
//# sourceMappingURL=chunk-
|
|
6222
|
+
//# sourceMappingURL=chunk-ISLM2HRZ.js.map
|
package/dist/cli/index.js
CHANGED
package/dist/index.js
CHANGED
package/hooks/hooks.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ghx-dev/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Route GitHub operations through deterministic adapters instead of fragile shell scraping. 70+ capabilities covering issues, PRs, repos, releases, and projects — each with validated input, normalized output, and automatic fallback routing.",
|
|
5
5
|
"author": "Arye Kogan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,7 +42,10 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"files": [
|
|
45
|
+
"bin",
|
|
45
46
|
"dist",
|
|
47
|
+
"hooks",
|
|
48
|
+
"scripts/plugin",
|
|
46
49
|
".claude-plugin",
|
|
47
50
|
"skills",
|
|
48
51
|
"LICENSE",
|
|
File without changes
|