@rederjs/core
v0.1.0
Published
Reder core: shared router, IPC, storage, tmux, and adapter interfaces.
Readme
@rederjs/core
Shared building blocks for the reder daemon and adapters: the message router, IPC codec and Unix-socket server, SQLite storage layer (with migrations), session model, audit log, rate limiter, pairing protocol, tmux helpers, and the Adapter interface every adapter implements.
If you're writing your own adapter (Slack, IRC, SMS…), this is the package you import from. See adapter authoring for the interface contract and walkthrough.
Install
npm install @rederjs/coreExposes a rich exports map — import only what you need:
import { Adapter, type AdapterContext } from '@rederjs/core/adapter';
import { Router } from '@rederjs/core/router';
import { openDb } from '@rederjs/core/storage/db';Where this fits
@rederjs/core is consumed by @rederjs/daemon, @rederjs/shim, rederjs (CLI), and both first-party adapters. It does not run on its own.
See also: the main repo README for the system architecture diagram.
