dsh-client-ui-skin-tianlight 2.2.9 → 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 CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schema": 1,
3
3
  "product": "dsh-client-ui-skin-tianlight",
4
- "version": "2.2.9",
5
- "commit": "d8be27b5fde96ab153bbcaa2fbb131a2bbd8d143",
6
- "builtAt": "2026-11-16T16:24:28+08:00",
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.9";
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
@@ -4154,8 +4154,10 @@ body[data-dsh-tianlight] [id='root'] {
4154
4154
  position: relative !important;
4155
4155
  z-index: 1 !important;
4156
4156
  /* Surfaces can be fully transparent, so text sits straight on a moving video.
4157
- A hairline shadow is inherited by every text node and costs no wallpaper. */
4158
- text-shadow: 0 1px 2px rgba(255, 255, 255, 0.62), 0 0 1px rgba(255, 255, 255, 0.42);
4157
+ v2.2.9: light theme uses a faint DARK shadow. The old white 0.62/0.42 halo lit
4158
+ every glyph from behind and made a bright wallpaper look grey-white overall;
4159
+ a dark shadow separates dark ink from a bright sky without a glow. */
4160
+ text-shadow: 0 1px 2px rgba(10, 30, 50, 0.24), 0 0 1px rgba(10, 30, 50, 0.16);
4159
4161
  }
4160
4162
  body[data-dsh-tianlight][data-ds-dark-theme] [id='root'] {
4161
4163
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.66), 0 0 1px rgba(0, 0, 0, 0.45);
@@ -5713,16 +5715,10 @@ body[data-dsh-tianlight] [data-tl-cat] > [data-tl-catmenu] {
5713
5715
  justify-content: center;
5714
5716
  }
5715
5717
 
5716
- /* ---- v1.0.0 liquid glass depth: off / frosted / soft / real ----
5717
- The treatment lives on the scene layer (behind the product UI) as a STATIC
5718
- surface stack: tiled grain + cool tint + diagonal sheen + top-left specular.
5719
- R2 energy pass: the live backdrop-filter is gone from this layer.
5720
- Blurring the whole viewport behind a playing 4K wallpaper re-ran the blur for
5721
- every decoded video frame, for a treatment the period-adaptive overlay
5722
- (--tl-period-dim 0.02-0.04) usually made nearly invisible. A static gradient /
5723
- grain veil costs nothing per frame. Glass on the product's own bounded surfaces
5724
- (composer, menus, pills) keeps its blur; those are small layers, not a
5725
- full-screen composite. */
5718
+ /* ---- legacy liquid-glass tokens (still consumed by the hub preview/pills) ----
5719
+ v2.2.9: the depth is no longer painted on the scene layer. The token stack below
5720
+ remains only for the small self-owned preview swatch; bounded panels use the new
5721
+ host-tint / ::before-blur / ::after-edge recipe at the end of this sheet. */
5726
5722
  body[data-dsh-tianlight] {
5727
5723
  --tl-liquid-blur: 0px;
5728
5724
  --tl-liquid-sat: 1;
@@ -5767,11 +5763,8 @@ body[data-dsh-tianlight] {
5767
5763
  sidebar edge was worst). Separation is the surface stack, the broad inner lens
5768
5764
  shadow and the outer soft glow; only a 0.12-alpha hairline ring remains. */
5769
5765
  --tl-liquid-rim-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
5770
- /* A broad, soft inner edge is what makes a pane read as thick glass rather than a
5771
- tinted rectangle: the centre stays clear, the border gathers a little shadow. */
5772
- --tl-liquid-lens-shadow:
5773
- inset 0 0 22px rgba(8, 24, 42, 0.10),
5774
- inset 0 0 60px rgba(8, 24, 42, 0.05);
5766
+ /* v2.2.9: the 22px/60px inner lens shadow was the main "the pane base is too dark"
5767
+ contributor. Bounded surfaces now use one inset top/bottom hairline instead. */
5775
5768
  --tl-liquid-glow-shadow: 0 0 calc(6px + 14px * var(--tl-liquid-sheen)) rgba(150, 200, 250, calc(var(--tl-liquid-sheen) * 0.10));
5776
5769
  }
5777
5770
  body[data-dsh-tianlight][data-tl-glass-effective="soft"] {
@@ -14436,6 +14429,18 @@ body[data-dsh-tianlight] .tl-fx-readout {
14436
14429
  const weatherController = {
14437
14430
  read: weatherSnapshot,
14438
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
+ },
14439
14444
  apply: (patch) => {
14440
14445
  if (patch !== null && typeof patch === "object") {
14441
14446
  if (patch.enabled === true || patch.enabled === false) weatherState.enabled = patch.enabled;
@@ -16338,6 +16343,9 @@ body[data-dsh-tianlight] [data-tl-group="context"] .tl-fx-hint {
16338
16343
  const currentWeather = weatherController.state();
16339
16344
  const unchanged = currentWeather.lastError === "" && weatherValuesEqual(currentWeather.last, last);
16340
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();
16341
16349
  applyWeatherAmbience(last.code, last.isDay);
16342
16350
  return true;
16343
16351
  }
package/lib/index.js CHANGED
@@ -57,7 +57,7 @@ const SCENE_FRAME = resolve(HERE, 'scene-frame.html')
57
57
  /**
58
58
  * Host side of the `/skin-tianlight` route-contract handshake. The browser half
59
59
  * sends the value it expects (`_engines?api=`) and gets `stale: true` back when
60
- * this process speaks a different contract 鈥?the one case a Ctrl+F5 refresh cannot
60
+ * this process speaks a different contract — the one case a Ctrl+F5 refresh cannot
61
61
  * fix by itself. Change it ONLY when a route in the dispatch table changes shape;
62
62
  * bumping it with every release brought back the needless "restart DSH" hint. Keep
63
63
  * in sync with `HOST_API` in `src/10-constants.js`.
@@ -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.9'
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
@@ -338,7 +338,7 @@ function bindRoutes(ctx) {
338
338
 
339
339
  /**
340
340
  * v2.0.1 persistent user data (see lib/host-paths.js header for the evidence).
341
- * The DSH host provides `profileContext` (`hostCtx.provide("profileContext", 鈥?` in its
341
+ * The DSH host provides `profileContext` (`hostCtx.provide("profileContext")` in its
342
342
  * profile-boot on 0.2.0 / 0.2.1 / 0.2.2) with the running profile's absolute `dir`, so
343
343
  * plugin data lives in `<profile.dir>/tianlight` and survives plugin uninstall/upgrade.
344
344
  * Legacy plugin-directory data is copied once and never deleted.
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.9",
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.9",
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。",