@aleph-ai/tinyaleph 1.5.3 → 1.5.4

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/core/errors.js CHANGED
@@ -576,4 +576,21 @@ export {
576
576
  withErrorHandling,
577
577
  errorBoundary,
578
578
  withTimeout
579
+ };
580
+
581
+ // Default export for compatibility with modular.js
582
+ export default {
583
+ LogLevel,
584
+ LogLevelNames,
585
+ ErrorCategory,
586
+ AlephError,
587
+ NetworkError,
588
+ LLMError,
589
+ ValidationError,
590
+ TimeoutError,
591
+ SimpleEventEmitter,
592
+ ErrorHandler,
593
+ withErrorHandling,
594
+ errorBoundary,
595
+ withTimeout
579
596
  };
package/core/logger.js CHANGED
@@ -346,4 +346,12 @@ export {
346
346
  createLogger,
347
347
  LogLevel,
348
348
  LogLevelNames
349
+ };
350
+
351
+ // Default export for compatibility with modular.js
352
+ export default {
353
+ Logger,
354
+ createLogger,
355
+ LogLevel,
356
+ LogLevelNames
349
357
  };
package/engine/index.js CHANGED
@@ -6,4 +6,9 @@ import { AlephEngine } from './aleph.js';
6
6
 
7
7
  export {
8
8
  AlephEngine
9
+ };
10
+
11
+ // Default export for compatibility with modular.js
12
+ export default {
13
+ AlephEngine
9
14
  };
package/modular.js CHANGED
@@ -23,27 +23,7 @@
23
23
  * - Safety Layer - Ethical constraints and emergency shutdown
24
24
  */
25
25
 
26
- // Core mathematical foundation
27
- import core from './core/index.js';
28
26
 
29
- // Enochian Packet Layer (Section 7.4 of whitepaper)
30
- import enochian from './core/enochian.js';
31
- import enochianVocabulary from './core/enochian-vocabulary.js';
32
-
33
- // Browser-compatible utilities (extracted from apps/sentient)
34
- import errors from './core/errors.js';
35
- import logger from './core/logger.js';
36
- import metrics from './telemetry/metrics.js';
37
-
38
- // Observer architecture (Sentient Observer core modules)
39
- import smf from './observer/smf.js';
40
- import prsc from './observer/prsc.js';
41
- import temporal from './observer/temporal.js';
42
- import entanglement from './observer/entanglement.js';
43
- import agency from './observer/agency.js';
44
- import boundary from './observer/boundary.js';
45
- import safety from './observer/safety.js';
46
- import hqe from './observer/hqe.js';
47
27
  const {
48
28
  Hypercomplex,
49
29
  FANO_LINES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleph-ai/tinyaleph",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Prime-resonant semantic computing framework - hypercomplex algebra, oscillator dynamics, and entropy-minimizing reasoning",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/physics/index.js CHANGED
@@ -112,4 +112,57 @@ export {
112
112
  bornMeasurement,
113
113
  partialCollapse,
114
114
  applyDecoherence
115
+ };
116
+
117
+ // Default export for compatibility with modular.js
118
+ export default {
119
+ Oscillator,
120
+ OscillatorBank,
121
+ KuramotoModel,
122
+ NetworkKuramoto,
123
+ AdaptiveKuramoto,
124
+ SakaguchiKuramoto,
125
+ SmallWorldKuramoto,
126
+ MultiSystemCoupling,
127
+ createHierarchicalCoupling,
128
+ createPeerCoupling,
129
+ StochasticKuramoto,
130
+ ColoredNoiseKuramoto,
131
+ ThermalKuramoto,
132
+ gaussianRandom,
133
+ PrimeonZLadderU,
134
+ createPrimeonLadder,
135
+ shannonEntropyNats,
136
+ probsOf,
137
+ normalizeComplex,
138
+ Complex,
139
+ ZChannel,
140
+ PrimeonZLadderMulti,
141
+ createMultiChannelLadder,
142
+ createAdiabaticSchedule,
143
+ KuramotoCoupledLadder,
144
+ createKuramotoLadder,
145
+ runCollapsePressureExperiment,
146
+ kuramotoOrderParameter,
147
+ getPhase,
148
+ shannonEntropy,
149
+ stateEntropy,
150
+ coherence,
151
+ mutualInformation,
152
+ relativeEntropy,
153
+ jointEntropy,
154
+ oscillatorEntropy,
155
+ estimateLyapunov,
156
+ classifyStability,
157
+ adaptiveCoupling,
158
+ localLyapunov,
159
+ delayEmbedding,
160
+ stabilityMargin,
161
+ collapseProbability,
162
+ shouldCollapse,
163
+ measureState,
164
+ collapseToIndex,
165
+ bornMeasurement,
166
+ partialCollapse,
167
+ applyDecoherence
115
168
  };
@@ -700,4 +700,15 @@ export {
700
700
  Histogram,
701
701
  Summary,
702
702
  MetricRegistry
703
+ };
704
+
705
+ // Default export for compatibility with modular.js
706
+ export default {
707
+ MetricType,
708
+ Metric,
709
+ Counter,
710
+ Gauge,
711
+ Histogram,
712
+ Summary,
713
+ MetricRegistry
703
714
  };