githolon 0.112.1 → 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.
@@ -17083,6 +17083,7 @@ var init_workspace_sync = __esm({
17083
17083
  #pushError;
17084
17084
  #current;
17085
17085
  #lastReceiptEffectId;
17086
+ #offerSequence = 0;
17086
17087
  #lastStep;
17087
17088
  #probeOnly;
17088
17089
  /** Set when this round adopted the upstream's own head as its base (see #establishBase). */
@@ -17356,7 +17357,10 @@ var init_workspace_sync = __esm({
17356
17357
  effect: {
17357
17358
  case: "http",
17358
17359
  value: create54(PeerHttpEffectSchema, {
17359
- effectId: `${this.workId}:${phase}`,
17360
+ // A resident delta can rebase and emit another offer immediately.
17361
+ // Each physical exchange needs its own identity: reusing "offer"
17362
+ // makes receipt replay return the previous pending effect forever.
17363
+ effectId: `${this.workId}:${++this.#offerSequence}:${phase}`,
17360
17364
  method: PeerHttpMethod.POST,
17361
17365
  url: this.#offerEndpoint(),
17362
17366
  contentType: CUSTODY_OFFER_MEDIA_TYPE,
@@ -14419,6 +14419,7 @@ var WorkspaceSyncWork = class {
14419
14419
  #pushError;
14420
14420
  #current;
14421
14421
  #lastReceiptEffectId;
14422
+ #offerSequence = 0;
14422
14423
  #lastStep;
14423
14424
  #probeOnly;
14424
14425
  /** Set when this round adopted the upstream's own head as its base (see #establishBase). */
@@ -14692,7 +14693,10 @@ var WorkspaceSyncWork = class {
14692
14693
  effect: {
14693
14694
  case: "http",
14694
14695
  value: create59(PeerHttpEffectSchema, {
14695
- effectId: `${this.workId}:${phase}`,
14696
+ // A resident delta can rebase and emit another offer immediately.
14697
+ // Each physical exchange needs its own identity: reusing "offer"
14698
+ // makes receipt replay return the previous pending effect forever.
14699
+ effectId: `${this.workId}:${++this.#offerSequence}:${phase}`,
14696
14700
  method: PeerHttpMethod.POST,
14697
14701
  url: this.#offerEndpoint(),
14698
14702
  contentType: CUSTODY_OFFER_MEDIA_TYPE,
package/dist/full-cli.mjs CHANGED
@@ -23018,6 +23018,7 @@ var init_workspace_sync = __esm({
23018
23018
  #pushError;
23019
23019
  #current;
23020
23020
  #lastReceiptEffectId;
23021
+ #offerSequence = 0;
23021
23022
  #lastStep;
23022
23023
  #probeOnly;
23023
23024
  /** Set when this round adopted the upstream's own head as its base (see #establishBase). */
@@ -23291,7 +23292,10 @@ var init_workspace_sync = __esm({
23291
23292
  effect: {
23292
23293
  case: "http",
23293
23294
  value: create55(PeerHttpEffectSchema, {
23294
- effectId: `${this.workId}:${phase}`,
23295
+ // A resident delta can rebase and emit another offer immediately.
23296
+ // Each physical exchange needs its own identity: reusing "offer"
23297
+ // makes receipt replay return the previous pending effect forever.
23298
+ effectId: `${this.workId}:${++this.#offerSequence}:${phase}`,
23295
23299
  method: PeerHttpMethod.POST,
23296
23300
  url: this.#offerEndpoint(),
23297
23301
  contentType: CUSTODY_OFFER_MEDIA_TYPE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githolon",
3
- "version": "0.112.1",
3
+ "version": "0.112.3",
4
4
  "type": "module",
5
5
  "description": "githolon — the Nomos developer CLI: Rails-style generators for @githolon/dsl domains + the package compiler. Kernel-independent.",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@bjorn3/browser_wasi_shim": "0.4.2",
32
32
  "@bufbuild/protobuf": "^2.13.0",
33
- "@githolon/dsl": "^0.112.1",
33
+ "@githolon/dsl": "^0.112.3",
34
34
  "fast-xml-parser": "5.10.1",
35
35
  "isomorphic-git": "^1.38.4",
36
36
  "tsx": "^4.19.2",