@rubytech/taskmaster 1.0.104 → 1.0.105

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.
@@ -6,7 +6,7 @@
6
6
  <title>Taskmaster Control</title>
7
7
  <meta name="color-scheme" content="dark light" />
8
8
  <link rel="icon" type="image/png" href="./favicon.png" />
9
- <script type="module" crossorigin src="./assets/index-BVS_Pain.js"></script>
9
+ <script type="module" crossorigin src="./assets/index-DtuDNTAC.js"></script>
10
10
  <link rel="stylesheet" crossorigin href="./assets/index-DjhCZlZd.css">
11
11
  </head>
12
12
  <body>
@@ -227,6 +227,16 @@ export const wifiHandlers = {
227
227
  }
228
228
  // Check for saved connection profile
229
229
  const saved = await getSavedWifiConnection();
230
+ // Auto-reconnect: if a saved profile with autoconnect exists but device
231
+ // is disconnected, nudge NetworkManager to bring the connection up.
232
+ // Fire-and-forget — the next status poll will reflect the result.
233
+ if (saved && saved.autoconnect && !deviceState.connected) {
234
+ runExec("nmcli", ["con", "up", saved.name], { timeoutMs: 30_000 })
235
+ .then(() => disableWifiPowerSave(context.logGateway))
236
+ .catch((err) => {
237
+ context.logGateway.warn(`wifi auto-reconnect failed: ${err instanceof Error ? err.message : String(err)}`);
238
+ });
239
+ }
230
240
  respond(true, {
231
241
  available: true,
232
242
  connected: deviceState.connected,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/taskmaster",
3
- "version": "1.0.104",
3
+ "version": "1.0.105",
4
4
  "description": "AI-powered business assistant for small businesses",
5
5
  "publishConfig": {
6
6
  "access": "public"