@lmzhen/dsh-evolution-state-json 0.26.15 → 0.26.26
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/index.js +1 -2
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import z from "@deepseek-ai/schemastery";
|
|
2
|
-
import { preferProvider } from "@lmzhen/dsh-evolution-io";
|
|
3
2
|
import { evolutionHome, isAbsent, isPresent, isRecord, isUnknown, makeSerialQueue, probeText, transactIo, transactTaskGuard } from "@lmzhen/dsh-evolution-core";
|
|
4
3
|
import { CURATOR_STATE_FILE, CURATOR_STATE_KEY, CURATOR_STATE_TABLE, PENDING_ARCHIVE_BAK_FILE, PENDING_ARCHIVE_FILE, PENDING_LEGACY_FILE, PENDING_RESOLVED_CAP, PENDING_STATE_FILE, PENDING_TABLE, PROVIDER_JSON, REVIEW_STATE_FILE, REVIEW_STATE_SESSION_CAP, REVIEW_STATE_TABLE, assertCloneable, canClaimPending, canResolvePending, cloneRecord, recordIssue, releasedStatus, selectPendingOverflow, selectSessionOverflow } from "@lmzhen/dsh-evolution-state-storage";
|
|
5
4
|
import { basename, dirname, isAbsolute, join } from "node:path";
|
|
@@ -220,7 +219,7 @@ async function jsonTransact(ctx, io, root, file, task, options) {
|
|
|
220
219
|
function apply(ctx, rawConfig = {}) {
|
|
221
220
|
const root = (rawConfig.root ?? "").trim() || evolutionHome();
|
|
222
221
|
if (rawConfig.root !== void 0 && rawConfig.root.trim() !== "" && !isAbsolute(rawConfig.root)) ctx.logger.warn(`evolution-state-json: config.root "${rawConfig.root}" is a relative path and resolves against the process CWD ("${root}") — pass an absolute path to make the store location launch-independent`);
|
|
223
|
-
const io = () =>
|
|
222
|
+
const io = () => ctx.evolutionIo.provider();
|
|
224
223
|
const pathOf = (file) => join(root, file);
|
|
225
224
|
const quarantineMemory = newQuarantineMemory();
|
|
226
225
|
const gateDroppedCurrent = /* @__PURE__ */ new Set();
|
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.26.
|
|
4
|
+
"version": "0.26.26",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@deepseek-ai/schemastery": "^3.18.4",
|
|
30
|
-
"@lmzhen/dsh-evolution-core": "^0.26.
|
|
30
|
+
"@lmzhen/dsh-evolution-core": "^0.26.26"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
34
|
-
"@lmzhen/dsh-evolution-io": "^0.26.
|
|
35
|
-
"@lmzhen/dsh-evolution-state-storage": "^0.26.
|
|
34
|
+
"@lmzhen/dsh-evolution-io": "^0.26.26",
|
|
35
|
+
"@lmzhen/dsh-evolution-state-storage": "^0.26.26"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@lmzhen/dsh-evolution-io": "^0.26.
|
|
39
|
-
"@lmzhen/dsh-evolution-state-storage": "^0.26.
|
|
40
|
-
"@lmzhen/dsh-evolution-io-node": "^0.26.
|
|
38
|
+
"@lmzhen/dsh-evolution-io": "^0.26.26",
|
|
39
|
+
"@lmzhen/dsh-evolution-state-storage": "^0.26.26",
|
|
40
|
+
"@lmzhen/dsh-evolution-io-node": "^0.26.26"
|
|
41
41
|
}
|
|
42
42
|
}
|