@timmeck/brain 3.36.87 → 3.36.89

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.
@@ -345,6 +345,12 @@ export class IpcRouter {
345
345
  throw new Error('Meta-learning not available'); return s.metaLearning.getParams(); }],
346
346
  ['meta.step', (params) => { if (!s.metaLearning)
347
347
  throw new Error('Meta-learning not available'); return s.metaLearning.step(p(params).metrics, p(params).score); }],
348
+ ['meta.observations', () => { if (!s.metaLearning)
349
+ throw new Error('Meta-learning not available'); return s.metaLearning.getObservationStatus(); }],
350
+ ['meta.principles', () => { if (!s.metaLearning)
351
+ throw new Error('Meta-learning not available'); return s.metaLearning.getPrinciples(); }],
352
+ ['meta.observe', (params) => { if (!s.metaLearning)
353
+ throw new Error('Meta-learning not available'); return s.metaLearning.recordObservation(p(params)); }],
348
354
  // ─── Causal Inference ──────────────────────────────────
349
355
  ['causal.record', (params) => { if (!s.causal)
350
356
  throw new Error('Causal engine not available'); s.causal.recordEvent(p(params).source, p(params).type, p(params).data); return { recorded: true }; }],
@@ -772,6 +778,8 @@ export class IpcRouter {
772
778
  throw new Error('Hypothesis engine not available'); return s.hypothesis.generateCreativeLLM(p(params)?.count); }],
773
779
  ['hypothesis.creative_stats', () => { if (!s.hypothesis)
774
780
  throw new Error('Hypothesis engine not available'); return s.hypothesis.getCreativeStats(); }],
781
+ ['hypothesis.calibration', (params) => { if (!s.hypothesis)
782
+ throw new Error('Hypothesis engine not available'); return s.hypothesis.getDomainCalibration(p(params)?.domain); }],
775
783
  // ─── Challenges (Advocatus Diaboli) ─────────────────────
776
784
  ['challenge.principle', (params) => { if (!s.debateEngine)
777
785
  throw new Error('DebateEngine not available'); return s.debateEngine.challenge(p(params).statement); }],