@tomorrowos/sdk 0.9.46 → 0.9.50

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.
package/LOVABLE_SETUP.md CHANGED
@@ -347,7 +347,7 @@ Copy the same keys to the **Node host** env.
347
347
  "start": "tsx server.ts"
348
348
  },
349
349
  "dependencies": {
350
- "@tomorrowos/sdk": "^0.9.44",
350
+ "@tomorrowos/sdk": "^0.9.50",
351
351
  "dotenv": "^17.2.3",
352
352
  "tsx": "^4.19.0"
353
353
  }
@@ -1,6 +1,6 @@
1
1
  # Vercel / v0 閳?Verbatim question bank
2
2
 
3
- > **Protocol:** `vercel-questions/1.0` (pairs with `VERCEL_SETUP.md` 1.9+ / `@tomorrowos/sdk` 0.9.44+)
3
+ > **Protocol:** `vercel-questions/1.0` (pairs with `VERCEL_SETUP.md` 1.9+ / `@tomorrowos/sdk` 0.9.50+)
4
4
  > **For Agents:** When asking the user a setup question, **copy-paste the block below for that step EXACTLY**.
5
5
  > Do **not** paraphrase, reorder, rename options, or invent alternatives (no S3, no Supabase Storage, no 閳ユ窂lob recommended閳? no 閳ユ竸isable media閳?.
6
6
  > After each answer, configure per `VERCEL_SETUP.md`, then paste the **next** block.
package/VERCEL_SETUP.md CHANGED
@@ -5,7 +5,7 @@
5
5
  >
6
6
  > **On Vercel, this file is the setup questionnaire** (not `REPLIT_SETUP.md`, not `LLM_PROMPT.md`).
7
7
  >
8
- > Protocol id: `vercel-setup/1.9` ? pairs with `@tomorrowos/sdk` **0.9.44+** (`templates/cms-starter-v0`, Fluid Functions WebSockets).
8
+ > Protocol id: `vercel-setup/1.9` pairs with `@tomorrowos/sdk` **0.9.50+** (`templates/cms-starter-v0`, Fluid Functions WebSockets).
9
9
  >
10
10
  > **Questions source of truth:** `VERCEL_QUESTIONS.md` ? Agents must **open that file and paste each Q block verbatim**. Do not paraphrase.
11
11
  > **Copy questions verbatim from `VERCEL_QUESTIONS.md`.** Do not invent alternate Q2 options (no ?Supabase Storage?? no S3, no ?disable media?? no making Blob the recommended option).
@@ -149,8 +149,8 @@ export declare class TomorrowOS extends EventEmitter {
149
149
  pushed: boolean;
150
150
  }>;
151
151
  /**
152
- * Clear the daily on/off timer. The player keeps its current mute / power-save
153
- * state until a new timer is set.
152
+ * Clear the daily on/off timer and push null to the device.
153
+ * Connected players drop the schedule and turn the screen back on.
154
154
  */
155
155
  clearDeviceOnOffTimer(deviceId: string): Promise<{
156
156
  deviceId: string;
@@ -475,8 +475,8 @@ export class TomorrowOS extends EventEmitter {
475
475
  return { deviceId: id, onOffTimer, pushed };
476
476
  }
477
477
  /**
478
- * Clear the daily on/off timer. The player keeps its current mute / power-save
479
- * state until a new timer is set.
478
+ * Clear the daily on/off timer and push null to the device.
479
+ * Connected players drop the schedule and turn the screen back on.
480
480
  */
481
481
  async clearDeviceOnOffTimer(deviceId) {
482
482
  const id = String(deviceId || "").trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomorrowos/sdk",
3
- "version": "0.9.46",
3
+ "version": "0.9.50",
4
4
  "description": "TomorrowOS CMS server SDK - WebSocket transport, pairing, device commands, optional static CMS UI. Includes CLI (tomorrowos init / build) and starter templates.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-cms",
3
- "version": "0.9.44",
3
+ "version": "0.9.50",
4
4
  "description": "CMS server on @tomorrowos/sdk. Add your UI (React, static files, etc.) alongside this server.",
5
5
  "private": true,
6
6
  "type": "module",
@@ -13,7 +13,7 @@
13
13
  "build-player": "tomorrowos build --platform tizen"
14
14
  },
15
15
  "dependencies": {
16
- "@tomorrowos/sdk": "^0.9.44",
16
+ "@tomorrowos/sdk": "^0.9.50",
17
17
  "dotenv": "^17.2.3",
18
18
  "tsx": "^4.19.0"
19
19
  },
@@ -187,7 +187,7 @@
187
187
  <h2>On / off timer</h2>
188
188
  <p class="hint" id="onOffTimerModalHint">
189
189
  Daily on/off times follow the device clock. Off blacks the screen; the player stays powered and connected to the CMS.
190
- Removing the timer stops the schedule and leaves the screen in its current on or off state until you set a timer again.
190
+ Removing the timer clears the schedule and turns the screen back on.
191
191
  </p>
192
192
  <div class="on-off-timer-grid">
193
193
  <label class="field-label">
@@ -1999,7 +1999,7 @@ async function removeOnOffTimerModal() {
1999
1999
 
2000
2000
  if (
2001
2001
  !confirm(
2002
- "Remove the on/off timer? The screen will stay in its current on or off state until you set a timer again."
2002
+ "Remove the on/off timer? The schedule will be cleared and the screen will turn back on."
2003
2003
  )
2004
2004
  ) {
2005
2005
  return;
@@ -187,7 +187,7 @@
187
187
  <h2>On / off timer</h2>
188
188
  <p class="hint" id="onOffTimerModalHint">
189
189
  Daily on/off times follow the device clock. Off blacks the screen; the player stays powered and connected to the CMS.
190
- Removing the timer stops the schedule and leaves the screen in its current on or off state until you set a timer again.
190
+ Removing the timer clears the schedule and turns the screen back on.
191
191
  </p>
192
192
  <div class="on-off-timer-grid">
193
193
  <label class="field-label">
@@ -2000,7 +2000,7 @@ async function removeOnOffTimerModal() {
2000
2000
 
2001
2001
  if (
2002
2002
  !confirm(
2003
- "Remove the on/off timer? The screen will stay in its current on or off state until you set a timer again."
2003
+ "Remove the on/off timer? The schedule will be cleared and the screen will turn back on."
2004
2004
  )
2005
2005
  ) {
2006
2006
  return;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-cms",
3
- "version": "0.9.44",
3
+ "version": "0.9.50",
4
4
  "description": "TomorrowOS CMS for Vercel / v0 Publish (Fluid Function + WebSockets + optional Next Preview).",
5
5
  "private": true,
6
6
  "type": "module",
@@ -17,7 +17,7 @@
17
17
  "build-player": "tomorrowos build --platform tizen"
18
18
  },
19
19
  "dependencies": {
20
- "@tomorrowos/sdk": "^0.9.44",
20
+ "@tomorrowos/sdk": "^0.9.50",
21
21
  "dotenv": "^17.2.3",
22
22
  "tsx": "^4.19.0"
23
23
  },