@ghx-dev/core 0.4.3 → 0.4.4

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.
@@ -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.3",
4
+ "version": "0.4.4",
5
5
  "author": {
6
6
  "name": "Arye Kogan"
7
7
  },
@@ -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.3",
4
+ "version": "0.4.4",
5
5
  "author": {
6
6
  "name": "Arye Kogan"
7
7
  },
@@ -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.4.3" : "unknown";
836
+ const version = true ? "0.4.4" : "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-G3JW3XZK.js.map
6222
+ //# sourceMappingURL=chunk-XZRNTOTE.js.map
package/dist/cli/index.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  invalidateTokenCache,
11
11
  listCapabilities,
12
12
  resolveGithubToken
13
- } from "../chunk-G3JW3XZK.js";
13
+ } from "../chunk-XZRNTOTE.js";
14
14
  import "../chunk-H7CLZHRO.js";
15
15
  import "../chunk-NQ53ETYV.js";
16
16
  import "../chunk-TGL33GEA.js";
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  listCapabilities,
13
13
  listOperationCards,
14
14
  resolveGithubToken
15
- } from "./chunk-G3JW3XZK.js";
15
+ } from "./chunk-XZRNTOTE.js";
16
16
  import "./chunk-H7CLZHRO.js";
17
17
  import "./chunk-NQ53ETYV.js";
18
18
  import "./chunk-TGL33GEA.js";
package/hooks/hooks.json CHANGED
@@ -2,10 +2,11 @@
2
2
  "hooks": {
3
3
  "SessionStart": [
4
4
  {
5
+ "matcher": "startup",
5
6
  "hooks": [
6
7
  {
7
8
  "type": "command",
8
- "command": "${CLAUDE_PLUGIN_ROOT}/scripts/plugin/ensure-ghx.sh"
9
+ "command": "command -v ghx >/dev/null 2>&1 || printf '{\"systemMessage\": \"Warning: ghx CLI is not installed — ghx plugin capabilities disabled. Run: npm install -g @ghx-dev/core\"}'"
9
10
  }
10
11
  ]
11
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghx-dev/core",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
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",
@@ -1,9 +0,0 @@
1
- #!/bin/bash
2
- # Shared sessionStart hook for Claude Code and Cursor plugins.
3
- # Warns if ghx is not available on PATH.
4
-
5
- if ! command -v ghx &>/dev/null; then
6
- echo "Warning: ghx CLI not found. Install with: npm install -g @ghx-dev/core"
7
- fi
8
-
9
- exit 0