@cynodia/axiom-agent-api 0.12.0-alpha.1 → 0.12.1-alpha.1
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/dist/distributed.d.ts +15 -0
- package/dist/distributed.js +7 -1
- package/package.json +2 -2
package/dist/distributed.d.ts
CHANGED
|
@@ -37,11 +37,26 @@ export interface DistributedSemanticsInspection {
|
|
|
37
37
|
note: string;
|
|
38
38
|
};
|
|
39
39
|
workClasses: DistributedWorkClassInfo[];
|
|
40
|
+
/**
|
|
41
|
+
* How a query result cache stays coherent across authorities (spec12 §32-§34).
|
|
42
|
+
*/
|
|
40
43
|
cacheCoherence: {
|
|
41
44
|
mechanism: 'durable-revision-observation';
|
|
42
45
|
stalenessBoundRevisions: 0;
|
|
43
46
|
requiresBroadcast: false;
|
|
44
47
|
};
|
|
48
|
+
/**
|
|
49
|
+
* How a running authority's in-memory `StateDef` view stays coherent with state another
|
|
50
|
+
* authority committed (spec12.1 §6-§9, §54). The in-memory view is an authority-local
|
|
51
|
+
* cache; the durable persistence revision is re-observed before every authoritative
|
|
52
|
+
* operation and the view is reloaded when behind.
|
|
53
|
+
*/
|
|
54
|
+
stateCoherence: {
|
|
55
|
+
mechanism: 'durable-revision-observation';
|
|
56
|
+
stalenessBoundRevisions: 0;
|
|
57
|
+
requiresBroadcast: false;
|
|
58
|
+
refreshBeforeAuthoritativeOperation: true;
|
|
59
|
+
};
|
|
45
60
|
operationalTuning: string[];
|
|
46
61
|
}
|
|
47
62
|
/**
|
package/dist/distributed.js
CHANGED
|
@@ -53,7 +53,7 @@ export function inspectDistributedSemantics(graph, serverContract = 'axiom.serve
|
|
|
53
53
|
orderingScope: 'per-subscription',
|
|
54
54
|
delivery: { guarantee: 'at-least-once', duplicatesPossible: true },
|
|
55
55
|
providerCapabilityRequired: ['distributed-lease', 'fencing', 'durable-subscription-cursor', 'event-dedup'],
|
|
56
|
-
runtimeStateAvailableFrom: 'AxiomServer.subscriptionLog()
|
|
56
|
+
runtimeStateAvailableFrom: 'AxiomServer.subscriptionLog()',
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
@@ -73,6 +73,12 @@ export function inspectDistributedSemantics(graph, serverContract = 'axiom.serve
|
|
|
73
73
|
stalenessBoundRevisions: 0,
|
|
74
74
|
requiresBroadcast: false,
|
|
75
75
|
},
|
|
76
|
+
stateCoherence: {
|
|
77
|
+
mechanism: 'durable-revision-observation',
|
|
78
|
+
stalenessBoundRevisions: 0,
|
|
79
|
+
requiresBroadcast: false,
|
|
80
|
+
refreshBeforeAuthoritativeOperation: true,
|
|
81
|
+
},
|
|
76
82
|
operationalTuning: [
|
|
77
83
|
'instanceId',
|
|
78
84
|
'leaseDurationMs',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cynodia/axiom-agent-api",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1-alpha.1",
|
|
4
4
|
"description": "Semantic queries and transactional graph transformations for AI agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AskTech AS",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@cynodia/axiom-core": "0.12.
|
|
34
|
+
"@cynodia/axiom-core": "0.12.1-alpha.1"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsc -b tsconfig.json tsconfig.test.json",
|