@rubytech/taskmaster 1.0.73 → 1.0.74

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.73",
3
- "commit": "6a5e6e9738063f5256b8adfab35b77b7e64da2be",
4
- "builtAt": "2026-02-19T09:30:56.446Z"
2
+ "version": "1.0.74",
3
+ "commit": "5b6c4ab6e9020522b042cf223a8913d1b88d4243",
4
+ "builtAt": "2026-02-19T11:33:37.263Z"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/taskmaster",
3
- "version": "1.0.73",
3
+ "version": "1.0.74",
4
4
  "description": "AI-powered business assistant for small businesses",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -149,9 +149,16 @@ if [ "$(id -u)" = "0" ] && [ "$REAL_USER" != "root" ]; then
149
149
  && echo " hostname set to '${TM_HOSTNAME}'" \
150
150
  || echo " hostname set failed (continuing)"
151
151
 
152
- # Ensure /etc/hosts resolves the new hostname (sudo warns otherwise)
152
+ # Ensure /etc/hosts resolves the new hostname (sudo warns otherwise).
153
+ # Raspberry Pi OS uses 127.0.1.1 for the hostname; other distros may use
154
+ # 127.0.0.1. We update an existing 127.0.1.1 line if present (replacing
155
+ # the old hostname like "raspberrypi"), otherwise append a new entry.
153
156
  if ! grep -q "$TM_HOSTNAME" /etc/hosts 2>/dev/null; then
154
- echo "127.0.0.1 $TM_HOSTNAME" >> /etc/hosts
157
+ if grep -q "^127\.0\.1\.1" /etc/hosts 2>/dev/null; then
158
+ sed -i "s/^127\.0\.1\.1.*/127.0.1.1\t$TM_HOSTNAME/" /etc/hosts
159
+ else
160
+ echo "127.0.1.1 $TM_HOSTNAME" >> /etc/hosts
161
+ fi
155
162
  fi
156
163
 
157
164
  # Remove stale avahi service file from previous installs (conflicts with gateway Bonjour)
@@ -888,6 +888,16 @@ The gateway is the software that runs your assistant. If it's showing red:
888
888
  - Try using the IP address: **http://192.168.x.x:18789** (contact Support for assistance)
889
889
  - Wait 2 minutes after power-on for the device to start
890
890
 
891
+ ### "sudo: unable to resolve host taskmaster" warning?
892
+
893
+ This harmless warning appears when the Pi's hostname isn't listed in `/etc/hosts`. Every `sudo` command still works — it's just a cosmetic message. To fix it, open a terminal on the Pi and run:
894
+
895
+ ```
896
+ sudo sh -c 'echo "127.0.1.1 taskmaster" >> /etc/hosts'
897
+ ```
898
+
899
+ Replace `taskmaster` with your actual hostname if you changed it (e.g., `taskmaster-19000` for a custom port). The warning disappears immediately.
900
+
891
901
  ---
892
902
 
893
903
  ## Multiple Accounts