@almadar/runtime 3.2.0 → 3.2.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.
- package/dist/{OrbitalServerRuntime-3FQE9yJe.d.ts → OrbitalServerRuntime-CQsVhY4Y.d.ts} +1 -1
- package/dist/OrbitalServerRuntime.d.ts +2 -2
- package/dist/OrbitalServerRuntime.js +1 -1
- package/dist/ServerBridge.d.ts +1 -1
- package/dist/{chunk-GUOPXURX.js → chunk-PXASRZKG.js} +7 -11
- package/dist/chunk-PXASRZKG.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/{types-BiTWSblp.d.ts → types-B8OfRFfV.d.ts} +7 -13
- package/package.json +2 -2
- package/dist/chunk-GUOPXURX.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as BindingContext, E as EvaluationContextExtensions, P as PatternProps, a as EffectHandlers, b as EffectContext, c as ExecutionEnvironment, d as EffectResult, T as TraitDefinition } from './types-
|
|
2
|
-
export { e as Effect, f as EventListener, H as HANDLER_MANIFEST, I as IEventBus, R as RuntimeConfig, g as RuntimeEvent, h as TraitState, i as TransitionObserver, j as TransitionResult, U as Unsubscribe } from './types-
|
|
3
|
-
export { E as EntitySharingMap, a as EventBus, b as EventNamespaceMap, O as OrbitalEventRequest, c as OrbitalEventResponse, d as OrbitalServerRuntimeConfig, P as PersistenceAdapter, e as PreprocessOptions, f as PreprocessResult, g as PreprocessedSchema, h as ProcessEventOptions, R as RegisteredOrbital, i as RuntimeOrbital, j as RuntimeOrbitalSchema, k as RuntimeTrait, S as StateMachineManager, l as createInitialTraitState, m as findInitialState, n as findTransition, o as getIsolatedCollectionName, p as getNamespacedEvent, q as isNamespacedEvent, r as normalizeEventKey, s as parseNamespacedEvent, t as preprocessSchema, u as processEvent } from './OrbitalServerRuntime-
|
|
1
|
+
import { B as BindingContext, E as EvaluationContextExtensions, P as PatternProps, a as EffectHandlers, b as EffectContext, c as ExecutionEnvironment, d as EffectResult, T as TraitDefinition } from './types-B8OfRFfV.js';
|
|
2
|
+
export { e as Effect, f as EventListener, H as HANDLER_MANIFEST, I as IEventBus, R as RuntimeConfig, g as RuntimeEvent, h as TraitState, i as TransitionObserver, j as TransitionResult, U as Unsubscribe } from './types-B8OfRFfV.js';
|
|
3
|
+
export { E as EntitySharingMap, a as EventBus, b as EventNamespaceMap, O as OrbitalEventRequest, c as OrbitalEventResponse, d as OrbitalServerRuntimeConfig, P as PersistenceAdapter, e as PreprocessOptions, f as PreprocessResult, g as PreprocessedSchema, h as ProcessEventOptions, R as RegisteredOrbital, i as RuntimeOrbital, j as RuntimeOrbitalSchema, k as RuntimeTrait, S as StateMachineManager, l as createInitialTraitState, m as findInitialState, n as findTransition, o as getIsolatedCollectionName, p as getNamespacedEvent, q as isNamespacedEvent, r as normalizeEventKey, s as parseNamespacedEvent, t as preprocessSchema, u as processEvent } from './OrbitalServerRuntime-CQsVhY4Y.js';
|
|
4
4
|
import { EvaluationContext } from '@almadar/evaluator';
|
|
5
5
|
export { EvaluationContext, createMinimalContext } from '@almadar/evaluator';
|
|
6
6
|
import { EventPayload, EntityRow, OrbitalDefinition, OrbitalSchema } from '@almadar/core';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { EffectExecutor, EventBus, HANDLER_MANIFEST, StateMachineManager, containsBindings, createContextFromBindings, createInitialTraitState, createMinimalContext, createTestExecutor, extractBindings, findInitialState, findTransition, getIsolatedCollectionName, getNamespacedEvent, interpolateProps, interpolateValue, isNamespacedEvent, normalizeEventKey, parseNamespacedEvent, preprocessSchema, processEvent } from './chunk-
|
|
1
|
+
export { EffectExecutor, EventBus, HANDLER_MANIFEST, StateMachineManager, containsBindings, createContextFromBindings, createInitialTraitState, createMinimalContext, createTestExecutor, extractBindings, findInitialState, findTransition, getIsolatedCollectionName, getNamespacedEvent, interpolateProps, interpolateValue, isNamespacedEvent, normalizeEventKey, parseNamespacedEvent, preprocessSchema, processEvent } from './chunk-PXASRZKG.js';
|
|
2
2
|
import { __export } from './chunk-PZ5AY32C.js';
|
|
3
3
|
import { isInlineTrait } from '@almadar/core';
|
|
4
4
|
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
+
import * as _almadar_core from '@almadar/core';
|
|
1
2
|
import { EventPayload, AgentContext, EntityRow, ServiceParams, ResolvedPatternProps } from '@almadar/core';
|
|
2
3
|
|
|
3
|
-
/**
|
|
4
|
-
* Unified Runtime Types
|
|
5
|
-
*
|
|
6
|
-
* Platform-agnostic interfaces for trait execution on client or server.
|
|
7
|
-
*
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
4
|
/** Alias for ResolvedPatternProps to avoid breaking internal consumers */
|
|
12
5
|
type PatternProps = ResolvedPatternProps;
|
|
13
6
|
/** Configuration context */
|
|
@@ -210,11 +203,12 @@ interface EffectHandlers {
|
|
|
210
203
|
/** Configure debounce for an OS event type */
|
|
211
204
|
osDebounce?: (ms: number, eventType: string) => void;
|
|
212
205
|
}
|
|
213
|
-
/**
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
206
|
+
/**
|
|
207
|
+
* Author-configured `emit:` block threaded into `os/watch-*` handlers.
|
|
208
|
+
* Narrower than @almadar/core's `EmitConfig` — only the keys streaming
|
|
209
|
+
* operators meaningfully fire.
|
|
210
|
+
*/
|
|
211
|
+
type OsEmitConfig = Pick<_almadar_core.EmitConfig, 'on_message' | 'failure'>;
|
|
218
212
|
/**
|
|
219
213
|
* Context for resolving bindings like @entity.field, @payload.value
|
|
220
214
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/runtime",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Interpreted runtime for Almadar orbital applications (OrbitalServerRuntime)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@almadar/evaluator": ">=2.5.4",
|
|
40
40
|
"@almadar/operators": ">=2.1.3",
|
|
41
|
-
"@almadar/core": ">=4.
|
|
41
|
+
"@almadar/core": ">=4.8.0",
|
|
42
42
|
"@faker-js/faker": "^9.3.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|