@almadar/runtime 6.28.0 → 6.29.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-DCkk0alk.d.ts → OrbitalServerRuntime-BkaBvI6-.d.ts} +6 -6
- package/dist/OrbitalServerRuntime.d.ts +2 -2
- package/dist/OrbitalServerRuntime.js +3 -3
- package/dist/ServerBridge.d.ts +1 -1
- package/dist/{chunk-FWBY567U.js → chunk-6YDQGA6X.js} +4 -4
- package/dist/chunk-6YDQGA6X.js.map +1 -0
- package/dist/{createAgentSubstrateHandlers-4JMLGDZQ.js → createAgentSubstrateHandlers-WZCHKGU6.js} +2 -2
- package/dist/createAgentSubstrateHandlers-WZCHKGU6.js.map +1 -0
- package/dist/createOsHandlers.d.ts +1 -1
- package/dist/{external-loader-YF6A3256.js → external-loader-C2LO5XG3.js} +56 -2
- package/dist/external-loader-C2LO5XG3.js.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{types-CguyGOms.d.ts → types-D-9feVsj.d.ts} +8 -8
- package/package.json +1 -1
- package/dist/chunk-FWBY567U.js.map +0 -1
- package/dist/createAgentSubstrateHandlers-4JMLGDZQ.js.map +0 -1
- package/dist/external-loader-YF6A3256.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Router } from 'express';
|
|
2
|
-
import { I as IEventBus, g as RuntimeEvent, f as EventListener, U as Unsubscribe, T as TraitDefinition, R as RuntimeConfig, i as TransitionObserver, C as ConfigContext, h as TraitState, j as TransitionResult, E as EvaluationContextExtensions, a as EffectHandlers } from './types-
|
|
3
|
-
import { EventPayload, EntityRow,
|
|
2
|
+
import { I as IEventBus, g as RuntimeEvent, f as EventListener, U as Unsubscribe, T as TraitDefinition, R as RuntimeConfig, i as TransitionObserver, C as ConfigContext, h as TraitState, j as TransitionResult, E as EvaluationContextExtensions, a as EffectHandlers } from './types-D-9feVsj.js';
|
|
3
|
+
import { EventPayload, EntityRow, Orbital, ServiceCallResult, TraitConfig, DeclaredTraitConfig, Entity, OrbitalSchema, Trait, PatternConfig, ResolvedPatternProps, SExpr, BusEventSource, OrbitalDefinition, TraitTick } from '@almadar/core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* EventBus - Platform-Agnostic Pub/Sub Implementation
|
|
@@ -332,12 +332,12 @@ declare class StateMachineManager {
|
|
|
332
332
|
interface SubstrateServices {
|
|
333
333
|
composeAll?: (config: {
|
|
334
334
|
appName: string;
|
|
335
|
-
orbitals:
|
|
335
|
+
orbitals: Orbital[];
|
|
336
336
|
layoutStrategy?: string;
|
|
337
337
|
}) => Promise<ServiceCallResult>;
|
|
338
|
-
composeChildren?: (parentName: string, children:
|
|
339
|
-
instantiate?: (parentName: string, behavior: string, params?:
|
|
340
|
-
call?: (behavior: string, method: string, params?:
|
|
338
|
+
composeChildren?: (parentName: string, children: Orbital[]) => Promise<ServiceCallResult>;
|
|
339
|
+
instantiate?: (parentName: string, behavior: string, params?: TraitConfig) => Promise<ServiceCallResult>;
|
|
340
|
+
call?: (behavior: string, method: string, params?: TraitConfig) => Promise<ServiceCallResult>;
|
|
341
341
|
validate?: (orbitalName: string) => Promise<ServiceCallResult>;
|
|
342
342
|
emitBody?: (orbitalName: string, loloSource: string) => Promise<ServiceCallResult>;
|
|
343
343
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'express';
|
|
2
|
-
export { F as ClientEffectTuple, G as ClientNavigateTuple, H as ClientNotifyTuple, J as ClientRenderUITuple, K as EffectResult, e as InMemoryPersistence, M as LoaderConfig, O as OrbitalEventRequest, f as OrbitalEventResponse, N as OrbitalServerRuntime, g as OrbitalServerRuntimeConfig, P as PersistenceAdapter, R as RegisteredOrbital, l as RuntimeOrbital, m as RuntimeOrbitalSchema, n as RuntimeTrait, Q as RuntimeTraitTick, p as collectDeclaredConfigDefaults, T as createOrbitalServerRuntime } from './OrbitalServerRuntime-
|
|
3
|
-
import './types-
|
|
2
|
+
export { F as ClientEffectTuple, G as ClientNavigateTuple, H as ClientNotifyTuple, J as ClientRenderUITuple, K as EffectResult, e as InMemoryPersistence, M as LoaderConfig, O as OrbitalEventRequest, f as OrbitalEventResponse, N as OrbitalServerRuntime, g as OrbitalServerRuntimeConfig, P as PersistenceAdapter, R as RegisteredOrbital, l as RuntimeOrbital, m as RuntimeOrbitalSchema, n as RuntimeTrait, Q as RuntimeTraitTick, p as collectDeclaredConfigDefaults, T as createOrbitalServerRuntime } from './OrbitalServerRuntime-BkaBvI6-.js';
|
|
3
|
+
import './types-D-9feVsj.js';
|
|
4
4
|
import '@almadar/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createTickScheduler, EventBus, createUnifiedLoader, MockPersistenceAdapter, InMemoryPersistence, preprocessSchema, normalizeCallSiteConfigToValues, StateMachineManager, parseDurationString, createContextFromBindings, validateEventPayload, formatPayloadValidationError, collectDeclaredConfigDefaults, collectDeclaredEntityDefaults, EffectExecutor } from './chunk-
|
|
2
|
-
export { InMemoryPersistence, collectDeclaredConfigDefaults } from './chunk-
|
|
1
|
+
import { createTickScheduler, EventBus, createUnifiedLoader, MockPersistenceAdapter, InMemoryPersistence, preprocessSchema, normalizeCallSiteConfigToValues, StateMachineManager, parseDurationString, createContextFromBindings, validateEventPayload, formatPayloadValidationError, collectDeclaredConfigDefaults, collectDeclaredEntityDefaults, EffectExecutor } from './chunk-6YDQGA6X.js';
|
|
2
|
+
export { InMemoryPersistence, collectDeclaredConfigDefaults } from './chunk-6YDQGA6X.js';
|
|
3
3
|
import { isValidCronExpression } from './chunk-U4PL237A.js';
|
|
4
4
|
import './chunk-PZ5AY32C.js';
|
|
5
5
|
import { createLogger } from '@almadar/logger';
|
|
@@ -138,7 +138,7 @@ var OrbitalServerRuntime = class {
|
|
|
138
138
|
if (!isNodeEnv()) return;
|
|
139
139
|
if (!this.substrateHandlersPromise) {
|
|
140
140
|
this.substrateHandlersPromise = (async () => {
|
|
141
|
-
const { createAgentSubstrateHandlers } = await import('./createAgentSubstrateHandlers-
|
|
141
|
+
const { createAgentSubstrateHandlers } = await import('./createAgentSubstrateHandlers-WZCHKGU6.js');
|
|
142
142
|
this.substrateHandlers = createAgentSubstrateHandlers({
|
|
143
143
|
emitEvent: (type, payload) => this.eventBus.emit(type, payload),
|
|
144
144
|
services: this.config.substrateServices ?? {}
|
package/dist/ServerBridge.d.ts
CHANGED
|
@@ -2846,7 +2846,7 @@ async function getExternalLoaderModule() {
|
|
|
2846
2846
|
return null;
|
|
2847
2847
|
}
|
|
2848
2848
|
try {
|
|
2849
|
-
externalLoaderModule = await import('./external-loader-
|
|
2849
|
+
externalLoaderModule = await import('./external-loader-C2LO5XG3.js');
|
|
2850
2850
|
return externalLoaderModule;
|
|
2851
2851
|
} catch {
|
|
2852
2852
|
return null;
|
|
@@ -3287,7 +3287,7 @@ var ReferenceResolver = class {
|
|
|
3287
3287
|
if (this.loader || this.loaderInitialized) return;
|
|
3288
3288
|
this.loaderInitialized = true;
|
|
3289
3289
|
try {
|
|
3290
|
-
const { ExternalOrbitalLoader } = await import('./external-loader-
|
|
3290
|
+
const { ExternalOrbitalLoader } = await import('./external-loader-C2LO5XG3.js');
|
|
3291
3291
|
this.loader = new ExternalOrbitalLoader(this.options);
|
|
3292
3292
|
} catch {
|
|
3293
3293
|
}
|
|
@@ -3997,5 +3997,5 @@ var InMemoryPersistence = class {
|
|
|
3997
3997
|
};
|
|
3998
3998
|
|
|
3999
3999
|
export { EffectExecutor, EventBus, HANDLER_MANIFEST, InMemoryPersistence, MockPersistenceAdapter, StateMachineManager, TickScheduler, buildEmitsFromTraits, collectDeclaredConfigDefaults, collectDeclaredEntityDefaults, containsBindings, createContextFromBindings, createInitialTraitState, createMockPersistence, createTestExecutor, createTickScheduler, createUnifiedLoader, extractBindings, findInitialState, findTransition, formatPayloadValidationError, getIsolatedCollectionName, getNamespacedEvent, interpolateProps, interpolateValue, isBrowser, isElectron, isNamespacedEvent, isNode, isValidDurationString, normalizeCallSiteConfigToValues, normalizeEventKey, parseDurationString, parseNamespacedEvent, preprocessSchema, processEvent, validateEventPayload, validatePayloadShapes };
|
|
4000
|
-
//# sourceMappingURL=chunk-
|
|
4001
|
-
//# sourceMappingURL=chunk-
|
|
4000
|
+
//# sourceMappingURL=chunk-6YDQGA6X.js.map
|
|
4001
|
+
//# sourceMappingURL=chunk-6YDQGA6X.js.map
|