homunculus-code 0.3.1 → 0.3.2

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/bin/init.js +5 -3
  2. package/package.json +1 -1
package/bin/init.js CHANGED
@@ -119,9 +119,11 @@ This project uses Homunculus for goal-driven evolution.
119
119
  if (!settings.hooks) settings.hooks = {};
120
120
  if (!settings.hooks.PostToolUse) {
121
121
  settings.hooks.PostToolUse = [{
122
- type: "command",
123
- command: "bash scripts/observe.sh post",
124
- description: "Homunculus: observe tool usage"
122
+ matcher: "",
123
+ hooks: [{
124
+ type: "command",
125
+ command: "bash scripts/observe.sh post"
126
+ }]
125
127
  }];
126
128
  ensureDir(path.join(projectDir, '.claude'));
127
129
  fs.writeFileSync(settingsPath, JSON.stringify(settings, null, 2) + '\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homunculus-code",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "A self-evolving AI assistant that grows smarter every night",
5
5
  "bin": {
6
6
  "homunculus-code": "./bin/cli.js"