@almadar/core 10.119.0 → 10.119.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.
@@ -127,27 +127,6 @@ declare function findPersonaInRoster(roster: readonly UserContext[], idOrRole: s
127
127
  * fail at boot instead of rendering as nobody.
128
128
  */
129
129
  declare function resolvePersonaSpec(spec: string, roster: readonly UserContext[]): UserContext;
130
- /**
131
- * Marks a bearer token as a mocked dev identity rather than a real ID token.
132
- * The prefix is deliberately unmistakable: a server accepts these ONLY behind an
133
- * explicit dev opt-in, so a production deployment rejects them like any other
134
- * malformed token.
135
- */
136
- declare const DEV_TOKEN_PREFIX = "almadar-dev.";
137
- /**
138
- * Encode a viewer as a dev bearer token.
139
- *
140
- * Carries the WHOLE identity, not just the subject: real Firebase claims have no
141
- * `role`, so a server that only reads `uid` leaves every `@user.role` gate inert
142
- * even for a signed-in user. URI-encoded JSON keeps the token header-safe (no
143
- * spaces or delimiters) and works unchanged in Node and the browser.
144
- */
145
- declare function encodeDevIdentityToken(user: UserContext): string;
146
- /**
147
- * Decode a dev bearer token back into a viewer, or `undefined` if it is not one
148
- * / is malformed — callers fail closed rather than inventing an identity.
149
- */
150
- declare function decodeDevIdentityToken(token: string): UserContext | undefined;
151
130
 
152
131
  /**
153
132
  * Server-side effect result — the wire shape a server-executed effect
@@ -777,4 +756,4 @@ type EventDispatchResponse = OrbitalEventResponse;
777
756
  /** @deprecated use {@link OrbitalEventResponseSchema}. */
778
757
  declare const EventDispatchResponseSchema: z.ZodType<OrbitalEventResponse, z.ZodTypeDef, object>;
779
758
 
780
- export { ServerTopologySchema as $, ANONYMOUS_USER as A, type BusEvent as B, type ClientEffectTuple as C, DEFAULT_VIEWER as D, type EmittedEvent as E, type ExternalInput as F, type ExternalInputRequest as G, LIFECYCLE_EVENTS as H, type LifecycleEvent as I, LiveBroadcastItemSchema as J, MountSeedSchema as K, type LiveBroadcastItem as L, type MountSeed as M, OrbitalEventRequestSchema as N, type OrbitalEventRequest as O, OrbitalEventResponseSchema as P, type OrbitalRegisterResponse as Q, OrbitalRegisterResponseSchema as R, type RawUserClaims as S, RawUserClaimsSchema as T, type UserContext as U, SYSTEM_UI_EVENTS as V, type ServerBatchSummary as W, ServerBatchSummarySchema as X, type ServerEffectResult as Y, ServerEffectResultSchema as Z, type ServerTopology as _, type OrbitalEventResponse as a, type ServiceHostPorts as a0, type SystemUiEvent as a1, type TransitionRejection as a2, type TransitionRejectionCode as a3, type Unsubscribe as a4, decodeDevIdentityToken as a5, deliveryRecordValue as a6, encodeDevIdentityToken as a7, externalInputsOf as a8, findExternalInput as a9, findInputByAddress as aa, findPersonaInRoster as ab, isSystemUiEvent as ac, normalizeUserContext as ad, payloadSchemaToJsonSchema as ae, personaFromIdentityRow as af, readableEntitiesOf as ag, resolveDefaultViewer as ah, resolvePersonaSpec as ai, type BusEventListener as b, type BusEventSource as c, BusEventSourceSchema as d, type ClientEffectByTrait as e, ClientEffectTupleSchema as f, type ClientNavigateBackTuple as g, ClientNavigateBackTupleSchema as h, type ClientNavigateTuple as i, ClientNavigateTupleSchema as j, type ClientRenderUITuple as k, ClientRenderUITupleSchema as l, DEV_TOKEN_PREFIX as m, type DeliveryRecord as n, DeliveryRecordSchema as o, type DispatchLog as p, DispatchLogSchema as q, EmittedEventSchema as r, type EventAddress as s, type EventDispatchRequest as t, EventDispatchRequestSchema as u, type EventDispatchResponse as v, EventDispatchResponseSchema as w, type EventEmit as x, type EventKey as y, type EventListen as z };
759
+ export { type ServiceHostPorts as $, ANONYMOUS_USER as A, type BusEvent as B, type ClientEffectTuple as C, DEFAULT_VIEWER as D, type EmittedEvent as E, type ExternalInputRequest as F, LIFECYCLE_EVENTS as G, type LifecycleEvent as H, LiveBroadcastItemSchema as I, MountSeedSchema as J, OrbitalEventRequestSchema as K, type LiveBroadcastItem as L, type MountSeed as M, OrbitalEventResponseSchema as N, type OrbitalEventRequest as O, type OrbitalRegisterResponse as P, OrbitalRegisterResponseSchema as Q, type RawUserClaims as R, RawUserClaimsSchema as S, SYSTEM_UI_EVENTS as T, type UserContext as U, type ServerBatchSummary as V, ServerBatchSummarySchema as W, type ServerEffectResult as X, ServerEffectResultSchema as Y, type ServerTopology as Z, ServerTopologySchema as _, type OrbitalEventResponse as a, type SystemUiEvent as a0, type TransitionRejection as a1, type TransitionRejectionCode as a2, type Unsubscribe as a3, deliveryRecordValue as a4, externalInputsOf as a5, findExternalInput as a6, findInputByAddress as a7, findPersonaInRoster as a8, isSystemUiEvent as a9, normalizeUserContext as aa, payloadSchemaToJsonSchema as ab, personaFromIdentityRow as ac, readableEntitiesOf as ad, resolveDefaultViewer as ae, resolvePersonaSpec as af, type BusEventListener as b, type BusEventSource as c, BusEventSourceSchema as d, type ClientEffectByTrait as e, ClientEffectTupleSchema as f, type ClientNavigateBackTuple as g, ClientNavigateBackTupleSchema as h, type ClientNavigateTuple as i, ClientNavigateTupleSchema as j, type ClientRenderUITuple as k, ClientRenderUITupleSchema as l, type DeliveryRecord as m, DeliveryRecordSchema as n, type DispatchLog as o, DispatchLogSchema as p, EmittedEventSchema as q, type EventAddress as r, type EventDispatchRequest as s, EventDispatchRequestSchema as t, type EventDispatchResponse as u, EventDispatchResponseSchema as v, type EventEmit as w, type EventKey as x, type EventListen as y, type ExternalInput as z };