MySQL adapter for AgentLedger Runtime (v1.2.4). Provides MySQL-specific implementations for ledger persistence and migrations. Must be used alongside agentledger-runtime core. Requires external mysql2 client injection – no bundled driver. Ships TypeScript types. Release cadence: patch releases as needed.
npm install agentledger-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create MySQL connection pool, instantiate MySQLAdapter, and apply migrations.
Use mysql2/promise pool or connection.
Import from 'agentledger-mysql' instead.
Call await adapter.applyMigrations() before using other adapter methods.
npm install agentledger-mysql
Use import { MySQLAdapter } from 'agentledger-mysql';npm install mysql2