@witbitz/sdk 4.4.0 → 4.5.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/README.md +2 -2
- package/a2aCore.js +15 -0
- package/accountErase.js +9 -3
- package/accountIndexDoc.js +24 -7
- package/accountRecord.js +6 -2
- package/accountStores.js +21 -5
- package/acctV2App.js +111 -12
- package/acctV2Client.js +11 -1
- package/acctV2UiCore.js +27 -7
- package/awsKey.js +3 -1
- package/backupRecord.js +3 -0
- package/codeAttachments.js +1 -0
- package/codeCache.js +27 -3
- package/codeCloud.js +2 -0
- package/codeComputers.js +8 -0
- package/codeSent.js +43 -2
- package/codeTransport.js +24 -5
- package/connections.js +21 -3
- package/decrypt.html +69 -9
- package/eraseFile.js +15 -0
- package/idbSeal.js +5 -2
- package/inviteReceive.js +44 -0
- package/inviteSend.js +8 -2
- package/l1-worker-src.js +1 -1
- package/l1-worker.js +30 -14
- package/laneAssociation.js +11 -1
- package/laneLinkCore.js +9 -0
- package/ledgerView.js +30 -4
- package/manifest.json +78 -72
- package/offlineBundle.js +21 -0
- package/package.json +8 -2
- package/protectedLocal.js +34 -11
- package/reactionHolders.js +86 -0
- package/roomIntake.js +324 -0
- package/roomRoster.js +9 -2
- package/scheduleNext.js +60 -0
- package/sdkA2A.js +46 -8
- package/sdkAccount.js +71 -14
- package/sdkAccountDoc.js +3 -3
- package/sdkAccountSections.js +58 -18
- package/sdkAgui.js +33 -6
- package/sdkBackup.js +21 -6
- package/sdkBackupV2.js +15 -3
- package/sdkCloudDevice.js +12 -3
- package/sdkComputers.js +118 -17
- package/sdkDictation.js +1 -1
- package/sdkErase.js +3 -1
- package/sdkExports.js +15 -6
- package/sdkInvitations.js +4 -2
- package/sdkKeptAgent.js +19 -3
- package/sdkKeptIntake.js +100 -0
- package/sdkLaneLink.js +5 -6
- package/sdkRekey.js +72 -5
- package/sdkSchedules.js +8 -1
- package/sdkSpeech.js +14 -1
- package/sdkTemporaryRooms.js +2 -1
- package/sdkTurn.js +12 -4
- package/sharedViews.js +17 -1
- package/siri.js +29 -5
- package/spaceClient.js +96 -12
- package/spaceExport.js +50 -5
- package/spaceFork.js +15 -7
- package/spaceTemplates.js +2 -2
- package/speechOut.js +17 -3
- package/store.js +51 -13
- package/sw-notif-core.js +2 -1
- package/tapTrail.js +58 -0
- package/usageReceipts.js +12 -5
- package/vault-core.js +90 -16
- package/vault-kit.mjs +2 -2
- package/vault-screens.js +25 -11
- package/vaultAtRest.js +3 -2
- package/vaultCoreLock.js +3 -1
- package/vaultCorePush.js +58 -7
- package/vaultWorkerHost.js +9 -3
- package/witbitz-admin.d.ts +3 -0
- package/witbitz-admin.mjs +10 -10
- package/witbitz-sdk.d.ts +59 -23
- package/witbitz-sdk.js +271 -64
package/l1-worker.js
CHANGED
|
@@ -91,6 +91,11 @@ const splits = new Map() // room → { userShare, commit }
|
|
|
91
91
|
// persisted key is sealed; at boot, sealed entries are PARKED until the page unlocks and sends the key again; `relock` drops
|
|
92
92
|
// the maps and the key from memory. With the switch off (no key, no sealed entries) every store is byte-identical to before.
|
|
93
93
|
let sealKey = null
|
|
94
|
+
// THE ACCOUNT TAG ASKED BEFORE ITS KEY WAS HERE (side sweep 2026-11-28): a restarted worker is told setPushAcct before the store is
|
|
95
|
+
// unsealed and the account rooms are remembered — the tag came out empty and the sender's other devices were notified of its turns.
|
|
96
|
+
// The room is kept and the tag derived when its key arrives (remember, unseal).
|
|
97
|
+
let pushAcctRoom = ''
|
|
98
|
+
const derivePendingAcct = async () => { const mk = pushAcctRoom && mks.get(pushAcctRoom); if (!mk) return; pushAcctRoom = ''; try { setPushAcct(await pushAcctSecretOf(mk)) } catch { /* */ } }
|
|
94
99
|
let storageEpoch = 0, storageWiped = false
|
|
95
100
|
let nkClear = false // §PREVIEWS (opt-in under protection): the push-preview keys (nk:) are written CLEAR so a locked device's tickle still shows sender + first line; everything else stays sealed
|
|
96
101
|
let protectedAtRest = false // sealed entries were seen at boot (or `seal` ran): the store is protected — NEVER write a clear key over it
|
|
@@ -102,19 +107,23 @@ const parked = new Map() // idb key ('mk:'/'us:'/'nk:' + room) → se
|
|
|
102
107
|
const volatile = new Set()
|
|
103
108
|
const postAttNk = (room, nk) => { if (!room || !nk || String(room).startsWith('tmp-')) return; try { self.postMessage({ t: 'attNk', room, nk }) } catch { /* */ } }
|
|
104
109
|
const roomOfKey = (k) => String(k).slice(String(k).indexOf(':') + 1)
|
|
110
|
+
// A TEMPORARY room's key is never written either (side sweep: temporary-worker-persists-room-keys): the page keeps no saved key
|
|
111
|
+
// for a tmp- room (space.js rememberMk) — its keys live in the shreddable temp index — and this worker's copy on disk let a
|
|
112
|
+
// temporary Space's key survive an app restart. Held in memory only; the boot scan drops what an older build wrote.
|
|
113
|
+
const memOnlyRoom = (room) => volatile.has(room) || String(room).startsWith('tmp-')
|
|
105
114
|
const persist = (k, v) => {
|
|
106
115
|
const epoch = storageEpoch
|
|
107
|
-
return storageWiped ||
|
|
116
|
+
return storageWiped || memOnlyRoom(roomOfKey(k)) ? Promise.resolve() : keysReady.then(() => ((!sealKey && protectedAtRest) ? undefined : sealIf(sealKey, v).then((stored) => epoch === storageEpoch && !storageWiped ? idb.set(k, stored) : undefined))).catch(() => {})
|
|
108
117
|
} // a wipe also cancels keys whose asynchronous sealing was still running
|
|
109
118
|
// AN ATTESTED ROOM'S PREVIEW KEY (the owner, 2026-11-24: "the notification preview for attested rooms doesn't work"): its room key stays
|
|
110
119
|
// in this worker's memory, so the vault — whose service worker and native shell show the notification — never learned its preview key.
|
|
111
120
|
// The vault gets the PREVIEW KEY alone (it opens a notification's preview, never the room): `attNk`. Nothing is written here.
|
|
112
|
-
const persistNk = (room, nk) => storageWiped ? Promise.resolve() : volatile.has(room) ? (postAttNk(room, nk), Promise.resolve()) : (nkClear ? keysReady.then(() => storageWiped ? undefined : idb.set('nk:' + room, nk)).catch(() => {}) : protectedAtRest ? keysReady.then(() => idb.delRaw('nk:' + room)).catch(() => {}) : persist('nk:' + room, nk))
|
|
121
|
+
const persistNk = (room, nk) => storageWiped ? Promise.resolve() : volatile.has(room) ? (postAttNk(room, nk), Promise.resolve()) : memOnlyRoom(room) ? Promise.resolve() : (nkClear ? keysReady.then(() => storageWiped ? undefined : idb.set('nk:' + room, nk)).catch(() => {}) : protectedAtRest ? keysReady.then(() => idb.delRaw('nk:' + room)).catch(() => {}) : persist('nk:' + room, nk))
|
|
113
122
|
// A ROOM'S KEY EPOCH (docs/key-rotation-design.md § (b)): a verified room re-keyed in place counts its keys. Kept per room
|
|
114
123
|
// (not secret: a count) so a key arriving from the account index can be refused when it is OLDER than the one held — a
|
|
115
124
|
// device that had not yet learned the new key, writing the index, must not put the old key back (never backwards).
|
|
116
125
|
const eps = new Map()
|
|
117
|
-
const noteEp = (room, ep) => { const n = Number(ep) || 0; if (room && n > (eps.get(room) || 0)) { eps.set(room, n); if (!
|
|
126
|
+
const noteEp = (room, ep) => { const n = Number(ep) || 0; if (room && n > (eps.get(room) || 0)) { eps.set(room, n); if (!memOnlyRoom(room)) idb.set('ep:' + room, n).catch(() => {}) } }
|
|
118
127
|
// NEVER BACKWARDS: a key for a room this worker holds a NEWER key of (a higher epoch) is refused — the hosted vault re-seeds
|
|
119
128
|
// every key it holds at each launch with no epoch, an old link carries its old key, the index of a device that had not yet
|
|
120
129
|
// learned the change carries the old one. A room never re-keyed has epoch 0 everywhere: nothing is refused (as before).
|
|
@@ -227,11 +236,12 @@ const publishPresence = () => self.postMessage({ t: 'presence', rooms: [...new S
|
|
|
227
236
|
// would strip EVERY room's key from the shared index doc in a single write, account-wide and unrecoverable.
|
|
228
237
|
// §NAMES: a store already kept under opaque names (the flag, or any `p:` key) is protected: the names go on, LOCKED, before the
|
|
229
238
|
// scan — the scan then finds nothing until the unlock gives the key, and no clear key is ever written meanwhile.
|
|
239
|
+
const dropTempCopy = (k) => { const room = k.slice(3); for (const pfx of ['mk:', 'us:', 'nk:', 'ep:']) idb.del(pfx + room).catch(() => {}) } // an older build's copy of a temporary room's key (memOnlyRoom)
|
|
230
240
|
const namesReady = Promise.all([idb.getRaw('protectedNames'), idb.keysRaw('p:')]).then(([f, ks]) => { if (f || (ks && ks.length)) { setIdbNaming({ on: true }); protectedAtRest = true } }).catch(() => {})
|
|
231
241
|
const keysReady = namesReady.then(() => Promise.all([
|
|
232
|
-
idb.entries('mk:').then((es) => { let n = 0; for (const [k, v] of es) if (isSealed(v)) { parked.set(k, v); protectedAtRest = true } else if (v) { mks.set(k.slice(3), v); n++ } if (n) publishPresence() }).catch(() => {}), // a sealed entry waits for the device key (§PROTECT)
|
|
242
|
+
idb.entries('mk:').then((es) => { let n = 0; for (const [k, v] of es) if (k.startsWith('mk:tmp-')) dropTempCopy(k); else if (isSealed(v)) { parked.set(k, v); protectedAtRest = true } else if (v) { mks.set(k.slice(3), v); n++ } if (n) publishPresence() }).catch(() => {}), // a sealed entry waits for the device key (§PROTECT)
|
|
233
243
|
idb.entries('ep:').then((es) => { for (const [k, v] of es) { const n = Number(v); if (n > 0) eps.set(k.slice(3), n) } }).catch(() => {}), // key epochs (noteEp)
|
|
234
|
-
idb.entries('us:').then((es) => { let n = 0; for (const [k, v] of es) if (isSealed(v)) { parked.set(k, v); protectedAtRest = true } else if (v && v.userShare) { splits.set(k.slice(3), v); n++ } if (n) publishPresence() }).catch(() => {}), // reload the split shares too — the reclaim-window fix
|
|
244
|
+
idb.entries('us:').then((es) => { let n = 0; for (const [k, v] of es) if (k.startsWith('us:tmp-')) dropTempCopy(k); else if (isSealed(v)) { parked.set(k, v); protectedAtRest = true } else if (v && v.userShare) { splits.set(k.slice(3), v); n++ } if (n) publishPresence() }).catch(() => {}), // reload the split shares too — the reclaim-window fix
|
|
235
245
|
]))
|
|
236
246
|
|
|
237
247
|
// auth shim → main thread (which holds the localStorage-backed cachedEmailAuth)
|
|
@@ -333,6 +343,8 @@ self.onmessage = async (e) => {
|
|
|
333
343
|
if ((await idb.keysRaw('p:')).length && !(await idb.nameIndex()).length) { setIdbNaming({ on: true }); throw new Error('this key opens nothing here') } // §NAMES: a wrong key reads no name — refuse, and stay locked (never write under its names)
|
|
334
344
|
ms.check = performance.now() - t0
|
|
335
345
|
if (!parked.size) for (const pfx of ['mk:', 'us:', 'nk:']) for (const [k, v] of await idb.entries(pfx)) if (isSealed(v)) parked.set(k, v) // after a relock the maps are empty: re-read the sealed store
|
|
346
|
+
// a TEMPORARY room's older copy (memOnlyRoom; 67bea680d recheck): under opaque names the boot scan never saw it — dropped here, never opened
|
|
347
|
+
for (const k of [...parked.keys()]) if (/^(?:mk|us|nk):tmp-/.test(k)) { parked.delete(k); dropTempCopy(k) }
|
|
336
348
|
ms.read = performance.now() - t0; ms.n = parked.size
|
|
337
349
|
let n = 0
|
|
338
350
|
// ALL AT ONCE, then into the maps (2026-11-17: one by one, WebKit's WebCrypto costs a thread hop per key — ~450 rooms on the
|
|
@@ -343,6 +355,7 @@ self.onmessage = async (e) => {
|
|
|
343
355
|
if (k.startsWith('mk:')) { mks.set(k.slice(3), v); n++ } else if (k.startsWith('us:')) { if (v && v.userShare) { splits.set(k.slice(3), v); n++ } } // nk: is derived from mk at keep(); nothing to hold in memory
|
|
344
356
|
})
|
|
345
357
|
parked.clear(); sealKey = key; protectedAtRest = true
|
|
358
|
+
derivePendingAcct() // the account's index key may have been among them
|
|
346
359
|
for (const [room, mk] of mks) { persist('mk:' + room, mk); deriveNotifKey(mk).then((nk) => persistNk(room, nk)).catch(() => {}) } // keys that reached the locked worker (the page re-sent them at open) are persisted sealed now
|
|
347
360
|
for (const [room, sp] of splits) persist('us:' + room, sp)
|
|
348
361
|
ms.open = performance.now() - t0
|
|
@@ -408,7 +421,7 @@ self.onmessage = async (e) => {
|
|
|
408
421
|
case 'remember': { // {room, mk} → store a key in the map (the worker becomes the mk store)
|
|
409
422
|
// AFTER the boot scan: the stored key and its epoch are loaded first, so a launch's re-seed (no epoch) is judged against
|
|
410
423
|
// them — before, the scan put the new key back in memory and the re-seed's queued write put the old one on disk
|
|
411
|
-
keysReady.then(() => { if (m.room && m.mk) { keep(m.room, m.mk, m.ep); publishPresence() } if (m.id != null) self.postMessage({ id: m.id, result: true }) }) // m.ep: a re-keyed room's epoch (space.js adoptRoomKey)
|
|
424
|
+
keysReady.then(() => { if (m.room && m.mk) { keep(m.room, m.mk, m.ep); publishPresence(); if (m.room === pushAcctRoom) derivePendingAcct() } if (m.id != null) self.postMessage({ id: m.id, result: true }) }) // m.ep: a re-keyed room's epoch (space.js adoptRoomKey)
|
|
412
425
|
return
|
|
413
426
|
}
|
|
414
427
|
case 'create': { // {id, cfg, base} → mint a Space HERE (vault-core.js, docs/sdk-vault-mode.md): its key is born in
|
|
@@ -449,8 +462,8 @@ self.onmessage = async (e) => {
|
|
|
449
462
|
// {secret}: the secret itself (a one-way derivation, never a key), from a page that holds the index key on its own thread —
|
|
450
463
|
// the builders' vault (vault-core.js; sync sweep 11-16 #14). '' clears it (signed out).
|
|
451
464
|
try {
|
|
452
|
-
if (typeof m.secret === 'string') { if (m.secret === '' || /^[A-Za-z0-9_-]{43}$/.test(m.secret)) setPushAcct(m.secret) }
|
|
453
|
-
else { const mk = m.room ? (mks.get(m.room) || await resolveMk(m.room)) : ''; setPushAcct(await pushAcctSecretOf(mk || '')) }
|
|
465
|
+
if (typeof m.secret === 'string') { pushAcctRoom = ''; if (m.secret === '' || /^[A-Za-z0-9_-]{43}$/.test(m.secret)) setPushAcct(m.secret) }
|
|
466
|
+
else { const mk = m.room ? (mks.get(m.room) || await resolveMk(m.room)) : ''; pushAcctRoom = m.room && !mk ? String(m.room) : ''; setPushAcct(await pushAcctSecretOf(mk || '')) } // no key yet: kept for when it comes
|
|
454
467
|
} catch { /* */ }
|
|
455
468
|
if (m.id != null) self.postMessage({ id: m.id, result: true })
|
|
456
469
|
return
|
|
@@ -468,7 +481,10 @@ self.onmessage = async (e) => {
|
|
|
468
481
|
// A stream opened before the endpoint arrived carries no viewing tag: reopen it with one (the server then skips this
|
|
469
482
|
// device's tickle for the room on screen). Same room, same key; only the socket's name changes.
|
|
470
483
|
for (const [room, h] of streams) {
|
|
471
|
-
|
|
484
|
+
// …and only a stream still HELD after the wait: a final streamClose meanwhile stopped it and dropped it from `streams`, and a
|
|
485
|
+
// socket reopened for it would stay tagged "viewing" with no holder, silencing this device's notices for a room it left (side
|
|
486
|
+
// sweep: room-worker-pending-stream-open-outlives-close)
|
|
487
|
+
try { const tag = await viewingTag(room); if (streams.get(room) !== h) continue; if (tag && tag !== h.tag && h.mk) { h.s?.stop(); h.s = openStreamHere(room, h.mk, h.grants || null, tag); h.tag = tag } } catch { /* the old socket stays */ }
|
|
472
488
|
}
|
|
473
489
|
if (m.id != null) self.postMessage({ id: m.id, result: true })
|
|
474
490
|
return
|
|
@@ -511,10 +527,10 @@ self.onmessage = async (e) => {
|
|
|
511
527
|
case 'inviteLink': { // {id, room, base, suffix} → the invite link, with the split key fragment (#us=…&spc=…) INJECTED here from the confined store. Main thread supplies only the non-secret base/suffix; it never sees the userShare. null if we hold no split for the room.
|
|
512
528
|
const { id, room, base, suffix } = m
|
|
513
529
|
try {
|
|
514
|
-
const sp = splits.get(room)
|
|
530
|
+
const sp = splits.get(room), held = !(sp && sp.userShare) && m.plain === true && typeof mks.get(room) === 'string' ? mks.get(room) : '' // plain: a non-split room whose key only this worker holds (a protected device)
|
|
515
531
|
const link = (sp && sp.userShare)
|
|
516
532
|
? (base + '#us=' + encodeURIComponent(sp.userShare) + (sp.commit ? '&spc=' + encodeURIComponent(sp.commit) : '') + (suffix || ''))
|
|
517
|
-
: null
|
|
533
|
+
: held ? base + '#mk=' + held + (suffix || '') : null
|
|
518
534
|
self.postMessage({ id, result: { link } })
|
|
519
535
|
} catch (err) { self.postMessage({ id, error: 'inviteLink: ' + String((err && err.message) || err) }) }
|
|
520
536
|
return
|
|
@@ -599,7 +615,7 @@ self.onmessage = async (e) => {
|
|
|
599
615
|
await keysReady // so hasMk/presence reflect the FULL map right after an absorb (a half-loaded map reads as "no key")
|
|
600
616
|
if (indexMk && !mks.get(indexRoom)) { keep(indexRoom, indexMk); publishPresence() } // the app passes the index ROOM's key so we can open the doc even when it was adopted from a backup
|
|
601
617
|
const r = await acct.get(indexRoom, mks.get(indexRoom) || indexMk, name, { plainOpen: unzipDoc }) // SEALED on the device (accountStores.js); the plain doc read through until it moves
|
|
602
|
-
if (!(r && r.status === 200 && r.state)) { self.postMessage({ id, result: { status: (r && r.status) || 0, state: null } }); return }
|
|
618
|
+
if (!(r && r.status === 200 && r.state)) { self.postMessage({ id, result: { status: (r && r.status) || 0, state: null, ...(r && Number.isInteger(r.v) ? { v: r.v } : {}) } }); return } // v even for an EMPTY doc: the first sealing write is pinned to it (side sweep: index2-version-lost-during-key-transition)
|
|
603
619
|
let st = r.state
|
|
604
620
|
const mirror = {} // → the main thread's localStorage cache (see below); `rooms` itself stays KEYLESS as before
|
|
605
621
|
const splitRooms = {} // room → commit: which listed rooms are split, with no share (what a keyless caller is told)
|
|
@@ -648,7 +664,7 @@ self.onmessage = async (e) => {
|
|
|
648
664
|
// (and absorb it, self-healing this worker). Only a room whose key exists NOWHERE is dropped, as before.
|
|
649
665
|
let cur = {}
|
|
650
666
|
try {
|
|
651
|
-
let s = null; const rr = await acct.get(indexRoom, mks.get(indexRoom) || indexMk, name, { plainOpen: unzipDoc })
|
|
667
|
+
let s = null; const rr = await acct.get(indexRoom, mks.get(indexRoom) || indexMk, name, { plainOpen: unzipDoc, notePlain: false }) // for the keys only: the cleanup still empties over the app's read (accountStores.js)
|
|
652
668
|
if (rr && rr.status === 200 && rr.state) s = rr.state
|
|
653
669
|
previousIndex = s
|
|
654
670
|
if (s && s.rooms && typeof s.rooms === 'object') cur = s.rooms
|
|
@@ -688,7 +704,7 @@ self.onmessage = async (e) => {
|
|
|
688
704
|
if (!client) throw new Error('l1-worker: pipesRead before open')
|
|
689
705
|
if (pipesMk && !mks.get(pipesRoom)) { keep(pipesRoom, pipesMk); publishPresence() }
|
|
690
706
|
const r = await acct.get(pipesRoom, mks.get(pipesRoom) || pipesMk, name) // SEALED on the device (accountStores.js)
|
|
691
|
-
if (!(r && r.status === 200 && r.state)) { self.postMessage({ id, result: { status: (r && r.status) || 0, state: null } }); return }
|
|
707
|
+
if (!(r && r.status === 200 && r.state)) { self.postMessage({ id, result: { status: (r && r.status) || 0, state: null, ...(r && Number.isInteger(r.v) ? { v: r.v } : {}) } }); return } // v even for an EMPTY doc: the first sealing write is pinned to it (side sweep: index2-version-lost-during-key-transition)
|
|
692
708
|
let st = r.state
|
|
693
709
|
if (st && typeof st === 'object' && st.pipes && typeof st.pipes === 'object') {
|
|
694
710
|
const keyless = {}
|
package/laneAssociation.js
CHANGED
|
@@ -8,7 +8,9 @@ export function reconcilePrivateRooms(pipes) {
|
|
|
8
8
|
for (const pipe of Object.values(pipes)) {
|
|
9
9
|
if (pipe?.kind === 'lane-lane') { pipe.associationAt ||= Number(pipe.at) || 1; continue }
|
|
10
10
|
if (pipe?.kind !== 'private-lane') continue
|
|
11
|
-
|
|
11
|
+
// a time COPIED from activity is marked so (side sweep: legacy-mirror-cursor-revives-unlinked-lane): against an unlink it is
|
|
12
|
+
// still activity (legacyUndoesUnlink); a link this build makes writes its own associationAt on a new row, unmarked
|
|
13
|
+
if (!pipe.associationAt) { pipe.associationAt = Number(pipe.at) || 1; pipe.associationInferred = true }
|
|
12
14
|
const room = pipe.lane?.room
|
|
13
15
|
if (!room || pipe.removed) continue
|
|
14
16
|
if (!byRoom.has(room)) byRoom.set(room, [])
|
|
@@ -35,8 +37,16 @@ export function reconcilePrivateRooms(pipes) {
|
|
|
35
37
|
return pipes
|
|
36
38
|
}
|
|
37
39
|
|
|
40
|
+
// A LIVE ROW FROM AN OLDER DEVICE CANNOT UNDO A NEWER UNLINK OF THE SAME ASSISTANT (side sweep 2026-11-28): an older device stamps `at`
|
|
41
|
+
// on every mirror step and writes no `associationAt`, so its live row, stamped after an explicit unlink, read as the newer link and
|
|
42
|
+
// copying to the former assistant began again. Against a removal that names its decision, such a row's `at` is activity.
|
|
43
|
+
const legacyUndoesUnlink = (live, gone) => live.kind === 'private-lane' && gone.kind === 'private-lane' && !live.removed && !live.detachedLane && (!Number(live.associationAt) || live.associationInferred === true) &&
|
|
44
|
+
gone.removed === true && Number(gone.associationAt) > 0 && !!live.lane?.room && (live.lane.room === gone.lane?.room || (Array.isArray(gone.unlinkedRooms) && gone.unlinkedRooms.includes(live.lane.room)))
|
|
45
|
+
|
|
38
46
|
export function preferredAssociation(left, right) {
|
|
39
47
|
if (!left || !right) return left || right
|
|
48
|
+
if (legacyUndoesUnlink(left, right)) return right
|
|
49
|
+
if (legacyUndoesUnlink(right, left)) return left
|
|
40
50
|
const explicit = record => Number(record.associationAt) || (record.kind === 'private-lane' || record.kind === 'lane-lane' || record.detachedLane || record.removed ? Number(record.at) || 0 : 0)
|
|
41
51
|
const a = explicit(left), b = explicit(right)
|
|
42
52
|
if (a !== b) return a > b ? left : right
|
package/laneLinkCore.js
CHANGED
|
@@ -81,6 +81,15 @@ export function askHopFrom(entries) {
|
|
|
81
81
|
/** The built-in hop ceiling when neither the pipe nor the account names one (docs/spaces-linked-lanes.md, Decision 4).
|
|
82
82
|
* Resolution lives in roomSync.effectiveLaneLaneCap: pipe `cap` → account default → this. */
|
|
83
83
|
export const DEFAULT_LANE_LINK_CAP = 3
|
|
84
|
+
/** A linked assistant's label no earlier one in `used` has: `base`, else "base (2)", "base (3)"… (side sweep:
|
|
85
|
+
* linked-assistant-label-selects-wrong-room — counted by the original names, a generated "Assistant (2)" could equal another
|
|
86
|
+
* assistant's own name, and tell_lane asked the first match). Adds the label to `used`. */
|
|
87
|
+
export function uniqueLabel(used, base) {
|
|
88
|
+
let label = base, n = 1
|
|
89
|
+
while (used.has(label)) label = `${base} (${++n})`
|
|
90
|
+
used.add(label)
|
|
91
|
+
return label
|
|
92
|
+
}
|
|
84
93
|
export function canForward(hop, cap, defaultCap = DEFAULT_LANE_LINK_CAP) {
|
|
85
94
|
const c = Number.isFinite(Number(cap)) && Number(cap) >= 0 ? Number(cap) : defaultCap
|
|
86
95
|
return (Number(hop) || 0) <= c
|
package/ledgerView.js
CHANGED
|
@@ -12,6 +12,11 @@ export const entryKeyOf = (e) => `${canonId(e && e.id)}|${e && e.ts != null ? e.
|
|
|
12
12
|
// with no new entries" means: re-read a short tail — never adopting its etag, or a reply landing in between is swallowed.
|
|
13
13
|
export const REACTION_RESYNC_TAIL = 50
|
|
14
14
|
export const needsTailResync = (r, held) => !!(r && r.status === 200 && r.changed && Array.isArray(r.entries) && !r.entries.length && held > 0)
|
|
15
|
+
// …and a changed poll that ALSO brought new entries may carry an in-place edit as well: a reaction and a message landing between two polls
|
|
16
|
+
// come back as the message only — the server lists no edited ids (side sweep: reaction-refresh-misses-edited-history). The tail is re-read
|
|
17
|
+
// for it too, but at most every TAIL_RESYNC_WITH_NEW_MS: a busy room must not pay a second read for every message.
|
|
18
|
+
export const TAIL_RESYNC_WITH_NEW_MS = 10_000
|
|
19
|
+
export const mayHideEdit = (r, held) => !!(r && r.status === 200 && r.changed && Array.isArray(r.entries) && r.entries.length && held > 0)
|
|
15
20
|
|
|
16
21
|
const same = (a, b) => { try { return JSON.stringify(a) === JSON.stringify(b) } catch { return false } }
|
|
17
22
|
|
|
@@ -35,6 +40,17 @@ export function makeLedgerView () {
|
|
|
35
40
|
}
|
|
36
41
|
return { added, updated }
|
|
37
42
|
},
|
|
43
|
+
/** Drop the held entry with this id (and ts, when both carry one) from the list, in place → whether one was dropped. A
|
|
44
|
+
* deleted mail's place (agent/mailPurge.mjs) leaves nothing of the mail (side sweep: sdk-purged-mail-retains-original-entry). */
|
|
45
|
+
remove (id, ts) {
|
|
46
|
+
const cid = id != null ? canonId(id) : null
|
|
47
|
+
if (cid == null || !at.has(cid)) return false
|
|
48
|
+
const i = at.get(cid)
|
|
49
|
+
if (ts != null && list[i] && list[i].ts != null && list[i].ts !== ts) return false
|
|
50
|
+
list.splice(i, 1); at.delete(cid)
|
|
51
|
+
for (const [k, j] of at) if (j > i) at.set(k, j - 1)
|
|
52
|
+
return true
|
|
53
|
+
},
|
|
38
54
|
}
|
|
39
55
|
}
|
|
40
56
|
|
|
@@ -51,14 +67,24 @@ export async function readAllPages (read, { maxPages = 400 } = {}) {
|
|
|
51
67
|
// a FIRST read that failed is not an empty room: say so, as a later page's failure does (sync sweep, 2026-10-10)
|
|
52
68
|
if (!first || !Array.isArray(first.entries) || (first.status && first.status !== 200)) return { ...(first || {}), entries: (first && Array.isArray(first.entries)) ? first.entries : [], incomplete: true }
|
|
53
69
|
const entries = [...first.entries]
|
|
70
|
+
// `refused`: entries a page could not open (an earlier room key out of reach just now) — summed over EVERY page, so a reader
|
|
71
|
+
// that needs the whole history (export) can tell a partly readable one from it (side sweep 2026-11-28)
|
|
72
|
+
let refused = Number(first.refused) || 0
|
|
73
|
+
// `mixed`: a later page came from ANOTHER revision of the room (its etag, less the page's `#<end>`, differs from the first
|
|
74
|
+
// page's) — a reaction or a new message landed between the reads, so the pages do not make one snapshot. Said, additively; a
|
|
75
|
+
// reader that needs one snapshot (export) reads again (side sweep: portable-export-mixes-history-revisions)
|
|
76
|
+
let mixed = false
|
|
77
|
+
const revision = (etag) => (typeof etag === 'string' && etag ? etag.replace(/#\d+$/, '') : '')
|
|
78
|
+
const out = (o) => ({ ...o, ...(refused ? { refused } : {}), ...(mixed ? { mixed: true } : {}) })
|
|
54
79
|
let p = first
|
|
55
80
|
for (let i = 1; i < maxPages && p && p.more; i++) {
|
|
56
81
|
const since = Number(p.version)
|
|
57
82
|
if (!Number.isFinite(since) || since <= 0) break
|
|
58
83
|
const next = await read(since).catch(() => null)
|
|
59
|
-
if (!next || !Array.isArray(next.entries) || (next.status && next.status !== 200)) return { ...first, entries, incomplete: true }
|
|
60
|
-
|
|
84
|
+
if (!next || !Array.isArray(next.entries) || (next.status && next.status !== 200)) return out({ ...first, entries, incomplete: true })
|
|
85
|
+
if (revision(first.etag) && revision(next.etag) && revision(next.etag) !== revision(first.etag)) mixed = true
|
|
86
|
+
entries.push(...next.entries); p = next; refused += Number(next.refused) || 0
|
|
61
87
|
}
|
|
62
|
-
if (p && p.more) return { ...first, entries, incomplete: true } // stopped at maxPages with pages still to come: not the whole history (sync sweep, 2026-10-10)
|
|
63
|
-
return { ...first, entries, more: false }
|
|
88
|
+
if (p && p.more) return out({ ...first, entries, incomplete: true }) // stopped at maxPages with pages still to come: not the whole history (sync sweep, 2026-10-10)
|
|
89
|
+
return out({ ...first, entries, more: false })
|
|
64
90
|
}
|
package/manifest.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.
|
|
3
|
-
"commit": "
|
|
2
|
+
"version": "4.5.0",
|
|
3
|
+
"commit": "fa43bad6c54e944c094d3b0ede5972dd9187ee84",
|
|
4
4
|
"released": "2026-11-28",
|
|
5
5
|
"files": {
|
|
6
|
-
"a2aCore.js": "sha384-
|
|
6
|
+
"a2aCore.js": "sha384-m/z8i+dw6Q3WDJdQwOl+v2V9FxaYwvdbBXjJDvacrJzfPthCZ0E/4vgnur8f9X9H",
|
|
7
7
|
"a2aShared.js": "sha384-8ZySzE/00iuVY9rHn+OF4ffcmGL/7z2eyFbRNIGejqnnnbf/AdHncYqLPU7RPq8L",
|
|
8
|
-
"accountErase.js": "sha384-
|
|
9
|
-
"accountIndexDoc.js": "sha384-
|
|
8
|
+
"accountErase.js": "sha384-NmL/Hut7W2hEBotQFAlOGitejoS7Ije/d0Lr0ZN8CQJ3w43JcfyYhHe5iu3q+QhV",
|
|
9
|
+
"accountIndexDoc.js": "sha384-zEK6m1LRZp7YLxRa724StGmxaH01TEzOJRpQicSTc2HEHNrdeNSj5gsHqf3010rT",
|
|
10
10
|
"accountOwner.js": "sha384-PzilRYmvxbcRAKPW/EKyc/+WpJXW1scvM57/4YoeGvd1vSxDFgyCdvsC4A9cIjqs",
|
|
11
|
-
"accountRecord.js": "sha384-
|
|
11
|
+
"accountRecord.js": "sha384-txefXHZOZJOriiGRKari/1kmA87TJ8+O7kGt4yr+v36AHR881CtMkqZl4ulE2wZ+",
|
|
12
12
|
"accountScope.js": "sha384-XqPCppK4c98qCP+Ch+725Ezw6nO8d2+KtSBLqaLwImb2W44lWl7M13R/Nuo0RInk",
|
|
13
13
|
"accountSeal.js": "sha384-vBVE3c0CP99ag2qGgdisTWjTKLTXBv5Xk20vkuPBvStTOWrGGFW07ekLnV0vewXz",
|
|
14
|
-
"accountStores.js": "sha384-
|
|
15
|
-
"acctV2App.js": "sha384-
|
|
14
|
+
"accountStores.js": "sha384-0tmlMZ7cdtBOX+YG6z5ryNPoBkhmeTPqenBVYjum/n3FVaEUKD9Fn0hMl1u6HvXY",
|
|
15
|
+
"acctV2App.js": "sha384-suf3k46vq4ulVwHXPMzu3zgqBJ6nWWWatqxdBKReofx9VbmjoI213+6tDRU1/G+R",
|
|
16
16
|
"acctV2Check.js": "sha384-1tl+lRbBFz1cz6dLmVsCCVs8WLd6SIdo53wHN1PNBeKaSFaGLPcCJ1UsNfQZvYLL",
|
|
17
|
-
"acctV2Client.js": "sha384
|
|
17
|
+
"acctV2Client.js": "sha384-/1HW620EUxJMrdInzNeknjn6fC1NUPFBCGtFoYV6nRR5sSGvwXvra/Q5gVA1c45w",
|
|
18
18
|
"acctV2Keys.js": "sha384-xlfDiwkXSQWjiKBcceDCfsoCVcuLRxxC/p8jss/K9M2gMn4x62ZE5UlFkm9eTpIV",
|
|
19
19
|
"acctV2Legacy.js": "sha384-QlBzwihqxBMe+eejAzEVYV4vnbJxj/3PNrtkovy+g1CMrIqQmDxeWkyLlcwPS2lG",
|
|
20
20
|
"acctV2Switch.js": "sha384-6D7U3ahlQQnrEcSVC40x1+AQgrWaV4jaY0gt/Qty52OsFJ51F6kh8n0mw0CfdDsB",
|
|
21
|
-
"acctV2UiCore.js": "sha384-
|
|
21
|
+
"acctV2UiCore.js": "sha384-f9sAgPjclrzHrIfLQuFletmdE17XwRkZYWOUNZC7ooVnTklGn64gc5+dlPHK/yX9",
|
|
22
22
|
"acctV2WebAuthn.js": "sha384-tfWRaxzO6+mKfyXTbNDssa3VxQLTQeFTTA6WhXmq5dtL3SSog1QPd7v/0r9T/Z39",
|
|
23
23
|
"acctV2Wire.js": "sha384-umBkf5pazE80LpOByLC7mdcrLiWUHzB4+OpdvUybpJ2KgpOsQ5ftgr0IInNmqKKT",
|
|
24
24
|
"address.js": "sha384-GlXfyjK8I9tPdW9WDfcll/dzPtQe7G/EsJDw4yozjKi2dahI2Ogn9ira13iVbeK7",
|
|
25
25
|
"agentDoorTools.js": "sha384-u4D5/n3QWb16kqYWgWqmU1oP+DuPs7oMcPuTxTePYqeGLphYTVQ9oP0nbaxHioRU",
|
|
26
26
|
"attestedBox.js": "sha384-ym0iKYAKeSLc+WyAICW9gN+ebNsnylxeJbEtK7EksVuzUM9qfgjXIkvWR7YpkEP1",
|
|
27
27
|
"attestedRooms.js": "sha384-cHIc7FfaUxXVIsjCJFa1iug8TSd2NrtM3oQ7Ud9l9FgzmWvXXpv8Oh+qguGz3GTT",
|
|
28
|
-
"awsKey.js": "sha384-
|
|
29
|
-
"backupRecord.js": "sha384-
|
|
28
|
+
"awsKey.js": "sha384-jKyc0oGAL3CfsNORW8kmGjL5rdsvaxNAl+5tonzSV1gSoDXg04icKCQNOoH/g84D",
|
|
29
|
+
"backupRecord.js": "sha384-ymfv8RjWLAQTdG+o3MfUlVDYOUYpdAjxUZnVWNgy7pnReE4uYE7hupxXbDefxC9l",
|
|
30
30
|
"backupVault.js": "sha384-2YGahV+Lr/lL2dEYnsiBuXEvDeRYzWgqsE9Ct+zQVm4cKwfpXRbcWelt/vTfk4cU",
|
|
31
31
|
"blocks.js": "sha384-xluKDvLj9HqHz9AvPi9s4vWJ7ZJkQltUb2GHqZu+1GK7sc8p8CVE/zD79nBF+ZRp",
|
|
32
32
|
"blocksPush.js": "sha384-mW8KMahz2HM8Mtcapy4aHHV2nlJIy0K4HO5eF6I/AUqKt/rc45vjfxA3hsYxvzt6",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"cloudDeviceBuilds.js": "sha384-FAyylkqCHVe0vvbvZnUH4/JuR15pexmiO/gLys+YRjNZEBkvOUFp8Kg3m/yNAp0G",
|
|
39
39
|
"cloudDevicePins.js": "sha384-4WhPBJaVLPTwwmCzVyDKQxhMEnTBj/4GIRZKLUTOWI+fyWFrurVllUy7ViYlBrxo",
|
|
40
40
|
"cloudDeviceSeal.js": "sha384-1pc+0oFx924IQVeSAAH5LzOp/l7p79fH6MhROKnS0Q9wnU2Y0oJYs2carCVxLdqe",
|
|
41
|
-
"codeAttachments.js": "sha384-
|
|
41
|
+
"codeAttachments.js": "sha384-ufp2O+y/clLkfUq9cOKGKA0tFATGI8BByGkHwzcabxAfY2f+ON+Po6Bl0+VdGL8H",
|
|
42
42
|
"codeBrowse.js": "sha384-2QxapdloHnTVLWWzOr/smsnS8loedcQZRpPc6pAPoOqZDjVm0leMNxPbxxXVU8Io",
|
|
43
|
-
"codeCache.js": "sha384-
|
|
44
|
-
"codeCloud.js": "sha384-
|
|
43
|
+
"codeCache.js": "sha384-AG00pgEvlGEQc74OjEqC8ttdGe2LW5w3N4JvEsHnnDp4yBvWgOLAeVDc0FAeSdES",
|
|
44
|
+
"codeCloud.js": "sha384-1gO3/+apMktXlQFeqHL7u7j/3jZW3sGY4LjSb0ORgjILxer2gTNruMMsK9yc+A9u",
|
|
45
45
|
"codeCloudKeys.js": "sha384-SGf8gNR3NQaDKlwIMB0MWinfAatj202hjJrRtHR6rC82qpI000J7q4BGpBkC9cbb",
|
|
46
46
|
"codeCommands.js": "sha384-vDl7wobjRwSKgcmhhOVu2pM1ZMYzoiZKwgBjeLFE1ZC0+Oinm8L2dautSvM4yDY/",
|
|
47
|
-
"codeComputers.js": "sha384-
|
|
47
|
+
"codeComputers.js": "sha384-RkOIVwwOwyZRzDWJoqoLAUVxXhsC9xTC0tHHWRuaruZG+dGo1hLXXmZJPt1kkfe4",
|
|
48
48
|
"codeEgress.js": "sha384-TVXFI6ew5yai8POqjt652Vmn08PTSLO+vWull5L8gTPVHdaQtQrlmV9FSAYUNVSt",
|
|
49
49
|
"codeFilesRoutes.js": "sha384-ZyX/ifWnIS4J2P3yIyttFqJ4tVWhyjVLMgJO449BbdH0ynD0VnaPU8dzWIBWRQof",
|
|
50
50
|
"codeFolders.js": "sha384-dpJNFif2/jcYkA3fOcXExeliwpohXMZrWhOi1yNByG3G1aqnl15wr8VdQB4N3+bg",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"codeOutputs.js": "sha384-p/VHUNwtPx0kcDYzcE15VgSLU6JSEvHM0wlYOdq7VruD25Kh22f6VFh5sU+MhF5N",
|
|
57
57
|
"codeProgress.js": "sha384-1qxehb9b13MNLhjvJeN+jogni5FBBi3A3VNqJuRqUzQ/U/AFnGtWuc3jc+L9vYzk",
|
|
58
58
|
"codeRelay.js": "sha384-e51yvY9ORzn/MJSeoBzhgLyuCgWDMbLo/+euuRgU83PnP15PTACcQPye63bI8aTN",
|
|
59
|
-
"codeSent.js": "sha384-
|
|
59
|
+
"codeSent.js": "sha384-uMNfuOz7ioPT+02w0b2+LcCYUa1QtLK3PcUtr6jZrNxK06yJD5vymTKCDXRJPyGl",
|
|
60
60
|
"codeSentinel.js": "sha384-Ci1uzIeAE8siuWQ1c3QdGm+COEYCvYpwecOghOMTxvh67WaWn2dXjW25pOEtHXeV",
|
|
61
61
|
"codeSubagents.js": "sha384-Bux9J86u/QyUsObFbrNJLXhlTc2OTgRG5ZUdp8nCPbF/i9lzSmseC8aJSqLvWToL",
|
|
62
|
-
"codeTransport.js": "sha384-
|
|
62
|
+
"codeTransport.js": "sha384-gkonuwlyK/w8J9bNUg+4vzNOykrDO2Uq4BhNl+NwM2Eu7EaARQSYDOmywksTO5jG",
|
|
63
63
|
"codeUndo.js": "sha384-ZmZA/lI23Ldf55ZdpOgAtWi2FCkGkGYNR+DO7TDO+0lmpVn5tv1CxOi7oXT+IMue",
|
|
64
64
|
"compress.js": "sha384-n49Q8zntX+/uEaz0GHJesJ4celdQVUXBgxDBpvnGy/ja/ymvNBj/j9gXL4osDI03",
|
|
65
65
|
"config.js": "sha384-HFQO8OrH7oYVNmUVf52OdNeCFolBrqbT2iwkfz9hHnkcANC3IxONsCb6yoze3aW/",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"connPending.js": "sha384-dLLfaofnAA3C7UVB/n/3Q0UEJ21bBc7DM6avTA7m3TAU3rkYrigq2g/9uVBj96ZF",
|
|
70
70
|
"connWrap.js": "sha384-sm4dfCD3aQa5fznh1JERZ+2lvq2iarPry6ityLlqPPGlwsZBGzM093gGt6WPM7eA",
|
|
71
71
|
"connectionEntry.js": "sha384-aS2dtKOxjkOiU4prWDhVx7SBDnxuom84NNi6+xxQgTaGhCPesdqMp9hhxnTbxWpr",
|
|
72
|
-
"connections.js": "sha384-
|
|
72
|
+
"connections.js": "sha384-RNThq/Yyogp1m8WFSREdNkN7glVzc6IoIrVR9VzjQMkG5feA4n3olU3qg+BV0MUQ",
|
|
73
73
|
"credits.js": "sha384-P5JOB3TkJPiTGu5H7Zp/J7H34zLPok9Xhmo6aoQzP0BVBmaoywNeUrYB8R6Qe/m4",
|
|
74
74
|
"csAttest.js": "sha384-hAFpb3ky1/DB/qgh/UuAKB3HC7nFl11mrR/0+Uh/jQfW/fCW9cx0WOZXMFHHq/WZ",
|
|
75
75
|
"deviceAttest.js": "sha384-wQWq/l5hgjwPxqrGG8XYSIouFxEIMe048qALDDyXHNaHCH/rsufvv31bmDTsczV/",
|
|
@@ -88,22 +88,23 @@
|
|
|
88
88
|
"enclaveSnapshotMerge.js": "sha384-LY+xfZyFhWXqAdwXgPKo26HoVTw96/whZ286zhsmdVJX2qN+JxS3lMTUQQcPu3PV",
|
|
89
89
|
"entrySig.js": "sha384-0VMTFsu+wepZHc+35lV4KN6guseAQERVMysjZNsYwKjQSSvbm7Pbx31Ly1a8HXAc",
|
|
90
90
|
"env.js": "sha384-Rli1uln0BCvEebuaZe+aNF0pvrNPIe6cZNrBPhvOyMq6JxcCRDCX3agvqH6NwaV4",
|
|
91
|
-
"eraseFile.js": "sha384-
|
|
91
|
+
"eraseFile.js": "sha384-XbqGtyFGuTTbIOTyhiCJ0fYdCWETvnuYOMMGulEyneEMxkn8YupQEnwYUMERh4AB",
|
|
92
92
|
"followImage.js": "sha384-fXM5pscmbxWeYsP+HsvovFO8IhdMS1KTkJA9zxoQlkJelv0RQVcf1K+/7/IZJdRk",
|
|
93
93
|
"healNames.js": "sha384-BrYl5itN8sTYkwgY/vMj9AiT/54AK6V/bzAw14FvzjtbipV16SY353ruKP7ZAB5+",
|
|
94
94
|
"idb.js": "sha384-yRs4PZpi8yOjbOiHF9J4tJIN2y7VuT6VDAZhNMvlDcprZwtneDyMxhhNGO2dg9D2",
|
|
95
|
-
"idbSeal.js": "sha384-
|
|
95
|
+
"idbSeal.js": "sha384-Vl0CMgEeTJoqXvpUyqX8oFFI8D26tDjknPyUYXCMDpcQ8GRfLs3ygoyRbbqKpUY3",
|
|
96
96
|
"indexGone.js": "sha384-UWHAd79orf/n84uvDPQk6/czC+Yorwwygh8Dkm0By8bqStosXh0k3soewx40xjYw",
|
|
97
97
|
"invite.js": "sha384-ZzEaSWz3fzoLKW6A5vlfp9Sxp75YHGQOZmSTQ0Ru3g6w8d7iZz6q7bTfRjur3MD7",
|
|
98
98
|
"inviteEnroll.js": "sha384-R/jY60uYSnwt73xNbqsZooEgDt0bCBIkFGq42HhVWBLM1vMyJ7nig7BNsFjMQy8J",
|
|
99
|
-
"
|
|
99
|
+
"inviteReceive.js": "sha384-Zaf5jNZBJZMbTj6l3WxMC9jQVmFB2NhRldJMAA4d3TE7/lU509Tz+LAtVlIPYyTN",
|
|
100
|
+
"inviteSend.js": "sha384-1mW+Y0Prmkg2zteLBnnVIM0qMiMQi7vvBz2YiSYir0kxR7fY2c3TmaSGXi8goifi",
|
|
100
101
|
"jobAgents.js": "sha384-X6MXdAULj2JevxPtbvCA/N1L+PL0Zv2Aeh9xfmzKT9Ust3Pr2Nvmm1JdN2D6wiAo",
|
|
101
102
|
"keptMerge.js": "sha384-+IKgfams0D8AgT3/ne+Z45rqSMc9KqcqGQRD9oxkCkdj6C/vFSDFRx+TSd/UK/Oh",
|
|
102
|
-
"l1-worker.js": "sha384-
|
|
103
|
-
"laneAssociation.js": "sha384-
|
|
103
|
+
"l1-worker.js": "sha384-ELO3GUqzGCzO+XRYbHSexfjEQI+gYLHmSH9vTSSwApnqE+ky9dNcKUw9/TXGzlQE",
|
|
104
|
+
"laneAssociation.js": "sha384-IixAlVFfq/Hv6EciVn+zpRoYDQMZIN1SVPiLTJs+ZMXWP8GrAV+Cyg973YnO/4kV",
|
|
104
105
|
"laneConfig.js": "sha384-23nxPBKRdr5W7k4wp0IdiYm9E4pMHSyowDAX5ZRw4N6M1lTfFRC3wxyejlsaDbe6",
|
|
105
|
-
"laneLinkCore.js": "sha384-
|
|
106
|
-
"ledgerView.js": "sha384-
|
|
106
|
+
"laneLinkCore.js": "sha384-bdUhU+o0amycFRuRZCAeo+E2zWtHQiYgW9ffY0CqotDCmldBD8RG9CGL3Z6IwXga",
|
|
107
|
+
"ledgerView.js": "sha384-fL++ZXJfO54k1harJd+GHPFyCJQcMpg5A7yAblbFhjq/XUvJEteIV7sHbK+4p9uF",
|
|
107
108
|
"mcpRecommended.js": "sha384-Gk+4KPSHrmRhVVkA3Wlrk1WoGSqRNVHLfrhBFIPWQhYhDkqSACFh/qrHp1H1atCS",
|
|
108
109
|
"memberChange.js": "sha384-dPjWH7qelVUIU9d+9pXJWn9h1Q/Eh3LcOTwI64n9PSgwkdoPxJFHe9uqXalb7ZZD",
|
|
109
110
|
"mirrorBatch.js": "sha384-ji6KmcfgJPcTuucsW9a5SXGlTocLmTD6fW+nOIhZutMTiBh1AEgXa/fOZlcEoDdI",
|
|
@@ -113,7 +114,7 @@
|
|
|
113
114
|
"noble-p256.js": "sha384-cPxa17yA+S9lDasP3/ZRBA3H1V5oB5rYU0ebozAMS9gEBec+GDdJ0pzDFziN42jk",
|
|
114
115
|
"notice.js": "sha384-w7aEzK9z2BBwDav1Zzp60iAg8nz+n8rHaw0EYmj92RKsCyBGtis0Og7WE6+d5dCS",
|
|
115
116
|
"notifKey.js": "sha384-kKnhzrolMSc20w5FhGSVxrhxRVWZk1mRCscuF31I+y8aq5qyeVlO5e5BYF+HjUr3",
|
|
116
|
-
"offlineBundle.js": "sha384-
|
|
117
|
+
"offlineBundle.js": "sha384-ZBig8eyzwvNixXYVh09FygWfRvGxy162nxMUUv1ZEj2rPkvxfbBw47qLtWfWSnft",
|
|
117
118
|
"ohttp.js": "sha384-e467lAFqYxzCTfVUq8vRJDlNkKLuXpj2KBjFnhm7ik6JE+h9MTrgv1mLEqWMwdPX",
|
|
118
119
|
"opRouting.js": "sha384-DKD+zriDYl/H6tl2KEJezT3LK+fp/Tf/9GZlArV01CJVRCIkoH6DIm7oraDcpcoL",
|
|
119
120
|
"opencodeWire.js": "sha384-lJ8uIFr3NJ2O6eNdODCm0LUqRTkKFLhBAnsCEo3/Yc2T6rChicF9HaoBCH/mJnQU",
|
|
@@ -126,8 +127,9 @@
|
|
|
126
127
|
"pdfjs.worker.mjs": "sha384-QGrM6l+AboyGtbJadvQyoqHfn1ZWsw9wVXdUeqpGwaUGgXwageydCHusHcD4no2i",
|
|
127
128
|
"pollVerdict.js": "sha384-gVB49jWKcD2UzkzhnPIPIcI80OcxsbFHLF+6I4h0TDroETESRCe7f9VqaKspE4Hj",
|
|
128
129
|
"prefetchPoll.js": "sha384-HN1SgNlo5DX7bVuGz/zAzyk/WYf0cPt4xDjT4BHnsJGm5iD8zX/spG8jTFhH/4fa",
|
|
129
|
-
"protectedLocal.js": "sha384-
|
|
130
|
+
"protectedLocal.js": "sha384-f7G3fyVBq3+5o3wBuudYnGLjPLPcoWrHaiQ1JqQQ5SLwTIio6OQbX9PVqho1wT/I",
|
|
130
131
|
"pushCore.js": "sha384-uT4+0EOomdv2Qo4SWS+UaXrC7LF5g5cVoB4Bl7GkUEr0RmJj0t7cn9Z4g7PU586h",
|
|
132
|
+
"reactionHolders.js": "sha384-XNzKmEcZh0DntVGoPaDyfHKUaeydjrtkgW0GXOrWyGc1nvi6e7DKAOoIh0gQV/do",
|
|
131
133
|
"recovery.js": "sha384-ddV3bveoDnaV2kNw3CX1XyUaqBzf6mZhCQeprUjh9JuINSaywz8/7tngf18fgSKi",
|
|
132
134
|
"regions.js": "sha384-1ayyTxP8h2IB2XO3jfxONj0q4EbGG7vYJxOAiPZLjQ+Bsquojawb6XefxyUYlZLg",
|
|
133
135
|
"removedMessage.js": "sha384-+VjvlSAqEVhpeOA+gke1XTdqTpv77b6MUmaYl+/o+qq5OP19YG6BZybKAOU8HIDq",
|
|
@@ -137,9 +139,10 @@
|
|
|
137
139
|
"roomDefaultPrefs.js": "sha384-zo36DN4jT3Y39h6rltKs/nZQlaIGpHb/l8U6FZ3hleFrOW7PZmlwwGP2/rjESzEV",
|
|
138
140
|
"roomDelete.js": "sha384-R1UtF9zgtNVIXJo769yy5IeQ9mGPifoXZmgaCYVBYQFHgoG64I7E1MbS/7xFs0ET",
|
|
139
141
|
"roomEmbed.js": "sha384-Ok8+r772E6KCv2Sgm/wN4sKpotZOqkK0I16HRgCDB7AVNV52uYlg66mI6SehrgVT",
|
|
142
|
+
"roomIntake.js": "sha384-PC4d2NNUMbaCaxgC5H+NDfX18yca+Zo06EAOwBd5s9BJJOW8SXnp8NGxO50AG6Kl",
|
|
140
143
|
"roomName.js": "sha384-GT7/NXN+OJIvGNVsliPY+O/+RC1Xapg+TCAZxMSqDpzTdJ1EUpPZalKXN4RivT4+",
|
|
141
144
|
"roomPass.js": "sha384-l47V/HhjQWFxJOxWm9SLP+ECDDmwc0KoiIBS+2c98AIqGEw5iOU8xE6Oaw31RSaQ",
|
|
142
|
-
"roomRoster.js": "sha384-
|
|
145
|
+
"roomRoster.js": "sha384-yHHvB9uwncBN6ch+JAtrATGYgG1gbydw7+YZlOp1qUWNwbPGo6ptVs6jxEt4pu+w",
|
|
143
146
|
"roomSettings.js": "sha384-OV2g5ae1e2JmyQl2FOEBZk/0qKCT/BNRULRLT0RapvEvshfFY2HOiyaoT0U/DzFB",
|
|
144
147
|
"roomState.js": "sha384-SFWOMqdRoZeowpZ+uUltsnRPnkVQKZmEsA1k1GvACo6KSiVeqe+5GX6fDL+63g8Y",
|
|
145
148
|
"roomStreamClient.js": "sha384-OZ2Xt4EqRTnhRNnDD3OWPLi0zmXpPTgU7dYtpGx/2M2S4p0cd91r76Ue3H1R89af",
|
|
@@ -148,59 +151,62 @@
|
|
|
148
151
|
"rowSchema.js": "sha384-0SA5jrjoi1ELWovTHbAK1OgEFI4t6UIlb9xTWyk6BAyrhQDBmMW+5ImxBqrIDFWl",
|
|
149
152
|
"safeMedia.js": "sha384-5fwC7WVBdQRAre/OkRwP6mr/x0onCrUXs3zDAOR6L158/IIKcebrDY/qkL1CQgDn",
|
|
150
153
|
"safeMediaPins.js": "sha384-ck3rBAvVaHZ+K1xwF3iNEfQwVx35NtZNFIYtB+0PmINTieOaXTw2ID+OZABcBLSo",
|
|
154
|
+
"scheduleNext.js": "sha384-7Xu8xaDNV473aZLJub6/fdX52zUgGhUDke0CGMOCD7l6+HpsdkI3S/UK8DVuppdx",
|
|
151
155
|
"schedulesDoc.js": "sha384-goD3ZkheAxrSYDxMz+oylHXUUhdfvJya+oF+whxrZ3YTtVmuDO1IGR4PrhajA0n5",
|
|
152
|
-
"sdkA2A.js": "sha384-
|
|
153
|
-
"sdkAccount.js": "sha384-
|
|
154
|
-
"sdkAccountDoc.js": "sha384-
|
|
155
|
-
"sdkAccountSections.js": "sha384-
|
|
156
|
-
"sdkAgui.js": "sha384-
|
|
156
|
+
"sdkA2A.js": "sha384-W4RvasiYXTcChnZPMc+bfi7uVdxZYLwrnx4ox2HqJ3OgJ9zFUsHdoXUUzXUeYJHb",
|
|
157
|
+
"sdkAccount.js": "sha384-BY/WJI8NkUqu/VXoEX7fr1cFp/xT6fT1Z2/DQByrp5qxXB0V/KuPmq1CK1ZHF6Gs",
|
|
158
|
+
"sdkAccountDoc.js": "sha384-uM2b2+6neFTLnX70SVKXHvXcvKjecGRxU5wXoxafiysCHnZjAtR9d1xQQEXErE4x",
|
|
159
|
+
"sdkAccountSections.js": "sha384-5CmYkh5fIZOOc/SdmR+Ix32TAJdQc7tqzIusuAZnNzu6lahUDjPaAxToBKZvO3fL",
|
|
160
|
+
"sdkAgui.js": "sha384-oVwPKHW53+SHofOzZicxnHC5QP6qMbJCJLLF7MHYUuD+nC7vewH2hqOKV3vc0aJs",
|
|
157
161
|
"sdkAttest.js": "sha384-s4vq547Vhg2dGVm53XaHgzuC9xSyXvU9WlG8t63s/fiyiAtiGM0uSOxfpzO7HQlW",
|
|
158
|
-
"sdkBackup.js": "sha384-
|
|
159
|
-
"sdkBackupV2.js": "sha384-
|
|
162
|
+
"sdkBackup.js": "sha384-iDuzHM5egV2bRj033gbrLZyi5/+mAtU3Z73leXonl7WDbmNGkMVZQPC0bHmcLdwL",
|
|
163
|
+
"sdkBackupV2.js": "sha384-W8leRLFYIyx5rJKnnJx0g9gRiF0j9PVET7w+eYGbOIXOZAUw3KRpQZOaCU6SjFCP",
|
|
160
164
|
"sdkBrowserPrivate.js": "sha384-ij5O1ELxCTIHauG5cM7k9dyXakSRka5kygiQQ0qB+QuwEoqHzoyG36dO3bcfNKrj",
|
|
161
165
|
"sdkBuilds.js": "sha384-98mac3jp5DARBMNVJSwqiI4kXCs4LlSnNmDOtbxsEF4IdrHetse2p+njQZoXqVEG",
|
|
162
|
-
"sdkCloudDevice.js": "sha384-
|
|
163
|
-
"sdkComputers.js": "sha384
|
|
164
|
-
"sdkDictation.js": "sha384-
|
|
165
|
-
"sdkErase.js": "sha384-
|
|
166
|
-
"sdkExports.js": "sha384-
|
|
167
|
-
"sdkInvitations.js": "sha384-
|
|
168
|
-
"sdkKeptAgent.js": "sha384-
|
|
169
|
-
"
|
|
166
|
+
"sdkCloudDevice.js": "sha384-Nk18FVoWqlN3XyYhKqnaLlTNZzVHia0F6ChQFzdTAMTZhICvRIB75wKawtrWjocd",
|
|
167
|
+
"sdkComputers.js": "sha384-/aIxSVqn0Mu8z7HVEymO5991RAfzfpBg5BK2yT170Z4ICnLymYkP8IDtENdVQDJE",
|
|
168
|
+
"sdkDictation.js": "sha384-eK4MjyycSp+i/0jg90DzHXe//QuFGKW+F3uXMvSNkotHhamiX6wN3Sal5P6D7NXw",
|
|
169
|
+
"sdkErase.js": "sha384-kJDYZZ4pCwu24rqy21bdUnNzgjuXkS4FvwjMNwHs/kUf0w4Vo5HOP3sj7LEE0KVr",
|
|
170
|
+
"sdkExports.js": "sha384-n/Nkwcbwf6oHi4//wA6dEiCaWQXPua0LNhGjVoEwhLhvZxjgyDqOKb4B5ca2pnrl",
|
|
171
|
+
"sdkInvitations.js": "sha384-ZWK1d055LRmMLLx+frvrAWxPaJT+h5N/QWlmRLg+3gsDEpyi3aj1XlZHAjQAzm7j",
|
|
172
|
+
"sdkKeptAgent.js": "sha384-OS+VP2GPpjSXfSoel3C0Pw4MWxZH7HZm+jO/ZJwyPiQcvnhZja7TGmJhoxx7Va0P",
|
|
173
|
+
"sdkKeptIntake.js": "sha384-K02pjf9CW6cC7yifCpFWwVIBnDTCQ2c/eGfyAbPDMprArJorbddtnzNi4FyMws5Z",
|
|
174
|
+
"sdkLaneLink.js": "sha384-h0Ym2oR3G4LVBG2OQZ5NnbI7Rkvt7U16sXl6ZG1XwLbJwkzNFrnASLOunjoeyA4+",
|
|
170
175
|
"sdkPlan.js": "sha384-YzaZ4s9SHCNDOP/Avn6w+rxlONsl7ZzfWIbyY6RCVX0DAbA2fLB9eRzQRAwloggw",
|
|
171
176
|
"sdkProtect.js": "sha384-iAeAAC1Xvjcv1odagezcsgMQPZEpy6PExEMc91LrajM6yTxftWiWRFHGbXWMjF+i",
|
|
172
177
|
"sdkRedact.js": "sha384-wrk7y+RYN33bDy9WjgjKWO56qOYwJdzTeAJU1cf/+QAPTz6cBW9wY4uqGlMarMva",
|
|
173
|
-
"sdkRekey.js": "sha384-
|
|
178
|
+
"sdkRekey.js": "sha384-Q7DvTskNKdzPkPiCJ9KC5eoErFHVn2SB+l3UxD0pRek3KJeBJM12lz887M090tW6",
|
|
174
179
|
"sdkReport.js": "sha384-kEnWCgXzYc/SoS57F9oLUa5egSOszjGV75upnbgfJOZdu3BrnHzhBcsswg8+e00o",
|
|
175
180
|
"sdkSafeMedia.js": "sha384-0s5Zcq1gO+XXyxJbHGOmIeXuFtpY7d2HMdsj4R4oAaCkIV+X1W9SuEIwPSmCMAmE",
|
|
176
|
-
"sdkSchedules.js": "sha384-
|
|
177
|
-
"sdkSpeech.js": "sha384-
|
|
178
|
-
"sdkTemporaryRooms.js": "sha384-
|
|
179
|
-
"sdkTurn.js": "sha384-
|
|
181
|
+
"sdkSchedules.js": "sha384-qy+Q8mhbaKYZNSNwwYRNQKS+oxtimwld8mxAG6g5vR2vo4lkzDPl3k1Q0+J+uZx7",
|
|
182
|
+
"sdkSpeech.js": "sha384-nCwJTIQ+jC9+MT6pHYEj5HiA9fG3bLfGLrcatsXKLCaW8yHNEP3O0bDPCQ1hbK3Y",
|
|
183
|
+
"sdkTemporaryRooms.js": "sha384-iJGX2Bv9nCk1eauLmGsDTAZOJl7PHjdS7cRLGuPviWTZl2W1Cjtu0od8AxxywW5Q",
|
|
184
|
+
"sdkTurn.js": "sha384-JaLQALaUwRJ9Wk515OV73jCZYdznzrIFDggqefMjPuWIycsBuVLpiVQ/6tx6d8Ph",
|
|
180
185
|
"sdkVault.js": "sha384-j6EIkNekwCs80encONjXhsqc6TRSM7yhpdrDQ7Xeq7V8Hr1l51C7Kl0CljzjNwVY",
|
|
181
186
|
"sealShare.js": "sha384-AqXw807TlSiXMfXMAkvtOknirlMHchil9Z7WYlpkoCmm0t1o4LY37FU2goFqhckK",
|
|
182
187
|
"sealedNames.js": "sha384-N7KdhXd0LDdlTk6/tqo+SY8Ty3dheW444C7jNepHgMVHkw+tcRPqTHlyufgAeabv",
|
|
183
188
|
"sealedReceipt.js": "sha384-cxEVvIOaa0f//odHxmenbeMJh8Aal4ADwkiwn3sRVv+hIprDk3YgzHZym1ZXpPCK",
|
|
184
189
|
"sentinelRelease.js": "sha384-kVfV+WmYtqgStQlI9tU2IZWeo0bOPaau3FsLvn/nK8hF4tFn3uHpg5VHnHRBf7Fp",
|
|
185
190
|
"shamir.js": "sha384-pPKyKj3LXePkZkFgHLRZc1XWfl6b8eq0g450R6uSeC7P2eHVyGlNAPXCBXUbYUj0",
|
|
186
|
-
"sharedViews.js": "sha384
|
|
191
|
+
"sharedViews.js": "sha384-+tw2Oj/1X1XXM+5PW4rVSyZOHXJ9yocOqbPc2NZ6245otJxaI5yKVZYnepHndBwL",
|
|
187
192
|
"sheetChrome.js": "sha384-2nTqz57klkEZhvjhwM03b/ISOaFy9Qh6L2uDlk/QwdD+Ua86ao7ostLaI1eTaRoq",
|
|
188
|
-
"siri.js": "sha384-
|
|
189
|
-
"spaceClient.js": "sha384-
|
|
193
|
+
"siri.js": "sha384-WYAr+BM+JaTQlWfQ7eHylDgmhyK427uaJ8IvocIrX73B4qgQp1L2zrOGmFvMQEpK",
|
|
194
|
+
"spaceClient.js": "sha384-6uVOhV1765muwkHe+0z5/t4gF+Ra+3NdpNxWVUoWqUm5ri9tNkQOPF37UOVMZmJk",
|
|
190
195
|
"spaceConfig.js": "sha384-Pb3W47eQ8xQSGkL9yD521UFnn+tp4vV3+F5Y3Qf92d5jLPmEeZqo3Zbj1idGb4Wd",
|
|
191
196
|
"spaceEmailGate.js": "sha384-iynfCnft76GXEDC9p7K+mWkYpH+k1zHSSuuKi1JoSHCrHjcojoLB39WviO359U4K",
|
|
192
|
-
"spaceExport.js": "sha384-
|
|
193
|
-
"spaceFork.js": "sha384-
|
|
197
|
+
"spaceExport.js": "sha384-j9nsGBzycJ7w9YFYaMkufu4zOIs87GYW4LfHvW9fCZ4Ms57ptn7yw4BY6rI80nQG",
|
|
198
|
+
"spaceFork.js": "sha384-a4geO94uih9VPqETOyuVrC7+WqULZG+kIbIL4cBX/jDBsc1ROb93nidHZqyJQcN3",
|
|
194
199
|
"spaceLock.js": "sha384-E+D4aQfvpaVh4GMf4gUbOUklaD+YdeBk+GBq7wcfz5ljaFyHyT27ZqBiWeaihN/j",
|
|
195
200
|
"spacePasskey.js": "sha384-0IzyBfuRzycjmbWEEPZlxDNEHsd+kyUI1pwMlFoDnoCHX3NADSKSoyx1WkFMqklm",
|
|
196
|
-
"spaceTemplates.js": "sha384-
|
|
197
|
-
"speechOut.js": "sha384-
|
|
201
|
+
"spaceTemplates.js": "sha384-JHSm5FH5fTtaLE3VbNSRh3Vzl2PgxvKK3fdpUmxWB/GKyfMyHOdqWm4MGsXIMwoY",
|
|
202
|
+
"speechOut.js": "sha384-a94a7pPaNiky1vHW1bof6z/BRX5/NkCPo8FPEo+lpIIyDqfspwzZOKHrtsNEJ3f7",
|
|
198
203
|
"splitKeyClient.js": "sha384-BMvUSLMFC5oqxveShV2bQgl+xw6cmSkRd89vA6HNwP/kndzs9JE9MxaavAEVzwrf",
|
|
199
|
-
"store.js": "sha384-
|
|
204
|
+
"store.js": "sha384-8dTFgDJ/w3bH5WAUlRtF+ln0q1CJlrqIcIc9ocr2Ryn/EiJ7ibYM5HQNqhTSuxL3",
|
|
200
205
|
"streamHint.js": "sha384-oCgy5+jFo0rLa1ClIQaL7TpkXtKKWKaBUCxzQBQ67U1DGWo8VTPW4z0xmB1IhKaq",
|
|
201
206
|
"sttCloud.js": "sha384-okBhUPRe6BuneeTwctRD+IbAYyQqs30wFBvcfx+qv9xeMqGcTBcoODSraFHOfczi",
|
|
202
207
|
"sttWorklet.js": "sha384-IIMaavXUhyBqTuaeZjlxy9dpzBZbHZa+McrpWhuBrwlWansekQ9XXJ9lS3KEXeo4",
|
|
203
|
-
"sw-notif-core.js": "sha384-
|
|
208
|
+
"sw-notif-core.js": "sha384-mxcGSEypLeaiaSBuTndNODd6TCw1vSUoN+69Pbemx09siQpc8l46CKjGAa5Semx3",
|
|
209
|
+
"tapTrail.js": "sha384-Na3QIhXdlCtSzDXAO9z1R2OZ36PuWQh/GzsN8luh4plArJJSDoYBjWrAU3NsqAku",
|
|
204
210
|
"tempList.js": "sha384-fH1HemG//WUOeW4u2Mi/2OJas7FV+dfnzlMNYofEK4KGDKCoTB33+U4nuRv9pq8h",
|
|
205
211
|
"tinfoilVerifier.js": "sha384-VGUL+148m10QYUYNezSWpMyl/rtwAJvQ3APcd4JscCnxudBSFODpSAvsr5aIZ55W",
|
|
206
212
|
"toolBooks.js": "sha384-oIvhYNUEZ1CPwEjTUQJCmXtMpnzYk1ilhrX1tasrRBzV17spxsK+e4XpwPHYtpTc",
|
|
@@ -208,32 +214,32 @@
|
|
|
208
214
|
"turnCerts.js": "sha384-GLrWUlXH/MilNBSNPun5VvEe2tCLauU5iwxZdp2Es4y/cdYuQeeUFUgCZtrwOqVU",
|
|
209
215
|
"turnFeed.js": "sha384-cEluu4y8rxKQEot6fYyl6byXfyZjXWNx3xKuN73y5u8ZN38uaZoLcuRQ2iYrtxqa",
|
|
210
216
|
"turnVerdict.js": "sha384-+7LtudaBNT33qyWuFXezVhBNnqVGcdU54hV8QbgJLowMwLq3GxEItNy4y34kzRFm",
|
|
211
|
-
"usageReceipts.js": "sha384-
|
|
217
|
+
"usageReceipts.js": "sha384-2jq24tFKYlEdmmG2wB1IGeS65eY1vmJTx+HbZgcE8WauyQMA5RyCZwC1nqnd7GBO",
|
|
212
218
|
"usageSummary.js": "sha384-Ox1QVGMJ9QwuddinJ0lCCqzzTH2gQlVh8d8Ozd0v6Vp6esApiWkdfbM5vgW0VT6C",
|
|
213
219
|
"util.js": "sha384-wYUVRuJQGeY7x+4ckFhal5xSNqJy5p3KsF1Dw8yWUW9354XrYtAX2cn+h53faZdo",
|
|
214
|
-
"vault-core.js": "sha384-
|
|
215
|
-
"vault-kit.mjs": "sha384-
|
|
216
|
-
"vault-screens.js": "sha384-
|
|
217
|
-
"vaultAtRest.js": "sha384-
|
|
218
|
-
"vaultCoreLock.js": "sha384-
|
|
219
|
-
"vaultCorePush.js": "sha384-
|
|
220
|
+
"vault-core.js": "sha384-ain4jAr6PpZXc8EdtVAbkplRMpSnn2jgUHLYTD3uj29Td80lGD3qNfCdgwJ5PO4r",
|
|
221
|
+
"vault-kit.mjs": "sha384-eGFip+SChc3vnEqZyI8+VXUVULrWrrRXg/nw8h4TdCk8Upwy/6AQPlF+fGTnkSXn",
|
|
222
|
+
"vault-screens.js": "sha384-URf4/cjWLnzLt/dryA3odAUeJCe6lKmWxbDAl67nVpWIJerK/6tHf1DrS2SJj+KS",
|
|
223
|
+
"vaultAtRest.js": "sha384-1zrXlwg5pMed4Yl60eAAFFaCh8rMKryoHxX9v802PXFfDiV4piavKybVYVD5RBTL",
|
|
224
|
+
"vaultCoreLock.js": "sha384-2RdHJjbgp/Qr1JzXX21I71vbiVmWl1Uv7JpBKnU/+InBaa0vC1B19EAMhYZ1LZ0/",
|
|
225
|
+
"vaultCorePush.js": "sha384-O0EKR7YJeoNcm8azSGUv+/vngeTwdV/6Moz8oEjrmgtz8Q/iedgR1879JfC4mXwc",
|
|
220
226
|
"vaultDeviceKey.js": "sha384-dxi/JbQlMPP7KkKYWyCSoD1cygLrzlppZ087rJLSlSLMK3PIBMuK/9GmNY/Hqovc",
|
|
221
227
|
"vaultEnclaveHandoff.js": "sha384-PBfF5D8mW4HjhHRZAwfvg8BRIiKmNWm0EK/JG4ug8JWqqRGtxH6omGVZ1Ix0y1MG",
|
|
222
228
|
"vaultKeep.js": "sha384-i4o3WwlUIq2jBHLLdWK4cxqPb1m3bSUQNZLbSl2DZZ3c60EIn/x3N8Y0luNZ+eDN",
|
|
223
229
|
"vaultSealedStore.js": "sha384-MhDm5g4ldw2RftH1y52986/UPmL7QGLjwv/ht4h35vG5JUkfRCKcpXVMAo97Skx4",
|
|
224
|
-
"vaultWorkerHost.js": "sha384-
|
|
230
|
+
"vaultWorkerHost.js": "sha384-utc+O7pB1vwVOmY43B9L/uj0cVsLphH23I+WmjxqfvRGWVv9UXl02jNotCipGcC5",
|
|
225
231
|
"vcWorker.js": "sha384-cA3XOmpCIHd+Y75+rR/KW8MCJsbzVq919G04vfKFVv2UqNcc5HiO3vfJnnTTqPj5",
|
|
226
232
|
"voiceAttest.js": "sha384-H+Uxa7jFO7kaLjxhZnSwgZ/GrgQLjCFV3o6hhQE4l0yw1mI1Nx6HKZVKSkhVJ9sW",
|
|
227
233
|
"voiceCert.js": "sha384-lYIUZhCjHZUqJOqIaV0JrMVJXl4u5O32+kofC6kSVAmwOUbpme9mMh0ZhNcrYYEj",
|
|
228
234
|
"witbitz-admin.js": "sha384-/e0V5Q5jYfuJVnomnQaXiI2hszGueuX5W2PbYApdFAowZXHW24m+mpxW+KHfSywE",
|
|
229
|
-
"witbitz-sdk.js": "sha384-
|
|
235
|
+
"witbitz-sdk.js": "sha384-LBqL+EARMjMCJm9e9HvfRNw597beJcn+VXvccxWjuxACxjXAMva8KhPTq3Zti7po",
|
|
230
236
|
"workerClient.js": "sha384-f/z7EfUCWakRS00R8UfWGnVIZDtWBA3WPXl2B5orVAkeyvaTUXVqC+hDqb4hkAB6",
|
|
231
237
|
"workerLiveness.js": "sha384-BSL4mziJ9HE+b2ILIHccsIxSloOr0NKm6pGrRrPN77cRLcwzaJHEEtrjrQcIgVZH",
|
|
232
238
|
"x509.js": "sha384-YAuy3/aSUomw0Ne+aDTto3HTb9yzdgA+1h44DimiEMjkMYOq/O6MhuRZKsbXmSSp",
|
|
233
|
-
"witbitz-sdk.d.ts": "sha384-
|
|
234
|
-
"witbitz-admin.d.ts": "sha384-
|
|
235
|
-
"decrypt.html": "sha384-
|
|
236
|
-
"witbitz-admin.mjs": "sha384-
|
|
237
|
-
"l1-worker-src.js": "sha384-
|
|
239
|
+
"witbitz-sdk.d.ts": "sha384-C5BJavoJ6IpBSJ42sfeM7lO1qCwbSrNGyVlU+2+vZbDwLlTEUMc9++iXu6+tOgZ5",
|
|
240
|
+
"witbitz-admin.d.ts": "sha384-ikmN7qyKXg/WdVWmRORgw9LNt/n+M0zJaKcKbLlY0W+nEIH9b4uCCUbket/jWbwX",
|
|
241
|
+
"decrypt.html": "sha384-3xRvQ++CfE5Fdxf+zHU51M4wxGNthg4NZqrgfaO0vaHiKTKNplmgWBotsf1o8vTS",
|
|
242
|
+
"witbitz-admin.mjs": "sha384-K2Jg4UAb34cRpKpbuHIXAomQn8PEAwJ9BaXEG/6VO90VXHDv7BULxxCC+1hTOXsJ",
|
|
243
|
+
"l1-worker-src.js": "sha384-IeVca6CzL5GYK+KYD6VqfnsKtCSJm9/U6gEtGPF13AgcNcJKKTWW/iwudCOV5Y7b"
|
|
238
244
|
}
|
|
239
245
|
}
|
package/offlineBundle.js
CHANGED
|
@@ -50,6 +50,27 @@ export function keysFileText(items) {
|
|
|
50
50
|
return KEYS_HEADER + '\n\n' + (rows.length ? rows.join('\n') + '\n' : '')
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
// THE STORED ATTACHMENTS (side sweep: sealed-offline-archive-omits-stored-attachments; the owner, 2026-11-28: "Put the files
|
|
54
|
+
// in."). An offline copy carries the photos and documents stored apart from their messages, still sealed, inside each Space's
|
|
55
|
+
// ledger (`blobs`, spaceClient.js archiveAttachments) — up to this many bytes of sealed text IN ALL, per file. The whole file is
|
|
56
|
+
// built in memory and handed to one download: 50 MB fits a phone's tab beside the app; past it, the attachments are left out
|
|
57
|
+
// and named as not in this copy (the export screen says how many and why; the reader says so beside each one).
|
|
58
|
+
export const OFFLINE_ATTACHMENTS_MAX_BYTES = 50_000_000
|
|
59
|
+
const MB = Math.round(OFFLINE_ATTACHMENTS_MAX_BYTES / 1_000_000)
|
|
60
|
+
|
|
61
|
+
/** Two exportSealed `attachments` answers added up (either may be missing). */
|
|
62
|
+
export function addAttachmentStats(a, b) {
|
|
63
|
+
const n = (o, k) => (o && Number(o[k])) || 0
|
|
64
|
+
return { total: n(a, 'total') + n(b, 'total'), included: n(a, 'included') + n(b, 'included'), tooLarge: n(a, 'tooLarge') + n(b, 'tooLarge'), failed: n(a, 'failed') + n(b, 'failed'), bytes: n(a, 'bytes') + n(b, 'bytes') }
|
|
65
|
+
}
|
|
66
|
+
/** What the export screen says about the attachments left out of the copy — '' when none were. */
|
|
67
|
+
export function attachmentsLeftOut(stats) {
|
|
68
|
+
const big = (stats && Number(stats.tooLarge)) || 0, bad = (stats && Number(stats.failed)) || 0, n = big + bad
|
|
69
|
+
if (!n) return ''
|
|
70
|
+
const why = [big ? `${big} would pass the ${MB} MB this file can hold` : '', bad ? `${bad} could not be downloaded` : ''].filter(Boolean).join(', ')
|
|
71
|
+
return `${n} attachment${n === 1 ? ' is' : 's are'} not in this copy: ${why}.`
|
|
72
|
+
}
|
|
73
|
+
|
|
53
74
|
// Assemble the file. Only `meta` and `ledger` survive per entry — anything else a caller passes is dropped rather
|
|
54
75
|
// than trusted, so a future field cannot leak into the bundle by accident.
|
|
55
76
|
export function makeBundle(spaces, exportedAt) {
|