@zlink-systems/framework 0.32.0 → 0.32.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 (37) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/runtime/actors/actor-context.js +1 -1
  3. package/dist/runtime/actors/actor-creation.js +1 -1
  4. package/dist/runtime/actors/actor-runtime-state.d.ts +2 -1
  5. package/dist/runtime/actors/actor-runtime-state.js +24 -8
  6. package/dist/runtime/actors/index.d.ts +3 -3
  7. package/dist/runtime/actors/index.js +19 -32
  8. package/dist/runtime/host/entry-actor-runtime.d.ts +3 -9
  9. package/dist/runtime/host/entry-actor-runtime.js +2 -10
  10. package/dist/runtime/host/spot-runtime-options-factory.js +2 -1
  11. package/dist/runtime/locations/actor-location-claims.js +9 -10
  12. package/dist/runtime/spots/index.d.ts +4 -4
  13. package/dist/runtime/spots/index.js +24 -0
  14. package/dist/runtime/spots/spot-activation.d.ts +2 -0
  15. package/dist/runtime/spots/spot-actor-admission-coordinator.d.ts +1 -1
  16. package/dist/runtime/spots/spot-actor-admission-coordinator.js +2 -1
  17. package/dist/runtime/spots/spot-actor-ingress-admission.d.ts +11 -7
  18. package/dist/runtime/spots/spot-actor-ingress-admission.js +14 -6
  19. package/dist/runtime/spots/spot-actor-packet-dispatch.d.ts +3 -3
  20. package/dist/runtime/spots/spot-actor-packet-dispatch.js +2 -2
  21. package/dist/runtime/spots/spot-entry-activation.js +1 -1
  22. package/dist/runtime/spots/spot-runtime-ports.d.ts +2 -4
  23. package/package.json +2 -2
  24. package/src/runtime/actors/actor-context.ts +1 -1
  25. package/src/runtime/actors/actor-creation.ts +1 -1
  26. package/src/runtime/actors/actor-runtime-state.ts +27 -9
  27. package/src/runtime/actors/index.ts +30 -35
  28. package/src/runtime/host/entry-actor-runtime.ts +4 -34
  29. package/src/runtime/host/spot-runtime-options-factory.ts +2 -1
  30. package/src/runtime/locations/actor-location-claims.ts +14 -14
  31. package/src/runtime/spots/index.ts +34 -4
  32. package/src/runtime/spots/spot-activation.ts +2 -0
  33. package/src/runtime/spots/spot-actor-admission-coordinator.ts +3 -1
  34. package/src/runtime/spots/spot-actor-ingress-admission.ts +29 -11
  35. package/src/runtime/spots/spot-actor-packet-dispatch.ts +5 -5
  36. package/src/runtime/spots/spot-entry-activation.ts +1 -11
  37. package/src/runtime/spots/spot-runtime-ports.ts +2 -10
@@ -20,8 +20,10 @@ import type {
20
20
  ZLinkRoutedActorTransferProvider
21
21
  } from './spot-remote-codec';
22
22
  import type { ZLinkBackendSpotNode } from '../backend/contracts';
23
+ import type { ZLinkActorIngressMembership } from './spot-actor-ingress-admission';
23
24
 
24
25
  export interface ZLinkEntryActorRuntime {
26
+ readonly actorIngressMembership?: ZLinkActorIngressMembership;
25
27
  releaseMembers?(meshName: string): Promise<void>;
26
28
  resolveActor(actorId: string): ZLinkActor | undefined;
27
29
  commitActorTransaction(actor: ZLinkActor, onJoined: () => Promise<void>): Promise<void>;
@@ -31,16 +33,6 @@ export interface ZLinkEntryActorRuntime {
31
33
  actor: ZLinkActor,
32
34
  signal?: AbortSignal
33
35
  ): Promise<void>;
34
- routePacket(
35
- actorId: string,
36
- parts: readonly Message[],
37
- returnResponse?: boolean,
38
- remoteBoundSessionTarget?: ZLinkRemoteBoundSessionTarget,
39
- fallbackActorRef?: ActorRef,
40
- origin?: ApplicationJobOrigin,
41
- requestTerminal?: import('./spot-actor-packet-dispatch').ZLinkActorRequestTerminal,
42
- messageFollowOrigin?: ZLinkMessageFollowOrigin
43
- ): { readonly handled: boolean; readonly response?: unknown };
44
36
  }
45
37
 
46
38
  export interface ZLinkSpotActorTransferRuntime {