@wyattjoh/demur 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +8 -3
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -102,8 +102,13 @@ pi install "$PWD"
102
102
 
103
103
  ### Claude Code
104
104
 
105
- Register the source adapter in `~/.claude/settings.json`, replacing the path
106
- with the absolute path to your clone:
105
+ Install the published package globally with Bun:
106
+
107
+ ```sh
108
+ bun add --global @wyattjoh/demur
109
+ ```
110
+
111
+ Register its executable in `~/.claude/settings.json`:
107
112
 
108
113
  ```json
109
114
  {
@@ -114,7 +119,7 @@ with the absolute path to your clone:
114
119
  "hooks": [
115
120
  {
116
121
  "type": "command",
117
- "command": "bun /absolute/path/to/demur/src/adapters/claude-code.ts"
122
+ "command": "demur-claude-hook"
118
123
  }
119
124
  ]
120
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wyattjoh/demur",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "A proof-of-concept destructive-command guard for coding agents.",
6
6
  "license": "MIT",
@@ -12,6 +12,9 @@
12
12
  "url": "https://github.com/wyattjoh/demur/issues"
13
13
  },
14
14
  "homepage": "https://github.com/wyattjoh/demur#readme",
15
+ "bin": {
16
+ "demur-claude-hook": "./src/adapters/claude-code.ts"
17
+ },
15
18
  "keywords": [
16
19
  "coding-agent",
17
20
  "pi-package",