@handsupmin/gc-tree 0.7.19 → 0.8.0

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.
@@ -166,7 +166,7 @@ export function gctreeManagedMarkdownTargets(targetDir) {
166
166
  export function gctreeHookJsonTargets(targetDir) {
167
167
  return {
168
168
  codex: join(targetDir, '.codex', 'hooks.json'),
169
- claude: join(targetDir, '.claude', 'settings.json'),
169
+ claude: join(targetDir, '.claude', 'hooks', 'hooks.json'),
170
170
  };
171
171
  }
172
172
  export function gctreeGlobalRoot(host) {
@@ -177,5 +177,5 @@ export function gctreeGlobalRoot(host) {
177
177
  }
178
178
  export function gctreeGlobalHookJsonTarget(host) {
179
179
  const root = gctreeGlobalRoot(host);
180
- return host === 'codex' ? join(root, 'hooks.json') : join(root, 'settings.json');
180
+ return host === 'codex' ? join(root, 'hooks.json') : join(root, 'hooks', 'hooks.json');
181
181
  }
@@ -136,7 +136,7 @@ function renderClaudeSessionStartHook() {
136
136
  return [
137
137
  '# gctree Claude Code SessionStart note',
138
138
  '',
139
- '- gctree init installs real SessionStart/UserPromptSubmit hooks via `.claude/settings.json`.',
139
+ '- gctree init installs real SessionStart/UserPromptSubmit hooks via `.claude/hooks/hooks.json`.',
140
140
  '- At session start, use the injected hook context to confirm the active gc-branch.',
141
141
  '- Refer to gctree branches as **gc-branches** in user-facing language.',
142
142
  '- If hook context is missing or stale, resolve summaries before planning or implementation when branch-level context may change the answer.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsupmin/gc-tree",
3
- "version": "0.7.19",
3
+ "version": "0.8.0",
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,