@trendai-crem/claude-skills 0.7.0 → 0.7.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/cli.js +2 -3
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -104,7 +104,7 @@ function setupAutoUpdate() {
104
104
  e => !e.hooks?.some(h => typeof h.command === 'string' && h.command === hookScript)
105
105
  );
106
106
  settings.hooks.UserPromptSubmit.push({
107
- hooks: [{ type: 'command', command: hookScript, async: true }]
107
+ hooks: [{ type: 'command', command: hookScript }]
108
108
  });
109
109
 
110
110
  // Atomic write
@@ -154,7 +154,6 @@ LATEST=$(npm view "$PACKAGE" version 2>/dev/null || echo "")
154
154
  [[ "$LATEST" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.]+)?$ ]] || exit 0
155
155
 
156
156
  # Notify via Claude Code systemMessage (shows in UI)
157
- printf '{"systemMessage": "claude-skills update available: %s %s\\nRun: npx @trendai-crem/claude-skills@latest"}' \
158
- "$INSTALLED" "$LATEST"
157
+ python3 -c "import json,sys; print(json.dumps({'systemMessage': 'claude-skills update: ' + sys.argv[1] + ' \u2192 ' + sys.argv[2] + chr(10) + 'Run: npx @trendai-crem/claude-skills@latest'}))" "$INSTALLED" "$LATEST"
159
158
  `;
160
159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trendai-crem/claude-skills",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Claude Code skills installer for the trendai-crem team",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {