@lmzhen/dsh-evolution-core 0.46.0 → 0.48.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/lib/authority-plugin.js +1 -1
- package/lib/composition/index.js +3 -3
- package/lib/{composition-Da8NfRI7.js → composition-Cqjbho0t.js} +1 -1
- package/lib/{ensure-C5Mo1dbB.js → ensure-CAjLGd9f.js} +1 -2
- package/lib/http-routes.js +21 -96
- package/lib/index.js +47 -246
- package/lib/{io-AmUf4lVY.js → io-GxghO3Ip.js} +30 -70
- package/lib/io-node.js +1 -1
- package/lib/io-registry.js +1 -35
- package/lib/{mutation-authority-DeJ_Wz14.js → mutation-authority-l57R626O.js} +17 -15
- package/lib/{mutations-DwvbjRHF.js → mutations-DQXddSJd.js} +1 -1
- package/lib/{numeric-DLeLvvGb.js → numeric-D8js3sqC.js} +1 -5
- package/lib/platform/index.js +1 -1
- package/lib/{platform-CFA12Jam.js → platform-Cc9cNt5j.js} +4 -28
- package/lib/policy.js +1 -1
- package/lib/runtime/plugin.js +21 -43
- package/lib/{session-projection-EB7mUOlJ.js → session-projection-DSXnUNZG.js} +3 -21
- package/lib/{skill-health-D1pZGk5V.js → skill-health-DP8z9TPf.js} +4 -25
- package/lib/{skill-history-CjypdYqv.js → skill-history-CxrDE3Rb.js} +54 -102
- package/lib/skills.js +166 -184
- package/lib/subagent/index.js +4 -10
- package/lib/types/authority.d.ts +2 -0
- package/lib/types/authority.js +5 -0
- package/lib/types/composition/preset-ids.d.ts +0 -1
- package/lib/types/composition/preset-ids.js +0 -1
- package/lib/types/constants.d.ts +0 -4
- package/lib/types/constants.js +0 -4
- package/lib/types/contract.d.ts +0 -5
- package/lib/types/curator.d.ts +0 -1
- package/lib/types/curator.js +0 -1
- package/lib/types/document-body.d.ts +0 -12
- package/lib/types/document-body.js +0 -14
- package/lib/types/health-baseline.d.ts +0 -13
- package/lib/types/health-baseline.js +0 -20
- package/lib/types/home-fence.d.ts +2 -0
- package/lib/types/home-fence.js +11 -1
- package/lib/types/http-routes.d.ts +9 -4
- package/lib/types/http-routes.js +36 -116
- package/lib/types/index.d.ts +0 -3
- package/lib/types/index.js +0 -3
- package/lib/types/io-registry.d.ts +0 -16
- package/lib/types/io-registry.js +0 -27
- package/lib/types/io.d.ts +6 -54
- package/lib/types/io.js +35 -65
- package/lib/types/journal-protocol.d.ts +0 -15
- package/lib/types/journal-protocol.js +1 -19
- package/lib/types/lease-store.d.ts +1 -1
- package/lib/types/lease-store.js +4 -15
- package/lib/types/live.d.ts +0 -12
- package/lib/types/live.js +0 -18
- package/lib/types/memory-store.d.ts +0 -1
- package/lib/types/memory-store.js +13 -6
- package/lib/types/mutation-authority.js +5 -0
- package/lib/types/mutation-unit.d.ts +1 -1
- package/lib/types/mutation-unit.js +14 -31
- package/lib/types/params.d.ts +11 -29
- package/lib/types/params.js +13 -60
- package/lib/types/platform/llm.d.ts +2 -3
- package/lib/types/platform/llm.js +3 -10
- package/lib/types/platform/projections.d.ts +4 -5
- package/lib/types/platform/projections.js +4 -18
- package/lib/types/probe.d.ts +0 -3
- package/lib/types/probe.js +0 -7
- package/lib/types/run-registry.js +10 -12
- package/lib/types/runtime/llm.js +2 -2
- package/lib/types/runtime/platform.d.ts +7 -11
- package/lib/types/runtime/platform.js +13 -19
- package/lib/types/runtime/plugin.d.ts +1 -1
- package/lib/types/runtime/plugin.js +6 -4
- package/lib/types/runtime/projections.js +1 -2
- package/lib/types/session-fold.d.ts +0 -8
- package/lib/types/session-fold.js +0 -5
- package/lib/types/session-projection.js +2 -2
- package/lib/types/skill-discovery.d.ts +0 -2
- package/lib/types/skill-discovery.js +1 -2
- package/lib/types/skill-health.d.ts +29 -1
- package/lib/types/skill-history.d.ts +0 -24
- package/lib/types/skill-history.js +0 -41
- package/lib/types/skill-lint.d.ts +0 -3
- package/lib/types/skill-lint.js +0 -12
- package/lib/types/skill-store.d.ts +6 -0
- package/lib/types/skill-store.js +130 -142
- package/lib/types/subagent/readiness.d.ts +0 -1
- package/lib/types/subagent/readiness.js +2 -8
- package/lib/types/tool-dispatch.d.ts +1 -16
- package/lib/types/tool-dispatch.js +0 -18
- package/lib/types/unit-journal.d.ts +1 -1
- package/lib/types/unit-journal.js +20 -15
- package/lib/types/unit-storage.d.ts +1 -1
- package/lib/types/unit-storage.js +5 -16
- package/lib/types/write-inventory.d.ts +0 -4
- package/lib/types/write-inventory.js +0 -9
- package/lib/types/write-kernel.d.ts +3 -4
- package/lib/types/write-kernel.js +13 -25
- package/lib/write.js +2 -2
- package/package.json +1 -1
- package/persisted-write-inventory.json +72 -9
- package/lib/types/fold-untrusted.d.ts +0 -35
- package/lib/types/fold-untrusted.js +0 -44
- package/lib/types/unit-recovery.d.ts +0 -5
- package/lib/types/unit-recovery.js +0 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as contentHash } from "./mutations-
|
|
1
|
+
import { a as isProcessAlive, b as probeText, c as transactIo, i as isCommittedWarning, m as isUnknown, p as isPresent, t as TransactionNotInvokedError } from "./io-GxghO3Ip.js";
|
|
2
|
+
import { r as contentHash } from "./mutations-DQXddSJd.js";
|
|
3
3
|
import { basename, dirname, isAbsolute, join, relative } from "node:path";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
5
5
|
//#region lib/types/write-kernel.js
|
|
@@ -30,6 +30,7 @@ var WriteKernel = class {
|
|
|
30
30
|
async run(target, task) {
|
|
31
31
|
let invoked = false;
|
|
32
32
|
let conflict = false;
|
|
33
|
+
let transactionWarnings;
|
|
33
34
|
const invoke = async (current) => {
|
|
34
35
|
if (target.expected !== void 0 && current !== target.expected) {
|
|
35
36
|
conflict = true;
|
|
@@ -39,21 +40,15 @@ var WriteKernel = class {
|
|
|
39
40
|
return await task(current);
|
|
40
41
|
};
|
|
41
42
|
try {
|
|
42
|
-
if (this.transact !== void 0) await this.transact(this.io, target.path, invoke);
|
|
43
|
-
else
|
|
44
|
-
else {
|
|
45
|
-
const current = await this.io.readText(target.path);
|
|
46
|
-
const next = await invoke(current);
|
|
47
|
-
if (next === null && current !== null) await this.io.remove(target.path);
|
|
48
|
-
else if (next !== null && next !== current) await this.io.writeText(target.path, next);
|
|
49
|
-
}
|
|
43
|
+
if (this.transact !== void 0) transactionWarnings = await this.transact(this.io, target.path, invoke);
|
|
44
|
+
else transactionWarnings = await transactIo(this.io, target.path, invoke);
|
|
50
45
|
} catch (error) {
|
|
51
46
|
if (conflict) throw Object.assign(/* @__PURE__ */ new Error("concurrent modification detected: " + target.path), { noWrite: true });
|
|
52
47
|
if (isCommittedWarning(error)) return { warnings: [error instanceof Error ? error.message : String(error)] };
|
|
53
48
|
throw error;
|
|
54
49
|
}
|
|
55
50
|
if (!invoked) throw new Error("internal error: the write transaction for " + target.path + " did not invoke the task; no write was performed");
|
|
56
|
-
return {};
|
|
51
|
+
return transactionWarnings === void 0 ? {} : { warnings: transactionWarnings };
|
|
57
52
|
}
|
|
58
53
|
/**
|
|
59
54
|
* Write one target only if the current bytes still equal the baseline.
|
|
@@ -66,6 +61,7 @@ var WriteKernel = class {
|
|
|
66
61
|
let wrote = false;
|
|
67
62
|
let deferred = false;
|
|
68
63
|
let conflict = false;
|
|
64
|
+
let transactionWarnings;
|
|
69
65
|
const task = (current) => {
|
|
70
66
|
if (current !== target.expected) {
|
|
71
67
|
if (guard) {
|
|
@@ -79,14 +75,8 @@ var WriteKernel = class {
|
|
|
79
75
|
return target.next;
|
|
80
76
|
};
|
|
81
77
|
try {
|
|
82
|
-
if (this.transact !== void 0) await this.transact(this.io, target.path, task);
|
|
83
|
-
else
|
|
84
|
-
else {
|
|
85
|
-
const current = await this.io.readText(target.path);
|
|
86
|
-
const next = task(current);
|
|
87
|
-
if (next === null && current !== null) await this.io.remove(target.path);
|
|
88
|
-
else if (next !== null && next !== current) await this.io.writeText(target.path, next);
|
|
89
|
-
}
|
|
78
|
+
if (this.transact !== void 0) transactionWarnings = await this.transact(this.io, target.path, task);
|
|
79
|
+
else transactionWarnings = await transactIo(this.io, target.path, task);
|
|
90
80
|
} catch (error) {
|
|
91
81
|
if (conflict) return {
|
|
92
82
|
ok: false,
|
|
@@ -103,6 +93,15 @@ var WriteKernel = class {
|
|
|
103
93
|
errors: [],
|
|
104
94
|
warnings: [error instanceof Error ? error.message : String(error)]
|
|
105
95
|
};
|
|
96
|
+
if (error instanceof TransactionNotInvokedError) return {
|
|
97
|
+
ok: false,
|
|
98
|
+
changed: [],
|
|
99
|
+
errors: [{
|
|
100
|
+
code: "transact-not-invoked",
|
|
101
|
+
message: error.message,
|
|
102
|
+
target: target.path
|
|
103
|
+
}]
|
|
104
|
+
};
|
|
106
105
|
return {
|
|
107
106
|
ok: false,
|
|
108
107
|
changed: [],
|
|
@@ -134,7 +133,8 @@ var WriteKernel = class {
|
|
|
134
133
|
return {
|
|
135
134
|
ok: true,
|
|
136
135
|
changed: [target.path],
|
|
137
|
-
errors: []
|
|
136
|
+
errors: [],
|
|
137
|
+
...transactionWarnings === void 0 ? {} : { warnings: transactionWarnings }
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
@@ -411,7 +411,7 @@ var MutationUnit = class {
|
|
|
411
411
|
dryRun: false,
|
|
412
412
|
changed: [],
|
|
413
413
|
errors: [{
|
|
414
|
-
code: "unit-fence-failed",
|
|
414
|
+
code: error instanceof TransactionNotInvokedError ? "transact-not-invoked" : "unit-fence-failed",
|
|
415
415
|
message: error instanceof Error ? error.message : String(error)
|
|
416
416
|
}]
|
|
417
417
|
};
|
|
@@ -572,6 +572,7 @@ var MutationUnit = class {
|
|
|
572
572
|
rollbackFailure = rollbackError instanceof Error ? rollbackError.message : String(rollbackError);
|
|
573
573
|
}
|
|
574
574
|
const detail = rollbackFailure === "" ? message : message + "; rollback failed: " + rollbackFailure;
|
|
575
|
+
const failureCode = error?.code === "transact-not-invoked" ? "transact-not-invoked" : "write-failed";
|
|
575
576
|
await this.journal?.write({
|
|
576
577
|
unitId,
|
|
577
578
|
journalId: this.journalId,
|
|
@@ -602,7 +603,7 @@ var MutationUnit = class {
|
|
|
602
603
|
dryRun: false,
|
|
603
604
|
changed,
|
|
604
605
|
errors: [{
|
|
605
|
-
code:
|
|
606
|
+
code: failureCode,
|
|
606
607
|
message: detail
|
|
607
608
|
}]
|
|
608
609
|
};
|
|
@@ -653,7 +654,7 @@ var MutationUnit = class {
|
|
|
653
654
|
dryRun: false,
|
|
654
655
|
changed: [],
|
|
655
656
|
errors: [{
|
|
656
|
-
code: "unit-fence-failed",
|
|
657
|
+
code: error instanceof TransactionNotInvokedError ? "transact-not-invoked" : "unit-fence-failed",
|
|
657
658
|
message: error instanceof Error ? error.message : String(error)
|
|
658
659
|
}]
|
|
659
660
|
};
|
|
@@ -846,8 +847,12 @@ var MutationUnit = class {
|
|
|
846
847
|
const op = snapshot.ops.find((entry) => entry.target === target);
|
|
847
848
|
if (op === void 0) continue;
|
|
848
849
|
try {
|
|
849
|
-
|
|
850
|
-
|
|
850
|
+
const restored = await this.kernel.restore({
|
|
851
|
+
path: target,
|
|
852
|
+
before: op.after,
|
|
853
|
+
after: op.before
|
|
854
|
+
});
|
|
855
|
+
if (!restored.ok) throw new Error(restored.errors[0]?.message ?? "compensation blocked: " + target);
|
|
851
856
|
} catch {}
|
|
852
857
|
}
|
|
853
858
|
return {
|
|
@@ -872,7 +877,10 @@ var MutationUnit = class {
|
|
|
872
877
|
next: op.kind === "delete" ? null : op.content,
|
|
873
878
|
...op.skill === void 0 ? {} : { skill: op.skill }
|
|
874
879
|
}, { guardBaseline: this.transactGuard });
|
|
875
|
-
if (!result.ok) throw Object.assign(new Error(result.errors[0]?.message ?? "write failed: " + op.target), {
|
|
880
|
+
if (!result.ok) throw Object.assign(new Error(result.errors[0]?.message ?? "write failed: " + op.target), {
|
|
881
|
+
noWrite: true,
|
|
882
|
+
code: result.errors[0]?.code
|
|
883
|
+
});
|
|
876
884
|
return [...result.warnings ?? []];
|
|
877
885
|
}
|
|
878
886
|
async rollback(snapshots) {
|
|
@@ -913,22 +921,7 @@ function fileMutationLock(io, root, options = {}) {
|
|
|
913
921
|
const now = options.now ?? Date.now;
|
|
914
922
|
const sleep = options.sleep ?? defaultSleep;
|
|
915
923
|
const update = async (task) => {
|
|
916
|
-
|
|
917
|
-
let ran = false;
|
|
918
|
-
await io.transact(path, (current) => {
|
|
919
|
-
ran = true;
|
|
920
|
-
return task(current);
|
|
921
|
-
});
|
|
922
|
-
if (!ran) throw new Error("mutation-lock-transact-not-run: " + path);
|
|
923
|
-
return;
|
|
924
|
-
}
|
|
925
|
-
const next = task(await io.readText(path));
|
|
926
|
-
try {
|
|
927
|
-
if (next === null) await io.remove(path);
|
|
928
|
-
else await io.writeText(path, next);
|
|
929
|
-
} catch (error) {
|
|
930
|
-
if (!isCommittedWarning(error)) throw error;
|
|
931
|
-
}
|
|
924
|
+
await transactIo(io, path, task);
|
|
932
925
|
};
|
|
933
926
|
return { async acquire() {
|
|
934
927
|
const deadline = now() + waitMs;
|
|
@@ -983,8 +976,7 @@ function unitIndexPath(home) {
|
|
|
983
976
|
async function writeUnitSnapshot(io, home, snapshot, scope = "merge") {
|
|
984
977
|
const path = unitSnapshotPath(home, snapshot.unitId, scope);
|
|
985
978
|
const content = JSON.stringify(snapshot, null, 2) + "\n";
|
|
986
|
-
|
|
987
|
-
else await io.writeText(path, content);
|
|
979
|
+
await transactIo(io, path, () => content);
|
|
988
980
|
return path;
|
|
989
981
|
}
|
|
990
982
|
async function readUnitSnapshot(io, home, unitId, scope = "merge") {
|
|
@@ -999,8 +991,7 @@ async function readUnitSnapshot(io, home, unitId, scope = "merge") {
|
|
|
999
991
|
async function writeUnitEvidence(io, home, evidence) {
|
|
1000
992
|
const path = unitEvidencePath(home, evidence.unitId);
|
|
1001
993
|
const content = JSON.stringify(evidence, null, 2) + "\n";
|
|
1002
|
-
|
|
1003
|
-
else await io.writeText(path, content);
|
|
994
|
+
await transactIo(io, path, () => content);
|
|
1004
995
|
await upsertUnitIndex(io, home, {
|
|
1005
996
|
unitId: evidence.unitId,
|
|
1006
997
|
storageKey: unitStorageKey(evidence.unitId),
|
|
@@ -1045,8 +1036,7 @@ async function upsertUnitIndex(io, home, entry) {
|
|
|
1045
1036
|
entries: next
|
|
1046
1037
|
}, null, 2) + "\n";
|
|
1047
1038
|
};
|
|
1048
|
-
|
|
1049
|
-
else await io.writeText(path, content(await io.readText(path)));
|
|
1039
|
+
await transactIo(io, path, content);
|
|
1050
1040
|
}
|
|
1051
1041
|
function unitReceiptPath(home, unitId) {
|
|
1052
1042
|
return join(home, "merge", "unit-receipts", unitStorageKey(unitId) + ".json");
|
|
@@ -1054,8 +1044,7 @@ function unitReceiptPath(home, unitId) {
|
|
|
1054
1044
|
async function writeUnitReceipt(io, home, receipt) {
|
|
1055
1045
|
const path = unitReceiptPath(home, receipt.unitId);
|
|
1056
1046
|
const text = JSON.stringify(receipt, null, 2) + "\n";
|
|
1057
|
-
|
|
1058
|
-
else await io.writeText(path, text);
|
|
1047
|
+
await transactIo(io, path, () => text);
|
|
1059
1048
|
return path;
|
|
1060
1049
|
}
|
|
1061
1050
|
async function readUnitReceipt(io, home, unitId) {
|
|
@@ -1096,18 +1085,7 @@ function assertUnitJournalTransition(from, to) {
|
|
|
1096
1085
|
if (from === "failed" || from === "rolled-back") throw new Error("unit-journal-terminal:" + from);
|
|
1097
1086
|
if (unitJournalPhaseRank(to) <= unitJournalPhaseRank(from)) throw new Error("unit-journal-nonmonotonic:" + from + "->" + to);
|
|
1098
1087
|
}
|
|
1099
|
-
|
|
1100
|
-
const key = journal.journalId ?? journal.unitId;
|
|
1101
|
-
const path = unitJournalPath(home, key, scope);
|
|
1102
|
-
const existing = await readUnitJournal(io, home, key, scope);
|
|
1103
|
-
if (existing !== null) assertUnitJournalTransition(existing.phase, journal.phase);
|
|
1104
|
-
const content = JSON.stringify(journal, null, 2) + "\n";
|
|
1105
|
-
if (io.transact !== void 0) await io.transact(path, () => content);
|
|
1106
|
-
else await io.writeText(path, content);
|
|
1107
|
-
return path;
|
|
1108
|
-
}
|
|
1109
|
-
async function readUnitJournal(io, home, unitId, scope = "merge") {
|
|
1110
|
-
const raw = await io.readText(unitJournalPath(home, unitId, scope));
|
|
1088
|
+
function parseUnitJournal(raw) {
|
|
1111
1089
|
if (raw === null) return null;
|
|
1112
1090
|
try {
|
|
1113
1091
|
return JSON.parse(raw);
|
|
@@ -1115,6 +1093,19 @@ async function readUnitJournal(io, home, unitId, scope = "merge") {
|
|
|
1115
1093
|
return null;
|
|
1116
1094
|
}
|
|
1117
1095
|
}
|
|
1096
|
+
async function writeUnitJournal(io, home, journal, scope = "merge") {
|
|
1097
|
+
const path = unitJournalPath(home, journal.journalId ?? journal.unitId, scope);
|
|
1098
|
+
const content = JSON.stringify(journal, null, 2) + "\n";
|
|
1099
|
+
await transactIo(io, path, (current) => {
|
|
1100
|
+
const existing = parseUnitJournal(current);
|
|
1101
|
+
if (existing !== null) assertUnitJournalTransition(existing.phase, journal.phase);
|
|
1102
|
+
return content;
|
|
1103
|
+
});
|
|
1104
|
+
return path;
|
|
1105
|
+
}
|
|
1106
|
+
async function readUnitJournal(io, home, unitId, scope = "merge") {
|
|
1107
|
+
return parseUnitJournal(await io.readText(unitJournalPath(home, unitId, scope)));
|
|
1108
|
+
}
|
|
1118
1109
|
//#endregion
|
|
1119
1110
|
//#region lib/types/mutation-storage-adapter.js
|
|
1120
1111
|
/**
|
|
@@ -1824,45 +1815,6 @@ function textDiffFacts(before, after, path, maxLines = 40) {
|
|
|
1824
1815
|
truncated: oldWindow.cut || newWindow.cut
|
|
1825
1816
|
};
|
|
1826
1817
|
}
|
|
1827
|
-
/** Characters one generated summary may carry. */
|
|
1828
|
-
const VERSION_SUMMARY_MAX_CHARS = 80;
|
|
1829
|
-
/**
|
|
1830
|
-
* The fixed prompt the optional per-write summarizer runs (registry `skillVersionSummary`).
|
|
1831
|
-
*
|
|
1832
|
-
* Model-visible, so it is written from the model’s perspective and pinned: the tests assert that it
|
|
1833
|
-
* carries the skill name, the character cap and both bodies, because a silent change to a prompt is a
|
|
1834
|
-
* silent change to what every recorded version says.
|
|
1835
|
-
* @param input - the skill, the action, and the two bodies (null when absent).
|
|
1836
|
-
* @returns the prompt text.
|
|
1837
|
-
*/
|
|
1838
|
-
function versionSummaryPrompt(input) {
|
|
1839
|
-
return [
|
|
1840
|
-
"You are writing ONE line that tells a reader what this single edit to the agent skill",
|
|
1841
|
-
"\"" + input.name + "\" changed. The edit action was \"" + input.action + "\".",
|
|
1842
|
-
"Rules: at most " + String(80) + " characters; the same language as the body;",
|
|
1843
|
-
"name the decision, number or section that moved (for example \"keeps 30 days instead of 90 days\");",
|
|
1844
|
-
"never say merely that something changed; no preamble, quotes, markdown or trailing period.",
|
|
1845
|
-
"",
|
|
1846
|
-
"Body BEFORE the edit:",
|
|
1847
|
-
input.before ?? "(the skill did not exist before this edit)",
|
|
1848
|
-
"",
|
|
1849
|
-
"Body AFTER the edit:",
|
|
1850
|
-
input.after ?? "(the skill does not exist after this edit)"
|
|
1851
|
-
].join("\n");
|
|
1852
|
-
}
|
|
1853
|
-
/**
|
|
1854
|
-
* Reduce a model answer to the one line the index stores.
|
|
1855
|
-
* @param raw - the model’s answer, whatever shape it came in.
|
|
1856
|
-
* @param maxChars - the character cap.
|
|
1857
|
-
* @returns the one line, or undefined when there is nothing usable (callers store no summary).
|
|
1858
|
-
*/
|
|
1859
|
-
function normalizeVersionSummary(raw, maxChars = 80) {
|
|
1860
|
-
const firstLine = raw.split("\n").map((line) => line.trim()).find((line) => line !== "");
|
|
1861
|
-
if (firstLine === void 0) return void 0;
|
|
1862
|
-
const stripped = firstLine.replace(/^["'`*•s]+/u, "").replace(/["'`*s]+$/u, "").replace(/[。.]$/u, "").trim();
|
|
1863
|
-
if (stripped === "") return void 0;
|
|
1864
|
-
return stripped.length > maxChars ? stripped.slice(0, maxChars - 1) + "…" : stripped;
|
|
1865
|
-
}
|
|
1866
1818
|
/**
|
|
1867
1819
|
* How long ago an ISO timestamp was, as a bucket plus a count — never as a sentence.
|
|
1868
1820
|
*
|
|
@@ -1910,4 +1862,4 @@ function elapsedSince(at, nowMs) {
|
|
|
1910
1862
|
};
|
|
1911
1863
|
}
|
|
1912
1864
|
//#endregion
|
|
1913
|
-
export {
|
|
1865
|
+
export { validateMutationRequest as $, UNIT_JOURNAL_SCHEMA_VERSION as A, readUnitSnapshot as B, textDiffFacts as C, unitJournalPort as D, pruneTreeChangeUnits as E, writeUnitJournal as F, unitSnapshotsDir as G, unitIndexPath as H, UNIT_STORAGE_SCHEMA_VERSION as I, writeUnitEvidence as J, unitStorageKey as K, readUnitEvidence as L, readUnitJournal as M, unitJournalPath as N, unitSnapshotPort as O, unitJournalPhaseRank as P, fileMutationLock as Q, readUnitIndex as R, recordVersions as S, versionTarget as T, unitReceiptPath as U, unitEvidencePath as V, unitSnapshotPath as W, writeUnitSnapshot as X, writeUnitReceipt as Y, MutationUnit as Z, nextHistoryIndex as _, RETENTION_FEEDBACK_MIN_CHARS as a, partitionVersions as b, blobPath as c, entryTarget as d, WriteKernel as et, historyIndexFile as f, loadVersions as g, loadVersionContent as h, RETENTION_FEEDBACK_KEEP_RATIO as i, assertUnitJournalTransition as j, UNIT_JOURNAL_PHASES as k, contentRetentionFeedback as l, latestVersionAt as m, HISTORY_DIR as n, TEXT_DIFF_MAX_CHARS as o, historyRoot as p, upsertUnitIndex as q, HISTORY_INDEX_VERSION as r, TEXT_DIFF_MAX_LINES as s, BASELINE_ACTION as t, elapsedSince as u, orderVersions as v, versionActionKind as w, readHistoryIndex as x, parseHistoryIndex as y, readUnitReceipt as z };
|