@smilintux/skcapstone 0.5.6 → 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
package/scripts/install.sh
CHANGED
|
@@ -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
|
|
|
@@ -1507,6 +1508,28 @@ def run_onboard(home: Optional[str] = None) -> None:
|
|
|
1507
1508
|
|
|
1508
1509
|
fingerprint, identity_status = _step_identity(home_path, name, email or None)
|
|
1509
1510
|
|
|
1511
|
+
# --- Offer CapAuth Syncthing sync (non-blocking) ---
|
|
1512
|
+
try:
|
|
1513
|
+
from capauth.sync import is_syncthing_available, is_sync_configured, setup_syncthing_sync
|
|
1514
|
+
|
|
1515
|
+
if is_syncthing_available() and not is_sync_configured():
|
|
1516
|
+
console.print()
|
|
1517
|
+
if Confirm.ask(
|
|
1518
|
+
" Sync identity across cluster via Syncthing?",
|
|
1519
|
+
default=True,
|
|
1520
|
+
):
|
|
1521
|
+
ok = setup_syncthing_sync()
|
|
1522
|
+
if ok:
|
|
1523
|
+
_ok("CapAuth identity will replicate to all mesh nodes")
|
|
1524
|
+
else:
|
|
1525
|
+
_warn("Could not configure sync — set up manually: capauth sync")
|
|
1526
|
+
elif is_sync_configured():
|
|
1527
|
+
_ok("CapAuth Syncthing sync already configured")
|
|
1528
|
+
except ImportError:
|
|
1529
|
+
pass # capauth.sync not available yet
|
|
1530
|
+
except Exception as exc:
|
|
1531
|
+
_warn(f"Sync setup skipped: {exc}")
|
|
1532
|
+
|
|
1510
1533
|
# -----------------------------------------------------------------------
|
|
1511
1534
|
# Step 4: Ollama Models
|
|
1512
1535
|
# -----------------------------------------------------------------------
|
|
@@ -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
|
|