@lmzhen/dsh-evolution-state-json 0.3.43 → 0.3.45

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -0
  2. package/package.json +6 -6
package/lib/index.js CHANGED
@@ -219,8 +219,10 @@ function apply(ctx, rawConfig) {
219
219
  const next = [...archive, ...fresh];
220
220
  if (next.length > ARCHIVE_RESOLVED_CAP) {
221
221
  if (archive.length > 0) await io().writeText(pathOf("pending-state-archive.json.bak"), JSON.stringify(archive, null, 2)).catch(() => {});
222
+ archivedIdsCache = null;
222
223
  return JSON.stringify((fresh.length > 0 ? fresh : next).slice(-5e3), null, 2);
223
224
  }
225
+ archivedIdsCache = null;
224
226
  return JSON.stringify(next, null, 2);
225
227
  });
226
228
  } catch {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-state-json",
3
3
  "description": "JSON-file evolution state provider over the IO seam (community build)",
4
- "version": "0.3.43",
4
+ "version": "0.3.45",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -31,17 +31,17 @@
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
33
  "@deepseek-ai/schemastery": "^3.18.1",
34
- "@lmzhen/dsh-evolution-core": "^0.3.43"
34
+ "@lmzhen/dsh-evolution-core": "^0.3.45"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
38
38
  "@deepseek-ai/cordis": "^4.0.1",
39
- "@lmzhen/dsh-evolution-io": "^0.3.43",
40
- "@lmzhen/dsh-evolution-state-storage": "^0.3.43"
39
+ "@lmzhen/dsh-evolution-io": "^0.3.45",
40
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.45"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
44
- "@lmzhen/dsh-evolution-io": "^0.3.43",
45
- "@lmzhen/dsh-evolution-state-storage": "^0.3.43"
44
+ "@lmzhen/dsh-evolution-io": "^0.3.45",
45
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.45"
46
46
  }
47
47
  }