@almadar/runtime 6.5.1 → 6.6.0
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.
- package/dist/{OrbitalServerRuntime-DhrQA78C.d.ts → OrbitalServerRuntime-CzUrdroI.d.ts} +12 -2
- package/dist/OrbitalServerRuntime.d.ts +2 -2
- package/dist/OrbitalServerRuntime.js +1 -1
- package/dist/ServerBridge.d.ts +1 -1
- package/dist/{chunk-2XCEYEDH.js → chunk-YJ6RSKMU.js} +4 -4
- package/dist/{chunk-2XCEYEDH.js.map → chunk-YJ6RSKMU.js.map} +1 -1
- package/dist/createOsHandlers.d.ts +1 -1
- package/dist/{external-loader-UHZQPCKW.js → external-loader-IN246DQM.js} +60 -26
- package/dist/external-loader-IN246DQM.js.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{types-cuy5gd29.d.ts → types-CjvQG_33.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/external-loader-UHZQPCKW.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _almadar_core from '@almadar/core';
|
|
2
2
|
import { EventPayload, EntityRow, OrbitalSchema, Orbital, Trait, PatternConfig, ResolvedPatternProps, SExpr, BusEventSource, OrbitalDefinition, Entity, TraitConfig, TraitTick } from '@almadar/core';
|
|
3
3
|
import { Router } from 'express';
|
|
4
|
-
import { I as IEventBus, g as RuntimeEvent,
|
|
4
|
+
import { I as IEventBus, g as RuntimeEvent, e as EventListener, U as Unsubscribe, T as TraitDefinition, R as RuntimeConfig, i as TransitionObserver, C as ConfigContext, h as TraitState, j as TransitionResult, d as EvaluationContextExtensions, b as EffectHandlers } from './types-CjvQG_33.js';
|
|
5
5
|
import { P as PersistenceAdapter } from './PersistenceAdapter-B6dQCbbU.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -329,6 +329,16 @@ interface LoaderOptions {
|
|
|
329
329
|
basePath: string;
|
|
330
330
|
/** Standard library root path */
|
|
331
331
|
stdLibPath?: string;
|
|
332
|
+
/**
|
|
333
|
+
* Additional roots searched for `std/behaviors/*` imports after `stdLibPath`.
|
|
334
|
+
* After the v16.0.0 package split, domain behaviors (app/, game/, marketing/,
|
|
335
|
+
* probes/, service/) moved from `@almadar/std` to `@almadar-io/behaviors`.
|
|
336
|
+
* Callers can pass that package's root here so cross-package `uses` resolve.
|
|
337
|
+
*
|
|
338
|
+
* If omitted, the loader auto-detects a sibling `@almadar-io/behaviors`
|
|
339
|
+
* next to `stdLibPath` in node_modules at construction time.
|
|
340
|
+
*/
|
|
341
|
+
behaviorsLibPaths?: string[];
|
|
332
342
|
/** Scoped package roots (e.g., { "@game-lib": "/path/to/lib" }) */
|
|
333
343
|
scopedPaths?: Record<string, string>;
|
|
334
344
|
/** Whether to allow paths outside basePath (security) */
|
|
@@ -1148,4 +1158,4 @@ declare class OrbitalServerRuntime {
|
|
|
1148
1158
|
*/
|
|
1149
1159
|
declare function createOrbitalServerRuntime(config?: OrbitalServerRuntimeConfig): OrbitalServerRuntime;
|
|
1150
1160
|
|
|
1151
|
-
export {
|
|
1161
|
+
export { getNamespacedEvent as A, isBrowser as B, type ClientEffectTuple as C, isElectron as D, type EffectResult as E, isNamespacedEvent as F, isNode as G, normalizeEventKey as H, type ImportChainLike as I, parseNamespacedEvent as J, preprocessSchema as K, type LoadResult as L, processEvent as M, type OrbitalEventRequest as O, type PreprocessOptions as P, type RegisteredOrbital as R, type SchemaLoader as S, type UnifiedLoaderOptions as U, type ClientNavigateTuple as a, type ClientNotifyTuple as b, type ClientRenderUITuple as c, type EntitySharingMap as d, EventBus as e, type EventNamespaceMap as f, type LoadedOrbital as g, type LoadedSchema as h, type LoaderConfig as i, type OrbitalEventResponse as j, OrbitalServerRuntime as k, type OrbitalServerRuntimeConfig as l, type PreprocessResult as m, type PreprocessedSchema as n, type ProcessEventOptions as o, type RuntimeOrbital as p, type RuntimeOrbitalSchema as q, type RuntimeTrait as r, type RuntimeTraitTick as s, StateMachineManager as t, collectDeclaredConfigDefaults as u, createInitialTraitState as v, createOrbitalServerRuntime as w, findInitialState as x, findTransition as y, getIsolatedCollectionName as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@almadar/core';
|
|
2
2
|
import 'express';
|
|
3
|
-
export { C as ClientEffectTuple,
|
|
4
|
-
import './types-
|
|
3
|
+
export { C as ClientEffectTuple, a as ClientNavigateTuple, b as ClientNotifyTuple, c as ClientRenderUITuple, E as EffectResult, i as LoaderConfig, O as OrbitalEventRequest, j as OrbitalEventResponse, k as OrbitalServerRuntime, l as OrbitalServerRuntimeConfig, R as RegisteredOrbital, p as RuntimeOrbital, q as RuntimeOrbitalSchema, r as RuntimeTrait, s as RuntimeTraitTick, u as collectDeclaredConfigDefaults, w as createOrbitalServerRuntime } from './OrbitalServerRuntime-CzUrdroI.js';
|
|
4
|
+
import './types-CjvQG_33.js';
|
|
5
5
|
export { I as InMemoryPersistence, P as PersistenceAdapter } from './PersistenceAdapter-B6dQCbbU.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { InMemoryPersistence, OrbitalServerRuntime, collectDeclaredConfigDefaults, createOrbitalServerRuntime } from './chunk-
|
|
1
|
+
export { InMemoryPersistence, OrbitalServerRuntime, collectDeclaredConfigDefaults, createOrbitalServerRuntime } from './chunk-YJ6RSKMU.js';
|
|
2
2
|
import './chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=OrbitalServerRuntime.js.map
|
|
4
4
|
//# sourceMappingURL=OrbitalServerRuntime.js.map
|
package/dist/ServerBridge.d.ts
CHANGED
|
@@ -2206,7 +2206,7 @@ var ReferenceResolver = class {
|
|
|
2206
2206
|
if (this.loader || this.loaderInitialized) return;
|
|
2207
2207
|
this.loaderInitialized = true;
|
|
2208
2208
|
try {
|
|
2209
|
-
const { ExternalOrbitalLoader } = await import('./external-loader-
|
|
2209
|
+
const { ExternalOrbitalLoader } = await import('./external-loader-IN246DQM.js');
|
|
2210
2210
|
this.loader = new ExternalOrbitalLoader(this.options);
|
|
2211
2211
|
} catch {
|
|
2212
2212
|
}
|
|
@@ -3081,7 +3081,7 @@ async function getExternalLoaderModule() {
|
|
|
3081
3081
|
return null;
|
|
3082
3082
|
}
|
|
3083
3083
|
try {
|
|
3084
|
-
externalLoaderModule = await import('./external-loader-
|
|
3084
|
+
externalLoaderModule = await import('./external-loader-IN246DQM.js');
|
|
3085
3085
|
return externalLoaderModule;
|
|
3086
3086
|
} catch {
|
|
3087
3087
|
return null;
|
|
@@ -5398,5 +5398,5 @@ function buildMatcher(src, listenerOrbital) {
|
|
|
5398
5398
|
}
|
|
5399
5399
|
|
|
5400
5400
|
export { EffectExecutor, EventBus, HANDLER_MANIFEST, InMemoryPersistence, MockPersistenceAdapter, OrbitalServerRuntime, StateMachineManager, buildEmitsFromTraits, collectDeclaredConfigDefaults, containsBindings, createContextFromBindings, createInitialTraitState, createMockPersistence, createOrbitalServerRuntime, createTestExecutor, createUnifiedLoader, extractBindings, findInitialState, findTransition, formatPayloadValidationError, getIsolatedCollectionName, getNamespacedEvent, interpolateProps, interpolateValue, isBrowser, isElectron, isNamespacedEvent, isNode, normalizeEventKey, parseNamespacedEvent, preprocessSchema, processEvent, validateEventPayload, validatePayloadShapes };
|
|
5401
|
-
//# sourceMappingURL=chunk-
|
|
5402
|
-
//# sourceMappingURL=chunk-
|
|
5401
|
+
//# sourceMappingURL=chunk-YJ6RSKMU.js.map
|
|
5402
|
+
//# sourceMappingURL=chunk-YJ6RSKMU.js.map
|