@xcanwin/manyoyo 8.7.2 → 8.7.3

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/lib/web/server.js CHANGED
@@ -6372,6 +6372,23 @@ async function loadStorageListing(ctx, state) {
6372
6372
  ...getStorageRootsConfig(ctx, state),
6373
6373
  historyDir: state.webHistoryDir
6374
6374
  });
6375
+ // 关联容器带上容器备注(备注存在各容器的历史文件里)
6376
+ for (const row of listing.rows) {
6377
+ for (const session of row.sessions) {
6378
+ try {
6379
+ session.remark = loadWebSessionHistory(state.webHistoryDir, session.name).remark || '';
6380
+ } catch (e) {
6381
+ session.remark = '';
6382
+ }
6383
+ }
6384
+ }
6385
+ for (const item of listing.deletedHistories) {
6386
+ try {
6387
+ item.remark = loadWebSessionHistory(state.webHistoryDir, item.name).remark || '';
6388
+ } catch (e) {
6389
+ item.remark = '';
6390
+ }
6391
+ }
6375
6392
  state.storageKnownPaths = new Set(listing.rows.map(row => row.path));
6376
6393
  return listing;
6377
6394
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xcanwin/manyoyo",
3
- "version": "8.7.2",
3
+ "version": "8.7.3",
4
4
  "imageVersion": "2.3.1-common",
5
5
  "playwrightCliVersion": "0.1.22",
6
6
  "patchrightCoreVersion": "1.64.1",