@floless/app 0.113.3 → 0.113.4
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/dist/floless-server.cjs +1781 -371
- package/dist/web/app.css +85 -0
- package/dist/web/aware-update-client.js +306 -0
- package/dist/web/aware.js +253 -52
- package/dist/web/index.html +19 -0
- package/dist/web/workspaces.js +10 -15
- package/package.json +1 -1
package/dist/web/app.css
CHANGED
|
@@ -1853,6 +1853,7 @@
|
|
|
1853
1853
|
.app-update { display: none; border: 1px solid var(--accent-dim); background: var(--accent-soft); color: var(--accent-bright); font-size: 10px; padding: 1px 7px; border-radius: 999px; cursor: pointer; margin-left: 8px; line-height: 1.5; }
|
|
1854
1854
|
.app-update:not([hidden]) { display: inline-flex; align-items: center; gap: 4px; }
|
|
1855
1855
|
.app-update:hover { border-color: var(--accent); color: var(--accent); }
|
|
1856
|
+
.app-update:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
1856
1857
|
.app-update[disabled] { opacity: 0.6; cursor: default; }
|
|
1857
1858
|
|
|
1858
1859
|
/* Workflow-update pill (a published workflow has a newer version) — mirrors the app-update pill. */
|
|
@@ -1880,6 +1881,90 @@
|
|
|
1880
1881
|
#wf-update-sub { color: var(--text-muted); }
|
|
1881
1882
|
.wf-update-note { font-size: 11px; color: var(--text-muted); margin: 0 0 16px; line-height: 1.5; padding-top: 12px; border-top: 1px solid var(--border); }
|
|
1882
1883
|
|
|
1884
|
+
/* AWARE runtime + installed-bridge updater. This is the existing modal dialect:
|
|
1885
|
+
the result list adds hierarchy, not a new visual language. */
|
|
1886
|
+
#aware-update-modal .aware-update-dialog {
|
|
1887
|
+
width: 520px;
|
|
1888
|
+
max-width: 92vw;
|
|
1889
|
+
max-height: 86vh;
|
|
1890
|
+
display: flex;
|
|
1891
|
+
flex-direction: column;
|
|
1892
|
+
}
|
|
1893
|
+
.aware-update-live {
|
|
1894
|
+
min-height: 18px;
|
|
1895
|
+
margin: 14px 0 0;
|
|
1896
|
+
color: var(--text);
|
|
1897
|
+
font-size: 12px;
|
|
1898
|
+
line-height: 1.45;
|
|
1899
|
+
}
|
|
1900
|
+
.aware-update-live:empty { min-height: 0; margin-top: 0; }
|
|
1901
|
+
.aware-update-results {
|
|
1902
|
+
min-height: 0;
|
|
1903
|
+
max-height: 42vh;
|
|
1904
|
+
overflow-y: auto;
|
|
1905
|
+
margin-top: 12px;
|
|
1906
|
+
padding-right: 2px;
|
|
1907
|
+
scrollbar-width: thin;
|
|
1908
|
+
scrollbar-color: var(--border-strong) transparent;
|
|
1909
|
+
}
|
|
1910
|
+
.aware-update-results:empty { margin-top: 0; }
|
|
1911
|
+
.aware-update-results::-webkit-scrollbar { width: 7px; }
|
|
1912
|
+
.aware-update-results::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
|
|
1913
|
+
.aware-update-results::-webkit-scrollbar-track { background: transparent; }
|
|
1914
|
+
.aware-update-summary {
|
|
1915
|
+
padding: 10px 12px;
|
|
1916
|
+
border: 1px solid var(--border);
|
|
1917
|
+
border-radius: 6px;
|
|
1918
|
+
background: var(--surface-2);
|
|
1919
|
+
color: var(--text);
|
|
1920
|
+
font-size: 12px;
|
|
1921
|
+
line-height: 1.45;
|
|
1922
|
+
}
|
|
1923
|
+
.aware-update-section { margin-top: 14px; }
|
|
1924
|
+
.aware-update-section:first-child { margin-top: 0; }
|
|
1925
|
+
.aware-update-section-head {
|
|
1926
|
+
margin-bottom: 6px;
|
|
1927
|
+
color: var(--text-muted);
|
|
1928
|
+
font-size: 10px;
|
|
1929
|
+
font-weight: 600;
|
|
1930
|
+
letter-spacing: 0.08em;
|
|
1931
|
+
text-transform: uppercase;
|
|
1932
|
+
}
|
|
1933
|
+
.aware-update-hosts { display: flex; flex-direction: column; gap: 6px; }
|
|
1934
|
+
.aware-update-host {
|
|
1935
|
+
display: grid;
|
|
1936
|
+
grid-template-columns: minmax(82px, auto) 1fr;
|
|
1937
|
+
gap: 5px 12px;
|
|
1938
|
+
align-items: baseline;
|
|
1939
|
+
padding: 8px 10px;
|
|
1940
|
+
border: 1px solid var(--border);
|
|
1941
|
+
border-radius: 6px;
|
|
1942
|
+
background: var(--surface-2);
|
|
1943
|
+
}
|
|
1944
|
+
.aware-update-host-name { color: var(--text); font-size: 12px; font-weight: 600; text-transform: capitalize; }
|
|
1945
|
+
.aware-update-host-message { color: var(--text-muted); font-size: 11px; line-height: 1.4; }
|
|
1946
|
+
.aware-update-host-code { grid-column: 2; color: var(--text-dim); font: 10px/1.3 var(--mono); }
|
|
1947
|
+
#aware-update-modal[data-state="partial"] .aware-update-summary,
|
|
1948
|
+
#aware-update-modal[data-state="runtime-failed"] .aware-update-summary { border-color: var(--warn); }
|
|
1949
|
+
#aware-update-modal .modal-actions { flex: none; }
|
|
1950
|
+
#aware-update-modal[aria-busy="true"] .aware-update-live::before {
|
|
1951
|
+
content: "";
|
|
1952
|
+
display: inline-block;
|
|
1953
|
+
width: 7px;
|
|
1954
|
+
height: 7px;
|
|
1955
|
+
margin-right: 8px;
|
|
1956
|
+
border-radius: 50%;
|
|
1957
|
+
background: var(--accent);
|
|
1958
|
+
animation: aware-update-pulse 1.2s ease-in-out infinite;
|
|
1959
|
+
}
|
|
1960
|
+
@keyframes aware-update-pulse {
|
|
1961
|
+
0%, 100% { opacity: 0.35; transform: scale(0.8); }
|
|
1962
|
+
50% { opacity: 1; transform: scale(1); }
|
|
1963
|
+
}
|
|
1964
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1965
|
+
#aware-update-modal[aria-busy="true"] .aware-update-live::before { animation: none; opacity: 1; }
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1883
1968
|
/* Import-failed modal (#314). The remedy command is selectable on its own (user-select:all, the
|
|
1884
1969
|
.dc-code idiom) AND has a copy button, so either habit works. The raw-stderr disclosure reuses
|
|
1885
1970
|
.fm-note verbatim for its themed scrollbar rather than restating that recipe a fourth time, and
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
/* AWARE upgrade transport/state controller.
|
|
2
|
+
*
|
|
3
|
+
* The browser owns no upgrade logic: it starts one server transaction, remembers
|
|
4
|
+
* its exact id before the first status read, and renders the server's state union.
|
|
5
|
+
* Kept independent of the DOM so both Workflows and Workspaces share one job.
|
|
6
|
+
*/
|
|
7
|
+
(() => {
|
|
8
|
+
const STORAGE_KEY = 'floless.awareUpdate.transaction';
|
|
9
|
+
const REQUEST_TIMEOUT_MS = 12_000;
|
|
10
|
+
const POLL_DELAY_MS = 900;
|
|
11
|
+
|
|
12
|
+
function createAwareUpdateController(options = {}) {
|
|
13
|
+
const fetchImpl = options.fetch || window.fetch.bind(window);
|
|
14
|
+
const storage = options.storage || window.localStorage;
|
|
15
|
+
const setTimer = options.setTimeout || window.setTimeout.bind(window);
|
|
16
|
+
const clearTimer = options.clearTimeout || window.clearTimeout.bind(window);
|
|
17
|
+
const requestTimeoutMs = options.requestTimeoutMs || REQUEST_TIMEOUT_MS;
|
|
18
|
+
const pollDelayMs = options.pollDelayMs ?? POLL_DELAY_MS;
|
|
19
|
+
const randomId = options.randomId || (() => window.crypto.randomUUID());
|
|
20
|
+
const listeners = new Set();
|
|
21
|
+
let generation = 0;
|
|
22
|
+
let state = { status: 'idle', transaction: null };
|
|
23
|
+
|
|
24
|
+
const emit = (next) => {
|
|
25
|
+
state = Object.freeze(next);
|
|
26
|
+
listeners.forEach((listener) => {
|
|
27
|
+
try { listener(state); } catch (error) { console.error('aware-update listener failed', error); }
|
|
28
|
+
});
|
|
29
|
+
return state;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const readStored = () => {
|
|
33
|
+
try {
|
|
34
|
+
const value = storage.getItem(STORAGE_KEY);
|
|
35
|
+
return value && value.trim() ? value.trim() : null;
|
|
36
|
+
} catch { return null; }
|
|
37
|
+
};
|
|
38
|
+
const store = (transaction) => {
|
|
39
|
+
try { storage.setItem(STORAGE_KEY, transaction); } catch { /* reload recovery unavailable */ }
|
|
40
|
+
};
|
|
41
|
+
const clearStored = () => {
|
|
42
|
+
try { storage.removeItem(STORAGE_KEY); } catch { /* best effort */ }
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
async function request(path, init = {}) {
|
|
46
|
+
const controller = new AbortController();
|
|
47
|
+
const timer = setTimer(() => controller.abort(), requestTimeoutMs);
|
|
48
|
+
try {
|
|
49
|
+
const response = await fetchImpl(path, {
|
|
50
|
+
headers: { 'content-type': 'application/json', ...(init.headers || {}) },
|
|
51
|
+
cache: 'no-store',
|
|
52
|
+
...init,
|
|
53
|
+
signal: controller.signal,
|
|
54
|
+
});
|
|
55
|
+
const body = await response.json().catch(() => ({}));
|
|
56
|
+
return { response, body };
|
|
57
|
+
} finally {
|
|
58
|
+
clearTimer(timer);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const transactionOf = (body) => {
|
|
63
|
+
const candidate = body && (body.transaction || body.transactionId || body.id);
|
|
64
|
+
return typeof candidate === 'string' && candidate.trim() ? candidate.trim() : null;
|
|
65
|
+
};
|
|
66
|
+
const payloadOf = (body) => (body && (body.job || body.result || body.statusResult)) || body || {};
|
|
67
|
+
const failedRows = (payload) => {
|
|
68
|
+
const rows = payload.failed || payload.failedBridges || payload.failures || [];
|
|
69
|
+
return Array.isArray(rows) ? rows.map((row) => ({
|
|
70
|
+
host: String((row && (row.host || row.bridge || row.id)) || 'unknown'),
|
|
71
|
+
code: String((row && row.code) || 'operation-failed'),
|
|
72
|
+
message: String((row && (row.message || row.error)) || 'The bridge could not be refreshed.'),
|
|
73
|
+
})) : [];
|
|
74
|
+
};
|
|
75
|
+
const updatedRows = (payload) => {
|
|
76
|
+
const rows = payload.updated || payload.updatedBridges || [];
|
|
77
|
+
return Array.isArray(rows) ? rows.map(String) : [];
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
function normalize(body, expectedTransaction) {
|
|
81
|
+
const payload = payloadOf(body);
|
|
82
|
+
const transaction = transactionOf(payload) || transactionOf(body);
|
|
83
|
+
if (!transaction || transaction !== expectedTransaction) {
|
|
84
|
+
throw new Error('The AWARE updater returned a different transaction.');
|
|
85
|
+
}
|
|
86
|
+
const status = String(payload.status || payload.state || payload.kind || '').toLowerCase();
|
|
87
|
+
const target = payload.target || payload.targetVersion || null;
|
|
88
|
+
const observedVersion = payload.observedVersion || payload.version || payload.runtimeVersion || null;
|
|
89
|
+
const base = { transaction, target, observedVersion };
|
|
90
|
+
if (status === 'running') {
|
|
91
|
+
return {
|
|
92
|
+
...base, status, stage: payload.stage || 'preparing',
|
|
93
|
+
completed: Number(payload.completed ?? payload.completedBridges ?? 0),
|
|
94
|
+
total: Number(payload.total ?? payload.totalBridges ?? 0),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
if (status === 'retrying') {
|
|
98
|
+
return {
|
|
99
|
+
...base, status, stage: payload.stage || 'retrying',
|
|
100
|
+
host: payload.host || payload.retryingHost || null,
|
|
101
|
+
completed: Number(payload.completed ?? payload.completedBridges ?? 0),
|
|
102
|
+
total: Number(payload.total ?? payload.totalBridges ?? 0),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
if (status === 'success') {
|
|
106
|
+
return { ...base, status, updated: updatedRows(payload), failed: [] };
|
|
107
|
+
}
|
|
108
|
+
if (status === 'partial') {
|
|
109
|
+
return { ...base, status, updated: updatedRows(payload), failed: failedRows(payload) };
|
|
110
|
+
}
|
|
111
|
+
if (status === 'runtime-failed' || status === 'runtime_failed' || status === 'failed') {
|
|
112
|
+
const error = payload.error || payload.failure || {};
|
|
113
|
+
return {
|
|
114
|
+
...base, status: 'runtime-failed',
|
|
115
|
+
error: {
|
|
116
|
+
code: String(error.code || payload.code || 'runtime-update-failed'),
|
|
117
|
+
message: String(error.message || payload.message || 'AWARE could not be upgraded.'),
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
throw new Error('The AWARE updater returned an unknown status.');
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
const terminal = (value) =>
|
|
125
|
+
value.status === 'success' || value.status === 'partial' || value.status === 'runtime-failed';
|
|
126
|
+
|
|
127
|
+
const wait = () => new Promise((resolve) => setTimer(resolve, pollDelayMs));
|
|
128
|
+
|
|
129
|
+
async function poll(transaction, myGeneration, awaitingRetry = null) {
|
|
130
|
+
while (myGeneration === generation) {
|
|
131
|
+
let result;
|
|
132
|
+
try {
|
|
133
|
+
result = await request(`/api/aware/update/status/${encodeURIComponent(transaction)}`);
|
|
134
|
+
} catch (error) {
|
|
135
|
+
if (myGeneration !== generation) return state;
|
|
136
|
+
emit({
|
|
137
|
+
...state, status: state.status === 'retrying' ? 'retrying' : 'running',
|
|
138
|
+
transaction, connectionMessage: error && error.name === 'AbortError'
|
|
139
|
+
? 'Still upgrading. Reconnecting to progress…'
|
|
140
|
+
: 'Connection interrupted. Reconnecting to progress…',
|
|
141
|
+
});
|
|
142
|
+
await wait();
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
if (myGeneration !== generation) return state;
|
|
146
|
+
if (result.response.status === 404 || result.response.status === 410) {
|
|
147
|
+
const wasLostAfterRestart = result.response.status === 404;
|
|
148
|
+
clearStored();
|
|
149
|
+
let check = null;
|
|
150
|
+
try {
|
|
151
|
+
const probed = await request('/api/aware/update');
|
|
152
|
+
check = probed.response.ok ? probed.body : null;
|
|
153
|
+
} catch { /* current readiness remains unknown */ }
|
|
154
|
+
return emit({
|
|
155
|
+
status: 'expired', transaction: null, check,
|
|
156
|
+
message: wasLostAfterRestart
|
|
157
|
+
? 'The previous upgrade could not be recovered after the server restarted. Current AWARE status was checked again.'
|
|
158
|
+
: 'The previous upgrade result expired. Current AWARE status was checked again.',
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
if (!result.response.ok) {
|
|
162
|
+
const message = result.body.error || `Could not read AWARE upgrade status (HTTP ${result.response.status}).`;
|
|
163
|
+
return emit({ status: 'runtime-failed', transaction, target: state.target, observedVersion: null,
|
|
164
|
+
error: { code: 'status-request-failed', message: String(message) } });
|
|
165
|
+
}
|
|
166
|
+
let next;
|
|
167
|
+
try { next = normalize(result.body, transaction); }
|
|
168
|
+
catch (error) {
|
|
169
|
+
return emit({ status: 'runtime-failed', transaction, target: state.target, observedVersion: null,
|
|
170
|
+
error: { code: 'transaction-mismatch', message: error.message } });
|
|
171
|
+
}
|
|
172
|
+
emit(next);
|
|
173
|
+
if (awaitingRetry && next.status === 'partial') {
|
|
174
|
+
const unchangedFailure = next.failed.find((failure) =>
|
|
175
|
+
failure.host === awaitingRetry.host
|
|
176
|
+
&& failure.code === awaitingRetry.code
|
|
177
|
+
&& failure.message === awaitingRetry.message);
|
|
178
|
+
if (unchangedFailure) {
|
|
179
|
+
emit({
|
|
180
|
+
...next,
|
|
181
|
+
connectionMessage: `Waiting to retry the ${awaitingRetry.host} bridge…`,
|
|
182
|
+
});
|
|
183
|
+
await wait();
|
|
184
|
+
continue;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
if (terminal(next)) {
|
|
188
|
+
if (next.status !== 'partial') clearStored();
|
|
189
|
+
return next;
|
|
190
|
+
}
|
|
191
|
+
await wait();
|
|
192
|
+
}
|
|
193
|
+
return state;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
async function start(target) {
|
|
197
|
+
generation += 1;
|
|
198
|
+
const myGeneration = generation;
|
|
199
|
+
const requestId = randomId();
|
|
200
|
+
emit({ status: 'starting', transaction: null, target: target || null });
|
|
201
|
+
let result;
|
|
202
|
+
while (myGeneration === generation) {
|
|
203
|
+
try {
|
|
204
|
+
result = await request('/api/aware/update/apply', {
|
|
205
|
+
method: 'POST',
|
|
206
|
+
headers: { 'x-floless-request-id': requestId },
|
|
207
|
+
body: JSON.stringify(target ? { target } : {}),
|
|
208
|
+
});
|
|
209
|
+
break;
|
|
210
|
+
} catch {
|
|
211
|
+
if (myGeneration !== generation) return state;
|
|
212
|
+
emit({
|
|
213
|
+
status: 'starting', transaction: null, target: target || null,
|
|
214
|
+
connectionMessage: 'Connection interrupted. Recovering the accepted AWARE upgrade…',
|
|
215
|
+
});
|
|
216
|
+
await wait();
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
if (!result) return state;
|
|
220
|
+
if (!result.response.ok) {
|
|
221
|
+
return emit({ status: 'runtime-failed', transaction: null, target: target || null,
|
|
222
|
+
error: { code: String(result.body.code || 'start-refused'),
|
|
223
|
+
message: String(result.body.error || result.body.message || `AWARE upgrade was refused (HTTP ${result.response.status}).`) } });
|
|
224
|
+
}
|
|
225
|
+
const transaction = transactionOf(result.body) || transactionOf(payloadOf(result.body));
|
|
226
|
+
if (!transaction) {
|
|
227
|
+
return emit({ status: 'runtime-failed', transaction: null, target: target || null,
|
|
228
|
+
error: { code: 'missing-transaction', message: 'The AWARE updater did not return a transaction.' } });
|
|
229
|
+
}
|
|
230
|
+
// Persistence deliberately precedes the first GET. A reload at any point after
|
|
231
|
+
// the accepted POST resumes this exact server job instead of starting another.
|
|
232
|
+
store(transaction);
|
|
233
|
+
emit({ status: 'running', transaction, target: target || result.body.target || null,
|
|
234
|
+
stage: 'queued', completed: 0, total: 0 });
|
|
235
|
+
return poll(transaction, myGeneration);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
async function resume() {
|
|
239
|
+
const transaction = readStored();
|
|
240
|
+
if (!transaction) return state;
|
|
241
|
+
generation += 1;
|
|
242
|
+
const myGeneration = generation;
|
|
243
|
+
emit({ status: 'running', transaction, target: null, stage: 'resuming',
|
|
244
|
+
completed: 0, total: 0, connectionMessage: 'Resuming AWARE upgrade progress…' });
|
|
245
|
+
return poll(transaction, myGeneration);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
async function check() {
|
|
249
|
+
const result = await request('/api/aware/update');
|
|
250
|
+
if (!result.response.ok) throw new Error(result.body.error || `Could not check AWARE updates (HTTP ${result.response.status}).`);
|
|
251
|
+
return result.body;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
async function retryFailed() {
|
|
255
|
+
let current = state;
|
|
256
|
+
if (current.status !== 'partial' || !current.transaction) return current;
|
|
257
|
+
for (const row of [...current.failed]) {
|
|
258
|
+
if (state.status !== 'partial') break;
|
|
259
|
+
const transaction = state.transaction;
|
|
260
|
+
generation += 1;
|
|
261
|
+
const myGeneration = generation;
|
|
262
|
+
let result;
|
|
263
|
+
try {
|
|
264
|
+
result = await request(
|
|
265
|
+
`/api/aware/update/status/${encodeURIComponent(transaction)}/bridges/${encodeURIComponent(row.host)}/retry`,
|
|
266
|
+
{ method: 'POST' },
|
|
267
|
+
);
|
|
268
|
+
} catch {
|
|
269
|
+
// The server reserves only after both lifecycle locks are held. A short
|
|
270
|
+
// browser request may therefore end while the accepted retry is waiting
|
|
271
|
+
// for its lock. The outcome is ambiguous: keep the transaction and poll
|
|
272
|
+
// its authority instead of claiming failure or issuing a duplicate POST.
|
|
273
|
+
emit({
|
|
274
|
+
...state, status: 'retrying', host: row.host, retryError: null,
|
|
275
|
+
connectionMessage: `Waiting to retry the ${row.host} bridge…`,
|
|
276
|
+
});
|
|
277
|
+
current = await poll(transaction, myGeneration, row);
|
|
278
|
+
continue;
|
|
279
|
+
}
|
|
280
|
+
if (!result.response.ok) {
|
|
281
|
+
return emit({ ...state, status: 'partial',
|
|
282
|
+
retryError: String(result.body.error || result.body.message || `The ${row.host} bridge retry was refused.`) });
|
|
283
|
+
}
|
|
284
|
+
store(transaction);
|
|
285
|
+
emit({ ...state, status: 'retrying', host: row.host, retryError: null });
|
|
286
|
+
current = await poll(transaction, myGeneration);
|
|
287
|
+
}
|
|
288
|
+
return current;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
return {
|
|
292
|
+
start, resume, retryFailed, check,
|
|
293
|
+
getState: () => state,
|
|
294
|
+
getStoredTransaction: readStored,
|
|
295
|
+
subscribe(listener) {
|
|
296
|
+
listeners.add(listener);
|
|
297
|
+
listener(state);
|
|
298
|
+
return () => listeners.delete(listener);
|
|
299
|
+
},
|
|
300
|
+
cancelPolling() { generation += 1; },
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
window.createAwareUpdateController = createAwareUpdateController;
|
|
305
|
+
window.awareUpdateController = createAwareUpdateController();
|
|
306
|
+
})();
|