@subcortex-ai/sdk 0.3.4 → 0.3.6

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/index.d.cts CHANGED
@@ -358,7 +358,10 @@ type SignalType = SystemSignalType | `custom:${string}`;
358
358
  declare function isValidSignalType(type: string): type is SignalType;
359
359
  /**
360
360
  * Per-type decay half-life in hours.
361
- * All start at 24h structure supports per-type tuning.
361
+ * Tuned to match emotional persistence patterns:
362
+ * - Fast decay: confusion (resolves or escalates quickly)
363
+ * - Medium decay: excitement, frustration, tension
364
+ * - Slow decay: concern (persists until addressed), satisfaction/gratitude (positive baseline)
362
365
  */
363
366
  declare const SIGNAL_DECAY_CONFIG: Record<string, number>;
364
367
  declare function getDecayHalfLife(signalType: string): number;
package/dist/index.d.ts CHANGED
@@ -358,7 +358,10 @@ type SignalType = SystemSignalType | `custom:${string}`;
358
358
  declare function isValidSignalType(type: string): type is SignalType;
359
359
  /**
360
360
  * Per-type decay half-life in hours.
361
- * All start at 24h structure supports per-type tuning.
361
+ * Tuned to match emotional persistence patterns:
362
+ * - Fast decay: confusion (resolves or escalates quickly)
363
+ * - Medium decay: excitement, frustration, tension
364
+ * - Slow decay: concern (persists until addressed), satisfaction/gratitude (positive baseline)
362
365
  */
363
366
  declare const SIGNAL_DECAY_CONFIG: Record<string, number>;
364
367
  declare function getDecayHalfLife(signalType: string): number;
package/dist/index.js CHANGED
@@ -515,14 +515,14 @@ function isValidSignalType(type) {
515
515
  return false;
516
516
  }
517
517
  var SIGNAL_DECAY_CONFIG = {
518
- frustration: 24,
519
- excitement: 24,
520
- concern: 24,
521
- satisfaction: 24,
522
- confusion: 24,
523
- gratitude: 24,
524
- tension: 24,
518
+ confusion: 8,
519
+ excitement: 16,
520
+ frustration: 18,
521
+ tension: 18,
525
522
  sentiment: 24,
523
+ concern: 36,
524
+ satisfaction: 48,
525
+ gratitude: 48,
526
526
  _default: 24
527
527
  };
528
528
  function getDecayHalfLife(signalType) {