@advicenxt/sbp-types
v0.1.0
Published
Canonical type definitions for the Stigmergic Blackboard Protocol (SBP)
Downloads
106
Maintainers
Readme
@advicenxt/sbp-types
Canonical type definitions for the Stigmergic Blackboard Protocol (SBP) v0.1.
This package provides the shared type interfaces used across all SBP implementations — server, TypeScript client, and third-party libraries.
Installation
npm install @advicenxt/sbp-typesUsage
import type {
Pheromone,
DecayModel,
ScentCondition,
EmitParams,
SniffResult
} from "@advicenxt/sbp-types";What's Included
- Decay Models —
ExponentialDecay,LinearDecay,StepDecay,ImmortalDecay - Data Types —
Pheromone,PheromoneSnapshot,TagFilter - Conditions —
ThresholdCondition,CompositeCondition,RateCondition,PatternCondition - Operations — All params/result types for emit, sniff, register, deregister, evaporate, inspect
- JSON-RPC — Request, response, and error types
- Error Codes —
SBP_ERROR_CODESconstant andSbpErrorclass
