@githolon/runtime 0.112.2 → 0.112.3

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.
@@ -35,7 +35,6 @@
35
35
  1963a804a9cfe7d44a76b2c476817639b939d7e93828da865cab40fe9ba536fa adapter/custody-transport.ts
36
36
  1a5d9fd32360e2cec4adbee9e56221fb26def66bb9d122e0b5745cebc963d92e node_modules/xml-naming/src/index.js
37
37
  1b27a1f4d58d6314cd4887d0f47493d1a98fc474e3364388f321c3aeb94a8ac3 adapter/workspace_effect_outcome.ts
38
- 1b8eea8acf14374c28330cb21eea0e14f151fffb7c678f8e4a7f34722dc2eb22 peer-office/src/runtime/workspace_sync.ts
39
38
  1c0bba78daf8c28ac51f35d60b2b2fbca9c57bc7bcdb05a05a1f15a2ca657164 peer-office/src/reception/application_readiness_transport.ts
40
39
  1c364712aa61711ce0e654ed81e26fe821e8f7b6dac9c31fe6d49fc184dbacd2 node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js
41
40
  1d1f03bc86ea3788b57b43c7720de2c41a7b133d852262a7615b3b152777cdef node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js
@@ -114,6 +113,7 @@
114
113
  5d00c6d55312c689ae7f1f4b5319a08a844e59a47c1e7e4c1aa823c14785c374 node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js
115
114
  5e1616dcda3c68bbcf7002f6c4298d85ec1ecd98ffa68fb3da132da2e78ecf3b node_modules/fast-xml-parser/src/validator.js
116
115
  5f378567e5be461b0850876c91b8f1c8ffdc8d29201d87edd7aa666eecabb9f3 node_modules/is-unsafe/src/contexts/html.js
116
+ 613546ab7efa71e7cf5b440245cc87408a5ac6e2fcadc420a0204ea55d6b39f3 peer-office/src/runtime/workspace_sync.ts
117
117
  61916e4c906553d25b013be183f559bd5ced142257f6d17306156bcbd310a991 peer-office/src/runtime/receiving_group_calls.ts
118
118
  630032abddfaaf6bc05e2069c060983e055bcce535f9ccf9c0d742b1f2806936 node_modules/@bufbuild/protobuf/dist/esm/equals.js
119
119
  63a86e9fde142858215173161867ed448a7f99c882da1f51d71bac1e6d9ed41c adapter/runtime-kernel-port.ts
@@ -260,7 +260,6 @@ d851f0d85aa051c8f7880855f4af21b56507afdaebfc99623693eda933df7726 peer-office/sr
260
260
  da6362509cb895cc68dc6c050f3a59ed47d2ee009108e2093e2905e0171efe9c peer-office/src/runtime/custody_retention_plan.ts
261
261
  db05a3f19bc575c1ed771fc6882af337a49cde7bd469181f3acc772d1a76df3e node_modules/@bufbuild/protobuf/dist/esm/to-json.js
262
262
  db61a17ab4dbb3514b676cd93cc702fe62a6582d5ec292725f1ada20dfbc1f72 peer-office/src/runtime/custody_replacement.ts
263
- dc88d35b24f2a7a40b0cb3a96b51cdd48f9e44fda24b26681f485ce3f274e031 peer-office/package/package.json
264
263
  dd9f3f24fb154cfbfbde94e8f2647647c80c8ca050b98e981a407e760a4b9c1e node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js
265
264
  deaa25227d669aa3fbe99174275588dcc175de648ae6623fddf11d6ae69d7f67 platform-shells/node/local-development/peer_process.ts
266
265
  e20a132033f105a29db1cfdb3d85bbadbb7206b9a7e3336bcb030a63d66b4ab2 node_modules/is-unsafe/src/contexts/nosql.js
@@ -269,6 +268,7 @@ e34016b82b6f6e4c4a1cc2dd44ccd14a348e8156a1f6c5aeeb2c7fc36a15b8f9 adapter/proto/
269
268
  e34016b82b6f6e4c4a1cc2dd44ccd14a348e8156a1f6c5aeeb2c7fc36a15b8f9 peer-office/package/src/protocol/nomos/kernel/v1/kernel_pb.js
270
269
  e394b7a580a2853949ec937d742b54fd8169029a5d10a3e4e521b984c60adb6d peer-office/src/runtime/identity_desk.ts
271
270
  e411cf95c1c0c7063b863a08ad568d61044069f9338028eace56e362029ad3a7 peer-office/src/runtime/residency_desk.ts
271
+ e4406907e251677b130006208fa24b1537e8e8c0d54505685a90ce88bd109d81 peer-office/package/package.json
272
272
  e45a879696cd2e7b692aa282677abf216297c1d129135e914b8a76fd0cbe15bd peer-office/src/reception/generated_offer_counter.ts
273
273
  e8ef38f512bfa38f0a40c8edc32540040162576cccc229197a8fbd0c0097bb73 peer-office/src/runtime/history_acquisition_desk.ts
274
274
  eb9e106e81226ab9547882079e7fd6a9d885d2c71ba78784f7edaa7db61bb941 node_modules/is-unsafe/src/contexts/svg.js
@@ -16389,6 +16389,7 @@ var NomosRuntimeComponent = (() => {
16389
16389
  #pushError;
16390
16390
  #current;
16391
16391
  #lastReceiptEffectId;
16392
+ #offerSequence = 0;
16392
16393
  #lastStep;
16393
16394
  #probeOnly;
16394
16395
  /** Set when this round adopted the upstream's own head as its base (see #establishBase). */
@@ -16662,7 +16663,10 @@ var NomosRuntimeComponent = (() => {
16662
16663
  effect: {
16663
16664
  case: "http",
16664
16665
  value: create(PeerHttpEffectSchema, {
16665
- effectId: `${this.workId}:${phase}`,
16666
+ // A resident delta can rebase and emit another offer immediately.
16667
+ // Each physical exchange needs its own identity: reusing "offer"
16668
+ // makes receipt replay return the previous pending effect forever.
16669
+ effectId: `${this.workId}:${++this.#offerSequence}:${phase}`,
16666
16670
  method: PeerHttpMethod.POST,
16667
16671
  url: this.#offerEndpoint(),
16668
16672
  contentType: CUSTODY_OFFER_MEDIA_TYPE,
@@ -22218,7 +22218,7 @@
22218
22218
  const finished = clock.monotonicNanoseconds();
22219
22219
  return finished >= started ? Number(finished - started) / 1e6 : 0;
22220
22220
  };
22221
- var _kernel16, _credentials4, _clock13, _mount, _binding, _route2, _rediscover, _reroute, _discoveredFrontier, _observePlacement, _recheckPlacement, _directoryAnswered, _placementFetched, _leased, _command2, _requestId4, _started, _state, _localHead, _offerHead, _previousHead, _pushMillis, _pushBytes, _desiredHead, _returnedPackHead, _candidateDurable, _admissionSummary, _offerReceipt, _pushError, _current3, _lastReceiptEffectId2, _lastStep2, _probeOnly, _establishedBase, _receiveState, _completeHistory, _lawProductsImported, _shallowMounted, _fetchedLawProducts, _beforeConverge, _needsReconciliation, _offerAfterConverge, _rebaseFrom, _rebases, _parkedLocal, _replaceLocalHead, _repairMissingCommit, _WorkspaceSyncWork_instances, openRound_fn, offerOrReconcile_fn, establishBase_fn, missingTrackedBase_fn, holdsLocalWork_fn, pullBeforeOffer_fn, leaseEffect_fn, beginOffer_fn, acceptOffer_fn, acceptLease_fn, placementFrontier_fn, placementOnly_fn, acceptDiscovery_fn, providerCustody_fn, beginMainFetch_fn, acceptFetch_fn, mountFetched_fn, lawProductsAlongside_fn, acceptLawProducts_fn, providerCustodyMounted_fn, importLawProducts_fn, converge_fn2, unrelatedLineageRefusal_fn, replaceLocal_fn, converged_fn, offerAfterRebase_fn, preservedCopy_fn, alreadyJudged_fn, rememberJudgment_fn, forgetJudgment_fn, present_fn, finishOfferOutcome_fn, transportFailure_fn, remember_fn4, finish_fn2, cloudBase_fn, offerEndpoint_fn, workspaceEndpoint_fn, authToken_fn;
22221
+ var _kernel16, _credentials4, _clock13, _mount, _binding, _route2, _rediscover, _reroute, _discoveredFrontier, _observePlacement, _recheckPlacement, _directoryAnswered, _placementFetched, _leased, _command2, _requestId4, _started, _state, _localHead, _offerHead, _previousHead, _pushMillis, _pushBytes, _desiredHead, _returnedPackHead, _candidateDurable, _admissionSummary, _offerReceipt, _pushError, _current3, _lastReceiptEffectId2, _offerSequence, _lastStep2, _probeOnly, _establishedBase, _receiveState, _completeHistory, _lawProductsImported, _shallowMounted, _fetchedLawProducts, _beforeConverge, _needsReconciliation, _offerAfterConverge, _rebaseFrom, _rebases, _parkedLocal, _replaceLocalHead, _repairMissingCommit, _WorkspaceSyncWork_instances, openRound_fn, offerOrReconcile_fn, establishBase_fn, missingTrackedBase_fn, holdsLocalWork_fn, pullBeforeOffer_fn, leaseEffect_fn, beginOffer_fn, acceptOffer_fn, acceptLease_fn, placementFrontier_fn, placementOnly_fn, acceptDiscovery_fn, providerCustody_fn, beginMainFetch_fn, acceptFetch_fn, mountFetched_fn, lawProductsAlongside_fn, acceptLawProducts_fn, providerCustodyMounted_fn, importLawProducts_fn, converge_fn2, unrelatedLineageRefusal_fn, replaceLocal_fn, converged_fn, offerAfterRebase_fn, preservedCopy_fn, alreadyJudged_fn, rememberJudgment_fn, forgetJudgment_fn, present_fn, finishOfferOutcome_fn, transportFailure_fn, remember_fn4, finish_fn2, cloudBase_fn, offerEndpoint_fn, workspaceEndpoint_fn, authToken_fn;
22222
22222
  var WorkspaceSyncWork = class {
22223
22223
  constructor(args) {
22224
22224
  __privateAdd(this, _WorkspaceSyncWork_instances);
@@ -22259,6 +22259,7 @@
22259
22259
  __privateAdd(this, _pushError);
22260
22260
  __privateAdd(this, _current3);
22261
22261
  __privateAdd(this, _lastReceiptEffectId2);
22262
+ __privateAdd(this, _offerSequence, 0);
22262
22263
  __privateAdd(this, _lastStep2);
22263
22264
  __privateAdd(this, _probeOnly);
22264
22265
  /** Set when this round adopted the upstream's own head as its base (see #establishBase). */
@@ -22434,6 +22435,7 @@
22434
22435
  _pushError = new WeakMap();
22435
22436
  _current3 = new WeakMap();
22436
22437
  _lastReceiptEffectId2 = new WeakMap();
22438
+ _offerSequence = new WeakMap();
22437
22439
  _lastStep2 = new WeakMap();
22438
22440
  _probeOnly = new WeakMap();
22439
22441
  _establishedBase = new WeakMap();
@@ -22578,7 +22580,10 @@
22578
22580
  effect: {
22579
22581
  case: "http",
22580
22582
  value: create(PeerHttpEffectSchema, {
22581
- effectId: `${this.workId}:${phase}`,
22583
+ // A resident delta can rebase and emit another offer immediately.
22584
+ // Each physical exchange needs its own identity: reusing "offer"
22585
+ // makes receipt replay return the previous pending effect forever.
22586
+ effectId: `${this.workId}:${++__privateWrapper(this, _offerSequence)._}:${phase}`,
22582
22587
  method: PeerHttpMethod.POST,
22583
22588
  url: __privateMethod(this, _WorkspaceSyncWork_instances, offerEndpoint_fn).call(this),
22584
22589
  contentType: CUSTODY_OFFER_MEDIA_TYPE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@githolon/runtime",
3
- "version": "0.112.2",
3
+ "version": "0.112.3",
4
4
  "type": "module",
5
5
  "description": "The portable Nomos application runtime, reception contracts, and Node/browser runners.",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -24084,6 +24084,7 @@ var WorkspaceSyncWork = class {
24084
24084
  #pushError;
24085
24085
  #current;
24086
24086
  #lastReceiptEffectId;
24087
+ #offerSequence = 0;
24087
24088
  #lastStep;
24088
24089
  #probeOnly;
24089
24090
  /** Set when this round adopted the upstream's own head as its base (see #establishBase). */
@@ -24357,7 +24358,10 @@ var WorkspaceSyncWork = class {
24357
24358
  effect: {
24358
24359
  case: "http",
24359
24360
  value: create(PeerHttpEffectSchema, {
24360
- effectId: `${this.workId}:${phase}`,
24361
+ // A resident delta can rebase and emit another offer immediately.
24362
+ // Each physical exchange needs its own identity: reusing "offer"
24363
+ // makes receipt replay return the previous pending effect forever.
24364
+ effectId: `${this.workId}:${++this.#offerSequence}:${phase}`,
24361
24365
  method: PeerHttpMethod.POST,
24362
24366
  url: this.#offerEndpoint(),
24363
24367
  contentType: CUSTODY_OFFER_MEDIA_TYPE,