@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 +1 -1
- package/VERCEL_QUESTIONS.md +1 -1
- package/VERCEL_SETUP.md +1 -1
- package/dist/tomorrowos.d.ts +2 -2
- package/dist/tomorrowos.js +2 -2
- package/package.json +1 -1
- package/templates/cms-starter/package.json +2 -2
- package/templates/cms-starter/public/index.html +1 -1
- package/templates/cms-starter/public/methods.js +1 -1
- package/templates/cms-starter-v0/cms-panel/index.html +1 -1
- package/templates/cms-starter-v0/cms-panel/methods.js +1 -1
- package/templates/cms-starter-v0/package.json +2 -2
package/LOVABLE_SETUP.md
CHANGED
package/VERCEL_QUESTIONS.md
CHANGED
|
@@ -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.
|
|
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`
|
|
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).
|
package/dist/tomorrowos.d.ts
CHANGED
|
@@ -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
|
|
153
|
-
*
|
|
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;
|
package/dist/tomorrowos.js
CHANGED
|
@@ -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
|
|
479
|
-
*
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
20
|
+
"@tomorrowos/sdk": "^0.9.50",
|
|
21
21
|
"dotenv": "^17.2.3",
|
|
22
22
|
"tsx": "^4.19.0"
|
|
23
23
|
},
|