@memtensor/memos-local-openclaw-plugin 1.0.4-beta.1 → 1.0.4-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/viewer/html.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/viewer/html.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAy3NzD"}
|
package/dist/viewer/html.js
CHANGED
|
@@ -5415,6 +5415,7 @@ async function saveConfig(){
|
|
|
5415
5415
|
el.classList.add('show');
|
|
5416
5416
|
setTimeout(()=>el.classList.remove('show'),2500);
|
|
5417
5417
|
toast(t('settings.saved'),'success');
|
|
5418
|
+
loadSharingStatus(false);
|
|
5418
5419
|
if(sharingEnabled){
|
|
5419
5420
|
updateHubShareInfo();
|
|
5420
5421
|
setTimeout(function(){alert(t('settings.hub.restartAlert'));},300);
|
|
@@ -6942,10 +6943,12 @@ initViewerTheme();
|
|
|
6942
6943
|
/* ─── Update check ─── */
|
|
6943
6944
|
function waitForGatewayAndReload(maxAttempts,attempt){
|
|
6944
6945
|
attempt=attempt||0;
|
|
6945
|
-
|
|
6946
|
+
function forceReload(){window.location.href=window.location.pathname+'?_t='+Date.now();}
|
|
6947
|
+
if(attempt>=maxAttempts){forceReload();return;}
|
|
6946
6948
|
setTimeout(function(){
|
|
6947
|
-
fetch('/api/auth/status').then(function(){
|
|
6948
|
-
|
|
6949
|
+
fetch('/api/auth/status').then(function(r){
|
|
6950
|
+
if(r.ok||r.status===401||r.status===403) forceReload();
|
|
6951
|
+
else waitForGatewayAndReload(maxAttempts,attempt+1);
|
|
6949
6952
|
}).catch(function(){waitForGatewayAndReload(maxAttempts,attempt+1);});
|
|
6950
6953
|
},3000);
|
|
6951
6954
|
}
|
|
@@ -6957,7 +6960,7 @@ function doUpdateInstall(packageSpec,btnEl,statusEl){
|
|
|
6957
6960
|
.then(function(r){return r.json()})
|
|
6958
6961
|
.then(function(d){
|
|
6959
6962
|
if(d.ok){
|
|
6960
|
-
btnEl.textContent=t('update.success');
|
|
6963
|
+
btnEl.textContent=t('update.success')+(d.version?' v'+d.version:'');
|
|
6961
6964
|
btnEl.style.cssText='background:rgba(34,197,94,.15);color:#22c55e;border:1px solid rgba(34,197,94,.3);border-radius:6px;padding:4px 14px;font-size:12px;font-weight:600;cursor:default;white-space:nowrap';
|
|
6962
6965
|
if(statusEl)statusEl.textContent=t('update.restarting');
|
|
6963
6966
|
waitForGatewayAndReload(40);
|
package/dist/viewer/html.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/viewer/html.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/viewer/html.ts"],"names":[],"mappings":";;AAAA,gCAy3NC;AAz3ND,SAAgB,UAAU,CAAC,aAAsB;IACjD,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,gCAAgC,aAAa,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3F,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA+3LnK,CAAC;AACT,CAAC"}
|
package/package.json
CHANGED
package/src/viewer/html.ts
CHANGED
|
@@ -5412,6 +5412,7 @@ async function saveConfig(){
|
|
|
5412
5412
|
el.classList.add('show');
|
|
5413
5413
|
setTimeout(()=>el.classList.remove('show'),2500);
|
|
5414
5414
|
toast(t('settings.saved'),'success');
|
|
5415
|
+
loadSharingStatus(false);
|
|
5415
5416
|
if(sharingEnabled){
|
|
5416
5417
|
updateHubShareInfo();
|
|
5417
5418
|
setTimeout(function(){alert(t('settings.hub.restartAlert'));},300);
|
|
@@ -6939,10 +6940,12 @@ initViewerTheme();
|
|
|
6939
6940
|
/* ─── Update check ─── */
|
|
6940
6941
|
function waitForGatewayAndReload(maxAttempts,attempt){
|
|
6941
6942
|
attempt=attempt||0;
|
|
6942
|
-
|
|
6943
|
+
function forceReload(){window.location.href=window.location.pathname+'?_t='+Date.now();}
|
|
6944
|
+
if(attempt>=maxAttempts){forceReload();return;}
|
|
6943
6945
|
setTimeout(function(){
|
|
6944
|
-
fetch('/api/auth/status').then(function(){
|
|
6945
|
-
|
|
6946
|
+
fetch('/api/auth/status').then(function(r){
|
|
6947
|
+
if(r.ok||r.status===401||r.status===403) forceReload();
|
|
6948
|
+
else waitForGatewayAndReload(maxAttempts,attempt+1);
|
|
6946
6949
|
}).catch(function(){waitForGatewayAndReload(maxAttempts,attempt+1);});
|
|
6947
6950
|
},3000);
|
|
6948
6951
|
}
|
|
@@ -6954,7 +6957,7 @@ function doUpdateInstall(packageSpec,btnEl,statusEl){
|
|
|
6954
6957
|
.then(function(r){return r.json()})
|
|
6955
6958
|
.then(function(d){
|
|
6956
6959
|
if(d.ok){
|
|
6957
|
-
btnEl.textContent=t('update.success');
|
|
6960
|
+
btnEl.textContent=t('update.success')+(d.version?' v'+d.version:'');
|
|
6958
6961
|
btnEl.style.cssText='background:rgba(34,197,94,.15);color:#22c55e;border:1px solid rgba(34,197,94,.3);border-radius:6px;padding:4px 14px;font-size:12px;font-weight:600;cursor:default;white-space:nowrap';
|
|
6959
6962
|
if(statusEl)statusEl.textContent=t('update.restarting');
|
|
6960
6963
|
waitForGatewayAndReload(40);
|