2026-05-20 18:11:25 -04:00
|
|
|
"""GlyphOS - Cognitive Kernel and Event System
|
2026-05-20 18:03:25 -04:00
|
|
|
|
|
|
|
|
A system service layer on top of LAIN cognition engine and Supercharged Glyph Registry.
|
2026-05-20 18:11:25 -04:00
|
|
|
Provides:
|
|
|
|
|
- Cognitive Kernel: Clean API for running cognition on GX files
|
|
|
|
|
- Event System: Lightweight in-process event bus for symbolic events
|
2026-05-20 18:03:25 -04:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
from .cognitive_kernel import (
|
|
|
|
|
CognitiveKernel,
|
|
|
|
|
get_kernel,
|
|
|
|
|
run_gx,
|
2026-05-21 01:19:40 -04:00
|
|
|
run_symbolic_prompt,
|
2026-05-20 18:03:25 -04:00
|
|
|
kernel_status,
|
|
|
|
|
)
|
|
|
|
|
|
2026-05-21 01:27:49 -04:00
|
|
|
from .symbolic_pipeline import (
|
|
|
|
|
SymbolicStep,
|
|
|
|
|
SymbolicPipelineResult,
|
|
|
|
|
run_symbolic_pipeline,
|
|
|
|
|
)
|
|
|
|
|
|
2026-05-20 18:11:25 -04:00
|
|
|
from .events import (
|
|
|
|
|
EventBus,
|
|
|
|
|
Event,
|
|
|
|
|
EventType,
|
|
|
|
|
get_event_bus,
|
|
|
|
|
emit,
|
|
|
|
|
on,
|
|
|
|
|
)
|
|
|
|
|
|
2026-05-20 18:03:25 -04:00
|
|
|
__all__ = [
|
|
|
|
|
"CognitiveKernel",
|
|
|
|
|
"get_kernel",
|
|
|
|
|
"run_gx",
|
2026-05-21 01:19:40 -04:00
|
|
|
"run_symbolic_prompt",
|
2026-05-20 18:03:25 -04:00
|
|
|
"kernel_status",
|
2026-05-21 01:27:49 -04:00
|
|
|
"SymbolicStep",
|
|
|
|
|
"SymbolicPipelineResult",
|
|
|
|
|
"run_symbolic_pipeline",
|
2026-05-20 18:11:25 -04:00
|
|
|
"EventBus",
|
|
|
|
|
"Event",
|
|
|
|
|
"EventType",
|
|
|
|
|
"get_event_bus",
|
|
|
|
|
"emit",
|
|
|
|
|
"on",
|
2026-05-20 18:03:25 -04:00
|
|
|
]
|