
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@aibind/sqlite
Advanced tools
SQLite-backed StreamStore and ConversationStore for @aibind — works with Turso, libsql, and better-sqlite3
SQLite-backed StreamStore and ConversationStore for @aibind. Works with Turso (@libsql/client), local better-sqlite3, or any driver that implements the SqliteClient interface.
npm install @aibind/sqlite
// Turso / libsql
import { createClient } from "@libsql/client";
import { SqliteStreamStore, SqliteConversationStore } from "@aibind/sqlite";
const db = createClient({ url: process.env.TURSO_URL!, authToken: process.env.TURSO_TOKEN! });
const streamStore = new SqliteStreamStore(db);
const conversationStore = new SqliteConversationStore(db);
// better-sqlite3 (Node.js only)
import Database from "better-sqlite3";
import { wrapBetterSqlite3, SqliteStreamStore } from "@aibind/sqlite";
const store = new SqliteStreamStore(wrapBetterSqlite3(new Database("app.db")));
// Bun built-in sqlite
import { Database } from "bun:sqlite";
import { wrapBunSqlite, SqliteStreamStore } from "@aibind/sqlite";
const store = new SqliteStreamStore(wrapBunSqlite(new Database("app.db")));
You must create these tables yourself — the store does not run migrations automatically.
CREATE TABLE aibind_stream_chunks (
id TEXT NOT NULL,
seq INTEGER NOT NULL,
data TEXT NOT NULL,
PRIMARY KEY (id, seq)
);
CREATE TABLE aibind_stream_status (
id TEXT PRIMARY KEY,
state TEXT NOT NULL DEFAULT 'active',
error TEXT,
total_chunks INTEGER NOT NULL DEFAULT 0,
expires_at INTEGER NOT NULL
);
CREATE TABLE aibind_conversations (
session_id TEXT PRIMARY KEY,
data TEXT NOT NULL,
expires_at INTEGER NOT NULL
);
Custom table names are supported via options — see the full docs.
FAQs
SQLite-backed StreamStore and ConversationStore for @aibind — works with Turso, libsql, and better-sqlite3
The npm package @aibind/sqlite receives a total of 1 weekly downloads. As such, @aibind/sqlite popularity was classified as not popular.
We found that @aibind/sqlite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.