dsh-voice 0.8.1 → 0.9.0
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/CHANGELOG.md +13 -0
- package/README.en.md +17 -15
- package/README.md +17 -15
- package/docs/USAGE.en.md +39 -16
- package/docs/USAGE.md +41 -18
- package/lib/client.js +5067 -0
- package/lib/config.d.ts +7 -0
- package/lib/config.js +21 -0
- package/lib/edge-tts.d.ts +4 -0
- package/lib/edge-tts.js +38 -1
- package/lib/host-config.js +7 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +4 -1
- package/lib/openai-tts.d.ts +19 -6
- package/lib/openai-tts.js +163 -2
- package/lib/stt.d.ts +19 -0
- package/lib/stt.js +157 -9
- package/lib/tools.d.ts +4 -2
- package/lib/tools.js +380 -70
- package/lib/tts-text.d.ts +46 -3
- package/lib/tts-text.js +345 -16
- package/lib/web.d.ts +66 -0
- package/lib/web.js +677 -0
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +10 -5
- package/skills/voice-workflow/SKILL.md +51 -19
- package/lib/update-client.js +0 -745
package/lib/update-client.js
DELETED
|
@@ -1,745 +0,0 @@
|
|
|
1
|
-
// Generated: shared optional update controls; edit the original client templates.
|
|
2
|
-
(function(){
|
|
3
|
-
/* DSH workbench UI v1. MIT. Canonical source: dsh-suite/ui/workbench-ui.js.
|
|
4
|
-
* Vendored into each plugin: no Suite or extra runtime dependency is required.
|
|
5
|
-
* Styles are scoped to .dshw and never replace the host chrome or theme.
|
|
6
|
-
*/
|
|
7
|
-
function createWorkbenchUI(React) {
|
|
8
|
-
const h = React.createElement;
|
|
9
|
-
const { useEffect, useId, useRef } = React;
|
|
10
|
-
const cx = (...values) => values.filter(Boolean).join(' ');
|
|
11
|
-
const paths = {
|
|
12
|
-
book: ['M4 4h6a3 3 0 0 1 2 2v15a4 4 0 0 0-4-2H4z', 'M20 4h-6a3 3 0 0 0-2 2v15a4 4 0 0 1 4-2h4z'],
|
|
13
|
-
calendar: ['M5 5h14a2 2 0 0 1 2 2v13H3V7a2 2 0 0 1 2-2Z', 'M7 3v4M17 3v4M3 10h18'],
|
|
14
|
-
mail: ['M3 5h18v14H3z', 'm3 6 9 7 9-7'],
|
|
15
|
-
rss: ['M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16', 'M4 19h.01'],
|
|
16
|
-
slides: ['M3 4h18v13H3z', 'M12 17v4M8 21h8'],
|
|
17
|
-
shield: ['m12 3 8 3v6c0 4-4 7-8 9-4-2-8-5-8-9V6z', 'm8 12 3 3 5-6'],
|
|
18
|
-
layers: ['M5 3h16v16H5z', 'M2 7v15h15'],
|
|
19
|
-
play: ['m9 6 9 6-9 6Z'],
|
|
20
|
-
video: ['M3 5h12v14H3z', 'm15 10 6-4v12l-6-4'],
|
|
21
|
-
search: ['M10.5 18a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15Z', 'm16 16 5 5'],
|
|
22
|
-
plus: ['M12 5v14M5 12h14'],
|
|
23
|
-
refresh: ['M20 7a9 9 0 1 0 1 8', 'M20 2v5h-5'],
|
|
24
|
-
settings: ['m9 3-.7 2.4-2 .9L4 5.8 2.5 8.4l1.7 1.8v2.3L2.5 14 4 17l2.5-.4 1.9 1L9 20h3l.8-2.4 2-1 2.5.4 1.5-2.7-1.7-1.9v-2.2l1.7-1.8-1.5-2.6-2.5.4-2-1L12 3Z', 'M14 11.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z'],
|
|
25
|
-
close: ['m6 6 12 12M18 6 6 18'],
|
|
26
|
-
left: ['m14 5-7 7 7 7'],
|
|
27
|
-
right: ['m10 5 7 7-7 7'],
|
|
28
|
-
down: ['m5 9 7 7 7-7'],
|
|
29
|
-
filter: ['M4 5h16M7 12h10M10 19h4'],
|
|
30
|
-
download: ['M12 3v12m-5-5 5 5 5-5', 'M4 16v5h16v-5'],
|
|
31
|
-
upload: ['M12 16V4m-5 5 5-5 5 5', 'M4 16v5h16v-5'],
|
|
32
|
-
copy: ['M8 8h13v13H8z', 'M16 8V3H3v13h5'],
|
|
33
|
-
external: ['M14 3h7v7m0-7L10 14', 'M10 3H3v18h18v-7'],
|
|
34
|
-
file: ['M4 3h10l6 6v12H4z', 'M14 3v6h6M8 13h8M8 17h6'],
|
|
35
|
-
folder: ['M3 5h7l2 3h9v12H3z'],
|
|
36
|
-
edit: ['m15 4 5 5-10 10-6 1 1-6Z', 'm13 6 5 5'],
|
|
37
|
-
trash: ['M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7M14 10v7'],
|
|
38
|
-
more: ['M5 12h.01M12 12h.01M19 12h.01'],
|
|
39
|
-
info: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z', 'M12 11v6M12 7h.01'],
|
|
40
|
-
check: ['m5 12 4 4L19 6'],
|
|
41
|
-
quote: ['M4 12h6v7H3v-7c0-4 2-6 5-7M15 12h6v7h-7v-7c0-4 2-6 5-7'],
|
|
42
|
-
star: ['m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9Z'],
|
|
43
|
-
reply: ['m9 5-7 7 7 7v-5h6c3 0 5 2 6 5 0-8-4-11-12-11Z'],
|
|
44
|
-
link: ['m10 13 4-4M8 16l-2 2a4 4 0 0 1-6-6l4-4a4 4 0 0 1 6 0', 'm14 8 2-2a4 4 0 0 1 6 6l-4 4a4 4 0 0 1-6 0'],
|
|
45
|
-
};
|
|
46
|
-
function Icon({ name = 'file', size = 20, ...props }) {
|
|
47
|
-
return h('svg', { width: size, height: size, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 1.75, strokeLinecap: 'round', strokeLinejoin: 'round', 'aria-hidden': true, focusable: false, ...props },
|
|
48
|
-
(paths[name] || paths.file).map((d, index) => h('path', { key: index, d })));
|
|
49
|
-
}
|
|
50
|
-
function Button({ children, icon, variant, className, ...props }) {
|
|
51
|
-
return h('button', { type: 'button', ...props, className: cx('w-button', variant && 'w-' + variant, className) }, icon ? h(Icon, { name: icon, size: 18 }) : null, children);
|
|
52
|
-
}
|
|
53
|
-
function IconButton({ label, icon, ...props }) {
|
|
54
|
-
return h(Button, { ...props, icon, className: cx('w-icon-button', props.className), 'aria-label': label, title: label });
|
|
55
|
-
}
|
|
56
|
-
function Page({ title, subtitle, actions, children, workbench = false, className, rootRef, ...props }) {
|
|
57
|
-
return h('section', { ...props, ref: rootRef, className: cx('dshw', 'w-page', className), 'data-main': workbench ? 'true' : 'false' },
|
|
58
|
-
h(Styles, { key: 'styles' }),
|
|
59
|
-
h('header', { className: 'w-page-header' }, h('div', { className: 'w-heading' }, h('h1', null, title), subtitle ? h('p', { className: 'w-subtitle' }, subtitle) : null), actions ? h('div', { className: 'w-header-actions' }, actions) : null),
|
|
60
|
-
h('div', { className: 'w-body' }, children));
|
|
61
|
-
}
|
|
62
|
-
function Tabs({ items, value, onChange, label, children }) {
|
|
63
|
-
const id = useId();
|
|
64
|
-
const active = items.some(item => item.id === value) ? value : items[0]?.id;
|
|
65
|
-
function keys(event, index) {
|
|
66
|
-
if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event.key)) return;
|
|
67
|
-
event.preventDefault();
|
|
68
|
-
const next = event.key === 'Home' ? 0 : event.key === 'End' ? items.length - 1 : (index + (event.key === 'ArrowRight' ? 1 : -1) + items.length) % items.length;
|
|
69
|
-
const node = event.currentTarget.parentElement?.querySelectorAll('[role=tab]')[next];
|
|
70
|
-
if (node) { onChange(items[next].id); node.focus(); }
|
|
71
|
-
}
|
|
72
|
-
return h('div', { className: 'w-tabs-layout' },
|
|
73
|
-
h('div', { className: 'w-tabs', role: 'tablist', 'aria-label': label }, items.map((item, index) => h('button', {
|
|
74
|
-
type: 'button', role: 'tab', key: item.id, id: id + '-' + item.id, 'aria-controls': id + '-panel', 'aria-selected': active === item.id, tabIndex: active === item.id ? 0 : -1,
|
|
75
|
-
onClick: () => onChange(item.id), onKeyDown: event => keys(event, index),
|
|
76
|
-
}, item.label, item.count !== undefined ? h('span', { className: 'w-count' }, item.count) : null))),
|
|
77
|
-
h('div', { className: 'w-tab-panel', id: id + '-panel', role: 'tabpanel', 'aria-labelledby': id + '-' + active }, children));
|
|
78
|
-
}
|
|
79
|
-
function Status({ children, tone = 'info', className }) {
|
|
80
|
-
if (!children) return null;
|
|
81
|
-
return h('div', { className: cx('dshw', 'w-status', 'w-status-' + tone, className), role: tone === 'error' ? 'alert' : 'status', 'aria-live': tone === 'error' ? 'assertive' : 'polite' }, h(Icon, { name: tone === 'success' ? 'check' : 'info', size: 18 }), h('div', null, children));
|
|
82
|
-
}
|
|
83
|
-
function Empty({ title, children, action, icon = 'file' }) {
|
|
84
|
-
return h('div', { className: 'dshw w-empty' }, h(Styles, { key: 'styles' }), h(Icon, { name: icon, size: 32 }), h('h2', null, title), children ? h('div', { className: 'w-muted' }, children) : null, action ? h('div', { className: 'w-toolbar' }, action) : null);
|
|
85
|
-
}
|
|
86
|
-
function Split({ list, detail, selected, onBack, backLabel, className, listWidth = 360 }) {
|
|
87
|
-
const ref = useRef(null);
|
|
88
|
-
useEffect(() => {
|
|
89
|
-
if (!selected || !ref.current || ref.current.clientWidth > 760) return;
|
|
90
|
-
const heading = ref.current.querySelector('.w-detail h2');
|
|
91
|
-
if (heading) { heading.tabIndex = -1; heading.focus({ preventScroll: true }); }
|
|
92
|
-
}, [selected]);
|
|
93
|
-
return h('div', { ref, className: cx('w-split', className), 'data-selected': selected ? 'true' : 'false', style: { '--w-list-width': listWidth + 'px' } },
|
|
94
|
-
h('div', { className: 'w-master' }, list),
|
|
95
|
-
h('div', { className: 'w-detail' }, selected ? h(Button, { className: 'w-back', icon: 'left', variant: 'ghost', onClick: onBack }, backLabel) : null, detail));
|
|
96
|
-
}
|
|
97
|
-
function Row({ title, meta, description, active, onClick, children, status, className, disabled }) {
|
|
98
|
-
return h('div', { className: cx('w-row', active && 'w-selected', className) },
|
|
99
|
-
children ? h('div', { className: 'w-row-select' }, children) : null,
|
|
100
|
-
h('button', { type: 'button', className: 'w-row-button', onClick, disabled, 'aria-pressed': !!active },
|
|
101
|
-
h('span', { className: 'w-row-head' }, h('strong', null, title), status ? h('span', { className: 'w-tag' }, status) : null),
|
|
102
|
-
meta ? h('span', { className: 'w-row-meta' }, meta) : null,
|
|
103
|
-
description ? h('span', { className: 'w-row-description' }, description) : null));
|
|
104
|
-
}
|
|
105
|
-
function Search({ label, value, onChange, ...props }) {
|
|
106
|
-
const id = useId();
|
|
107
|
-
return h('div', { className: 'w-search' }, h(Icon, { name: 'search', size: 18 }), h('input', { type: 'search', id, 'aria-label': label, placeholder: label, value, onChange, ...props }));
|
|
108
|
-
}
|
|
109
|
-
function Switch({ label, checked, onChange, disabled }) {
|
|
110
|
-
return h('label', { className: 'w-switch-label' }, h('span', null, label), h('input', { type: 'checkbox', role: 'switch', checked, disabled, onChange, 'aria-label': label }), h('span', { className: 'w-switch-track', 'aria-hidden': true }));
|
|
111
|
-
}
|
|
112
|
-
function Dialog({ title, children, onClose, closeLabel, className, busy = false }) {
|
|
113
|
-
const id = useId(), panel = useRef(null);
|
|
114
|
-
useEffect(() => {
|
|
115
|
-
const previous = document.activeElement;
|
|
116
|
-
panel.current?.querySelector('button:not(:disabled), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex="0"]')?.focus();
|
|
117
|
-
return () => { if (previous?.isConnected) previous.focus({ preventScroll: true }); };
|
|
118
|
-
}, []);
|
|
119
|
-
function keydown(event) {
|
|
120
|
-
if (event.key === 'Escape' && !event.isComposing) { event.preventDefault(); event.stopPropagation(); if (!busy) onClose(); return; }
|
|
121
|
-
if (event.key !== 'Tab') return;
|
|
122
|
-
const controls = [...panel.current.querySelectorAll('button:not(:disabled), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), a[href], [tabindex="0"]')].filter(node => node.getClientRects().length);
|
|
123
|
-
const first = controls[0], last = controls.at(-1);
|
|
124
|
-
if (!controls.length) { event.preventDefault(); panel.current.focus(); }
|
|
125
|
-
else if (event.shiftKey && document.activeElement === first) { event.preventDefault(); last.focus(); }
|
|
126
|
-
else if (!event.shiftKey && document.activeElement === last) { event.preventDefault(); first.focus(); }
|
|
127
|
-
}
|
|
128
|
-
return h('div', { className: 'dshw w-overlay', onClick: event => { if (!busy && event.target === event.currentTarget) onClose(); } },
|
|
129
|
-
h(Styles, { key: 'styles' }),
|
|
130
|
-
h('section', { ref: panel, className: cx('w-dialog', className), role: 'dialog', 'aria-modal': true, 'aria-labelledby': id, tabIndex: -1, onKeyDown: keydown },
|
|
131
|
-
h('header', { className: 'w-dialog-header' }, h('h2', { id }, title), h(IconButton, { icon: 'close', label: closeLabel, disabled: busy, onClick: onClose })), h('div', { className: 'w-dialog-body' }, children)));
|
|
132
|
-
}
|
|
133
|
-
function register(ctx, { id, label, icon, component, inject, order = 50 }) {
|
|
134
|
-
// The two slots are optional. Existing settings and manual tools still load
|
|
135
|
-
// in hosts without a workbench, while RC.3 owns navigation/pinning itself.
|
|
136
|
-
ctx.slots.inject('main', () => ctx.slots.register({ name: 'main', key: id, inject: () => ({ ...(inject?.() || {}), workbench: true }) }, component));
|
|
137
|
-
ctx.slots.inject('sidebar.panellist', () => ctx.slots.register({ name: 'sidebar.panellist', id, order, label }, function WorkbenchIcon({ size }) { return h(Icon, { name: icon, size }); }));
|
|
138
|
-
}
|
|
139
|
-
const styles = `
|
|
140
|
-
.dshw{--w-bg:var(--dsw-alias-bg-layer-1,#fff);--w-soft:var(--dsw-alias-bg-layer-2,#f7f8fa);--w-text:var(--dsw-alias-label-primary,#18202c);--w-muted:var(--dsw-alias-label-secondary,#667085);--w-border:var(--dsw-alias-border-l3,#e7e9ef);--w-accent:var(--dsh-plugin-workbench-accent,#4f6bdb);--w-selected:color-mix(in srgb,var(--w-accent) 10%,var(--w-bg));--w-primary:var(--w-text);--w-on-primary:var(--w-bg);container-type:inline-size;container-name:dsh-workbench;color:var(--w-text);font:14px/1.65 var(--dsh-font-family-content,system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif);min-width:0;max-width:100%;box-sizing:border-box;text-align:start;color-scheme:inherit}
|
|
141
|
-
.dshw *,.dshw *:before,.dshw *:after{box-sizing:border-box}.dshw h1,.dshw h2,.dshw h3,.dshw h4,.dshw p{margin:0}.dshw h1{font-size:30px;line-height:1.25;letter-spacing:-.025em;font-weight:650}.dshw h2{font-size:24px;line-height:1.35;font-weight:650;letter-spacing:-.015em;overflow-wrap:anywhere}.dshw h3,.dshw h4{font-size:16px;line-height:1.4;font-weight:600}.dshw a{color:var(--w-accent);text-underline-offset:3px;overflow-wrap:anywhere}.dshw button,.dshw input,.dshw select,.dshw textarea{font:inherit;color:inherit;max-width:100%}.dshw input:not([type=checkbox]):not([type=radio]):not([type=file]),.dshw select,.dshw textarea{background:var(--dsw-specific-input-major,var(--w-bg));border:1px solid var(--w-border);border-radius:8px;padding:8px 11px;min-width:0;line-height:1.5}.dshw input:not([type=checkbox]):not([type=radio]):not([type=file]),.dshw select{min-height:38px}.dshw textarea{resize:vertical}.dshw input[type=checkbox],.dshw input[type=radio]{width:16px;height:16px;flex-shrink:0;accent-color:var(--w-accent)}.dshw :focus-visible{outline:2px solid var(--w-accent);outline-offset:3px}.dshw button:disabled,.dshw input:disabled,.dshw select:disabled,.dshw textarea:disabled{opacity:.5;cursor:not-allowed}.dshw label{font-size:13px}.dshw fieldset{min-width:0;border:1px solid var(--w-border);border-radius:8px}.dshw summary{cursor:pointer;font-weight:550;list-style:none;display:flex;align-items:center;gap:8px}.dshw summary::-webkit-details-marker{display:none}.dshw summary:after{content:'';display:block;margin-inline-start:auto;width:7px;height:7px;border-inline-end:1.75px solid currentColor;border-bottom:1.75px solid currentColor;transform:rotate(45deg);flex-shrink:0}.dshw details[open]>summary:after{transform:rotate(225deg)}.dshw details>summary+*{margin-top:12px}.dshw pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;max-width:100%;background:var(--w-soft);border-radius:6px;padding:14px}.dshw img,.dshw video,.dshw iframe{max-width:100%}
|
|
142
|
-
.w-page{display:flex;flex-direction:column;position:relative;padding:0;min-height:540px;gap:0}.w-page[data-main=true]{height:100%;min-height:0;padding:calc(24px + var(--dsh-frame-top-clearance,0px)) 28px 0 max(28px,var(--dsh-frame-leading-clearance,0px));overflow:auto}.dshw[data-main=true]{background:var(--w-bg)}.dshw.w-page,.dshw .w-body,.dshw .w-tab-panel{overflow-x:clip}.w-page-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding-bottom:22px;flex-shrink:0}.w-heading{min-width:0}.w-subtitle{margin-top:8px!important;font-size:14px;color:var(--w-muted);line-height:1.6}.w-header-actions,.w-toolbar,.w-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.w-header-actions{justify-content:flex-end}.w-body,.w-tabs-layout{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.w-body{overflow:auto}.w-tab-panel{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto}.w-tabs{display:flex;align-items:stretch;gap:20px;border-bottom:1px solid var(--w-border);flex-shrink:0;overflow-x:auto;scrollbar-width:thin}.dshw .w-tabs>button{border:0;border-bottom:2px solid transparent;background:transparent;padding:11px 8px 13px;white-space:nowrap;font-size:14px;font-weight:550;cursor:pointer;color:var(--w-muted);display:flex;align-items:center;gap:7px}.dshw .w-tabs>button[aria-selected=true]{border-bottom-color:var(--w-accent);color:var(--w-accent)}.w-count,.w-tag{font-size:12px;line-height:1.5;display:inline-flex;align-items:center;flex-shrink:0;background:var(--w-soft);border-radius:5px;padding:1px 6px;color:var(--w-muted)}.w-tabs [aria-selected=true] .w-count,.w-selected .w-tag{color:var(--w-accent);background:var(--w-selected)}
|
|
143
|
-
.dshw .w-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;background:var(--w-bg);border:1px solid var(--w-border);border-radius:8px;padding:8px 12px;min-height:36px;line-height:1.4;font-size:14px;font-weight:500;cursor:pointer;text-decoration:none;white-space:normal}.dshw .w-button:not(:disabled):hover{background:var(--w-soft)}.dshw .w-primary{background:var(--w-primary);border-color:var(--w-primary);color:var(--w-on-primary)}.dshw .w-primary:not(:disabled):hover{background:var(--w-primary);opacity:.9}.dshw .w-ghost{background:transparent;border-color:transparent}.dshw .w-danger{color:var(--dsw-alias-state-error-primary,#b43c3c)}.dshw .w-icon-button{width:36px;min-width:36px;padding:8px}.dshw .w-button svg{flex-shrink:0}.w-muted{color:var(--w-muted);font-size:12px;line-height:1.6}.w-section{padding:24px 0;border-bottom:1px solid var(--w-border);min-width:0}.w-section>h3{margin-bottom:12px}.w-section>p+p{margin-top:8px}.w-fields{display:grid;gap:16px;min-width:0}.w-field{display:grid;gap:6px;min-width:0}.w-field>input,.w-field>select,.w-field>textarea{width:100%}.w-status{display:flex;align-items:flex-start;gap:8px;padding:11px 13px;margin:12px 0;border:1px solid var(--w-border);border-radius:8px;background:var(--w-soft);font-size:13px;overflow-wrap:anywhere;flex-shrink:0}.w-status>svg{flex-shrink:0;margin-top:2px}.w-status-error{color:var(--dsw-alias-state-error-primary,#ad3636)}.w-status-success{color:var(--dsw-alias-state-success-primary,#24794a)}.w-status-warn{color:var(--dsw-alias-state-warning-primary,#8a5a00)}.w-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;width:100%;max-width:580px;padding:48px 24px;margin:auto;min-height:280px;overflow-wrap:anywhere}.w-empty>svg{color:var(--w-muted)}.w-empty h2{font-size:20px}.w-empty .w-muted{font-size:14px}.w-empty .w-toolbar{justify-content:center}
|
|
144
|
-
.w-split{display:grid;grid-template-columns:minmax(240px,var(--w-list-width)) minmax(0,1fr);min-height:460px;flex:1;min-width:0}.w-master{min-width:0;border-inline-end:1px solid var(--w-border);overflow:auto;padding-bottom:24px}.w-detail{min-width:0;padding:26px 28px;overflow:auto;overflow-wrap:anywhere;display:flex;flex-direction:column}.w-master-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:20px 16px}.w-search{display:flex;align-items:center;gap:8px;border:1px solid var(--w-border);border-radius:8px;padding:0 10px;min-width:0;flex:1;background:var(--w-bg)}.w-search>svg{color:var(--w-muted);flex-shrink:0}.dshw .w-search>input{border:0!important;background:transparent!important;padding:8px 0!important;width:100%;outline-offset:0}.w-row{display:flex;gap:0;min-width:0;position:relative;border-bottom:1px solid var(--w-border);border-inline-start:3px solid transparent}.w-row-select{display:flex;align-items:flex-start;padding:21px 0 0 14px}.dshw .w-row-button{display:flex;flex-direction:column;align-items:stretch;gap:7px;text-align:start;width:100%;padding:18px 18px 18px 16px;border:0;background:transparent;color:inherit;min-width:0;cursor:pointer;line-height:1.5}.dshw .w-row-button:hover{background:var(--w-soft)}.w-row-head{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;min-width:0}.w-row-head>strong{font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.w-row-meta,.w-row-description{color:var(--w-muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.w-row-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.w-selected{background:var(--w-selected);border-inline-start-color:var(--w-accent)}.w-back{display:none!important}.w-detail-title{margin-bottom:12px!important}.w-detail-meta{color:var(--w-muted);font-size:13px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.w-detail-footer{padding:24px 0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto;border-top:1px solid var(--w-border)}.w-detail-footer .w-muted{flex:1;min-width:160px}.w-definition{display:grid;grid-template-columns:minmax(80px,120px) minmax(0,1fr);gap:8px 16px;font-size:14px;margin:20px 0}.w-definition dt{color:var(--w-muted)}.w-definition dd{margin:0;min-width:0;overflow-wrap:anywhere}
|
|
145
|
-
.w-switch-label{display:inline-flex;align-items:center;gap:8px;font-size:13px;position:relative;cursor:pointer}.w-switch-label>input{position:absolute;opacity:0;inset-inline-end:0;width:36px!important;height:22px!important;margin:0;cursor:pointer}.w-switch-track{width:36px;height:22px;border-radius:12px;display:block;background:var(--w-border);border:1px solid var(--w-border);pointer-events:none;padding:2px;transition:background .15s}.w-switch-track:before{content:'';display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .15s}.w-switch-label>input:checked+.w-switch-track{background:var(--w-accent);border-color:var(--w-accent)}.w-switch-label>input:checked+.w-switch-track:before{transform:translateX(14px)}.w-switch-label>input:focus-visible+.w-switch-track{outline:2px solid var(--w-accent);outline-offset:3px}.w-switch-label:has(>input:disabled){opacity:.5;cursor:not-allowed}
|
|
146
|
-
.w-overlay{position:fixed;inset:0;background:#0005;display:flex;justify-content:flex-end;z-index:1000;padding:12px;overflow:auto}.w-dialog{width:min(620px,100%);max-height:100%;display:flex;flex-direction:column;min-height:0;background:var(--w-bg);color:var(--w-text);border:1px solid var(--w-border);border-radius:12px;box-shadow:0 18px 70px #0003}.w-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid var(--w-border);flex-shrink:0}.w-dialog-header>h2{font-size:20px}.w-dialog-body{overflow:auto;padding:20px 24px;min-height:0}.w-editor-grid{display:grid;grid-template-columns:210px minmax(0,1fr) 300px;min-height:500px;flex:1}.w-editor-list{padding:20px 12px;border-inline-end:1px solid var(--w-border);min-width:0}.w-editor-canvas{background:var(--w-soft);padding:20px;min-width:0;display:flex;flex-direction:column;gap:14px}.w-editor-inspector{padding:24px;border-inline-start:1px solid var(--w-border);min-width:0;overflow:auto}.w-editor-inspector h3{margin-bottom:18px}.w-preview-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px;aspect-ratio:16/9;min-height:180px;background:var(--w-soft);border:1px solid var(--w-border);border-radius:8px;padding:24px;color:var(--w-muted)}.w-content-pad{padding:24px 0}.w-stack{display:flex;flex-direction:column;gap:16px;min-width:0}.w-scroll-x{overflow:auto;max-width:100%}
|
|
147
|
-
@container dsh-workbench (max-width:1000px){.w-editor-grid{grid-template-columns:160px minmax(0,1fr)}.w-editor-inspector{grid-column:1/-1;border-inline-start:0;border-top:1px solid var(--w-border)}.w-header-actions{max-width:60%}.w-split{grid-template-columns:minmax(240px,32%) minmax(0,1fr)}}
|
|
148
|
-
@container dsh-workbench (max-width:760px){.w-page-header{gap:14px;flex-wrap:wrap;padding-bottom:18px}.w-heading{flex:1;min-width:170px}.dshw h1{font-size:24px}.w-header-actions{max-width:100%;justify-content:flex-start}.w-subtitle{font-size:13px}.w-tabs{gap:12px}.dshw .w-tabs>button{padding:10px 4px 12px}.w-split{display:block;min-height:360px}.w-split[data-selected=false]>.w-detail{display:none}.w-split[data-selected=true]>.w-master{display:none}.w-master{border-inline-end:0}.w-detail{padding:20px 0}.w-back{display:inline-flex!important;align-self:flex-start;margin:0 0 16px!important}.w-detail h2{font-size:22px}.w-master-toolbar{padding:16px 0}.dshw .w-row-button{padding:16px 10px}.w-detail-footer{position:static}.w-detail-footer .w-muted{flex-basis:100%}.w-editor-grid{display:flex;flex-direction:column}.w-editor-list{border-inline-end:0;border-bottom:1px solid var(--w-border);padding:16px 0}.w-editor-canvas{padding:16px 0;background:var(--w-bg)}.w-editor-inspector{padding:20px 0}.w-dialog-header,.w-dialog-body{padding:16px}.w-button{min-height:40px}.w-definition{grid-template-columns:80px minmax(0,1fr)}}
|
|
149
|
-
@media(max-width:700px){.w-page[data-main=true]{padding:calc(16px + var(--dsh-frame-top-clearance,0px)) 16px 0 max(16px,var(--dsh-frame-leading-clearance,0px))}.w-overlay{padding:8px}.w-dialog{width:100%}}
|
|
150
|
-
@media(prefers-reduced-motion:reduce){.dshw *,.dshw *:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
|
|
151
|
-
`;
|
|
152
|
-
function Styles() { return h('style', null, styles); }
|
|
153
|
-
return { Icon, Button, IconButton, Page, Tabs, Status, Empty, Split, Row, Search, Switch, Dialog, Styles, register, styles };
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/* One update control per plugin. Only transport, idle guards and installation
|
|
157
|
-
* coordination are shared; no global update page or update-all action exists. */
|
|
158
|
-
function __stardustUpdatesGuards() {
|
|
159
|
-
const key = Symbol.for('stardustlc.plugin-updates.guards.v1');
|
|
160
|
-
return globalThis[key] ||= { values: new Map(), listeners: new Set(), viewListeners: new Set(), clients: new Set() };
|
|
161
|
-
}
|
|
162
|
-
function __stardustUpdatesGuard(React, name, { dirty = false, busy = false, retainOnClose = false } = {}) {
|
|
163
|
-
const token = React.useRef(null);
|
|
164
|
-
if (!token.current) token.current = {};
|
|
165
|
-
React.useLayoutEffect(() => {
|
|
166
|
-
const pool = __stardustUpdatesGuards();
|
|
167
|
-
if (!dirty && !busy) for (const [key, value] of pool.values) if (value.name === name && value.orphan) pool.values.delete(key);
|
|
168
|
-
pool.values.set(token.current, { name, dirty: !!dirty, busy: !!busy, retainOnClose, orphan: false });
|
|
169
|
-
for (const listener of pool.listeners) listener();
|
|
170
|
-
}, [name, !!dirty, !!busy, retainOnClose]);
|
|
171
|
-
React.useEffect(() => () => {
|
|
172
|
-
const pool = __stardustUpdatesGuards(), value = pool.values.get(token.current);
|
|
173
|
-
if (value?.retainOnClose && (value.dirty || value.busy)) value.orphan = true;
|
|
174
|
-
else pool.values.delete(token.current);
|
|
175
|
-
for (const listener of pool.listeners) listener();
|
|
176
|
-
}, []);
|
|
177
|
-
}
|
|
178
|
-
function __StardustPluginUpdatesFooter({ React, name }) {
|
|
179
|
-
const [, render] = React.useState(0), pool = __stardustUpdatesGuards();
|
|
180
|
-
React.useEffect(() => { const fn = () => render(value => value + 1); pool.viewListeners.add(fn); return () => pool.viewListeners.delete(fn); }, []);
|
|
181
|
-
const client = [...pool.clients].find(client => typeof client.Footer === 'function' && client.has(name));
|
|
182
|
-
if (!client) return null;
|
|
183
|
-
return React.createElement(client.Footer, { name });
|
|
184
|
-
}
|
|
185
|
-
function __stardustUpdatesFooter(React, name) {
|
|
186
|
-
return React.createElement(__StardustPluginUpdatesFooter, { key: 'plugin-updates', React, name });
|
|
187
|
-
}
|
|
188
|
-
function __stardustUpdatesInlinePage(React, element, name) {
|
|
189
|
-
return React.cloneElement(element, null, element.props.children, __stardustUpdatesFooter(React, name));
|
|
190
|
-
}
|
|
191
|
-
function __stardustUpdatesDetailName(subject, rows) {
|
|
192
|
-
if (!subject || !['bundle', 'row'].includes(subject.kind)) return null;
|
|
193
|
-
if (subject.kind === 'row' && subject.pkg?.name === '@stardustlc/dsh-suite') {
|
|
194
|
-
const component = rows.find(row => row.bundledBy === subject.pkg.name && (subject.row?.moduleName === row.name || subject.row?.moduleName?.startsWith(row.name + '/')));
|
|
195
|
-
if (component) return component.name;
|
|
196
|
-
}
|
|
197
|
-
return rows.some(row => row.name === subject.pkg?.name) ? subject.pkg.name : null;
|
|
198
|
-
}
|
|
199
|
-
function __stardustUpdatesNativeFormState(document) {
|
|
200
|
-
let dirty = false, busy = false;
|
|
201
|
-
for (const scope of document.querySelectorAll('[data-plugin-detail],[data-plugin-row-detail]')) for (const button of scope.querySelectorAll('button')) {
|
|
202
|
-
if (!button.getClientRects().length || button.closest('.plugin-updates-footer')) continue;
|
|
203
|
-
const label = (button.getAttribute('aria-label') || button.textContent || '').trim();
|
|
204
|
-
if (/^(?:正在保存|保存中|Saving)(?:[.…\s]|$)/i.test(label) || button.getAttribute('aria-busy') === 'true') busy = true;
|
|
205
|
-
if (!button.disabled && button.getAttribute('aria-disabled') !== 'true' && /^(?:保存(?:更改|设置|配置)?|Save(?: changes| settings| configuration)?)(?:\s+(?:Ctrl|⌘|Enter|↵).*)?$/i.test(label)) dirty = true;
|
|
206
|
-
}
|
|
207
|
-
return { dirty, busy };
|
|
208
|
-
}
|
|
209
|
-
function __stardustUpdatesDisplayRows(next, known) {
|
|
210
|
-
for (const row of next.rows) known.set(row.name, row);
|
|
211
|
-
if (!['verifying', 'installing', 'cancelling', 'unknown', 'restore-failed'].includes(next.job?.state)) return next;
|
|
212
|
-
const rows = [...next.rows];
|
|
213
|
-
for (const row of known.values()) if ((row.name === next.job.name || row.bundledBy === next.job.name) && !rows.some(item => item.name === row.name)) rows.push({ ...row, updating: true });
|
|
214
|
-
return { ...next, rows };
|
|
215
|
-
}
|
|
216
|
-
function __stardustUpdatesSuiteRows(next, participants) {
|
|
217
|
-
// The official manager lists top-level dependencies, not Suite's transitive
|
|
218
|
-
// components. Project active, build-identified clients for display only.
|
|
219
|
-
// Installation and preferences still use the real Suite row from the host.
|
|
220
|
-
const suiteUpdating = next.job?.name === '@stardustlc/dsh-suite' && ['verifying', 'installing', 'cancelling', 'unknown', 'restore-failed'].includes(next.job?.state);
|
|
221
|
-
const suite = next.rows.find(row => row.name === '@stardustlc/dsh-suite' && (row.enabled || suiteUpdating));
|
|
222
|
-
if (!suite) return next;
|
|
223
|
-
const rows = [...next.rows], names = new Set(rows.map(row => row.name));
|
|
224
|
-
for (const item of participants) if (item.suiteComponent && item.packageVersion && item.label && !names.has(item.name)) {
|
|
225
|
-
names.add(item.name);
|
|
226
|
-
rows.push({ name: item.name, version: item.packageVersion, enabled: true, sourceKind: 'suite', loadError: false, label: item.label, labelEn: item.labelEn, bundledBy: suite.name });
|
|
227
|
-
}
|
|
228
|
-
return { ...next, rows };
|
|
229
|
-
}
|
|
230
|
-
function __stardustUpdatesWrap(definition, participant) {
|
|
231
|
-
return { ...definition, factory(require) {
|
|
232
|
-
const original = definition.factory(require);
|
|
233
|
-
if (!original || typeof original !== 'object') return original;
|
|
234
|
-
const React = require('react');
|
|
235
|
-
return { ...original, apply(ctx, ...args) {
|
|
236
|
-
const result = original.apply?.call(this, ctx, ...args);
|
|
237
|
-
// The optional alpha.3 slot stays dormant in older hosts; its scoped
|
|
238
|
-
// injection unregisters naturally when the plugin is unloaded.
|
|
239
|
-
if (participant.iconData && participant.sectionIds?.length && typeof ctx.inject === 'function') ctx.inject(['slots'], host => {
|
|
240
|
-
for (const id of new Set(participant.sectionIds)) host.slots.inject('settings.section.icon', () => host.slots.register({ name: 'settings.section.icon', id }, function PluginSettingsIcon({ size = 20 }) {
|
|
241
|
-
return React.createElement('img', { src: participant.iconData, alt: '', 'aria-hidden': true, width: size, height: size, style: { objectFit: 'contain', display: 'block', flexShrink: 0 } });
|
|
242
|
-
}));
|
|
243
|
-
});
|
|
244
|
-
if (typeof ctx.inject === 'function') ctx.inject(['slots', 'locale', 'remote', 'remote.pluginManager'], host => __stardustUpdatesJoin(host, React, require, participant));
|
|
245
|
-
return result;
|
|
246
|
-
} };
|
|
247
|
-
} };
|
|
248
|
-
}
|
|
249
|
-
function __stardustUpdatesJoin(host, React, require, participant) {
|
|
250
|
-
const key = Symbol.for('stardustlc.plugin-updates.client.v1'), pools = globalThis[key] ||= new WeakMap(), root = host.root || host;
|
|
251
|
-
if (typeof root.plugin !== 'function') return;
|
|
252
|
-
let record = pools.get(root);
|
|
253
|
-
if (!record) {
|
|
254
|
-
record = { refs: new Map(), timer: null, version: participant.version, alive: true, hold: false, uiRevision: 7, migration: Promise.resolve() };
|
|
255
|
-
pools.set(root, record);
|
|
256
|
-
__stardustUpdatesActivate(record, pools, root, React, require);
|
|
257
|
-
} else if ((record.uiRevision || 0) < 7 && !record.upgrading) {
|
|
258
|
-
// An earlier loaded participant may still own an older client revision. Keep
|
|
259
|
-
// its references and draft guards, wait for any admitted install, then
|
|
260
|
-
// replace that one client fiber instead of running two window heartbeats.
|
|
261
|
-
const shared = record;
|
|
262
|
-
const previousMigration = record.migration;
|
|
263
|
-
record.upgrading = record.migration = Promise.resolve(previousMigration).then(async () => {
|
|
264
|
-
while (shared.alive && shared.hold) await new Promise(resolve => setTimeout(resolve, 500));
|
|
265
|
-
if (!shared.alive || !shared.refs.size) return;
|
|
266
|
-
await shared.fiber?.dispose?.();
|
|
267
|
-
if (!shared.refs.size) return;
|
|
268
|
-
shared.alive = true; shared.uiRevision = 7; pools.set(root, shared);
|
|
269
|
-
__stardustUpdatesActivate(shared, pools, root, React, require);
|
|
270
|
-
}).catch(() => { /* The original page remains usable if host disposal fails. */ });
|
|
271
|
-
}
|
|
272
|
-
clearTimeout(record.timer);
|
|
273
|
-
const ref = {}; record.refs.set(ref, participant);
|
|
274
|
-
host.effect(() => () => {
|
|
275
|
-
record.refs.delete(ref);
|
|
276
|
-
const stop = () => {
|
|
277
|
-
if (record.refs.size || !record.alive) return;
|
|
278
|
-
if (record.hold) { record.timer = setTimeout(stop, 1000); return; }
|
|
279
|
-
record.alive = false; Promise.resolve(record.fiber?.dispose?.()).catch(() => {});
|
|
280
|
-
};
|
|
281
|
-
if (!record.refs.size) record.timer = setTimeout(stop, 1000);
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
function __stardustUpdatesActivate(shared, pools, root, React, require) {
|
|
285
|
-
shared.fiber = root.plugin({ name: 'stardustlc-plugin-updates-client', inject: ['slots', 'locale', 'remote', 'remote.pluginManager'], apply(ctx) {
|
|
286
|
-
const client = __stardustUpdatesClient(ctx, React, require, shared);
|
|
287
|
-
ctx.effect(() => () => { shared.alive = false; client.dispose(); if (pools.get(root) === shared) pools.delete(root); });
|
|
288
|
-
} });
|
|
289
|
-
Promise.resolve(shared.fiber).catch(() => { shared.alive = false; if (pools.get(root) === shared) pools.delete(root); });
|
|
290
|
-
}
|
|
291
|
-
function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
292
|
-
const h = React.createElement, W = createWorkbenchUI(React), route = new URL('api/stardustlc/plugin-updates', document.baseURI);
|
|
293
|
-
const { useState, useEffect, useRef } = React, id = crypto.randomUUID(), listeners = new Set(), pool = __stardustUpdatesGuards(), requests = new Set(), notified = new Set(), knownRows = new Map();
|
|
294
|
-
let alive = true, registered = false, state = null, lastInteraction = Date.now(), inPoll = false, manualOperation = false, legacyHint = null;
|
|
295
|
-
const language = () => String(ctx.locale?.getSnapshot?.().active || '').startsWith('en') ? 'en' : 'zh';
|
|
296
|
-
const t = (zh, en) => language() === 'en' ? en : zh;
|
|
297
|
-
const REPOS = { 'dsh-calendar': 'dsh-calendar', 'dsh-cite': 'dsh-cite', 'dsh-code-security': 'dsh-code-security', 'dsh-codex-port': 'dsh-codex-port', 'deepseek-computer-use': 'deepseek-computer-use', 'dsh-dingtalk': 'dsh-dingtalk', '@stardustlc/dsh-docker': 'dsh-docker', '@stardustlc/dsh-dream': 'dsh-dream', 'dsh-email': 'dsh-email', 'dsh-ffmpeg': 'dsh-ffmpeg', 'dsh-flakefinder': 'dsh-flakefinder', 'dsh-hyperframes': 'dsh-hyperframes', 'dsh-minimal-ptc': 'dsh-minimal-ptc', 'dsh-ppt': 'dsh-ppt', 'dsh-remotion': 'dsh-remotion', '@stardustlc/dsh-review': 'dsh-review', 'dsh-rss': 'dsh-rss', 'dsh-slack': 'dsh-slack', 'dsh-sql': 'dsh-sql', '@stardustlc/dsh-suite': 'dsh-suite', 'dsh-voice': 'dsh-voice' };
|
|
298
|
-
const repoUrl = pkg => Object.hasOwn(REPOS, pkg) ? 'https://github.com/STARDUSTLC666/' + REPOS[pkg] : null;
|
|
299
|
-
const preferences = name => state?.preferences.packages[name] || { checkEnabled: true, autoInstall: false, autoScope: 'compatible', deferredUntil: 0, ignoredVersion: null };
|
|
300
|
-
const originalRow = name => state?.rows.find(row => row.name === name);
|
|
301
|
-
const rowFor = name => { const row = originalRow(name); return row?.bundledBy ? originalRow(row.bundledBy) : row; };
|
|
302
|
-
const activeJob = () => ['verifying', 'installing', 'cancelling'].includes(state?.job?.state);
|
|
303
|
-
function notify() { shared.hold = manualOperation || activeJob(); for (const listener of listeners) listener(); for (const listener of pool.viewListeners) listener(); }
|
|
304
|
-
async function api(body = { action: 'state' }) {
|
|
305
|
-
const controller = new AbortController(); requests.add(controller);
|
|
306
|
-
const timeout = setTimeout(() => controller.abort(), body.action === 'check' ? 95000 : 45000);
|
|
307
|
-
try {
|
|
308
|
-
const response = await fetch(route, { method: 'POST', credentials: 'same-origin', cache: 'no-store', signal: controller.signal, headers: { 'content-type': 'application/json', 'x-stardustlc-updates': '1' }, body: JSON.stringify(body) });
|
|
309
|
-
let data; try { data = await response.json(); } catch { throw new Error('service-unavailable'); }
|
|
310
|
-
if (!response.ok || !data.ok) throw new Error(response.status === 403 ? 'owner-required' : data.code || 'service-unavailable');
|
|
311
|
-
return data.value;
|
|
312
|
-
} catch (error) { if (error?.name === 'AbortError') throw new Error('service-unavailable'); throw error; }
|
|
313
|
-
finally { clearTimeout(timeout); requests.delete(controller); }
|
|
314
|
-
}
|
|
315
|
-
function pageState(manual = manualOperation) {
|
|
316
|
-
const values = [...pool.values.values()], nativeForm = __stardustUpdatesNativeFormState(document);
|
|
317
|
-
const dialog = [...document.querySelectorAll('[role="dialog"],dialog[open]')].some(node => node.getClientRects().length && !(manual && (node.closest('.plugin-updates-footer,.plugin-updates-reminder') || node.querySelector('.plugin-updates-footer,.plugin-updates-reminder'))));
|
|
318
|
-
return { action: 'heartbeat', id, dirty: nativeForm.dirty || values.some(value => value.dirty), busy: nativeForm.busy || values.some(value => value.busy) || dialog, idleForMs: Math.min(86400000, Math.max(0, Date.now() - lastInteraction)) };
|
|
319
|
-
}
|
|
320
|
-
const heartbeat = () => api(pageState());
|
|
321
|
-
function interaction() { lastInteraction = Date.now(); if (registered && alive) void heartbeat().catch(() => {}); }
|
|
322
|
-
const guardChanged = () => { if (registered && alive) void heartbeat().catch(() => {}); };
|
|
323
|
-
for (const event of ['pointerdown', 'keydown', 'input']) document.addEventListener(event, interaction, { capture: true, passive: true });
|
|
324
|
-
pool.listeners.add(guardChanged);
|
|
325
|
-
const close = () => { void fetch(route, { method: 'POST', credentials: 'same-origin', keepalive: true, headers: { 'content-type': 'application/json', 'x-stardustlc-updates': '1' }, body: JSON.stringify({ action: 'client-close', id }) }).catch(() => {}); };
|
|
326
|
-
window.addEventListener('pagehide', close);
|
|
327
|
-
async function refresh() { const next = await api(); if (alive) { state = __stardustUpdatesDisplayRows(__stardustUpdatesSuiteRows(next, shared.refs.values()), knownRows); notify(); } return next; }
|
|
328
|
-
function useSnapshot() {
|
|
329
|
-
const [, render] = useState(0);
|
|
330
|
-
useEffect(() => { const fn = () => render(value => value + 1); listeners.add(fn); const stop = ctx.locale?.subscribe?.(fn); return () => { listeners.delete(fn); stop?.(); }; }, []);
|
|
331
|
-
return state;
|
|
332
|
-
}
|
|
333
|
-
function message(code) {
|
|
334
|
-
return ({
|
|
335
|
-
'page-dirty': t('有未保存的修改。请先保存或放弃修改,再更新。', 'Save or discard unsaved changes before updating.'),
|
|
336
|
-
'page-busy': t('有页面操作或对话框尚未结束,请完成后再试。', 'Finish the active page operation or close its dialog, then retry.'),
|
|
337
|
-
'page-not-ready': t('还有窗口状态未确认,或旧版插件尚未提供状态保护。请刷新相关窗口,必要时先手动更新旧版插件。', 'A window state is unknown or an older plugin lacks state protection. Refresh the affected windows and manually update legacy plugins if needed.'),
|
|
338
|
-
busy: t('DSH 正在执行任务或安装,请等操作结束。', 'DSH is running a task or installation. Wait for it to finish.'),
|
|
339
|
-
'activity-unknown': t('无法确认任务是否空闲,已暂停安装。', 'Installation paused because task activity is unknown.'),
|
|
340
|
-
'restart-required': t('更新服务需要重启后继续。请在方便时手动重启 DSH。', 'The updater needs a restart. Restart DSH manually when convenient.'),
|
|
341
|
-
'operation-unconfirmed': t('上次安装未确认或恢复失败。请在官方插件管理中检查并修复,之后手动重启 DSH。', 'The last installation is unconfirmed or recovery failed. Check and repair it in native plugin management, then restart DSH manually.'),
|
|
342
|
-
'check-first': t('检查结果已过期,请重新检查。', 'This check expired. Check again.'),
|
|
343
|
-
'release-changed': t('发布信息已变化,本次未安装。请重新检查。', 'Release metadata changed. Nothing was installed; check again.'),
|
|
344
|
-
'preferences-conflict': t('另一个窗口修改了偏好,已刷新,请重试。', 'Preferences changed in another window. They have been refreshed; retry.'),
|
|
345
|
-
'preferences-unreadable': t('更新偏好文件无法读取,自动安装已关闭。请检查当前 profile 的 stardustlc-plugin-updates.json。', 'Preferences could not be read. Automatic installation is off. Check stardustlc-plugin-updates.json in this profile.'),
|
|
346
|
-
'no-update': t('版本已变化或暂不兼容,请重新检查。', 'The version changed or is incompatible. Check again.'),
|
|
347
|
-
'source-not-registry': t('本地源码、Git 等安装,请通过原安装方式更新。', 'Update local, Git and other external sources through their original installation method.'),
|
|
348
|
-
'managed-by-suite': t('这个插件随 Suite 安装,通过 Suite 更新。', 'This plugin was installed through Suite and is updated through Suite.'),
|
|
349
|
-
'owner-required': t('只有 profile 拥有者能管理更新。', 'Only the profile owner can manage updates.'),
|
|
350
|
-
'version-mismatch': t('宿主装入的版本与目标不同。请重新检查版本和软件源策略。', 'The installed version differs from the target. Check the release and registry policy.'),
|
|
351
|
-
'unexpected-package': t('宿主装入的包或版本与目标不同。请检查版本和软件源策略。', 'The installed package or version differed from the target. Check the release and registry policy.'),
|
|
352
|
-
'version-unconfirmed': t('尚未确认新版已加载,请在插件详情中检查当前版本。', 'The new version could not be confirmed. Check the installed version in plugin details.'),
|
|
353
|
-
'build-blocked': t('构建脚本等待批准。请查看原生插件管理中的安装提示。', 'Build scripts await approval. Review the install details in native plugin management.'),
|
|
354
|
-
})[code] || t('操作未完成,请刷新后重试。DSH 不会因此自动重启。', 'The operation could not be completed. Refresh and retry. DSH will not restart automatically.');
|
|
355
|
-
}
|
|
356
|
-
// releaseOf() keeps the failing engine/peer range check as a stable code; say which
|
|
357
|
-
// environment has to change instead of only reporting that the release is incompatible.
|
|
358
|
-
function requirement(release) {
|
|
359
|
-
return ({
|
|
360
|
-
'dsh-version': t('需要换成与该版本匹配的 DSH 本体', 'it needs a different DSH version'),
|
|
361
|
-
'node-version': t('需要换成与该版本匹配的 Node.js', 'it needs a different Node.js version'),
|
|
362
|
-
deprecated: t('作者已把这个版本标记为弃用', 'the author marked this release as deprecated'),
|
|
363
|
-
'not-bundle': t('这个版本不是可加载的 DSH 插件包', 'this release is not a loadable DSH plugin bundle'),
|
|
364
|
-
})[release?.reason] || t('发布元数据的兼容范围与当前环境不符', 'its published compatibility range does not match this environment');
|
|
365
|
-
}
|
|
366
|
-
function jobLabel(job) {
|
|
367
|
-
if (job.state === 'installing') {
|
|
368
|
-
const phase = ({
|
|
369
|
-
checking: t('宿主正在检查版本', 'Host checking release'),
|
|
370
|
-
removing: t('正在卸载旧版', 'Unloading the previous version'),
|
|
371
|
-
applying: t('正在加载新版', 'Loading the new version'),
|
|
372
|
-
restoring: t('正在恢复旧版', 'Restoring the previous version'),
|
|
373
|
-
})[job.phase];
|
|
374
|
-
if (phase) return phase;
|
|
375
|
-
}
|
|
376
|
-
return ({ verifying: t('正在核对版本', 'Verifying release'), installing: t('正在安装', 'Installing'), cancelling: t('正在请求取消', 'Requesting cancellation'), complete: t('已更新', 'Updated'), 'restart-required': t('已安装,等待你手动重启', 'Installed; manual restart needed'), restored: t('更新未成功,已恢复原版本', 'Update failed; previous version restored'), 'restore-failed': t('恢复未成功,请检查官方插件管理', 'Recovery failed; check native plugin management'), unknown: t('结果未确认,请检查官方插件管理', 'Result unconfirmed; check native plugin management'), cancelled: t('已取消', 'Cancelled'), failed: t('更新未成功', 'Update failed') })[job.state] || job.state;
|
|
377
|
-
}
|
|
378
|
-
const FOOTER_CSS = '.plugin-updates-footer{box-sizing:border-box;flex-shrink:0;margin-top:16px;padding-top:14px;border-top:var(--dsh-control-border-width,0.5px) solid var(--dsw-alias-border-l2,var(--dsw-alias-border-l3,#e5e7eb));min-width:0;max-width:100%;color:var(--dsw-alias-label-primary,#202124)}'
|
|
379
|
-
+ '.dshw.plugin-updates-footer.is-inline{display:block!important;width:100%!important;max-width:100%!important;margin-block:auto 0!important;margin-inline:0!important;padding:6px 14px!important;border-top:var(--dsh-control-border-width,0.5px) solid var(--dsw-alias-border-l2,var(--dsw-alias-border-l3,#e5e7eb));background:var(--dsw-alias-bg-layer-1,var(--w-soft,#f7f8fa));font-size:12px;line-height:1.45}'
|
|
380
|
-
+ '.plugin-updates-footer .updates-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;min-block-size:28px;min-width:0}'
|
|
381
|
-
+ '.plugin-updates-footer .updates-bar-info,.plugin-updates-footer .updates-bar-actions,.plugin-updates-footer .updates-head-actions,.plugin-updates-footer .updates-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;min-width:0}'
|
|
382
|
-
+ '.plugin-updates-footer .updates-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 12px}'
|
|
383
|
-
+ '.plugin-updates-footer h2{font-size:13.5px;line-height:1.4;margin:0;font-weight:600}'
|
|
384
|
-
+ '.plugin-updates-footer .updates-pill{display:inline-flex;align-items:center;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.5;background:var(--dsw-alias-bg-layer-2,var(--w-soft,#eef1f6));color:var(--dsw-alias-label-secondary,#657080)}'
|
|
385
|
-
+ '.plugin-updates-footer .updates-pill.is-accent{background:color-mix(in srgb,var(--w-accent,#4f6bdb) 14%,transparent);color:var(--w-accent,#4f6bdb)}'
|
|
386
|
-
+ '.plugin-updates-footer .updates-pill.is-error{background:color-mix(in srgb,var(--dsw-alias-state-error-primary,#ad3636) 14%,transparent);color:var(--dsw-alias-state-error-primary,#ad3636)}'
|
|
387
|
-
+ '.plugin-updates-footer .updates-mono,.plugin-updates-footer .updates-subtitle,.plugin-updates-footer .updates-version{font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;margin:0}'
|
|
388
|
-
+ '.plugin-updates-footer .updates-badge{padding:1px 6px;border-radius:5px;background:var(--dsw-alias-bg-layer-2,var(--w-soft,#eef1f6));color:var(--dsw-alias-label-secondary,#657080)}'
|
|
389
|
-
+ '.plugin-updates-footer .updates-meta-line,.plugin-updates-footer .updates-note{margin:3px 0 0;font-size:12px;line-height:1.55}'
|
|
390
|
-
+ '.plugin-updates-footer .updates-inline-msg.is-error{color:var(--dsw-alias-state-error-primary,#ad3636);font-size:12px}'
|
|
391
|
-
+ '.plugin-updates-footer .w-button.is-sm{min-block-size:26px;min-inline-size:26px;min-height:26px;padding:3px 9px;font-size:12px;gap:5px;border-radius:6px}'
|
|
392
|
-
+ '.plugin-updates-footer .updates-options{margin-top:8px}'
|
|
393
|
-
+ '.plugin-updates-footer .updates-options>summary{cursor:pointer;display:inline-flex;align-items:center;gap:0.55ch;min-block-size:24px;font-size:12px;line-height:1.5;font-weight:500;color:var(--dsw-alias-label-secondary,#657080);list-style:none}'
|
|
394
|
-
+ '.plugin-updates-footer .updates-options>summary:after{display:none}'
|
|
395
|
-
+ '.plugin-updates-footer .updates-options>summary::before{content:"";inline-size:6px;block-size:6px;flex-shrink:0;border-inline-end:1.5px solid currentColor;border-block-end:1.5px solid currentColor;rotate:-45deg}'
|
|
396
|
-
+ '.plugin-updates-footer .updates-options>summary:dir(rtl)::before{rotate:135deg}'
|
|
397
|
-
+ '.plugin-updates-footer .updates-options[open]>summary::before{rotate:45deg}'
|
|
398
|
-
+ '.plugin-updates-footer .updates-options>summary:focus-visible{outline:2px solid var(--dsw-focus-ring-color,#6b79df);outline-offset:3px;border-radius:4px}'
|
|
399
|
-
+ '.plugin-updates-footer details::details-content{interpolate-size:allow-keywords;overflow:clip;contain:layout}'
|
|
400
|
-
+ '.plugin-updates-footer details:not([open])::details-content{block-size:0}'
|
|
401
|
-
+ '.plugin-updates-footer .updates-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px;padding:10px 0 2px}'
|
|
402
|
-
+ '.plugin-updates-footer>.w-section{margin:8px 0 0;padding:0;border:0}'
|
|
403
|
-
+ '.plugin-updates-footer .w-toolbar{margin-top:8px!important}'
|
|
404
|
-
+ '.plugin-updates-footer .w-switch-label{max-width:100%;gap:12px;align-items:flex-start}'
|
|
405
|
-
+ '.plugin-updates-footer .w-switch-track{flex-shrink:0}'
|
|
406
|
-
+ '.plugin-updates-footer .updates-notes{margin-top:8px;padding:10px 12px;border:1px solid var(--dsw-alias-border-l3,#e5e7eb);border-radius:8px;background:var(--dsw-alias-bg-base,var(--w-bg,#fff))}'
|
|
407
|
-
+ '.plugin-updates-footer .updates-notes pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;margin:6px 0;padding:10px;font:12px/1.65 ui-monospace,monospace}'
|
|
408
|
-
+ '.plugin-updates-footer .updates-notes pre code{font:inherit;background:transparent;padding:0}'
|
|
409
|
-
+ '.plugin-updates-footer .updates-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin-top:10px;padding-top:8px;border-top:1px dashed var(--dsw-alias-border-l3,#e5e7eb);font-size:12px;line-height:1.5;color:var(--dsw-alias-label-secondary,#657080)}'
|
|
410
|
-
+ '.plugin-updates-footer .updates-links a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;min-block-size:24px;gap:4px}'
|
|
411
|
-
+ '.plugin-updates-footer .updates-links a:hover{color:var(--dsw-alias-label-primary,#202124);text-decoration:underline}'
|
|
412
|
-
+ '.plugin-updates-footer .updates-links a:focus-visible{outline:2px solid var(--dsw-focus-ring-color,#6b79df);outline-offset:3px;border-radius:4px}'
|
|
413
|
-
+ '.plugin-updates-footer .w-overlay,.plugin-updates-reminder .w-overlay{z-index:1002}'
|
|
414
|
-
+ '.plugin-updates-reminder{position:fixed;inset-inline-end:16px;inset-block-end:16px;z-index:998;box-sizing:border-box;width:min(410px,calc(100vw - 32px));padding:11px 13px;border-radius:10px;border:var(--dsh-control-border-width,1px) solid var(--dsw-alias-border-l2,#d8dee9);background:var(--dsw-alias-bg-base,#fff);color:var(--dsw-alias-label-primary,#202124);box-shadow:0 8px 24px rgba(15,23,42,.12);font-size:12px;line-height:1.5}'
|
|
415
|
-
+ '.plugin-updates-reminder .reminder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}'
|
|
416
|
-
+ '.plugin-updates-reminder .reminder-title{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;font-weight:600;font-size:12.5px}'
|
|
417
|
-
+ '.plugin-updates-reminder .reminder-close{appearance:none;border:0;background:transparent;color:var(--dsw-alias-label-secondary,#657080);cursor:pointer;padding:2px 5px;border-radius:5px;font-size:14px;line-height:1}'
|
|
418
|
-
+ '.plugin-updates-reminder .reminder-close:hover{background:var(--dsw-alias-bg-layer-2,#eef1f6);color:var(--dsw-alias-label-primary,#202124)}'
|
|
419
|
-
+ '.plugin-updates-reminder .reminder-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px}'
|
|
420
|
-
+ '.plugin-updates-reminder .w-button.is-sm{min-block-size:26px;min-inline-size:26px;min-height:26px;padding:3px 9px;font-size:12px;gap:5px;border-radius:6px}'
|
|
421
|
-
+ '.plugin-updates-reminder .updates-pill{display:inline-flex;align-items:center;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.5;background:color-mix(in srgb,var(--w-accent,#4f6bdb) 14%,transparent);color:var(--w-accent,#4f6bdb)}'
|
|
422
|
-
+ '.plugin-updates-reminder .updates-pill.is-error{background:color-mix(in srgb,var(--dsw-alias-state-error-primary,#ad3636) 14%,transparent);color:var(--dsw-alias-state-error-primary,#ad3636)}'
|
|
423
|
-
+ '.plugin-updates-reminder .updates-mono{font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}'
|
|
424
|
-
+ '.plugin-updates-reminder .updates-notes{margin-top:8px;padding:8px 10px;border:1px solid var(--dsw-alias-border-l3,#e5e7eb);border-radius:7px;background:var(--dsw-alias-bg-layer-1,#f7f8fa)}'
|
|
425
|
-
+ '.plugin-updates-reminder .updates-notes pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto;margin:4px 0;padding:6px;font:11.5px/1.6 ui-monospace,monospace}'
|
|
426
|
-
+ '.plugin-updates-footer .updates-auto-nudge,.plugin-updates-reminder .updates-auto-nudge{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:6px;font-size:12px;color:var(--dsw-alias-label-secondary,#657080)}'
|
|
427
|
-
+ '@media(pointer:coarse){.plugin-updates-footer .w-button.is-sm{min-block-size:32px;min-height:32px;padding:5px 11px}}'
|
|
428
|
-
+ '@media(prefers-reduced-motion:no-preference){.plugin-updates-footer .updates-options>summary::before{transition:rotate .18s ease}.plugin-updates-footer details::details-content{transition:block-size .22s ease,content-visibility .22s ease allow-discrete}}'
|
|
429
|
-
+ '@media(max-width:600px){.plugin-updates-footer .updates-head{gap:8px}.plugin-updates-footer .w-toolbar{gap:6px;flex-wrap:wrap}.plugin-updates-footer .w-button{max-width:100%}}';
|
|
430
|
-
function FooterFrame({ name, label, inline = false, head, children }) {
|
|
431
|
-
return h('section', { className: 'dshw plugin-updates-footer' + (inline ? ' is-inline' : ''), 'data-plugin-update-footer': name, 'aria-label': label + t(' · 版本与更新', ' · Version and updates') },
|
|
432
|
-
h('style', null, W.styles),
|
|
433
|
-
h('style', null, FOOTER_CSS),
|
|
434
|
-
head, children);
|
|
435
|
-
}
|
|
436
|
-
function Panel({ name, inline = false }) {
|
|
437
|
-
const snapshot = useSnapshot(), [error, setError] = useState(''), [working, setWorking] = useState(false), [checking, setChecking] = useState(false), [dialog, setDialog] = useState(null), [selectedVersion, setSelectedVersion] = useState(null), [notes, setNotes] = useState(null), [notesOpen, setNotesOpen] = useState(false), [loadingNotes, setLoadingNotes] = useState(false), [dismissedJobId, setDismissedJobId] = useState(null);
|
|
438
|
-
const seenActiveJob = useRef ? useRef(null) : { current: null };
|
|
439
|
-
const row = rowFor(name), original = originalRow(name), target = row?.name || name, prefs = preferences(target), job = snapshot?.job?.name === target ? snapshot.job : null;
|
|
440
|
-
if (job && ['verifying', 'installing', 'cancelling'].includes(job.state)) seenActiveJob.current = job.id;
|
|
441
|
-
async function perform(callback) { setError(''); setWorking(true); try { await callback(); await refresh(); } catch (error) { setError(error.message); await refresh().catch(() => {}); } finally { setWorking(false); } }
|
|
442
|
-
async function save(changes, consent) { await api({ action: 'preferences', name: target, revision: state.preferences.revision, changes, consent }); }
|
|
443
|
-
async function check() { setError(''); setChecking(true); try { await api({ action: 'check', name: target }); await refresh(); } catch (error) { setError(error.message); } finally { setChecking(false); } }
|
|
444
|
-
async function runOperation(request) {
|
|
445
|
-
setDialog(null); manualOperation = true; notify();
|
|
446
|
-
await perform(async () => {
|
|
447
|
-
try {
|
|
448
|
-
await heartbeat();
|
|
449
|
-
const started = await api(request);
|
|
450
|
-
seenActiveJob.current = started.id;
|
|
451
|
-
while (alive) {
|
|
452
|
-
await new Promise(resolve => setTimeout(resolve, 800)); await heartbeat(); await refresh();
|
|
453
|
-
if (state.job?.id !== started.id) throw new Error('operation-unconfirmed');
|
|
454
|
-
if (!activeJob()) break;
|
|
455
|
-
}
|
|
456
|
-
} finally { manualOperation = false; notify(); }
|
|
457
|
-
});
|
|
458
|
-
}
|
|
459
|
-
async function showNotes() {
|
|
460
|
-
if (notesOpen) { setNotesOpen(false); return; }
|
|
461
|
-
setNotesOpen(true); setNotes(null); setLoadingNotes(true); setError('');
|
|
462
|
-
try { setNotes(await api({ action: 'notes', name: target, version: row.release.version })); } catch (error) { setError(error.message); } finally { setLoadingNotes(false); }
|
|
463
|
-
}
|
|
464
|
-
if (inline && (!snapshot || !row || !original)) return null;
|
|
465
|
-
if (!snapshot) return h('p', { className: 'dshw w-muted' }, t('正在读取更新状态…', 'Loading update status…'));
|
|
466
|
-
if (!row || !original) return h(W.Status, null, t('此插件尚未安装或已从当前 profile 移除。', 'This plugin is not installed in the current profile.'));
|
|
467
|
-
const title = language() === 'en' ? original.labelEn : original.label;
|
|
468
|
-
const ownPage = pageState(true), unconfirmed = ['unknown', 'restore-failed'].includes(snapshot.job?.state);
|
|
469
|
-
const staleWindows = (snapshot.pages.clients || []).some(client => !client.fresh);
|
|
470
|
-
const pageBusy = ownPage.busy || (snapshot.pages.clients || []).some(client => client.id !== id && client.busy);
|
|
471
|
-
const installLocked = working || activeJob() || unconfirmed || snapshot.updaterRestart || snapshot.preferenceError || !snapshot.activity.known
|
|
472
|
-
|| snapshot.activity.busy || snapshot.pages.dirty || ownPage.dirty || pageBusy || !snapshot.pages.known;
|
|
473
|
-
const checkingThis = checking || snapshot.checkingNames?.includes(target);
|
|
474
|
-
const managed = row.sourceKind === 'registry';
|
|
475
|
-
const showUpdate = managed && row.available;
|
|
476
|
-
const deferred = prefs.deferredUntil > Date.now();
|
|
477
|
-
const ignored = !!row.release?.version && prefs.ignoredVersion === row.release.version;
|
|
478
|
-
const actionableUpdate = showUpdate && !deferred && !ignored;
|
|
479
|
-
const canConfirm = showUpdate && row.release?.version === selectedVersion && !installLocked && !row.loadError;
|
|
480
|
-
const isSuite = target === '@stardustlc/dsh-suite';
|
|
481
|
-
const jobResult = job?.outcome?.result;
|
|
482
|
-
const jobReason = job ? job.reason || (jobResult?.pendingBuilds || jobResult?.failureKind === 'build-blocked' ? 'build-blocked' : jobResult?.error?.code) : null;
|
|
483
|
-
const jobActiveThis = !!job && ['verifying', 'installing', 'cancelling'].includes(job.state);
|
|
484
|
-
const canCancel = jobActiveThis && !['applying', 'restoring'].includes(job.phase);
|
|
485
|
-
const jobAttentionThis = !!job && ['restart-required', 'restored', 'restore-failed', 'unknown', 'failed'].includes(job.state) && (unconfirmed || dismissedJobId !== job.id);
|
|
486
|
-
const jobJustCompleted = !!job && job.state === 'complete' && seenActiveJob.current === job.id && dismissedJobId !== job.id;
|
|
487
|
-
const canSuggestAuto = !!job && job.state === 'complete' && !jobReason && job.mode !== 'automatic' && (!prefs.autoInstall || prefs.autoScope !== 'compatible') && managed && !snapshot.preferenceError && dismissedJobId !== job.id;
|
|
488
|
-
const inlineJobVisible = jobActiveThis || jobAttentionThis || jobJustCompleted;
|
|
489
|
-
if (inline && !actionableUpdate && !inlineJobVisible && !working && !checking && !error && !dialog && !notesOpen) return null;
|
|
490
|
-
const notesSection = notesOpen && h('section', { className: 'updates-notes', 'aria-label': t('更新记录', 'Release notes') },
|
|
491
|
-
h('strong', null, target + ' · ' + (notes?.version || row.release?.version || '')),
|
|
492
|
-
loadingNotes ? h('p', { className: 'w-muted updates-note' }, t('正在读取…', 'Loading…'))
|
|
493
|
-
: notes?.text ? h('pre', { tabIndex: 0, role: 'region', 'aria-label': t('更新记录内容', 'Release notes content') }, h('code', null, notes.text))
|
|
494
|
-
: h('p', { className: 'w-muted updates-note' }, t('未找到此版本的独立更新记录。', 'No separate notes were found for this version.')),
|
|
495
|
-
notes?.url && h('a', { href: notes.url, target: '_blank', rel: 'noreferrer noopener' }, t('查看仓库更新记录', 'View repository changelog')));
|
|
496
|
-
const windowsDialog = dialog === 'windows' && h(W.Dialog, { title: t('断开的窗口都已关闭?', 'Are the disconnected windows closed?'), closeLabel: t('关闭', 'Close'), onClose: () => setDialog(null) },
|
|
497
|
-
h('div', { className: 'w-stack' }, h('p', null, t('只清除超过 45 秒未回应的其他窗口记录。请先确认它们已经关闭;仍在使用的窗口请保存修改并刷新。当前或仍在回应的窗口保护会保留。', 'Only other windows silent for over 45 seconds are cleared. Confirm that they are closed; save and refresh windows still in use. Current and responsive windows remain protected.')), h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')), h(W.Button, { onClick: () => { setDialog(null); void perform(() => api({ ...pageState(true), action: 'reconfirm-windows', confirmation: 'other-stale-windows-are-closed' })); } }, t('已关闭,重新确认状态', 'They are closed; reconfirm')))));
|
|
498
|
-
const confirmDialog = ['automatic', 'install'].includes(dialog) && h(W.Dialog, { title: dialog === 'automatic' ? (isSuite ? t('允许 Suite 空闲时自动热更新?', 'Allow idle automatic updates for Suite?') : t('允许这个插件空闲时自动热更新?', 'Allow idle automatic updates for this plugin?')) : (isSuite ? t('确认更新 Suite 整包', 'Confirm Suite bundle update') : t('确认更新此插件', 'Confirm this plugin update')), closeLabel: t('关闭', 'Close'), onClose: () => setDialog(null) },
|
|
499
|
-
dialog === 'automatic' ? h('div', { className: 'w-stack' }, h('p', null, (language() === 'en' ? row.labelEn : row.label) + ' · ' + target), isSuite && h('p', null, t('此处设置作用于 Suite 整包(包含 18 个组件)。独立安装的其他插件不受影响。', 'This setting applies to the whole Suite (including its 18 components). Other independently installed plugins are unaffected.')), h('p', null, t('你正在主动启用自动安装。只处理通过当前 DSH 与 Node 兼容性校验的稳定版本(含功能小版本与补丁,跨主版本仍需手动确认);有任务、未保存修改、未知窗口或等待重启时暂停。', 'You are explicitly enabling automatic installation for compatible stable releases (minor and patch updates matching this DSH and Node runtime; major upgrades still require manual confirmation). Running tasks, unsaved changes, unknown windows or a pending restart pause it.')), h('p', null, t('支持热更新时原地重载,不会自动重启 DSH;其他插件不会跟着开启,可随时关闭。', 'Hot-reloads in place when supported and never restarts DSH automatically. Other plugins remain unchanged; turn it off anytime.')), h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('保持关闭', 'Keep off')), h(W.Button, { variant: 'primary', onClick: () => { setDialog(null); void perform(() => save({ checkEnabled: true, autoInstall: true, autoScope: 'compatible' }, 'enable-idle-compatible-updates')); } }, t('允许空闲自动热更新', 'Allow idle automatic updates')))) :
|
|
500
|
-
h('div', { className: 'w-stack' },
|
|
501
|
-
isSuite && h('p', null, t('此处操作的是 Suite 整包,包含 18 个组件。独立安装的其他插件不受影响。', 'This action applies to the whole Suite, including its 18 components. Other independently installed plugins are unaffected.')),
|
|
502
|
-
h('p', { className: 'updates-version' }, target + ' · ' + row.version + ' → ' + selectedVersion),
|
|
503
|
-
h('p', null, selectedVersion === row.release?.version ? t('Harness 会热更新并重新加载;需要手动重启时,更新区会显示宿主结果,停用状态会保留。', 'Harness hot-updates and reloads in place. If a manual restart is needed, it appears in the update result; disabled status is preserved.') : message('check-first')),
|
|
504
|
-
h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')),
|
|
505
|
-
h(W.Button, { variant: 'primary', disabled: !canConfirm, onClick: () => runOperation({ action: 'install', name: target, version: selectedVersion, confirmation: 'update-installed-plugin' }) }, t('安装此版本', 'Install this version')))));
|
|
506
|
-
const checkButton = variant => h(W.Button, { variant, className: 'is-sm', icon: 'refresh', disabled: checkingThis || !managed, onClick: check }, checkingThis ? t('正在检查…', 'Checking…') : isSuite ? t('检查整包更新', 'Check Suite updates') : t('检查更新', 'Check for updates'));
|
|
507
|
-
const primary = showUpdate
|
|
508
|
-
? h(W.Button, { variant: 'primary', className: 'is-sm', icon: 'download', disabled: installLocked || row.loadError, onClick: () => { setSelectedVersion(row.release.version); setDialog('install'); } }, (isSuite ? t('更新 Suite 至 v', 'Update Suite to v') : t('更新至 v', 'Update to v')) + row.release.version)
|
|
509
|
-
: managed ? checkButton() : null;
|
|
510
|
-
if (inline) {
|
|
511
|
-
const lockHint = unconfirmed ? message('operation-unconfirmed')
|
|
512
|
-
: snapshot.updaterRestart ? message('restart-required')
|
|
513
|
-
: snapshot.preferenceError ? message('preferences-unreadable')
|
|
514
|
-
: (snapshot.pages.dirty || ownPage.dirty) ? t('请先保存修改后再更新', 'Save changes before updating')
|
|
515
|
-
: (snapshot.activity.busy || pageBusy) ? t('当前任务或对话框结束后可更新', 'Finish active task or dialog to update')
|
|
516
|
-
: (!snapshot.activity.known || !snapshot.pages.known) ? t('等待窗口状态确认', 'Waiting for window confirmation')
|
|
517
|
-
: '';
|
|
518
|
-
return h(FooterFrame, { name, label: title, inline: true, head: h('div', { className: 'updates-bar' },
|
|
519
|
-
h('div', { className: 'updates-bar-info' },
|
|
520
|
-
inlineJobVisible
|
|
521
|
-
? h(React.Fragment, null,
|
|
522
|
-
h('span', { className: 'updates-pill' + (jobActiveThis ? ' is-accent' : ['failed', 'restore-failed', 'unknown', 'restored'].includes(job.state) ? ' is-error' : '') }, jobLabel(job)),
|
|
523
|
-
job.to && h('span', { className: 'updates-mono' }, (isSuite ? 'dsh-suite ' : '') + job.from + ' → ' + job.to),
|
|
524
|
-
jobReason && h('span', { className: 'updates-inline-msg is-error' }, message(jobReason)))
|
|
525
|
-
: actionableUpdate ? h(React.Fragment, null,
|
|
526
|
-
h('span', { className: 'updates-pill is-accent' }, isSuite ? t('Suite 新版本', 'Suite update') : t('有新版本', 'Update available')),
|
|
527
|
-
h('span', { className: 'updates-mono' }, (isSuite ? 'dsh-suite ' : '') + 'v' + row.version + ' → v' + row.release.version),
|
|
528
|
-
lockHint && h('span', { className: 'w-muted' }, '· ' + lockHint)) : null,
|
|
529
|
-
error && h('span', { className: 'updates-inline-msg is-error', role: 'alert' }, message(error))),
|
|
530
|
-
h('div', { className: 'updates-bar-actions' },
|
|
531
|
-
staleWindows && actionableUpdate && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: () => setDialog('windows') }, t('确认已关闭窗口', 'Confirm closed windows')),
|
|
532
|
-
canCancel && h(W.Button, { className: 'is-sm', disabled: job?.state === 'cancelling', onClick: () => perform(() => api({ action: 'cancel', id: job.id })) }, t('取消更新', 'Cancel update')),
|
|
533
|
-
!jobActiveThis && actionableUpdate && row.release && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: showNotes, 'aria-expanded': notesOpen }, t('更新记录', 'Release notes')),
|
|
534
|
-
!jobActiveThis && actionableUpdate && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'later', name: target, revision: state.preferences.revision })) }, t('明天再提醒', 'Remind me tomorrow')),
|
|
535
|
-
!jobActiveThis && actionableUpdate && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'ignore', name: target, revision: state.preferences.revision, version: row.release.version })) }, t('忽略此版', 'Ignore')),
|
|
536
|
-
!jobActiveThis && actionableUpdate && primary,
|
|
537
|
-
!jobActiveThis && !actionableUpdate && canSuggestAuto && h(W.Button, { variant: 'primary', className: 'is-sm', disabled: working, onClick: () => setDialog('automatic') }, t('开启空闲自动热更新', 'Enable idle auto-updates')),
|
|
538
|
-
!jobActiveThis && !actionableUpdate && !unconfirmed && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: () => { setError(''); setNotesOpen(false); if (job) setDismissedJobId(job.id); } }, t('关闭', 'Dismiss')))) },
|
|
539
|
-
notesSection, windowsDialog, confirmDialog);
|
|
540
|
-
}
|
|
541
|
-
function progress() {
|
|
542
|
-
if (!job) return null;
|
|
543
|
-
if (job.state === 'complete' && !jobReason) {
|
|
544
|
-
return job.to ? h('div', null,
|
|
545
|
-
h('p', { className: 'w-muted updates-note' }, '✓ ' + jobLabel(job) + ' · ' + job.from + ' → ' + job.to + (job.mode === 'automatic' ? t(' · 自动更新', ' · Automatic update') : '')),
|
|
546
|
-
canSuggestAuto && h('div', { className: 'updates-auto-nudge' },
|
|
547
|
-
h('span', null, t('以后有兼容新版本时,需要空闲自动热更新吗?', 'Auto-install future compatible updates while idle?')),
|
|
548
|
-
h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => setDialog('automatic') }, t('开启空闲自动热更新', 'Enable idle auto-updates')))) : null;
|
|
549
|
-
}
|
|
550
|
-
return h('section', { className: 'w-section', role: 'status', 'aria-label': t('更新进度', 'Update progress') },
|
|
551
|
-
h('h3', null, jobLabel(job)),
|
|
552
|
-
job.to && h('p', { className: 'w-muted' }, job.from + ' → ' + job.to + (job.mode === 'automatic' ? t(' · 自动更新', ' · Automatic update') : '')),
|
|
553
|
-
jobReason && h(W.Status, { tone: 'error' }, message(jobReason)),
|
|
554
|
-
canCancel && h(W.Button, { className: 'is-sm', disabled: job.state === 'cancelling', onClick: () => perform(() => api({ action: 'cancel', id: job.id })) }, t('取消更新', 'Cancel update')));
|
|
555
|
-
}
|
|
556
|
-
function windowControls() {
|
|
557
|
-
if (!staleWindows) return null;
|
|
558
|
-
return h(W.Status, null, h('p', null, t('有窗口已断开,无法确认是否还有未保存修改。仍在使用的窗口请先保存并刷新;已关闭的窗口可以手动重新确认。', 'A disconnected window may contain unsaved changes. Save and refresh windows still in use. If they are closed, you can confirm that manually.')), h(W.Button, { className: 'is-sm', onClick: () => setDialog('windows') }, t('重新确认已关闭的窗口', 'Confirm closed windows')));
|
|
559
|
-
}
|
|
560
|
-
const status = !managed ? t('本地 / 外部来源,保留原安装方式', 'Local / external source; keep original install method') : row.loadError ? t('加载异常,请先检查原生插件管理', 'Loading error; check native plugin management') : row.error ? t('检查失败,可以重试', 'Check failed; retry available') : row.release && !row.release.compatible ? t('新版本暂不兼容当前环境:', 'Latest release is incompatible with this environment: ') + requirement(row.release) + (row.release.required ? ' (' + row.release.required + ')' : '') : row.available ? (ignored ? t('已忽略提醒,仍可手动更新', 'Reminder ignored; manual update available') : t('有兼容的新版本', 'Compatible update available')) : row.checkedAt ? t('当前已是最新稳定版', 'Latest stable version') : t('尚未检查', 'Not checked yet');
|
|
561
|
-
return h(FooterFrame, { name, label: title, head: h('div', { className: 'updates-head' },
|
|
562
|
-
h('div', null,
|
|
563
|
-
h('div', { className: 'updates-title-row' }, h('h2', null, t('版本与更新', 'Version and updates')), h('span', { className: 'updates-mono updates-badge' }, original.name + ' · v' + original.version)),
|
|
564
|
-
h('p', { className: 'w-muted updates-meta-line' }, status, !row.enabled ? ' · ' + t('当前已停用,更新后仍保持停用。', 'Currently disabled; it will remain disabled after updating.') : '', row.checkedAt ? ' · ' + t('上次检查:', 'Last checked: ') + new Date(row.checkedAt).toLocaleString(language() === 'en' ? 'en-US' : 'zh-CN') : ''),
|
|
565
|
-
(original.bundledBy || row.available) && h('p', { className: 'updates-version updates-note' }, target + ' · v' + row.version, row.release?.version && row.release.version !== row.version ? ' → v' + row.release.version : '', original.bundledBy ? ' · ' + t('随 Suite 整包更新', 'Updated via Suite bundle') : '')),
|
|
566
|
-
h('div', { className: 'updates-head-actions' },
|
|
567
|
-
showUpdate && checkButton('ghost'),
|
|
568
|
-
row.release && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: showNotes, 'aria-expanded': notesOpen }, t('更新记录', 'Release notes')),
|
|
569
|
-
showUpdate && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'later', name: target, revision: state.preferences.revision })) }, t('明天再提醒', 'Remind me tomorrow')),
|
|
570
|
-
showUpdate && !ignored && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'ignore', name: target, revision: state.preferences.revision, version: row.release.version })) }, t('忽略此版本提醒', 'Ignore this reminder')),
|
|
571
|
-
primary)) },
|
|
572
|
-
notesSection,
|
|
573
|
-
h('details', { className: 'updates-options' }, h('summary', null, t('更新选项', 'Update options'), ' · ', prefs.checkEnabled ? t('自动检查:开', 'Checks: on') : t('自动检查:关', 'Checks: off'), ' · ', prefs.autoInstall ? (prefs.autoScope === 'compatible' ? t('自动安装:兼容版', 'Install: compatible') : t('自动安装:仅补丁', 'Install: patches')) : t('自动安装:关', 'Install: off')), h('section', { className: 'updates-settings', 'aria-label': t('这个插件的更新偏好', 'Update preferences for this plugin') },
|
|
574
|
-
h('div', null, h(W.Switch, { label: isSuite ? t('自动检查 Suite 整包更新', 'Automatically check Suite updates') : t('自动检查这个插件的更新', 'Automatically check this plugin'), checked: prefs.checkEnabled, disabled: working || !!snapshot.preferenceError || !managed, onChange: event => perform(() => save({ checkEnabled: event.target.checked })) }), h('p', { className: 'w-muted updates-note' }, t('默认开启,每 6 小时最多一次。只影响这个安装包,关闭后仍可手动检查。', 'On by default, at most every 6 hours. This affects only this bundle; manual checks remain available.'))),
|
|
575
|
-
h('div', null, h(W.Switch, { label: isSuite ? t('空闲时自动热更新 Suite 兼容版本', 'Auto-install compatible Suite updates while idle') : t('空闲时自动热更新兼容版本', 'Auto-install compatible updates while idle'), checked: prefs.autoInstall, disabled: working || !!snapshot.preferenceError || !managed, onChange: event => event.target.checked ? setDialog('automatic') : perform(() => save({ autoInstall: false })) }), h('p', { className: 'w-muted updates-note' }, t('默认关闭。明确开启后,仅在空闲且无未保存修改时热更新兼容稳定版(含功能小版本与补丁,不含跨主版本)。其他插件的开关不变。', 'Off by default. Explicitly enable compatible stable updates (minor and patch, excluding major) while idle with no unsaved changes. Other plugins’ settings stay unchanged.')), prefs.autoInstall && prefs.autoScope !== 'compatible' && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => setDialog('automatic') }, t('升级为包含兼容功能小版本', 'Include compatible minor updates'))))),
|
|
576
|
-
error && h(W.Status, { tone: 'error' }, message(error)), snapshot.preferenceError && h(W.Status, { tone: 'error' }, message('preferences-unreadable')),
|
|
577
|
-
snapshot.pendingRestart && h(W.Status, null, snapshot.updaterRestart ? message('restart-required') : t('已有更新等待手动重启后生效。你可以继续工作,自动安装已暂停。', 'Some updates need a manual restart. Continue your work; automatic installation is paused.')),
|
|
578
|
-
prefs.autoInstall && snapshot.autoReady === false && h(W.Status, null, message('page-not-ready')),
|
|
579
|
-
windowControls(),
|
|
580
|
-
(showUpdate || jobActiveThis) && (snapshot.pages.dirty || ownPage.dirty) && h(W.Status, null, message('page-dirty')),
|
|
581
|
-
(showUpdate || jobActiveThis) && (snapshot.activity.busy || pageBusy) && h(W.Status, null, message(snapshot.activity.busy ? 'busy' : 'page-busy')),
|
|
582
|
-
deferred && h(W.Status, null, t('此插件已推迟提醒和自动安装 24 小时,仍可手动更新。', 'Reminders and automatic installation for this plugin are deferred for 24 hours. Manual updates remain available.')),
|
|
583
|
-
unconfirmed && h(W.Status, { tone: 'error' }, message('operation-unconfirmed')),
|
|
584
|
-
progress(),
|
|
585
|
-
(() => {
|
|
586
|
-
const ownRepo = repoUrl(original.name), suiteRepo = repoUrl('@stardustlc/dsh-suite'), starRepo = isSuite ? suiteRepo : ownRepo;
|
|
587
|
-
if (!ownRepo && !starRepo) return null;
|
|
588
|
-
return h('nav', { className: 'updates-links', 'aria-label': t('开源仓库与反馈', 'Repository and feedback') },
|
|
589
|
-
starRepo && h('a', { href: starRepo, target: '_blank', rel: 'noreferrer noopener' }, isSuite ? t('★ 觉得好用?在 GitHub 给 dsh-suite 点个 Star', '★ Useful? Star dsh-suite on GitHub') : t('★ 觉得好用?在 GitHub 点个 Star', '★ Useful? Star on GitHub')),
|
|
590
|
-
ownRepo && h('a', { href: ownRepo + '/issues', target: '_blank', rel: 'noreferrer noopener' }, t('提交建议 / 问题反馈', 'Feedback & issues')),
|
|
591
|
-
isSuite && original.name !== '@stardustlc/dsh-suite' && ownRepo && h('a', { href: ownRepo, target: '_blank', rel: 'noreferrer noopener' }, t('组件仓库', 'Component repo')),
|
|
592
|
-
!isSuite && suiteRepo && h('a', { href: suiteRepo, target: '_blank', rel: 'noreferrer noopener' }, t('了解 dsh-suite(18 合 1 组合包)', 'Explore dsh-suite (18-in-1 bundle)')));
|
|
593
|
-
})(),
|
|
594
|
-
windowsDialog, confirmDialog
|
|
595
|
-
);
|
|
596
|
-
}
|
|
597
|
-
function InlineFooter({ name }) { return h(Panel, { name, inline: true }); }
|
|
598
|
-
function NativeFooter({ subject }) {
|
|
599
|
-
const snapshot = useSnapshot(), name = __stardustUpdatesDetailName(subject, snapshot?.rows || []);
|
|
600
|
-
return name ? h(Panel, { name, inline: false }) : null;
|
|
601
|
-
}
|
|
602
|
-
function Reminder() {
|
|
603
|
-
const snapshot = useSnapshot(), [working, setWorking] = useState(false), [error, setError] = useState(''), [dialog, setDialog] = useState(null), [selectedTarget, setSelectedTarget] = useState(null), [selectedVersion, setSelectedVersion] = useState(null), [notes, setNotes] = useState(null), [notesOpen, setNotesOpen] = useState(false), [loadingNotes, setLoadingNotes] = useState(false), [dismissedJobId, setDismissedJobId] = useState(null);
|
|
604
|
-
const seenJob = useRef ? useRef(null) : { current: null };
|
|
605
|
-
const footerVisible = [...(document.querySelectorAll?.('[data-plugin-update-footer]') || [])].some(node => node.getClientRects?.().length);
|
|
606
|
-
const activeReminderJob = snapshot?.job && seenJob.current === snapshot.job.id ? snapshot.job : null;
|
|
607
|
-
if (footerVisible && !activeReminderJob && !dialog && !working && !legacyHint) return null;
|
|
608
|
-
const candidate = snapshot?.rows?.find(item => {
|
|
609
|
-
const prefs = preferences(item.name);
|
|
610
|
-
return item.sourceKind === 'registry' && item.available && !item.updating && !item.bundledBy && prefs.checkEnabled && prefs.deferredUntil <= Date.now() && prefs.ignoredVersion !== item.release?.version && !notified.has(item.name + '@' + item.release?.version);
|
|
611
|
-
});
|
|
612
|
-
const targetName = activeReminderJob?.name || selectedTarget || candidate?.name;
|
|
613
|
-
const row = targetName ? originalRow(targetName) : null;
|
|
614
|
-
const job = activeReminderJob && dismissedJobId !== activeReminderJob.id ? activeReminderJob : null;
|
|
615
|
-
if (!legacyHint && !candidate && !job && !dialog) return null;
|
|
616
|
-
if (legacyHint && !candidate && !job && !dialog) {
|
|
617
|
-
const hint = legacyHint;
|
|
618
|
-
return h('aside', { className: 'dshw plugin-updates-reminder', role: 'status', 'aria-live': 'polite' },
|
|
619
|
-
h('style', null, W.styles), h('style', null, FOOTER_CSS),
|
|
620
|
-
h('div', { className: 'reminder-head' },
|
|
621
|
-
h('span', null, hint + t(':请打开「插件」中的此插件详情页,在底部管理更新。', ': open its details in Plugins to manage updates at the bottom.')),
|
|
622
|
-
h('button', { type: 'button', className: 'reminder-close', 'aria-label': t('关闭', 'Dismiss'), onClick: () => { legacyHint = null; notify(); } }, '×')));
|
|
623
|
-
}
|
|
624
|
-
if (!row || !snapshot) return null;
|
|
625
|
-
const prefs = preferences(row.name), isSuite = row.name === '@stardustlc/dsh-suite', label = language() === 'en' ? row.labelEn : row.label;
|
|
626
|
-
const ownPage = pageState(true), unconfirmed = ['unknown', 'restore-failed'].includes(snapshot.job?.state);
|
|
627
|
-
const pageBusy = ownPage.busy || (snapshot.pages.clients || []).some(c => c.id !== id && c.busy);
|
|
628
|
-
const installLocked = working || activeJob() || unconfirmed || snapshot.updaterRestart || snapshot.preferenceError || !snapshot.activity.known || snapshot.activity.busy || snapshot.pages.dirty || ownPage.dirty || pageBusy || !snapshot.pages.known || row.loadError;
|
|
629
|
-
const jobResult = job?.outcome?.result;
|
|
630
|
-
const jobReason = job ? job.reason || (jobResult?.pendingBuilds || jobResult?.failureKind === 'build-blocked' ? 'build-blocked' : jobResult?.error?.code) : null;
|
|
631
|
-
const jobRunning = !!job && ['verifying', 'installing', 'cancelling'].includes(job.state);
|
|
632
|
-
const canSuggestAuto = !!job && job.state === 'complete' && !jobReason && (!prefs.autoInstall || prefs.autoScope !== 'compatible') && !snapshot.preferenceError;
|
|
633
|
-
const key = row.release?.version ? row.name + '@' + row.release.version : null;
|
|
634
|
-
async function perform(callback) { setError(''); setWorking(true); try { await callback(); await refresh(); } catch (err) { setError(err.message); await refresh().catch(() => {}); } finally { setWorking(false); } }
|
|
635
|
-
async function runInstall() {
|
|
636
|
-
setDialog(null); manualOperation = true; notify();
|
|
637
|
-
await perform(async () => {
|
|
638
|
-
try {
|
|
639
|
-
await heartbeat();
|
|
640
|
-
const started = await api({ action: 'install', name: row.name, version: selectedVersion, confirmation: 'update-installed-plugin' });
|
|
641
|
-
seenJob.current = started.id;
|
|
642
|
-
if (key) notified.add(key);
|
|
643
|
-
while (alive) {
|
|
644
|
-
await new Promise(resolve => setTimeout(resolve, 800)); await heartbeat(); await refresh();
|
|
645
|
-
if (state.job?.id !== started.id) throw new Error('operation-unconfirmed');
|
|
646
|
-
if (!activeJob()) break;
|
|
647
|
-
}
|
|
648
|
-
} finally { manualOperation = false; notify(); }
|
|
649
|
-
});
|
|
650
|
-
}
|
|
651
|
-
async function toggleNotes() {
|
|
652
|
-
if (notesOpen) { setNotesOpen(false); return; }
|
|
653
|
-
if (!row.release?.version) return;
|
|
654
|
-
setNotesOpen(true); setNotes(null); setLoadingNotes(true); setError('');
|
|
655
|
-
try { setNotes(await api({ action: 'notes', name: row.name, version: row.release.version })); } catch (err) { setError(err.message); } finally { setLoadingNotes(false); }
|
|
656
|
-
}
|
|
657
|
-
function dismiss() {
|
|
658
|
-
setError(''); setNotesOpen(false); setDialog(null); setSelectedTarget(null);
|
|
659
|
-
if (key && !jobRunning) notified.add(key);
|
|
660
|
-
if (job) setDismissedJobId(job.id);
|
|
661
|
-
notify();
|
|
662
|
-
}
|
|
663
|
-
const confirmDialog = ['install', 'automatic'].includes(dialog) && h(W.Dialog, {
|
|
664
|
-
title: dialog === 'automatic'
|
|
665
|
-
? (isSuite ? t('允许 Suite 空闲时自动热更新?', 'Allow idle automatic updates for Suite?') : t('允许这个插件空闲时自动热更新?', 'Allow idle automatic updates for this plugin?'))
|
|
666
|
-
: (isSuite ? t('确认更新 Suite 整包', 'Confirm Suite bundle update') : t('确认更新此插件', 'Confirm this plugin update')),
|
|
667
|
-
closeLabel: t('关闭', 'Close'),
|
|
668
|
-
onClose: () => setDialog(null),
|
|
669
|
-
}, dialog === 'automatic'
|
|
670
|
-
? h('div', { className: 'w-stack' },
|
|
671
|
-
h('p', null, label + ' · ' + row.name),
|
|
672
|
-
h('p', null, t('你正在主动启用自动安装。只处理通过当前 DSH 与 Node 兼容性校验的稳定版本(含功能小版本与补丁,跨主版本仍需手动确认);有任务、未保存修改、未知窗口或等待重启时暂停,随时可关闭。', 'You are explicitly enabling automatic installation for compatible stable releases (minor and patch updates matching this DSH and Node runtime; major upgrades still require manual confirmation). Running tasks, unsaved changes, unknown windows or a pending restart pause it; turn it off anytime.')),
|
|
673
|
-
h('div', { className: 'w-toolbar' },
|
|
674
|
-
h(W.Button, { onClick: () => setDialog(null) }, t('保持关闭', 'Keep off')),
|
|
675
|
-
h(W.Button, { variant: 'primary', onClick: () => { setDialog(null); void perform(async () => { await api({ action: 'preferences', name: row.name, revision: state.preferences.revision, changes: { checkEnabled: true, autoInstall: true, autoScope: 'compatible' }, consent: 'enable-idle-compatible-updates' }); dismiss(); }); } }, t('允许空闲自动热更新', 'Allow idle automatic updates'))))
|
|
676
|
-
: h('div', { className: 'w-stack' },
|
|
677
|
-
isSuite && h('p', null, t('此处操作的是 Suite 整包,包含 18 个组件。独立安装的其他插件不受影响。', 'This action applies to the whole Suite, including its 18 components. Other independently installed plugins are unaffected.')),
|
|
678
|
-
h('p', { className: 'updates-mono' }, row.name + ' · v' + row.version + ' → v' + selectedVersion),
|
|
679
|
-
h('p', null, t('Harness 会原地热更新并重新加载,无需离开当前聊天;若需要手动重启会在此处说明。', 'Harness hot-updates and reloads in place without leaving your chat; if a manual restart is needed, it appears here.')),
|
|
680
|
-
h('div', { className: 'w-toolbar' },
|
|
681
|
-
h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')),
|
|
682
|
-
h(W.Button, { variant: 'primary', disabled: installLocked || row.release?.version !== selectedVersion, onClick: runInstall }, t('安装此版本', 'Install this version')))));
|
|
683
|
-
return h('aside', { className: 'dshw plugin-updates-reminder', 'data-plugin-update-reminder': row.name, role: 'status', 'aria-live': 'polite' },
|
|
684
|
-
h('style', null, W.styles), h('style', null, FOOTER_CSS),
|
|
685
|
-
h('div', { className: 'reminder-head' },
|
|
686
|
-
h('div', { className: 'reminder-title' },
|
|
687
|
-
h('span', { className: 'updates-pill' + (job && ['failed', 'restore-failed', 'unknown', 'restored'].includes(job.state) ? ' is-error' : '') },
|
|
688
|
-
job ? jobLabel(job) : isSuite ? t('Suite 新版本', 'Suite update') : label + t(' 有新版本', ' update')),
|
|
689
|
-
h('span', { className: 'updates-mono' }, job ? ('v' + job.from + ' → v' + job.to) : ('v' + row.version + ' → v' + row.release.version))),
|
|
690
|
-
!jobRunning && h('button', { type: 'button', className: 'reminder-close', 'aria-label': t('关闭提醒', 'Dismiss reminder'), onClick: dismiss }, '×')),
|
|
691
|
-
jobReason && h('p', { className: 'updates-inline-msg is-error', style: { margin: '4px 0 0' } }, message(jobReason)),
|
|
692
|
-
error && h('p', { className: 'updates-inline-msg is-error', role: 'alert', style: { margin: '4px 0 0' } }, message(error)),
|
|
693
|
-
!job && installLocked && h('p', { className: 'w-muted', style: { margin: '4px 0 0' } },
|
|
694
|
-
(snapshot.pages.dirty || ownPage.dirty) ? t('请先保存修改后再更新', 'Save changes before updating')
|
|
695
|
-
: (snapshot.activity.busy || pageBusy) ? t('当前对话或任务结束后即可一键热更新', 'Hot-update available once the active turn finishes')
|
|
696
|
-
: ''),
|
|
697
|
-
canSuggestAuto && h('div', { className: 'updates-auto-nudge' },
|
|
698
|
-
h('span', null, t('下次有兼容新版本时,空闲自动热更新?', 'Auto-install future compatible updates while idle?')),
|
|
699
|
-
h(W.Button, { variant: 'primary', className: 'is-sm', disabled: working, onClick: () => { setSelectedTarget(row.name); setDialog('automatic'); } }, t('开启空闲自动热更新', 'Enable idle auto-updates'))),
|
|
700
|
-
!job && h('div', { className: 'reminder-actions' },
|
|
701
|
-
h(W.Button, { variant: 'primary', className: 'is-sm', icon: 'download', disabled: installLocked, onClick: () => { setSelectedTarget(row.name); setSelectedVersion(row.release.version); setDialog('install'); } }, (isSuite ? t('热更新 Suite 至 v', 'Update Suite to v') : t('热更新至 v', 'Update to v')) + row.release.version),
|
|
702
|
-
h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: toggleNotes, 'aria-expanded': notesOpen }, t('更新记录', 'Release notes')),
|
|
703
|
-
h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(async () => { await api({ action: 'later', name: row.name, revision: state.preferences.revision }); dismiss(); }) }, t('明天再提醒', 'Remind tomorrow'))),
|
|
704
|
-
jobRunning && !['applying', 'restoring'].includes(job.phase) && h('div', { className: 'reminder-actions' },
|
|
705
|
-
h(W.Button, { className: 'is-sm', disabled: job.state === 'cancelling', onClick: () => perform(() => api({ action: 'cancel', id: job.id })) }, t('取消更新', 'Cancel update'))),
|
|
706
|
-
notesOpen && h('section', { className: 'updates-notes', 'aria-label': t('更新记录', 'Release notes') },
|
|
707
|
-
loadingNotes ? h('p', { className: 'w-muted', style: { margin: 0 } }, t('正在读取…', 'Loading…'))
|
|
708
|
-
: notes?.text ? h('pre', { tabIndex: 0 }, h('code', null, notes.text))
|
|
709
|
-
: h('p', { className: 'w-muted', style: { margin: 0 } }, t('未找到此版本的独立更新记录。', 'No separate notes were found for this version.')),
|
|
710
|
-
notes?.url && h('a', { href: notes.url, target: '_blank', rel: 'noreferrer noopener' }, t('查看仓库更新记录', 'View repository changelog'))),
|
|
711
|
-
confirmDialog);
|
|
712
|
-
}
|
|
713
|
-
function register() {
|
|
714
|
-
if (!alive) return;
|
|
715
|
-
if (!registered) {
|
|
716
|
-
registered = true; pool.clients.add(client);
|
|
717
|
-
ctx.slots.inject('plugins.detail.section', () => ctx.slots.register({ name: 'plugins.detail.section', id: 'stardustlc.plugin-update-footer', order: 1000 }, NativeFooter));
|
|
718
|
-
ctx.slots.inject('shell.overlay', () => ctx.slots.register({ name: 'shell.overlay', id: 'stardustlc.plugin-update-reminder' }, Reminder));
|
|
719
|
-
notify();
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
async function poll() {
|
|
723
|
-
if (inPoll || !alive || !shared.refs.size) return;
|
|
724
|
-
inPoll = true;
|
|
725
|
-
try { await refresh(); register(); await heartbeat(); }
|
|
726
|
-
catch { /* Owner-only controls stay absent for guests and unsupported hosts. */ }
|
|
727
|
-
finally { inPoll = false; }
|
|
728
|
-
}
|
|
729
|
-
const timer = setInterval(() => { void poll(); }, 15000), first = setTimeout(() => { void poll(); }, 100);
|
|
730
|
-
const client = { t, Footer: InlineFooter, NativeFooter, Button: W.Button, open(name) { const footer = [...document.querySelectorAll('[data-plugin-update-footer]')].find(node => node.getAttribute('data-plugin-update-footer') === name); if (footer) footer.scrollIntoView({ block: 'end', behavior: 'smooth' }); else { legacyHint = name; notify(); } }, has: name => registered && !!originalRow(name), row: rowFor, dispose() {
|
|
731
|
-
close(); alive = false; clearTimeout(first); clearInterval(timer); pool.clients.delete(client);
|
|
732
|
-
pool.listeners.delete(guardChanged); listeners.clear();
|
|
733
|
-
for (const event of ['pointerdown', 'keydown', 'input']) document.removeEventListener(event, interaction, true);
|
|
734
|
-
window.removeEventListener('pagehide', close);
|
|
735
|
-
for (const controller of requests) controller.abort();
|
|
736
|
-
for (const listener of pool.viewListeners) listener();
|
|
737
|
-
} };
|
|
738
|
-
return client;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
/* STARDUSTLC_UPDATE_CLIENT_BODY_START */
|
|
742
|
-
window.__ModuleLoader__.load(__stardustUpdatesWrap({id:"dsh-voice",factory:require=>({apply(){}})},{"name":"dsh-voice","version":"0.1.0","hasWorkbench":false,"packageVersion":"0.8.1","label":"语音","labelEn":"Voice","suiteComponent":true,"sectionIds":[],"iconData":"data:image/webp;base64,UklGRhhbAABXRUJQVlA4WAoAAAAQAAAA/wAA/wA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0Gvfw251djqaAmauAobUhssgKu34ll3o0Qy51kvSxR3zr9IrQlNKNnJqr+RLTid+IH/lW0cHBksU/6UAZeq3M11dPys9CMsUGp3gvjCtSsJCgyKS5PJVnmBswjJTgtmgt/Ig2XGmO7MijI/9P8nTRx4ARdgjkcvHxbitUBESXFznHoiDA67dsaQJqdiloSqYspmB5g8lizHYEZ8hGZ5pIKX7YIaybYPG/yuZ3znNkXyNSAapLG+sANQbA9tIJXyWER3bl7r0VzCEB3P+g/8N79l723TJTG2atTRZ/3rc1EldEeyK94Wswmtk9Hn7hsmFBtFOIHY4C47MVDM4ATNQDPOgFVlXs686XIasE7b2HpGja02Wv7A2d9BQfDcXu0R1kgNalNUFX6oUg1tyADrQppgsEMTVILBZSDzhGHIGNnLbQctzE3830mnTjuhtv7hD74lhCJXgrvrTLwLA5aAK0L8sAu0DO889wh582u9J7r1Aa1zXzJxf88gAkB7UVPnG0t3JnEIhgDjfRsEsueD8mtz+dfy6RDK2mtM4hxEszFTUXrXqgTJChCio7JcSGle38LO5bi46TMQi3uiqFyU4YNemQxv4SgOe3uItKiQXmvi7PUZetPc5KkdCBXYl8IwdXu7ErIrgzo0JSnJic3oeWySnbqJ4fxkcupNZYuQC3p16LGDAR+dCiDGASoB/FEkiQnXYhJk/btGH82g4ZTtJKvvJ8NLVXc7gubLzX2QIXBWRCc46W21lwDMu8X0nRvh+ATr7rndcWMBZhCwL3e1iKuXpLRBaTwAAB0Pi7oLqIAAAAA"}));
|
|
743
|
-
|
|
744
|
-
/* STARDUSTLC_UPDATE_CLIENT_BODY_END */
|
|
745
|
-
})();
|