@tanagram/cli 0.1.23 → 0.1.24

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 +22 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -97,10 +97,31 @@ tanagram help
97
97
  - **`help`** - Show usage information
98
98
 
99
99
  ### Claude Code Hook
100
- You can install the CLI as a Claude Code [hook](https://code.claude.com/docs/en/hooks) to have Claude automatically iterate on Tanagram's output. Add the following to your `~/.claude/settings.json` (user settings) or `.claude/settings.json` (project settings):
100
+ You can install the CLI as a Claude Code [hook](https://code.claude.com/docs/en/hooks) to have Claude automatically iterate on Tanagram's output.
101
+
102
+ Add this to your `~/.claude/settings.json` (user settings) or `.claude/settings.json` (project settings):
103
+
104
+ ```json
105
+ "hooks": {
106
+ "PostToolUse": [
107
+ {
108
+ "matcher": "Edit|Write",
109
+ "hooks": [
110
+ {
111
+ "type": "command",
112
+ "command": "tanagram"
113
+ }
114
+ ]
115
+ }
116
+ ]
117
+ }
118
+ ```
119
+
120
+ For example, your full `settings.json` file might look like this:
101
121
 
102
122
  ```json
103
123
  {
124
+ "alwaysThinkingEnabled": true,
104
125
  "hooks": {
105
126
  "PostToolUse": [
106
127
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanagram/cli",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "Tanagram - Catch sloppy code before it ships",
5
5
  "main": "index.js",
6
6
  "bin": {