dsh-client-ui-skin-tianlight 2.2.10 → 2.2.11
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/build-info.json +3 -3
- package/lib/client.js +16 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/skin.json +1 -1
package/build-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"product": "dsh-client-ui-skin-tianlight",
|
|
4
|
-
"version": "2.2.
|
|
5
|
-
"commit": "
|
|
6
|
-
"builtAt": "2026-11-16T19:
|
|
4
|
+
"version": "2.2.11",
|
|
5
|
+
"commit": "4a636a0ffcf85c87d46ff3135ec721b391bc9a10",
|
|
6
|
+
"builtAt": "2026-11-16T19:22:48+08:00",
|
|
7
7
|
"source": "pack"
|
|
8
8
|
}
|
package/lib/client.js
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
* must equal `package.json` `version`; tools/test.mjs fails the chain when the
|
|
56
56
|
* two drift (the 2.1.0-2.1.3 builds printed a stale "2.0.4").
|
|
57
57
|
*/
|
|
58
|
-
const TL_BUILD_VERSION = "2.2.
|
|
58
|
+
const TL_BUILD_VERSION = "2.2.11";
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* Host identity last reported by `_engines`: `build` is the host's
|
|
@@ -14429,6 +14429,18 @@ body[data-dsh-tianlight] .tl-fx-readout {
|
|
|
14429
14429
|
const weatherController = {
|
|
14430
14430
|
read: weatherSnapshot,
|
|
14431
14431
|
state: weatherSnapshot,
|
|
14432
|
+
/**
|
|
14433
|
+
* v2.2.11: notify subscribers without persisting. An automatic poll that
|
|
14434
|
+
* returns the SAME code/temperature still refreshes the "updated at" time,
|
|
14435
|
+
* but must not write the synced snapshot (that bumps the host revision).
|
|
14436
|
+
* Before this, weatherFreshAt advanced invisibly and the chip kept showing
|
|
14437
|
+
* the old timestamp until the values themselves changed or a manual
|
|
14438
|
+
* refresh wrote the whole snapshot.
|
|
14439
|
+
*/
|
|
14440
|
+
touch: () => {
|
|
14441
|
+
weatherNotify();
|
|
14442
|
+
return weatherSnapshot();
|
|
14443
|
+
},
|
|
14432
14444
|
apply: (patch) => {
|
|
14433
14445
|
if (patch !== null && typeof patch === "object") {
|
|
14434
14446
|
if (patch.enabled === true || patch.enabled === false) weatherState.enabled = patch.enabled;
|
|
@@ -16331,6 +16343,9 @@ body[data-dsh-tianlight] [data-tl-group="context"] .tl-fx-hint {
|
|
|
16331
16343
|
const currentWeather = weatherController.state();
|
|
16332
16344
|
const unchanged = currentWeather.lastError === "" && weatherValuesEqual(currentWeather.last, last);
|
|
16333
16345
|
if (unchanged && source !== "manual") {
|
|
16346
|
+
// The value did not change, but this poll DID succeed: repaint the
|
|
16347
|
+
// chip/hub with the new "updated at" time without a storage write.
|
|
16348
|
+
weatherController.touch();
|
|
16334
16349
|
applyWeatherAmbience(last.code, last.isDay);
|
|
16335
16350
|
return true;
|
|
16336
16351
|
}
|
package/lib/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const HOST_API = '3'
|
|
|
69
69
|
* manifest is stamped with it. The handshake no longer compares it, so a
|
|
70
70
|
* browser-half-only update can run against an unchanged host process.
|
|
71
71
|
*/
|
|
72
|
-
const BUILD = '2.2.
|
|
72
|
+
const BUILD = '2.2.11'
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* Identity handed to the route modules that need it. `HOST_API`/`BUILD` stay in this
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-client-ui-skin-tianlight",
|
|
3
3
|
"description": "Tianlight skin for the dsh web GUI: Makoto Shinkai daylight skies, an 18.5s cinematic opening film / compact splash with a 0.4x low-end tier, delayed performance fallback, optional reduced-motion override and explicit hint/Esc skip, a looping video wallpaper, a wallpaper library with upload/rotation, optional WebWallGL scene support, and a draggable Mint chibi-cat desktop companion",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"bin": {
|
package/skin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "tianlight",
|
|
3
3
|
"name": "天光",
|
|
4
4
|
"nameEn": "TIANLIGHT",
|
|
5
|
-
"version": "2.2.
|
|
5
|
+
"version": "2.2.11",
|
|
6
6
|
"author": "local",
|
|
7
7
|
"tagline": "新海诚式天光 ・ 18.5 秒长片开机动画/简洁版(可选减少动态效果覆盖;仅提示/Esc 跳过) ・ 动态壁纸与可上传壁纸库 ・ 可选 WebWallGL 场景 ・ 薄荷小猫桌宠 ・ 职责通道(role pack → 桌宠气泡/选择) ・ 生活节奏与主动开口预算 ・ 可替换图片/≤32MiB 视频形象 ・ 液态玻璃三档 ・ AI 桌宠(严格权限) ・ 接入 DSH Agent(受控) ・ 桌宠即入口 ・ 兼容 DSH 0.2.0–0.2.2",
|
|
8
8
|
"description": "天光是一套新海诚式日光天空主题:全屏循环视频壁纸与半透明天光玻璃面板,可选 18.5 秒长片或简洁版开机动画。壁纸库支持上传、轮播、标签与画面滤镜,并可接入 Wallpaper Engine 场景;桌宠「薄荷小猫」会陪你看时间、记事情、聊两句,角色中枢集中管理外观、生活节奏与权限。同一份构建适配 DSH 0.2.0 / 0.2.1 / 0.2.2。",
|