dsh-remote-plugin 0.9.0 → 0.9.1

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.
@@ -1,6 +1,7 @@
1
1
  /* Shared settings for the host-owned relay; no credentials enter browser storage. */
2
2
  ;(function(root) {
3
3
  'use strict'
4
+ const e2eeOff = root.DSH_REMOTE_E2EE_DISABLED === true
4
5
  const text = (zh, en) => root.I18N?.lang === 'en' ? en : zh
5
6
  const el = (tag, cls, value) => { const node=document.createElement(tag);if(cls)node.className=cls;if(value)node.textContent=value;return node }
6
7
  const messages = {
@@ -25,11 +26,12 @@
25
26
  none:['本设备没有已保存的登记','No application saved on this device'],
26
27
  unavailable:['暂时无法确认登记进度','Could not verify application status'],
27
28
  draft:['已登记 · 待提交','Registered · Not submitted'],submitted:['已提交 · 等待审核','Submitted · In review'],
28
- approved:['审核通过','Approved'],renewable:['审核通过 · 可续费','Approved · Renewal available'],
29
+ approved:['审核通过','Approved'],renewable:['已有资格 · 可办理续费','Existing service · Renewal available'],
29
30
  expired:['登记或资格已到期','Application or eligibility expired'],rejected:['审核未通过','Not approved'],revoked:['资格已撤销','Eligibility revoked']
30
31
  }
31
32
  function mount(target, { connection, path = '/relay', credentials, phonePairingCode, syncActivation, deviceManagement = true, service = false } = {}) {
32
33
  if (!target || target.dataset.relayMounted) return
34
+ if (e2eeOff) { deviceManagement = false; phonePairingCode = null }
33
35
  target.dataset.relayMounted='true';target.classList.add('relay-settings')
34
36
  const heading=el('div','relay-heading'),title=el('h3'),badge=el('span','relay-badge')
35
37
  heading.append(title,badge)
@@ -57,9 +59,9 @@
57
59
  if(registrationLink.dataset.automatic==='true'){
58
60
  event.preventDefault()
59
61
  void openAutomaticCheckout()
60
- }else if(root.DshSponsor?.openPortal())event.preventDefault()
62
+ }else if(root.DshSponsor?.openPortal(registrationLink.dataset.manage==='true'))event.preventDefault()
61
63
  })
62
- registrationRecover.addEventListener('click',event=>{if(root.DshSponsor?.openPortal())event.preventDefault()})
64
+ registrationRecover.addEventListener('click',event=>{if(root.DshSponsor?.openPortal(true))event.preventDefault()})
63
65
  const address=el('div','relay-address'),link=el('a'),copy=el('button');copy.type='button';link.target='_blank';link.rel='noopener noreferrer';address.append(link,copy)
64
66
  const quota=el('div','relay-quota'),meter=el('progress'),usage=el('p'),reset=el('p','relay-muted');meter.max=100;quota.append(usage,meter,reset)
65
67
  const plan=el('p','relay-muted'),binding=el('p','relay-muted'),form=el('form','relay-form'),keyLabel=el('label'),keyInput=el('input')
@@ -116,7 +118,7 @@
116
118
  if(service)target.append(registration,hostPanel)
117
119
  const deviceTarget=el('div','relay-device-panel')
118
120
  if(deviceManagement)target.append(deviceTarget)
119
- const devices=deviceManagement?root.DshRelayDevices?.mount(deviceTarget,{connection,path:path+'/e2ee',credentials}):null
121
+ let devices=null
120
122
  let activeSetup='',pendingSetup=''
121
123
  function closeCode(){
122
124
  activeSetup='';pendingSetup='';code.textContent='';phoneStatus.textContent=''
@@ -154,9 +156,14 @@
154
156
  return ctx
155
157
  }
156
158
  function render() {
159
+ const e2eeAllowed = !!value && value?.e2ee?.allowed !== false
160
+ if (deviceManagement) {
161
+ deviceTarget.hidden = !e2eeAllowed
162
+ if (e2eeAllowed && !devices) devices=root.DshRelayDevices?.mount(deviceTarget,{connection,path:path+'/e2ee',credentials})
163
+ }
157
164
  devices?.update(value)
158
165
  if(phonePairingCode){
159
- phoneGuide.hidden=value?.canManageDevices!==true||!value.enabled||!value.e2ee?.configured
166
+ phoneGuide.hidden=!e2eeAllowed||value?.canManageDevices!==true||!value.enabled||!value.e2ee?.configured
160
167
  if(phoneGuide.hidden&&(activeSetup||pendingSetup))closeCode()
161
168
  const activity=Array.isArray(value?.pairingActivity)?value.pairingActivity:[]
162
169
  if(activeSetup){
@@ -218,7 +225,7 @@
218
225
  toggle.hidden=!value?.configured;toggle.disabled=busy||service&&readError;toggle.textContent=text(value?.enabled?'停用中转':'开启中转',value?.enabled?'Disable relay':'Enable relay')
219
226
  refresh.textContent=text('刷新状态','Refresh');refresh.disabled=busy||loading
220
227
  takeover.hidden=!value?.legacyAvailable;takeover.disabled=busy;takeover.textContent=text('接管已有试用连接','Take over existing trial')
221
- hint.textContent=value?.quotaPending?text('等待云端确认流量额度…','Waiting for cloud quota…'):service?(value?.enabled?text('停用会断开此公网入口。','Disabling disconnects this public route.'):''):value?.e2ee?.configured?text('Android 可从局域网扫码配对。配对文件可在设备管理中手动创建。','Pair Android over the LAN using a connection code. Manual pairing files are available in device management.'):text('手机使用此公网地址和原 Remote 访问令牌。停用会断开通过此入口的连接;授权到期或用满后,请通过本地地址管理。','Use this URL and your existing Remote access token. Disabling disconnects this route; use a local address after expiry or quota exhaustion.')
228
+ hint.textContent=e2eeOff?text('此版本已停用端到端加密;请使用局域网地址或原有公网中转令牌。','End-to-end encryption is disabled in this version. Use a LAN address or the original relay token.'):!e2eeAllowed?text('基础档不含端到端加密。需要加密入口时,请开通或续费时选择流量包。','The basic plan does not include end-to-end encryption. Choose a data pack when opening or renewing to use it.'):value?.quotaPending?text('等待云端确认流量额度…','Waiting for cloud quota…'):service?(value?.enabled?text('停用会断开此公网入口。','Disabling disconnects this public route.'):''):!value?.e2ee?.configured?text('流量包支持端到端加密,默认关闭。可在主机本地管理页启用加密入口后再配对。','The data pack supports end-to-end encryption, off by default. Enable the encrypted host entry locally before pairing.'):text('Android 可从局域网扫码配对。配对文件可在设备管理中手动创建。','Pair Android over the LAN using a connection code. Manual pairing files are available in device management.')
222
229
  }
223
230
  function renderActivation() {
224
231
  const request = value?.activationRequest
@@ -349,23 +356,36 @@
349
356
  const raw=checkRegistration?bridge.cloudRelayRegistration():'unavailable'
350
357
  const state=Object.hasOwn(registrationLabels,raw)?raw:'unavailable'
351
358
  const verifiedUnbound=hostConnected&&!readError&&value?.configured===false&&!value.legacyAvailable&&value.phase!=='quota-exceeded'
352
- const canStart=verifiedUnbound&&(state==='none'||!bridge)
353
- const automatic=automaticSupported&&canStart&&value.activationImport===true&&value.canPairLocally===true
359
+ const canStart=(state==='none'||!bridge)&&(verifiedUnbound||!hostConnected)
360
+ const automatic=automaticSupported&&canStart&&verifiedUnbound&&value.activationImport===true&&value.canPairLocally===true
354
361
  const canRestart=verifiedUnbound&&['expired','rejected','revoked'].includes(state)
355
- const manageRegistration=!(canStart||canRestart||state==='none'&&!hostConnected||!bridge&&!hostConnected)
362
+ const manageRegistration=!(canStart||canRestart)
363
+ const expiry=['idle','loading','none','unavailable','revoked'].includes(state)?0:bridge?.cloudRelayRegistrationExpiresAt?.()
364
+ const expires=Number.isSafeInteger(expiry)&&expiry>0&&expiry<=8640000000000000
365
+ ?new Date(expiry).toLocaleString(text('zh-CN','en-GB'),{timeZone:'Asia/Shanghai',hour12:false}):''
366
+ const canAddPacks=state==='approved'&&bridge?.cloudRelayRegistrationCanAddPacks?.()===true
356
367
  registrationTitle.textContent=text('云中转套餐','Cloud relay plans')
357
368
  const label=text(...registrationLabels[state])
358
369
  if(registrationStatus.textContent!==label)registrationStatus.textContent=label
359
370
  registrationHint.textContent=state==='none'?text('在别处登记过?用原查询凭证恢复后,这台 App 就能收到该编号的运营消息。','Applied elsewhere? Recover your application to receive messages for its number in this app.'):state==='unavailable'?text('可用原查询凭证核对,确认前请勿重复付款。','Verify with your recovery code before paying again.'):''
360
371
  if(automatic)registrationHint.textContent=text('申请编号自动保存。审核通过后,App 会尝试配置当前选定的局域网主机。','The application is saved here. After approval, the app will try to configure the selected host over the LAN.')
372
+ else if(expires)registrationHint.textContent=text('服务有效期至 '+expires+'(北京时间)','Service expiry: '+expires+' (Beijing time)')
361
373
  registrationLink.dataset.automatic=String(automatic)
362
- if(root.DshSponsor)registrationLink.href=registrationRecover.href=root.DshSponsor.applicationUrl
374
+ registrationLink.dataset.manage=String(manageRegistration)
375
+ if(root.DshSponsor){
376
+ const portal=root.DshSponsor.applicationUrl
377
+ registrationLink.href=portal+(manageRegistration?'#manage':'')
378
+ registrationRecover.href=portal+'#manage'
379
+ }
363
380
  registrationLink.textContent=state==='draft'?text('继续办理','Continue application')
364
381
  :state==='submitted'?text('查看审核进度','Check review status')
365
- :manageRegistration?text('续费 / 购买流量包','Renew or buy data packs')
382
+ :state==='renewable'?text('续费','Renew')
383
+ :canAddPacks?text('购买流量包','Buy data packs')
384
+ :state==='approved'?text('查看云中转资格','View relay service')
385
+ :manageRegistration?text('查询已有申请','Find an existing application')
366
386
  :automatic?text('开通并自动配置此主机','Apply and set up this host automatically')
367
387
  :text('查看套餐并开通','View plans and activate')
368
- registrationRecover.textContent=text('续费 / 购买流量包','Renew or buy data packs')
388
+ registrationRecover.textContent=text('查询与续费','Check status and renew')
369
389
  registrationRecover.hidden=manageRegistration
370
390
  registrationRefresh.hidden=!checkRegistration
371
391
  registrationRefresh.disabled=state==='loading'
@@ -0,0 +1,85 @@
1
+ /* Shared session-list cache keys and migration. No dependencies. */
2
+ 'use strict';
3
+ ;(function(root) {
4
+ const CANONICAL = 'sessionsCacheV2:'
5
+ const HISTORY = 'historyCacheV2:'
6
+ const LEGACY_SUFFIX = ':sessions'
7
+
8
+ function scopeSuffix(scope) {
9
+ const value = String(scope || '')
10
+ return value.startsWith(HISTORY) ? value.slice(HISTORY.length) : value
11
+ }
12
+ function keys(scope) {
13
+ return { canonical: CANONICAL + scopeSuffix(scope), legacy: String(scope || '') + LEGACY_SUFFIX }
14
+ }
15
+ function keysFromCanonical(canonical) {
16
+ const value = String(canonical || '')
17
+ const suffix = value.startsWith(CANONICAL) ? value.slice(CANONICAL.length) : scopeSuffix(value)
18
+ return { canonical: CANONICAL + suffix, legacy: HISTORY + suffix + LEGACY_SUFFIX }
19
+ }
20
+ function parse(raw) {
21
+ if (typeof raw !== 'string' || !raw) return null
22
+ try {
23
+ const value = JSON.parse(raw)
24
+ return Array.isArray(value) ? value : null
25
+ } catch { return null }
26
+ }
27
+ function readRaw(key) {
28
+ try { return root.localStorage.getItem(key) } catch { return null }
29
+ }
30
+ function writeRaw(key, value) {
31
+ try { root.localStorage.setItem(key, JSON.stringify(value)); return true } catch { return false }
32
+ }
33
+ function readPair(pair) {
34
+ const current = parse(readRaw(pair.canonical))
35
+ // A valid [] is authoritative: do not fall back to a stale legacy copy.
36
+ if (current) return current
37
+ const previous = parse(readRaw(pair.legacy))
38
+ if (!previous) return null
39
+ // Keep the legacy copy for the rollback window; only fill the canonical key.
40
+ writeRaw(pair.canonical, previous)
41
+ return previous
42
+ }
43
+ function read(scope) {
44
+ return readPair(keys(scope))
45
+ }
46
+ function readKey(canonical) {
47
+ return readPair(keysFromCanonical(canonical))
48
+ }
49
+ function writePair(pair, list) {
50
+ const value = Array.isArray(list) ? list.slice(0, 80) : []
51
+ if (!writeRaw(pair.canonical, value)) return false
52
+ // Mirror only when a legacy copy already exists, so fresh installs do not create it.
53
+ if (readRaw(pair.legacy) !== null) writeRaw(pair.legacy, value)
54
+ return true
55
+ }
56
+ function write(scope, list) {
57
+ return writePair(keys(scope), list)
58
+ }
59
+ function writeKey(canonical, list) {
60
+ return writePair(keysFromCanonical(canonical), list)
61
+ }
62
+ function clear(scope) {
63
+ const { canonical, legacy } = keys(scope)
64
+ let ok = true
65
+ try { root.localStorage.removeItem(canonical) } catch { ok = false }
66
+ try { root.localStorage.removeItem(legacy) } catch { ok = false }
67
+ return ok
68
+ }
69
+ function clearAll() {
70
+ let ok = true
71
+ try {
72
+ const doomed = []
73
+ for (let index = 0; index < root.localStorage.length; index++) {
74
+ const key = root.localStorage.key(index)
75
+ if (key && (key.startsWith(CANONICAL) || (key.startsWith(HISTORY) && key.endsWith(LEGACY_SUFFIX)))) doomed.push(key)
76
+ }
77
+ for (const key of doomed) root.localStorage.removeItem(key)
78
+ } catch { ok = false }
79
+ return ok
80
+ }
81
+
82
+ const api = { keys, keysFromCanonical, read, readKey, write, writeKey, clear, clearAll }
83
+ if (typeof module !== 'undefined' && module.exports) module.exports = api
84
+ else root.DshSessionCache = api
85
+ })(typeof window === 'undefined' ? globalThis : window)
@@ -1,5 +1,5 @@
1
- <!doctype html><html lang="zh-CN" data-theme="fish"><head><meta name="dsh-remote-build" content="62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
2
- <meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>蓝色大肥鱼 · 晴空海湾 · 组件预览</title><link rel="stylesheet" href="../../styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="../../workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><style>body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-header{margin-bottom:26px}.preview-header h1{font-size:29px;line-height:1.3;margin:10px 0}.preview-header p{font-size:14px;max-width:680px;color:var(--dsr-muted)}.preview-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:26px;align-items:start}iframe{display:block;width:100%;height:844px;border:1px solid var(--dsr-line);border-radius:18px;background:var(--dsr-bg)}.preview-card{padding:22px;margin:0 0 18px;background:var(--dsr-panel);border:1px solid var(--dsr-line);border-radius:12px}.preview-card h2{font-size:17px;margin:0 0 14px}.preview-card p,.preview-card li{font-size:13px;line-height:1.8;color:var(--dsr-muted)}.preview-icons{display:flex;align-items:center;gap:18px}.preview-icons img{width:58px;height:54px;object-fit:contain}.preview-links,.preview-switch{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin:12px 0}.preview-links a{color:var(--dsr-accent-strong)}.preview-switch button{padding:8px 16px;border:1px solid var(--dsr-line);border-radius:8px;background:var(--dsr-panel);color:var(--dsr-text);font:inherit}.preview-switch button[aria-pressed=true]{background:var(--dsr-accent);color:var(--dsr-on-accent)}@media(max-width:760px){.preview-layout{grid-template-columns:minmax(0,390px);justify-content:center}.preview-header h1{font-size:25px}}</style></head><body><main class="preview-shell"><header class="preview-header"><h1>蓝色大肥鱼 · 晴空海湾</h1><p>气泡、爱心、星星与蓝白内容卡。表情导航保留文字,立绘增加柔和贴纸边框。</p><nav class="preview-links"><a href="DESIGN.md">皮肤维护说明</a><a href="../../index.html?layout=mobile">实际手机入口</a><a href="../../desktop/desktop.html">实际桌面入口</a></nav><div class="preview-switch" role="group" aria-label="预览配色"><button type="button" data-preview-theme="fish" aria-pressed="true">蓝色大肥鱼</button></div></header><section class="preview-layout"><iframe id="phone" title="手机组件预览"></iframe><aside><section class="preview-card"><h2>表情导航 · 文字保留</h2><div class="preview-icons"><img src="icon.png" alt="会话表情"><img src="icon-wink.png" alt="文件表情"><img src="icon-star.png" alt="更多表情"></div><p>表情在原有图标位内展示,不向列表上方额外挂一排头像。文字、未读徽标与原有点击区保留。</p></section><section class="preview-card"><h2>角色与阅读层级</h2><p>原有角色图片全部保留,加入眨眼贴纸、粉色导航小圆垫和虚线贴纸框。气泡与星星留在阅读留白处。</p></section><section class="preview-card"><h2>实际界面验收</h2><ol><li>320/390px 手机与桌面布局。</li><li>立绘不压住标题和连接入口。</li><li>导航、输入区保持既有固定定位。</li><li>归档关闭、半滑、展开与确认框。</li></ol><p>此页是无主机连接的静态组件样板;完整交互以实际 WebUI 验收为准。</p></section></aside></section></main><template id="phone-components">
1
+ <!doctype html><html lang="zh-CN" data-theme="fish"><head><meta name="dsh-remote-build" content="bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
2
+ <meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>蓝色大肥鱼 · 晴空海湾 · 组件预览</title><link rel="stylesheet" href="../../styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="../../workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><style>body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-header{margin-bottom:26px}.preview-header h1{font-size:29px;line-height:1.3;margin:10px 0}.preview-header p{font-size:14px;max-width:680px;color:var(--dsr-muted)}.preview-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:26px;align-items:start}iframe{display:block;width:100%;height:844px;border:1px solid var(--dsr-line);border-radius:18px;background:var(--dsr-bg)}.preview-card{padding:22px;margin:0 0 18px;background:var(--dsr-panel);border:1px solid var(--dsr-line);border-radius:12px}.preview-card h2{font-size:17px;margin:0 0 14px}.preview-card p,.preview-card li{font-size:13px;line-height:1.8;color:var(--dsr-muted)}.preview-icons{display:flex;align-items:center;gap:18px}.preview-icons img{width:58px;height:54px;object-fit:contain}.preview-links,.preview-switch{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin:12px 0}.preview-links a{color:var(--dsr-accent-strong)}.preview-switch button{padding:8px 16px;border:1px solid var(--dsr-line);border-radius:8px;background:var(--dsr-panel);color:var(--dsr-text);font:inherit}.preview-switch button[aria-pressed=true]{background:var(--dsr-accent);color:var(--dsr-on-accent)}@media(max-width:760px){.preview-layout{grid-template-columns:minmax(0,390px);justify-content:center}.preview-header h1{font-size:25px}}</style></head><body><main class="preview-shell"><header class="preview-header"><h1>蓝色大肥鱼 · 晴空海湾</h1><p>气泡、爱心、星星与蓝白内容卡。表情导航保留文字,立绘增加柔和贴纸边框。</p><nav class="preview-links"><a href="DESIGN.md">皮肤维护说明</a><a href="../../index.html?layout=mobile">实际手机入口</a><a href="../../desktop/desktop.html">实际桌面入口</a></nav><div class="preview-switch" role="group" aria-label="预览配色"><button type="button" data-preview-theme="fish" aria-pressed="true">蓝色大肥鱼</button></div></header><section class="preview-layout"><iframe id="phone" title="手机组件预览"></iframe><aside><section class="preview-card"><h2>表情导航 · 文字保留</h2><div class="preview-icons"><img src="icon.png" alt="会话表情"><img src="icon-wink.png" alt="文件表情"><img src="icon-star.png" alt="更多表情"></div><p>表情在原有图标位内展示,不向列表上方额外挂一排头像。文字、未读徽标与原有点击区保留。</p></section><section class="preview-card"><h2>角色与阅读层级</h2><p>原有角色图片全部保留,加入眨眼贴纸、粉色导航小圆垫和虚线贴纸框。气泡与星星留在阅读留白处。</p></section><section class="preview-card"><h2>实际界面验收</h2><ol><li>320/390px 手机与桌面布局。</li><li>立绘不压住标题和连接入口。</li><li>导航、输入区保持既有固定定位。</li><li>归档关闭、半滑、展开与确认框。</li></ol><p>此页是无主机连接的静态组件样板;完整交互以实际 WebUI 验收为准。</p></section></aside></section></main><template id="phone-components">
3
3
  <header class="topbar"><div class="brand"><span class="brand-dot"></span><span>DSH Remote</span></div><span class="pill">未连接</span></header>
4
4
  <main class="main" id="main"><section class="view" id="view-home">
5
5
  <section class="workflow-start"><div class="workflow-page-head"><h1>工作空间</h1><button type="button" class="workflow-connection">工作电脑 · 连接详情</button><button type="button" class="home-doctor"><span>AI 排查问题</span><small>使用你的 DSH 和模型,只读诊断</small><b>›</b></button></div><div class="workspace-nav"><span>DSH Remote</span><button type="button" class="mini-btn">查看文件</button></div><button type="button" id="btn-new-session" class="mini-btn workflow-new-session">+ 新会话</button></section>
@@ -9,4 +9,4 @@
9
9
  <div class="session-swipe"><div class="session-card"><div class="sc-title">准备版本更新说明</div><div class="sc-meta">3 分钟前</div><div class="sc-workspace">⌂ dsh-remote</div></div></div>
10
10
  </section></main>
11
11
  <nav class="bottom-nav"><button type="button" class="nav-btn active" data-view="view-home"><span class="nav-ico">▦</span><span class="nav-label">会话</span></button><button type="button" class="nav-btn" data-view="view-files"><span class="nav-ico">↕</span><span class="nav-label">文件</span></button><button type="button" class="nav-btn" data-view="view-settings"><span class="nav-ico">⚙</span><span class="nav-label">更多</span></button></nav>
12
- </template><script>const base=new URL('../../',location.href).href;const frame=document.getElementById('phone');frame.srcdoc='<!doctype html><html lang="zh-CN" data-theme="fish"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skins/blue-fish/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>';document.querySelectorAll('[data-preview-theme]').forEach(button=>button.addEventListener('click',()=>{document.documentElement.dataset.theme=button.dataset.previewTheme;if(frame.contentDocument?.documentElement)frame.contentDocument.documentElement.dataset.theme=button.dataset.previewTheme;document.querySelectorAll('[data-preview-theme]').forEach(b=>b.setAttribute('aria-pressed',String(b===button)))}));</script></body></html>
12
+ </template><script>const base=new URL('../../',location.href).href;const frame=document.getElementById('phone');frame.srcdoc='<!doctype html><html lang="zh-CN" data-theme="fish"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skins/blue-fish/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>';document.querySelectorAll('[data-preview-theme]').forEach(button=>button.addEventListener('click',()=>{document.documentElement.dataset.theme=button.dataset.previewTheme;if(frame.contentDocument?.documentElement)frame.contentDocument.documentElement.dataset.theme=button.dataset.previewTheme;document.querySelectorAll('[data-preview-theme]').forEach(b=>b.setAttribute('aria-pressed',String(b===button)))}));</script></body></html>
@@ -1,13 +1,13 @@
1
1
  <!doctype html>
2
2
  <html lang="zh-CN" data-theme="bocchi">
3
3
  <head>
4
- <meta name="dsh-remote-build" content="62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
4
+ <meta name="dsh-remote-build" content="bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
5
5
  <meta charset="utf-8">
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1">
7
7
  <title>后藤一里 · 皮肤样板预览</title>
8
- <link rel="stylesheet" href="../../styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
9
- <link rel="stylesheet" href="../../workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
10
- <link rel="stylesheet" href="skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
8
+ <link rel="stylesheet" href="../../styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
9
+ <link rel="stylesheet" href="../../workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
10
+ <link rel="stylesheet" href="skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
11
11
  <style>
12
12
  /* 只负责展示页排版;画框内完全复用实际组件样式,不重画玻璃或背景。 */
13
13
  body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-label{font:11px ui-monospace,monospace;letter-spacing:.15em;color:var(--dsr-muted)}
@@ -49,7 +49,7 @@
49
49
  </template>
50
50
  <script>
51
51
  const base=new URL('../../',location.href).href
52
- document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="bocchi"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skins/bocchi/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
52
+ document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="bocchi"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skins/bocchi/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
53
53
  </script>
54
54
  </body>
55
55
  </html>
@@ -1,14 +1,14 @@
1
1
  <!doctype html>
2
2
  <html lang="zh-CN" data-theme="kita">
3
3
  <head>
4
- <meta name="dsh-remote-build" content="62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
4
+ <meta name="dsh-remote-build" content="bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
5
5
  <meta charset="utf-8">
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1">
7
7
  <title>喜多郁代 · 皮肤样板预览</title>
8
- <link rel="stylesheet" href="../../styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
9
- <link rel="stylesheet" href="../../workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
10
- <link rel="stylesheet" href="../kessoku/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
11
- <link rel="stylesheet" href="skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
8
+ <link rel="stylesheet" href="../../styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
9
+ <link rel="stylesheet" href="../../workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
10
+ <link rel="stylesheet" href="../kessoku/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
11
+ <link rel="stylesheet" href="skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
12
12
  <style>
13
13
  /* 只负责展示页排版;画框内完全复用实际组件样式,不重画玻璃或背景。 */
14
14
  body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-label{font:11px ui-monospace,monospace;letter-spacing:.15em;color:var(--dsr-muted)}
@@ -50,7 +50,7 @@
50
50
  </template>
51
51
  <script>
52
52
  const base=new URL('../../',location.href).href
53
- document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="kita"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skins/kessoku/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skins/kita/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
53
+ document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="kita"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skins/kessoku/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skins/kita/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
54
54
  </script>
55
55
  </body>
56
56
  </html>
@@ -1,14 +1,14 @@
1
1
  <!doctype html>
2
2
  <html lang="zh-CN" data-theme="miku">
3
3
  <head>
4
- <meta name="dsh-remote-build" content="62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
4
+ <meta name="dsh-remote-build" content="bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
5
5
  <meta charset="utf-8">
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <title>初音未来 · 皮肤预览</title>
8
- <link rel="stylesheet" href="../../theme-vars.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
9
- <link rel="stylesheet" href="../../styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
10
- <link rel="stylesheet" href="../../workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
11
- <link rel="stylesheet" href="skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
8
+ <link rel="stylesheet" href="../../theme-vars.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
9
+ <link rel="stylesheet" href="../../styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
10
+ <link rel="stylesheet" href="../../workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
11
+ <link rel="stylesheet" href="skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
12
12
  <style>
13
13
  body { min-height: 100vh; margin: 0; padding: 28px 16px; box-sizing: border-box; color: var(--dsr-text); font-family: system-ui, sans-serif; }
14
14
  main { width: min(100%, 740px); margin: auto; }
@@ -1,14 +1,14 @@
1
1
  <!doctype html>
2
2
  <html lang="zh-CN" data-theme="nijika">
3
3
  <head>
4
- <meta name="dsh-remote-build" content="62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
4
+ <meta name="dsh-remote-build" content="bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
5
5
  <meta charset="utf-8">
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1">
7
7
  <title>伊地知虹夏 · 皮肤样板预览</title>
8
- <link rel="stylesheet" href="../../styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
9
- <link rel="stylesheet" href="../../workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
10
- <link rel="stylesheet" href="../kessoku/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
11
- <link rel="stylesheet" href="skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
8
+ <link rel="stylesheet" href="../../styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
9
+ <link rel="stylesheet" href="../../workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
10
+ <link rel="stylesheet" href="../kessoku/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
11
+ <link rel="stylesheet" href="skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
12
12
  <style>
13
13
  /* 只负责展示页排版;画框内完全复用实际组件样式,不重画玻璃或背景。 */
14
14
  body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-label{font:11px ui-monospace,monospace;letter-spacing:.15em;color:var(--dsr-muted)}
@@ -50,7 +50,7 @@
50
50
  </template>
51
51
  <script>
52
52
  const base=new URL('../../',location.href).href
53
- document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="nijika"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skins/kessoku/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skins/nijika/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
53
+ document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="nijika"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skins/kessoku/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skins/nijika/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
54
54
  </script>
55
55
  </body>
56
56
  </html>
@@ -1,5 +1,5 @@
1
- <!doctype html><html lang="zh-CN" data-theme="penguin"><head><meta name="dsh-remote-build" content="62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
2
- <meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>企鹅女管 · 黑黄工业终端 · 组件预览</title><link rel="stylesheet" href="../../styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="../../workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><style>body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-header{margin-bottom:26px}.preview-header h1{font-size:29px;line-height:1.3;margin:10px 0}.preview-header p{font-size:14px;max-width:680px;color:var(--dsr-muted)}.preview-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:26px;align-items:start}iframe{display:block;width:100%;height:844px;border:1px solid var(--dsr-line);border-radius:18px;background:var(--dsr-bg)}.preview-card{padding:22px;margin:0 0 18px;background:var(--dsr-panel);border:1px solid var(--dsr-line);border-radius:12px}.preview-card h2{font-size:17px;margin:0 0 14px}.preview-card p,.preview-card li{font-size:13px;line-height:1.8;color:var(--dsr-muted)}.preview-icons{display:flex;align-items:center;gap:18px}.preview-icons img{width:58px;height:54px;object-fit:contain}.preview-links,.preview-switch{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin:12px 0}.preview-links a{color:var(--dsr-accent-strong)}.preview-switch button{padding:8px 16px;border:1px solid var(--dsr-line);border-radius:8px;background:var(--dsr-panel);color:var(--dsr-text);font:inherit}.preview-switch button[aria-pressed=true]{background:var(--dsr-accent);color:var(--dsr-on-accent)}@media(max-width:760px){.preview-layout{grid-template-columns:minmax(0,390px);justify-content:center}.preview-header h1{font-size:25px}}</style></head><body><main class="preview-shell"><header class="preview-header"><h1>企鹅女管 · 黑黄工业终端</h1><p>新增官网三角阵列、终末地工业铭牌和帝江/集成工业主题线路图,保留黑黄终端界面。 </p><nav class="preview-links"><a href="DESIGN.md">皮肤维护说明</a><a href="../../index.html?layout=mobile">实际手机入口</a><a href="../../desktop/desktop.html">实际桌面入口</a></nav><div class="preview-switch" role="group" aria-label="预览配色"><button type="button" data-preview-theme="penguin" aria-pressed="true">白昼</button><button type="button" data-preview-theme="penguin-night" aria-pressed="false">极夜</button></div></header><section class="preview-layout"><iframe id="phone" title="手机组件预览"></iframe><aside><section class="preview-card"><h2>表情导航 · 文字保留</h2><div class="preview-icons"><img src="icon.png" alt="会话表情"><img src="icon-dizzy.png" alt="文件表情"><img src="icon-wink.png" alt="更多表情"></div><p>表情在原有图标位内展示,不向列表上方额外挂一排头像。文字、未读徽标与原有点击区保留。</p></section><section class="preview-card"><h2>角色与阅读层级</h2><p>白昼使用冷白与墨黑操作条,极夜使用炭黑与信号黄。三角标记、切角和工程网格在两套中保持一致;线路图为主题装饰示意。</p></section><section class="preview-card"><h2>实际界面验收</h2><ol><li>320/390px 手机与桌面布局。</li><li>立绘不压住标题和连接入口。</li><li>导航、输入区保持既有固定定位。</li><li>归档关闭、半滑、展开与确认框。</li></ol><p>此页是无主机连接的静态组件样板;完整交互以实际 WebUI 验收为准。</p></section></aside></section></main><template id="phone-components">
1
+ <!doctype html><html lang="zh-CN" data-theme="penguin"><head><meta name="dsh-remote-build" content="bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
2
+ <meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>企鹅女管 · 黑黄工业终端 · 组件预览</title><link rel="stylesheet" href="../../styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="../../workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><style>body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-header{margin-bottom:26px}.preview-header h1{font-size:29px;line-height:1.3;margin:10px 0}.preview-header p{font-size:14px;max-width:680px;color:var(--dsr-muted)}.preview-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:26px;align-items:start}iframe{display:block;width:100%;height:844px;border:1px solid var(--dsr-line);border-radius:18px;background:var(--dsr-bg)}.preview-card{padding:22px;margin:0 0 18px;background:var(--dsr-panel);border:1px solid var(--dsr-line);border-radius:12px}.preview-card h2{font-size:17px;margin:0 0 14px}.preview-card p,.preview-card li{font-size:13px;line-height:1.8;color:var(--dsr-muted)}.preview-icons{display:flex;align-items:center;gap:18px}.preview-icons img{width:58px;height:54px;object-fit:contain}.preview-links,.preview-switch{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin:12px 0}.preview-links a{color:var(--dsr-accent-strong)}.preview-switch button{padding:8px 16px;border:1px solid var(--dsr-line);border-radius:8px;background:var(--dsr-panel);color:var(--dsr-text);font:inherit}.preview-switch button[aria-pressed=true]{background:var(--dsr-accent);color:var(--dsr-on-accent)}@media(max-width:760px){.preview-layout{grid-template-columns:minmax(0,390px);justify-content:center}.preview-header h1{font-size:25px}}</style></head><body><main class="preview-shell"><header class="preview-header"><h1>企鹅女管 · 黑黄工业终端</h1><p>新增官网三角阵列、终末地工业铭牌和帝江/集成工业主题线路图,保留黑黄终端界面。 </p><nav class="preview-links"><a href="DESIGN.md">皮肤维护说明</a><a href="../../index.html?layout=mobile">实际手机入口</a><a href="../../desktop/desktop.html">实际桌面入口</a></nav><div class="preview-switch" role="group" aria-label="预览配色"><button type="button" data-preview-theme="penguin" aria-pressed="true">白昼</button><button type="button" data-preview-theme="penguin-night" aria-pressed="false">极夜</button></div></header><section class="preview-layout"><iframe id="phone" title="手机组件预览"></iframe><aside><section class="preview-card"><h2>表情导航 · 文字保留</h2><div class="preview-icons"><img src="icon.png" alt="会话表情"><img src="icon-dizzy.png" alt="文件表情"><img src="icon-wink.png" alt="更多表情"></div><p>表情在原有图标位内展示,不向列表上方额外挂一排头像。文字、未读徽标与原有点击区保留。</p></section><section class="preview-card"><h2>角色与阅读层级</h2><p>白昼使用冷白与墨黑操作条,极夜使用炭黑与信号黄。三角标记、切角和工程网格在两套中保持一致;线路图为主题装饰示意。</p></section><section class="preview-card"><h2>实际界面验收</h2><ol><li>320/390px 手机与桌面布局。</li><li>立绘不压住标题和连接入口。</li><li>导航、输入区保持既有固定定位。</li><li>归档关闭、半滑、展开与确认框。</li></ol><p>此页是无主机连接的静态组件样板;完整交互以实际 WebUI 验收为准。</p></section></aside></section></main><template id="phone-components">
3
3
  <header class="topbar"><div class="brand"><span class="brand-dot"></span><span>DSH Remote</span></div><span class="pill">未连接</span></header>
4
4
  <main class="main" id="main"><section class="view" id="view-home">
5
5
  <section class="workflow-start"><div class="workflow-page-head"><h1>工作空间</h1><button type="button" class="workflow-connection">工作电脑 · 连接详情</button><button type="button" class="home-doctor"><span>AI 排查问题</span><small>使用你的 DSH 和模型,只读诊断</small><b>›</b></button></div><div class="workspace-nav"><span>DSH Remote</span><button type="button" class="mini-btn">查看文件</button></div><button type="button" id="btn-new-session" class="mini-btn workflow-new-session">+ 新会话</button></section>
@@ -9,4 +9,4 @@
9
9
  <div class="session-swipe"><div class="session-card"><div class="sc-title">准备版本更新说明</div><div class="sc-meta">3 分钟前</div><div class="sc-workspace">⌂ dsh-remote</div></div></div>
10
10
  </section></main>
11
11
  <nav class="bottom-nav"><button type="button" class="nav-btn active" data-view="view-home"><span class="nav-ico">▦</span><span class="nav-label">会话</span></button><button type="button" class="nav-btn" data-view="view-files"><span class="nav-ico">↕</span><span class="nav-label">文件</span></button><button type="button" class="nav-btn" data-view="view-settings"><span class="nav-ico">⚙</span><span class="nav-label">更多</span></button></nav>
12
- </template><script>const base=new URL('../../',location.href).href;const frame=document.getElementById('phone');frame.srcdoc='<!doctype html><html lang="zh-CN" data-theme="penguin"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skins/penguin/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>';document.querySelectorAll('[data-preview-theme]').forEach(button=>button.addEventListener('click',()=>{document.documentElement.dataset.theme=button.dataset.previewTheme;if(frame.contentDocument?.documentElement)frame.contentDocument.documentElement.dataset.theme=button.dataset.previewTheme;document.querySelectorAll('[data-preview-theme]').forEach(b=>b.setAttribute('aria-pressed',String(b===button)))}));</script></body></html>
12
+ </template><script>const base=new URL('../../',location.href).href;const frame=document.getElementById('phone');frame.srcdoc='<!doctype html><html lang="zh-CN" data-theme="penguin"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skins/penguin/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>';document.querySelectorAll('[data-preview-theme]').forEach(button=>button.addEventListener('click',()=>{document.documentElement.dataset.theme=button.dataset.previewTheme;if(frame.contentDocument?.documentElement)frame.contentDocument.documentElement.dataset.theme=button.dataset.previewTheme;document.querySelectorAll('[data-preview-theme]').forEach(b=>b.setAttribute('aria-pressed',String(b===button)))}));</script></body></html>
@@ -1,14 +1,14 @@
1
1
  <!doctype html>
2
2
  <html lang="zh-CN" data-theme="ryo">
3
3
  <head>
4
- <meta name="dsh-remote-build" content="62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
4
+ <meta name="dsh-remote-build" content="bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
5
5
  <meta charset="utf-8">
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1">
7
7
  <title>山田凉 · 皮肤样板预览</title>
8
- <link rel="stylesheet" href="../../styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
9
- <link rel="stylesheet" href="../../workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
10
- <link rel="stylesheet" href="../kessoku/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
11
- <link rel="stylesheet" href="skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979">
8
+ <link rel="stylesheet" href="../../styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
9
+ <link rel="stylesheet" href="../../workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
10
+ <link rel="stylesheet" href="../kessoku/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
11
+ <link rel="stylesheet" href="skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82">
12
12
  <style>
13
13
  /* 只负责展示页排版;画框内完全复用实际组件样式,不重画玻璃或背景。 */
14
14
  body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-label{font:11px ui-monospace,monospace;letter-spacing:.15em;color:var(--dsr-muted)}
@@ -50,7 +50,7 @@
50
50
  </template>
51
51
  <script>
52
52
  const base=new URL('../../',location.href).href
53
- document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="ryo"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="workflow.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skins/kessoku/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"><link rel="stylesheet" href="skins/ryo/skin.css?dsr-build=62134119698eef6589b38ff6409a46d4160345043eb1aad1ba54e22b19d0b979"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
53
+ document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="ryo"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="workflow.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skins/kessoku/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"><link rel="stylesheet" href="skins/ryo/skin.css?dsr-build=bf34185cf0d5c5081644cc64dc6d026b2f352209cea43836820bd9eff034dd82"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
54
54
  </script>
55
55
  </body>
56
56
  </html>
@@ -1,10 +1,14 @@
1
1
  {
2
- "version": "0.9.0",
2
+ "version": "0.9.1",
3
3
  "apkUrl": "dsh-remote.apk",
4
- "sha256": "106fafd4698d87c69f9da51c4f79359cab8f024e75acadca477ec9881f641e67",
5
- "releasedAt": "2026-11-23T09:04:48.391Z",
6
- "notes": "适配 DSH 0.2.2 的会话历史、生成续跑和任务队列,完善 Android 历史图片读取和主机连接。云中转统一开通、续费和流量包入口,修复办理页顶栏遮挡,Android 可在审核通过后自动配置选定的主机。文件收件箱支持跟踪端到端加密下载。GenUI 支持新版卡片内容、表格换行和会话文件的图片对比,依赖表单状态的条件内容可在源码中查看。",
4
+ "sha256": "16d280c5c4ff6f7a0cc84664136bbd99e533daccd1c9d78a077649c2d83659fe",
5
+ "releasedAt": "2026-11-27T17:14:29.072Z",
6
+ "notes": "云中转支持首次预付最多三个服务月。Android 可按已保存的查询凭证直接续费、开通或返回原订单,已预付月份计入服务有效期。基础档和流量包按套餐提供相应的传输与加密能力,中转并发和断线恢复更稳定。\n\n会话历史优先使用本地缓存,并优化消息、工具调用和思考过程的渲染。新工具调用、结果返回和本轮结束时保留已展开的工具和阅读位置。修复同地址分组的令牌同步。",
7
7
  "history": [
8
+ {
9
+ "version": "0.9.1",
10
+ "notes": "云中转支持首次预付最多三个服务月。Android 可按已保存的查询凭证直接续费、开通或返回原订单,已预付月份计入服务有效期。基础档和流量包按套餐提供相应的传输与加密能力,中转并发和断线恢复更稳定。\n\n会话历史优先使用本地缓存,并优化消息、工具调用和思考过程的渲染。新工具调用、结果返回和本轮结束时保留已展开的工具和阅读位置。修复同地址分组的令牌同步。"
11
+ },
8
12
  {
9
13
  "version": "0.9.0",
10
14
  "notes": "适配 DSH 0.2.2 的会话历史、生成续跑和任务队列,完善 Android 历史图片读取和主机连接。云中转统一开通、续费和流量包入口,修复办理页顶栏遮挡,Android 可在审核通过后自动配置选定的主机。文件收件箱支持跟踪端到端加密下载。GenUI 支持新版卡片内容、表格换行和会话文件的图片对比,依赖表单状态的条件内容可在源码中查看。"
@@ -40,10 +44,6 @@
40
44
  {
41
45
  "version": "0.8.1",
42
46
  "notes": "0.8.1:修复 Windows 常驻插件网关占用 DSH 安装目录导致 DSH 更新失败,完善解释器回退、真实路径检查与运行状态显示;修复网关输出流断开引发的重启;手机连接入口移至 DSH「更多」,增加首次使用提示;点击顶栏连接状态即可刷新,并可快捷打开已适配插件界面;会话目标、任务、审批、提问、文件和队列改为可切换卡片,精简摘要并保留完整详情,隐藏无内容消息气泡;自动审查反馈提供本地中文参考并保留原文;公告支持摘要及分段展开、收起;新增文件收件箱,DSH 可向指定设备投递单个文件,经用户确认后接收并查询结果,修复系统下载任务失踪后的重试和接收完成后的键盘焦点。"
43
- },
44
- {
45
- "version": "0.8.0",
46
- "notes": "0.8.0:整理手机与桌面操作入口,新增新手引导与插件排障知识库;优化智能体团队、任务看板及蓝色大肥鱼皮肤,改善窄屏排版;补充插件适配诊断、自定义渠道余额与额度、计划审查和交付阻断信息;实验性插件默认折叠并正确显示安装状态;增强发送回执、防重复发送、会话恢复与弱网历史加载;修复文件上传、续传、插件远程自更新及 macOS 网关启动问题;修复含 CRLF 文本的会话与缓存历史渲染卡死;完善权限与审批记录,Android 版本码改为独立递增计数。"
47
47
  }
48
48
  ]
49
49
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.9.0"
2
+ "version": "0.9.1"
3
3
  }
@@ -169,9 +169,9 @@
169
169
  .mobile-ui #mobile-nav::before, .mobile-ui #mobile-nav::after,
170
170
  .mobile-ui #mobile-nav .nav-btn::after { content:none; }
171
171
  .mobile-ui #mobile-nav .nav-btn { min-height:0; justify-content:center; gap:3px; padding:4px; background:transparent; font-size:12px; }
172
- .mobile-ui #mobile-nav .nav-btn .nav-ico { width:50px; height:28px; border-radius:14px; background:transparent; color:inherit; box-shadow:none; opacity:1; transform:none; }
173
- .mobile-ui #mobile-nav .nav-btn .nav-ico svg { display:block; width:21px; height:21px; }
174
- .mobile-ui #mobile-nav .nav-btn.active .nav-ico { background:var(--dsr-accent-soft); color:var(--dsr-nav-active); }
172
+ /* Skin styles can replace the default icon and set its dimensions. */
173
+ .mobile-ui :where(#mobile-nav) .nav-btn .nav-ico { width:50px; height:28px; border-radius:14px; background:transparent; color:inherit; box-shadow:none; opacity:1; }
174
+ .mobile-ui :where(#mobile-nav) .nav-btn.active .nav-ico { background:var(--dsr-accent-soft); color:var(--dsr-nav-active); transform:none; }
175
175
  .mobile-ui #mobile-nav .nav-btn.active > span:last-of-type { color:var(--dsr-nav-active); font-weight:650; }
176
176
  .workflow-more-group { margin:8px 0 24px; }
177
177
  .workflow-more-group h2 { color:var(--dsr-muted); font-size:12px; font-weight:500; margin:0 0 10px 4px; }