@manifesto-ai/lineage 3.1.0 → 3.1.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.
- package/README.md +5 -4
- package/dist/chunk-STH2THPH.js +770 -0
- package/dist/chunk-STH2THPH.js.map +1 -0
- package/dist/hash.d.ts +14 -0
- package/dist/index.d.ts +4 -220
- package/dist/index.js +49 -567
- package/dist/index.js.map +1 -1
- package/dist/internal/clone.d.ts +1 -0
- package/dist/internal.d.ts +19 -17
- package/dist/internal.js +5 -1
- package/dist/invariants.d.ts +1 -0
- package/dist/query.d.ts +8 -0
- package/dist/records.d.ts +11 -0
- package/dist/runtime-types.d.ts +39 -0
- package/dist/service/lineage-service.d.ts +130 -0
- package/dist/store/in-memory-lineage-store.d.ts +53 -0
- package/dist/{runtime-types-CXAjv1Op.d.ts → types.d.ts} +32 -55
- package/dist/with-lineage.d.ts +3 -0
- package/package.json +6 -5
- package/dist/chunk-Q3WY563K.js +0 -269
- package/dist/chunk-Q3WY563K.js.map +0 -1
package/README.md
CHANGED
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
## What This Package Owns
|
|
10
10
|
|
|
11
11
|
- `withLineage(createManifesto(...), config).activate()`
|
|
12
|
-
- lineage-aware `
|
|
12
|
+
- lineage-aware `commitAsync` that seals before publication
|
|
13
13
|
- restore, head, branch, and world queries on the activated runtime
|
|
14
|
-
- `
|
|
14
|
+
- `getLineage()` for DAG inspection on the activated runtime
|
|
15
|
+
- sealing substrate and the internal provider surface
|
|
15
16
|
- deterministic world identity, branch semantics, and restore normalization
|
|
16
17
|
|
|
17
18
|
## Canonical Path
|
|
@@ -25,7 +26,7 @@ const world = withLineage(manifesto, {
|
|
|
25
26
|
store: createInMemoryLineageStore(),
|
|
26
27
|
}).activate();
|
|
27
28
|
|
|
28
|
-
await world.
|
|
29
|
+
await world.commitAsync(
|
|
29
30
|
world.createIntent(world.MEL.actions.increment),
|
|
30
31
|
);
|
|
31
32
|
|
|
@@ -37,7 +38,7 @@ if (head) {
|
|
|
37
38
|
|
|
38
39
|
## Low-Level Usage
|
|
39
40
|
|
|
40
|
-
|
|
41
|
+
Use `@manifesto-ai/lineage/internal` when you need `LineageService`, `LineageStore`, prepared commits, or custom persistence without the activated runtime wrapper.
|
|
41
42
|
|
|
42
43
|
## Docs
|
|
43
44
|
|