cyberneticlibrary

Event core library utilities

event-coreskillsetup L10
wooksjs/wooksjs
What it does

Manage typed per-event context with lazy-cached computations and AsyncLocalStorage propagation

Best for

High-throughput event processing where per-event context must stay lazy but cached across async boundaries.

Inputs
  • · Event object
  • · Computation definitions
  • · Context scope
Outputs
  • · Typed context object
  • · Cached computed values
  • · Composable API result
Requires
  • · @wooksjs/event-core npm package
  • · TypeScript
  • · AsyncLocalStorage
Preconditions

npm installed; @wooksjs/event-core dependency added; TypeScript types available

Failure modes
  • · Context computed but not cached → redundant work per request
  • · AsyncLocalStorage not propagated → context lost in async boundaries
  • · Type mismatch on context shape → runtime errors on property access
Trust signals
  • · Foundation of Wooks event-processing framework
  • · Ships with skill files for Claude Code, Cursor, Windsurf
  • · Lazy computation + composable API prevent unnecessary allocations