@claudetools/tools 0.3.2 → 0.3.3

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/dist/setup.js +4 -2
  2. package/package.json +1 -1
package/dist/setup.js CHANGED
@@ -504,9 +504,11 @@ if [ -f "$WATCHER_PID_FILE" ]; then
504
504
  fi
505
505
 
506
506
  # Start watcher in background if not running
507
+ # The watcher manages its own PID file, so don't write it here
507
508
  if [ ! -f "$WATCHER_PID_FILE" ] && command -v claudetools &> /dev/null; then
508
- nohup claudetools watch > /tmp/claudetools-watcher.log 2>&1 &
509
- echo $! > "$WATCHER_PID_FILE"
509
+ nohup claudetools watch >> /tmp/claudetools-watcher.log 2>&1 &
510
+ # Give the watcher a moment to start and write its PID file
511
+ sleep 1
510
512
  fi
511
513
 
512
514
  # --- Context Injection ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudetools/tools",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Persistent AI memory, task management, and codebase intelligence for Claude Code",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",