@tell-protocol/core
v0.2.2
Published
Core library for the Tell protocol — types, algorithms, and storage interface
Readme
@tell-protocol/core
Core types, algorithms, and store interface for the Tell Protocol.
Install
npm install @tell-protocol/coreUsage
import type { Portfolio, Bet, Assumption, Evidence, TellStore } from '@tell-protocol/core';
import { InMemoryStore, computeHealth, findStale, analyseRisk } from '@tell-protocol/core';What's Included
- TypeScript types for all Tell Protocol entities (Portfolio, Bet, Assumption, Evidence, Connection, Scenario, Experiment, Contributor)
TellStoreinterface — abstract store contract implemented by FileStore (CLI) and RemoteStore (MCP)InMemoryStore— in-memory implementation for testing and ephemeral use- Algorithms —
computeHealth(),findStale(),analyseRisk()for portfolio analysis
Related Packages
@tell-protocol/cli—tellcommand-line tool@tell-protocol/schema— JSON Schema definitions@tell-protocol/mcp-server— MCP server for AI agents
License
Apache 2.0
