lacy 1.8.15 → 1.8.17

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 (3) hide show
  1. package/bin/lacy +4 -2
  2. package/package.json +2 -2
  3. package/uninstall.sh +11 -0
package/bin/lacy CHANGED
@@ -191,8 +191,8 @@ cmd_uninstall() {
191
191
  exit 0
192
192
  fi
193
193
 
194
- # Try fancy Node uninstaller first
195
- try_node --uninstall || true
194
+ # Try fancy Node uninstaller first (suppress npx errors — bash fallback handles it)
195
+ try_node --uninstall 2>/dev/null || true
196
196
 
197
197
  # Bash fallback
198
198
  if [[ -t 0 ]]; then
@@ -249,6 +249,8 @@ cmd_uninstall() {
249
249
  fi
250
250
 
251
251
  printf "\n${GREEN}Lacy Shell uninstalled.${NC}\n"
252
+
253
+ offer_restart
252
254
  echo "Restart your terminal to apply changes."
253
255
  }
254
256
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lacy",
3
- "version": "1.8.15",
3
+ "version": "1.8.17",
4
4
  "description": "Talk to your terminal — AI agent routing for your shell",
5
5
  "main": "lacy.plugin.zsh",
6
6
  "scripts": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "repository": {
40
40
  "type": "git",
41
- "url": "https://github.com/lacymorrow/lacy.git"
41
+ "url": "git+https://github.com/lacymorrow/lacy.git"
42
42
  },
43
43
  "bugs": {
44
44
  "url": "https://github.com/lacymorrow/lacy/issues"
package/uninstall.sh CHANGED
@@ -49,4 +49,15 @@ fi
49
49
 
50
50
  echo ""
51
51
  echo "Lacy Shell uninstalled."
52
+
53
+ # Offer to restart the shell
54
+ if [[ -t 0 ]]; then
55
+ printf "Restart shell now to apply changes? [Y/n]: "
56
+ read -r restart
57
+ if [[ ! "$restart" =~ ^[Nn]$ ]]; then
58
+ shell_cmd=$(basename "${SHELL:-bash}")
59
+ echo "Restarting ${shell_cmd}..."
60
+ exec "$shell_cmd" -l
61
+ fi
62
+ fi
52
63
  echo "Restart your terminal to apply changes."