@handsupmin/gc-tree 0.7.10 → 0.7.11

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.
@@ -81,7 +81,7 @@ function ensureObject(value) {
81
81
  function isGcTreeHook(entry, event) {
82
82
  const command = String(entry.command || '');
83
83
  const owner = ensureObject(entry.metadata).owner;
84
- return owner === 'gctree' || command === `gctree __hook --event ${event}`;
84
+ return owner === 'gctree' || command.includes(`gctree __hook --event ${event}`);
85
85
  }
86
86
  function mergeHookJson(raw, target) {
87
87
  const parsed = raw ? ensureObject(JSON.parse(raw)) : {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsupmin/gc-tree",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "Global Context Tree, a lightweight branch-aware global context orchestrator for AI coding tools",
5
5
  "type": "module",
6
6
  "private": false,