@agentplat/mesh 0.3.0-alpha.5 → 0.3.0-beta.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.
Files changed (52) hide show
  1. package/README.md +10 -0
  2. package/dist/coordination-discovery-contracts.d.ts +3 -1
  3. package/dist/coordination-discovery-contracts.d.ts.map +1 -1
  4. package/dist/coordination-discovery-state.d.ts +3 -0
  5. package/dist/coordination-discovery-state.d.ts.map +1 -1
  6. package/dist/coordination-discovery-state.js +93 -8
  7. package/dist/coordination-discovery-state.js.map +1 -1
  8. package/dist/coordination-inbound.d.ts.map +1 -1
  9. package/dist/coordination-inbound.js +54 -3
  10. package/dist/coordination-inbound.js.map +1 -1
  11. package/dist/coordination-wire-version-contracts.d.ts +67 -0
  12. package/dist/coordination-wire-version-contracts.d.ts.map +1 -0
  13. package/dist/coordination-wire-version-contracts.js +2 -0
  14. package/dist/coordination-wire-version-contracts.js.map +1 -0
  15. package/dist/coordination-wire-version.d.ts +8 -0
  16. package/dist/coordination-wire-version.d.ts.map +1 -0
  17. package/dist/coordination-wire-version.js +285 -0
  18. package/dist/coordination-wire-version.js.map +1 -0
  19. package/dist/coordination.d.ts +3 -1
  20. package/dist/coordination.d.ts.map +1 -1
  21. package/dist/coordination.js +3 -1
  22. package/dist/coordination.js.map +1 -1
  23. package/dist/durability.d.ts +60 -5
  24. package/dist/durability.d.ts.map +1 -1
  25. package/dist/durability.js +251 -5
  26. package/dist/durability.js.map +1 -1
  27. package/dist/loopback.d.ts +3 -1
  28. package/dist/loopback.d.ts.map +1 -1
  29. package/dist/loopback.js +9 -7
  30. package/dist/loopback.js.map +1 -1
  31. package/fixtures/beta1/README.md +11 -0
  32. package/fixtures/beta1/durability/wrapper-v1.json +19 -0
  33. package/fixtures/beta1/durability/wrapper-v2.json +51 -0
  34. package/fixtures/beta1/manifest.json +147 -0
  35. package/fixtures/beta1/postgres/alpha5-dump-manifest.json +29 -0
  36. package/fixtures/beta1/postgres/migrations.json +25 -0
  37. package/fixtures/beta1/simulation/replay-trace-v1.json +60 -0
  38. package/fixtures/beta1/simulation/snapshot-v2.json +71 -0
  39. package/fixtures/beta1/states/allocation-v1.json +24 -0
  40. package/fixtures/beta1/states/allocation-v2.json +28 -0
  41. package/fixtures/beta1/states/allocation-v3.json +38 -0
  42. package/fixtures/beta1/states/allocation-v4.json +43 -0
  43. package/fixtures/beta1/states/allocation-v5.json +46 -0
  44. package/fixtures/beta1/states/allocation-v6.json +56 -0
  45. package/fixtures/beta1/states/coordination-v1.json +20 -0
  46. package/fixtures/beta1/states/core-peer.json +26 -0
  47. package/fixtures/beta1/states/discovery-v1.json +31 -0
  48. package/fixtures/beta1/states/discovery-v2.json +32 -0
  49. package/fixtures/beta1/states/inbound-v1.json +19 -0
  50. package/fixtures/beta1/states/objective-work-v1.json +28 -0
  51. package/fixtures/beta1/states/objective-work-v2.json +28 -0
  52. package/package.json +5 -4
@@ -0,0 +1,38 @@
1
+ {
2
+ "acceptedBidEvidence": {},
3
+ "assigneeAuthorities": {},
4
+ "assignmentResponses": {},
5
+ "bidHeads": {},
6
+ "identity": {
7
+ "instanceId": "instance-fixture",
8
+ "keyId": "key-fixture",
9
+ "meshId": "mesh-fixture",
10
+ "peerId": "peer-fixture",
11
+ "tenantId": "tenant-fixture"
12
+ },
13
+ "lastLogicalTime": 0,
14
+ "limits": {
15
+ "maximumAssignmentAuthorities": 8192,
16
+ "maximumAssignmentResponses": 8192,
17
+ "maximumAwards": 8192,
18
+ "maximumBidHeads": 32768,
19
+ "maximumBidsPerOffer": 512,
20
+ "maximumLocalAssignmentResponses": 8192,
21
+ "maximumLocalBids": 8192,
22
+ "maximumOffers": 8192,
23
+ "maximumOffersPerWorkItem": 32,
24
+ "maximumProjectionBytes": 262144,
25
+ "maximumReceivedAwards": 8192,
26
+ "maximumReceivedOffers": 8192,
27
+ "maximumRecipientsPerOffer": 128
28
+ },
29
+ "localAssignmentResponses": {},
30
+ "localAwards": {},
31
+ "localBids": {},
32
+ "localOffers": {},
33
+ "receivedAwards": {},
34
+ "receivedOffers": {},
35
+ "reservations": {},
36
+ "schemaVersion": 3,
37
+ "workAllocations": {}
38
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "acceptedBidEvidence": {},
3
+ "assigneeAuthorities": {},
4
+ "assignmentResponses": {},
5
+ "bidHeads": {},
6
+ "executionHeads": {},
7
+ "executionRecords": {},
8
+ "identity": {
9
+ "instanceId": "instance-fixture",
10
+ "keyId": "key-fixture",
11
+ "meshId": "mesh-fixture",
12
+ "peerId": "peer-fixture",
13
+ "tenantId": "tenant-fixture"
14
+ },
15
+ "lastLogicalTime": 0,
16
+ "limits": {
17
+ "maximumAssignmentAuthorities": 8192,
18
+ "maximumAssignmentResponses": 8192,
19
+ "maximumAwards": 8192,
20
+ "maximumBidHeads": 32768,
21
+ "maximumBidsPerOffer": 512,
22
+ "maximumExecutionHeads": 8192,
23
+ "maximumExecutionRecords": 32768,
24
+ "maximumExecutionRecordsPerAssignment": 1024,
25
+ "maximumLocalAssignmentResponses": 8192,
26
+ "maximumLocalBids": 8192,
27
+ "maximumOffers": 8192,
28
+ "maximumOffersPerWorkItem": 32,
29
+ "maximumProjectionBytes": 262144,
30
+ "maximumReceivedAwards": 8192,
31
+ "maximumReceivedOffers": 8192,
32
+ "maximumRecipientsPerOffer": 128
33
+ },
34
+ "localAssignmentResponses": {},
35
+ "localAwards": {},
36
+ "localBids": {},
37
+ "localOffers": {},
38
+ "receivedAwards": {},
39
+ "receivedOffers": {},
40
+ "reservations": {},
41
+ "schemaVersion": 4,
42
+ "workAllocations": {}
43
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "acceptedBidEvidence": {},
3
+ "assigneeAuthorities": {},
4
+ "assignmentResponses": {},
5
+ "bidHeads": {},
6
+ "executionHeads": {},
7
+ "executionRecords": {},
8
+ "identity": {
9
+ "instanceId": "instance-fixture",
10
+ "keyId": "key-fixture",
11
+ "meshId": "mesh-fixture",
12
+ "peerId": "peer-fixture",
13
+ "tenantId": "tenant-fixture"
14
+ },
15
+ "lastLogicalTime": 0,
16
+ "leaseHeads": {},
17
+ "leaseRenewals": {},
18
+ "limits": {
19
+ "maximumAssignmentAuthorities": 8192,
20
+ "maximumAssignmentResponses": 8192,
21
+ "maximumAwards": 8192,
22
+ "maximumBidHeads": 32768,
23
+ "maximumBidsPerOffer": 512,
24
+ "maximumExecutionHeads": 8192,
25
+ "maximumExecutionRecords": 32768,
26
+ "maximumExecutionRecordsPerAssignment": 1024,
27
+ "maximumLeaseRenewals": 8192,
28
+ "maximumLocalAssignmentResponses": 8192,
29
+ "maximumLocalBids": 8192,
30
+ "maximumOffers": 8192,
31
+ "maximumOffersPerWorkItem": 32,
32
+ "maximumProjectionBytes": 262144,
33
+ "maximumReceivedAwards": 8192,
34
+ "maximumReceivedOffers": 8192,
35
+ "maximumRecipientsPerOffer": 128
36
+ },
37
+ "localAssignmentResponses": {},
38
+ "localAwards": {},
39
+ "localBids": {},
40
+ "localOffers": {},
41
+ "receivedAwards": {},
42
+ "receivedOffers": {},
43
+ "reservations": {},
44
+ "schemaVersion": 5,
45
+ "workAllocations": {}
46
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "acceptedBidEvidence": {},
3
+ "assigneeAuthorities": {},
4
+ "assignmentFenceHeads": {},
5
+ "assignmentResponses": {},
6
+ "bidHeads": {},
7
+ "executionHeads": {},
8
+ "executionRecords": {},
9
+ "identity": {
10
+ "instanceId": "instance-fixture",
11
+ "keyId": "key-fixture",
12
+ "meshId": "mesh-fixture",
13
+ "peerId": "peer-fixture",
14
+ "tenantId": "tenant-fixture"
15
+ },
16
+ "lastLogicalTime": 0,
17
+ "leaseHeads": {},
18
+ "leaseRenewals": {},
19
+ "leaseVotes": {},
20
+ "limits": {
21
+ "maximumAssignmentAuthorities": 8192,
22
+ "maximumAssignmentFenceHeads": 8192,
23
+ "maximumAssignmentResponses": 8192,
24
+ "maximumAwards": 8192,
25
+ "maximumBidHeads": 32768,
26
+ "maximumBidsPerOffer": 512,
27
+ "maximumExecutionHeads": 8192,
28
+ "maximumExecutionRecords": 32768,
29
+ "maximumExecutionRecordsPerAssignment": 1024,
30
+ "maximumLeaseRenewals": 8192,
31
+ "maximumLeaseVotes": 32768,
32
+ "maximumLocalAssignmentResponses": 8192,
33
+ "maximumLocalBids": 8192,
34
+ "maximumOffers": 8192,
35
+ "maximumOffersPerWorkItem": 32,
36
+ "maximumProjectionBytes": 262144,
37
+ "maximumReceivedAwards": 8192,
38
+ "maximumReceivedOffers": 8192,
39
+ "maximumRecipientsPerOffer": 128,
40
+ "maximumRecoveryCertificates": 8192,
41
+ "maximumTakeoverProposals": 8192,
42
+ "maximumWitnessAssignments": 8192
43
+ },
44
+ "localAssignmentResponses": {},
45
+ "localAwards": {},
46
+ "localBids": {},
47
+ "localOffers": {},
48
+ "receivedAwards": {},
49
+ "receivedOffers": {},
50
+ "recoveryCertificates": {},
51
+ "reservations": {},
52
+ "schemaVersion": 6,
53
+ "takeoverProposals": {},
54
+ "witnessAssignments": {},
55
+ "workAllocations": {}
56
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "domainRecords": {},
3
+ "identity": {
4
+ "instanceId": "instance-fixture",
5
+ "keyId": "key-fixture",
6
+ "meshId": "mesh-fixture",
7
+ "peerId": "peer-fixture",
8
+ "tenantId": "tenant-fixture"
9
+ },
10
+ "journal": [],
11
+ "lastLogicalTime": 0,
12
+ "limits": {
13
+ "maximumDomainRecords": 16384,
14
+ "maximumJournalEntries": 8192,
15
+ "maximumTimers": 4096
16
+ },
17
+ "localEventSequence": 0,
18
+ "schemaVersion": 1,
19
+ "timers": {}
20
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "admittedPeers": {},
3
+ "identity": {
4
+ "instanceId": "instance-fixture",
5
+ "keyId": "key-fixture",
6
+ "meshId": "mesh-fixture",
7
+ "peerId": "peer-fixture",
8
+ "tenantId": "tenant-fixture"
9
+ },
10
+ "lastLogicalTime": 0,
11
+ "limits": {
12
+ "maximumAdmittedPeers": 256,
13
+ "maximumInstancesPerPeer": 16,
14
+ "maximumPendingPings": 1024,
15
+ "maximumTrackedMessageIds": 16384,
16
+ "messageIdRetentionMs": 840000,
17
+ "replayWindowSize": 2048
18
+ },
19
+ "localEventSequence": 0,
20
+ "messageIds": {},
21
+ "peers": {},
22
+ "pendingPings": {},
23
+ "pendingPreparations": {},
24
+ "replay": {},
25
+ "status": "created"
26
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "admittedPeers": {},
3
+ "capabilities": {},
4
+ "identity": {
5
+ "instanceId": "instance-fixture",
6
+ "keyId": "key-fixture",
7
+ "meshId": "mesh-fixture",
8
+ "peerId": "peer-fixture",
9
+ "tenantId": "tenant-fixture"
10
+ },
11
+ "lastLogicalTime": 0,
12
+ "limits": {
13
+ "maximumAdmissions": 256,
14
+ "maximumCapabilities": 2048,
15
+ "maximumCapabilitiesPerPeer": 64,
16
+ "maximumCapabilityBytes": 65536,
17
+ "maximumFanout": 32,
18
+ "maximumInstancesPerAdmission": 16,
19
+ "maximumPeerCardBytes": 65536,
20
+ "maximumPeerCards": 256,
21
+ "maximumPeerViews": 128,
22
+ "maximumRequirementAttributes": 128,
23
+ "maximumRequirementBytes": 65536,
24
+ "maximumRequirementCapabilityKeys": 64,
25
+ "maximumSubscriptions": 3
26
+ },
27
+ "peerCards": {},
28
+ "peerViews": {},
29
+ "schemaVersion": 1,
30
+ "subscriptions": []
31
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "admittedPeers": {},
3
+ "capabilities": {},
4
+ "identity": {
5
+ "instanceId": "instance-fixture",
6
+ "keyId": "key-fixture",
7
+ "meshId": "mesh-fixture",
8
+ "peerId": "peer-fixture",
9
+ "tenantId": "tenant-fixture"
10
+ },
11
+ "lastLogicalTime": 0,
12
+ "limits": {
13
+ "maximumAdmissions": 256,
14
+ "maximumCapabilities": 2048,
15
+ "maximumCapabilitiesPerPeer": 64,
16
+ "maximumCapabilityBytes": 65536,
17
+ "maximumFanout": 32,
18
+ "maximumInstancesPerAdmission": 16,
19
+ "maximumPeerCardBytes": 65536,
20
+ "maximumPeerCards": 256,
21
+ "maximumPeerViews": 128,
22
+ "maximumRequirementAttributes": 128,
23
+ "maximumRequirementBytes": 65536,
24
+ "maximumRequirementCapabilityKeys": 64,
25
+ "maximumSubscriptions": 3
26
+ },
27
+ "peerCards": {},
28
+ "peerViews": {},
29
+ "schemaVersion": 2,
30
+ "subscriptions": [],
31
+ "wireVersionHighWaters": {}
32
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "identity": {
3
+ "instanceId": "instance-fixture",
4
+ "keyId": "key-fixture",
5
+ "meshId": "mesh-fixture",
6
+ "peerId": "peer-fixture",
7
+ "tenantId": "tenant-fixture"
8
+ },
9
+ "lastLogicalTime": 0,
10
+ "limits": {
11
+ "maximumReplayWindows": 4096,
12
+ "maximumTrackedMessageIds": 16384,
13
+ "messageIdRetentionMs": 840000,
14
+ "replayWindowSize": 2048
15
+ },
16
+ "messageIds": {},
17
+ "replay": {},
18
+ "schemaVersion": 1
19
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "identity": {
3
+ "instanceId": "instance-fixture",
4
+ "keyId": "key-fixture",
5
+ "meshId": "mesh-fixture",
6
+ "peerId": "peer-fixture",
7
+ "tenantId": "tenant-fixture"
8
+ },
9
+ "issuerAuthorities": {},
10
+ "lastLogicalTime": 0,
11
+ "limits": {
12
+ "maximumCriteria": 32,
13
+ "maximumIssuerAuthorities": 256,
14
+ "maximumIssuerKeys": 32,
15
+ "maximumMatchingAttributes": 32,
16
+ "maximumObjectivePolicies": 8192,
17
+ "maximumObjectives": 1024,
18
+ "maximumProjectionBytes": 65536,
19
+ "maximumRequiredCapabilityKeys": 32,
20
+ "maximumWorkItems": 8192,
21
+ "maximumWorkItemsPerObjective": 1024
22
+ },
23
+ "objectiveDocuments": {},
24
+ "objectivePolicies": {},
25
+ "objectives": {},
26
+ "schemaVersion": 1,
27
+ "workItems": {}
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "identity": {
3
+ "instanceId": "instance-fixture",
4
+ "keyId": "key-fixture",
5
+ "meshId": "mesh-fixture",
6
+ "peerId": "peer-fixture",
7
+ "tenantId": "tenant-fixture"
8
+ },
9
+ "issuerAuthorities": {},
10
+ "lastLogicalTime": 0,
11
+ "limits": {
12
+ "maximumCriteria": 32,
13
+ "maximumIssuerAuthorities": 256,
14
+ "maximumIssuerKeys": 32,
15
+ "maximumMatchingAttributes": 32,
16
+ "maximumObjectivePolicies": 8192,
17
+ "maximumObjectives": 1024,
18
+ "maximumProjectionBytes": 65536,
19
+ "maximumRequiredCapabilityKeys": 32,
20
+ "maximumWorkItems": 8192,
21
+ "maximumWorkItemsPerObjective": 1024
22
+ },
23
+ "objectiveDocuments": {},
24
+ "objectivePolicies": {},
25
+ "objectives": {},
26
+ "schemaVersion": 2,
27
+ "workItems": {}
28
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentplat/mesh",
3
- "version": "0.3.0-alpha.5",
3
+ "version": "0.3.0-beta.2",
4
4
  "description": "Provider-neutral peer state and effect contracts for AgentPlat Mesh applications.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -31,12 +31,13 @@
31
31
  },
32
32
  "files": [
33
33
  "dist",
34
+ "fixtures",
34
35
  "README.md"
35
36
  ],
36
37
  "dependencies": {
37
- "@agentplat/mesh-protocol": "^0.3.0-alpha.5",
38
- "@agentplat/mesh-crypto": "^0.3.0-alpha.5",
39
- "@agentplat/trust": "^0.3.0-alpha.5"
38
+ "@agentplat/trust": "^0.3.0-beta.2",
39
+ "@agentplat/mesh-protocol": "^0.3.0-beta.2",
40
+ "@agentplat/mesh-crypto": "^0.3.0-beta.2"
40
41
  },
41
42
  "engines": {
42
43
  "node": ">=20.19.3"