cc-dev-template 0.1.30 → 0.1.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-dev-template",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "Structured AI-assisted development framework for Claude Code",
5
5
  "bin": {
6
6
  "cc-dev-template": "./bin/install.js"
@@ -23,7 +23,12 @@ process.stdin.on('end', () => {
23
23
  console.log(JSON.stringify(result));
24
24
  } catch (err) {
25
25
  // On error, allow the tool call to proceed unchanged
26
- console.log(JSON.stringify({ decision: "allow" }));
26
+ console.log(JSON.stringify({
27
+ hookSpecificOutput: {
28
+ hookEventName: "PreToolUse",
29
+ permissionDecision: "allow"
30
+ }
31
+ }));
27
32
  }
28
33
  });
29
34
 
@@ -45,8 +50,11 @@ function processHook(hookInput) {
45
50
  }
46
51
 
47
52
  return {
48
- decision: "allow",
49
- updatedInput
53
+ hookSpecificOutput: {
54
+ hookEventName: "PreToolUse",
55
+ permissionDecision: "allow",
56
+ updatedInput
57
+ }
50
58
  };
51
59
  }
52
60