JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1097
  • Score
    100M100P100Q129468F
  • License MIT

TotalReclaw core — E2EE crypto, reranker, wallet, UserOp, store/search pipelines. Single source of truth for all clients.

Package Exports

  • @totalreclaw/core
  • @totalreclaw/core/totalreclaw_core.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@totalreclaw/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

totalreclaw-core

Shared core library powering every TotalReclaw client — a single source of truth for crypto, search, reranking, wallet derivation, UserOp construction, and store pipelines.

Used natively by totalreclaw-memory (Rust / ZeroClaw), and exposed via WASM (@totalreclaw/core on npm) and PyO3 (totalreclaw-core on PyPI) bindings for TypeScript and Python clients.

What's in the box

  • Crypto — XChaCha20-Poly1305 envelope encryption, HKDF key derivation, BIP-39 mnemonic + BIP-44 wallet derivation, Keccak256.
  • Reranker — BM25 + cosine + RRF with intent-weighted scoring.
  • Store / Search pipelines — canonical claim construction, LSH blind indexing, fingerprinting.
  • Dedup & KG — best-match near-duplicate detection, cluster facts, contradiction detection orchestration, pin semantics, decision log.
  • ERC-4337 — UserOp construction (feature-gated via managed), signing verified byte-for-byte against viem.
  • Hot cache + consolidation + debrief + stemmer.

Features

  • managed (default) — ERC-4337 UserOp support via alloy-primitives / alloy-sol-types.
  • wasm — WASM bindings via wasm-bindgen (consumed by @totalreclaw/core npm package).
  • python / python-extension — PyO3 bindings (consumed by totalreclaw-core PyPI package).

Usage

[dependencies]
totalreclaw-core = "2.0"

Most Rust users should depend on totalreclaw-memory, which bundles core into a high-level Memory trait.

License

MIT