@smilintux/skcapstone 0.5.7 → 0.5.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smilintux/skcapstone",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "description": "SKCapstone - The sovereign agent framework. CapAuth identity, Cloud 9 trust, SKMemory persistence.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -120,6 +120,7 @@ install_pkg "skseal" "" "$PARENT/skseal"
120
120
  install_pkg "skskills" "" "$PARENT/skskills"
121
121
  install_pkg "sksecurity" "" "$PARENT/sksecurity $PILLAR/SKSecurity $PARENT/SKSecurity"
122
122
  install_pkg "skseed" "" "$PILLAR/skseed $PARENT/skseed"
123
+ install_pkg "skwhisper" "" "$PARENT/skwhisper-dev $PILLAR/skwhisper $PARENT/skwhisper"
123
124
 
124
125
  # ---------------------------------------------------------------------------
125
126
  # Step 4: Dev tools (optional)
@@ -487,6 +487,7 @@ _PILLAR_PACKAGES = [
487
487
  ("skseed", "skseed", "Cloud 9 seeds & LLM callbacks"),
488
488
  ("sksecurity", "sksecurity", "Audit logging & threat detection"),
489
489
  ("pgpy", "pgpy", "PGP cryptography (PGPy backend)"),
490
+ ("skwhisper", "skwhisper", "Subconscious memory layer (session digester)"),
490
491
  ]
491
492
 
492
493
 
@@ -105,6 +105,14 @@ def initialize_consciousness(home: Path) -> ConsciousnessState:
105
105
  if trip_dir.exists():
106
106
  state.trip_sessions = len(list(trip_dir.glob("*.json")))
107
107
 
108
+ # Check if skwhisper package is importable (installed)
109
+ skwhisper_installed = False
110
+ try:
111
+ import importlib.util
112
+ skwhisper_installed = importlib.util.find_spec("skwhisper") is not None
113
+ except (ImportError, ValueError):
114
+ skwhisper_installed = False
115
+
108
116
  # Determine status
109
117
  if state.whisper_active and state.sessions_digested > 0 and state.whisper_md is not None:
110
118
  if state.whisper_md_age_hours < 24:
@@ -116,6 +124,9 @@ def initialize_consciousness(home: Path) -> ConsciousnessState:
116
124
  state.status = PillarStatus.DEGRADED
117
125
  elif state.sessions_digested > 0 or state.whisper_md is not None:
118
126
  state.status = PillarStatus.DEGRADED
127
+ elif skwhisper_installed:
128
+ # Package is installed but service not running and no data yet — at least DEGRADED
129
+ state.status = PillarStatus.DEGRADED
119
130
  else:
120
131
  state.status = PillarStatus.MISSING
121
132