npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@eddacraft/kindling

v0.1.2

Published

Local memory and continuity engine for AI-assisted development

Readme

@eddacraft/kindling

Local memory and continuity engine for AI-assisted development.

npm version License

Kindling captures observations (tool calls, diffs, commands, errors) from AI workflows, organizes them into capsules, and makes context retrievable with deterministic, explainable results. All data is stored locally using embedded SQLite with FTS5.

Kindling captures what happened. Anvil enforces what should happen. Request access to the Anvil closed beta → eddacraft.ai

Installation

npm install @eddacraft/kindling

This is the main package — it bundles core types, SQLite storage (better-sqlite3, WAL mode, FTS5), local FTS retrieval, and an optional API server.

Installation Documentation

For other installation options and detailed setup instructions, visit kindling installation quickstart.

Quick Start

import { randomUUID } from 'node:crypto';
import {
  KindlingService,
  openDatabase,
  SqliteKindlingStore,
  LocalFtsProvider,
} from '@eddacraft/kindling';

// Initialise
const db = openDatabase({ path: './my-memory.db' });
const store = new SqliteKindlingStore(db);
const provider = new LocalFtsProvider(db);
const service = new KindlingService({ store, provider });

// Open a session capsule
const capsule = service.openCapsule({
  type: 'session',
  intent: 'debug authentication issue',
  scopeIds: { sessionId: 'session-1', repoId: 'my-project' },
});

// Capture observations
service.appendObservation(
  {
    id: randomUUID(),
    kind: 'error',
    content: 'JWT validation failed: token expired',
    provenance: { stack: 'Error: Token expired\n  at validateToken.ts:42' },
    scopeIds: { sessionId: 'session-1' },
    ts: Date.now(),
    redacted: false,
  },
  { capsuleId: capsule.id },
);

// Retrieve relevant context
const results = await service.retrieve({
  query: 'authentication token',
  scopeIds: { sessionId: 'session-1' },
});

// Close session with summary
service.closeCapsule(capsule.id, {
  generateSummary: true,
  summaryContent: 'Fixed JWT expiration check in token validation middleware',
});

db.close();

What's Included

| Export | Source Package | Description | | ------------------------------------- | ----------------------- | --------------------------------------------------------------- | | KindlingService | kindling-core | Capsule lifecycle, observation capture, retrieval orchestration | | openDatabase, SqliteKindlingStore | kindling-store-sqlite | SQLite persistence with FTS5, WAL mode, migrations | | LocalFtsProvider | kindling-provider-local | Ranked FTS retrieval with explainability | | @eddacraft/kindling/server | kindling-server | Fastify API server for multi-agent concurrency | | @eddacraft/kindling/client | kindling-server | HTTP client for the API server |

Entry Points

// Core + store + provider (most users)
import {
  KindlingService,
  openDatabase,
  SqliteKindlingStore,
  LocalFtsProvider,
} from '@eddacraft/kindling';

// API server (multi-agent setups)
import { createServer } from '@eddacraft/kindling/server';

// HTTP client
import { KindlingApiClient } from '@eddacraft/kindling/client';

Lightweight Alternatives

If you don't need the full bundle:

Adapters

Documentation

Full documentation at docs.eddacraft.ai/docs/kindling.

Requirements

  • Node.js >= 20.0.0
  • ESM only ("type": "module")

License

Apache-2.0